linux – Glusterfs: rpc actor failed to complete successfully

I have glusterfs service running over CentOS 6, an I can see those errors filling up the logs continuously:

[2021-03-09 07:13:52.692995] E [rpcsvc.c:450:rpcsvc_check_and_reply_error] 0-rpcsvc: rpc actor failed to complete successfully
[2021-03-09 07:13:52.695872] E [rpcsvc.c:195:rpcsvc_program_actor] 0-rpc-service: RPC Program procedure not available for procedure 2 in GF-DUMP
[2021-03-09 07:13:52.695924] E [rpcsvc.c:450:rpcsvc_check_and_reply_error] 0-rpcsvc: rpc actor failed to complete successfully
[2021-03-09 07:13:52.697951] E [rpcsvc.c:195:rpcsvc_program_actor] 0-rpc-service: RPC Program procedure not available for procedure 2 in GF-DUMP
[2021-03-09 07:13:52.697990] E [rpcsvc.c:450:rpcsvc_check_and_reply_error] 0-rpcsvc: rpc actor failed to complete successfully
[2021-03-09 07:13:52.702147] E [rpcsvc.c:195:rpcsvc_program_actor] 0-rpc-service: RPC Program procedure not available for procedure 2 in GF-DUMP
[2021-03-09 07:13:52.702199] E [rpcsvc.c:450:rpcsvc_check_and_reply_error] 0-rpcsvc: rpc actor failed to complete successfully
[2021-03-09 07:13:52.709498] E [rpcsvc.c:195:rpcsvc_program_actor] 0-rpc-service: RPC Program procedure not available for procedure 2 in GF-DUMP
[2021-03-09 07:13:52.709538] E [rpcsvc.c:450:rpcsvc_check_and_reply_error] 0-rpcsvc: rpc actor failed to complete successfully
[2021-03-09 07:13:52.709604] E [rpcsvc.c:195:rpcsvc_program_actor] 0-rpc-service: RPC Program procedure not available for procedure 2 in GF-DUMP
[2021-03-09 07:13:52.709624] E [rpcsvc.c:450:rpcsvc_check_and_reply_error] 0-rpcsvc: rpc actor failed to complete successfully

I am pretty sure it is not gluster by itself, however, I am trying to figure out what is the exact root cause of this.

Facebook: How to successfully paste formatted text into a group post?

On Facebook, when creating a new post to be posted into a Group (as opposed to onto a standard personal or company page), Facebook allows you to add some simple formatting to the post.

If you highlight some text in the compose view for such a post, Facebook pops up a little toolbar that allows the simple formatting to be added to the selected text.

Facebook post formatting toolbar

However, if formatted text is pasted into the compose view, all of the formatting is lost, and the text is pasted in without formatting.

Even if selecting, copying, and pasting formatted text within that Facebook compose view itself, the formatting is still lost upon paste, as in this in-progress post, where a copy was made of the content via copy and then paste:

Facebook post compose window showing formatted and unformatted text

This is highly inconvenient in a number of situations. For example, when copying a block of formatted text from one Facebook group into a new post in another Facebook group, all of the formatting must be manually re-applied after pasting, which is very time-consuming.

Is there a method to successfully be able to paste formatted text into a Facebook group post?

macos – It says I’v got about 3 GB and it won’t let me download something for 2.2 GB. Why is it saying this and how do I successfully download it?

It says I’ve got about 3 GB on my mac but when I try to get something that takes 2.2 GB it says I do not have enough room on my Mac. I am using an Apple Macintosh Macbook Air
Version: 10.15.7
It’s also a macOS Catalina

How can I check space before I download to I can avoid errors?

How to ensure backups are successfully persisted to S3 when using Ola Hallengren solution on AWS EC2 Instances

Improving Existing Backup Approach By Using Ola Hallengren Backup Solution

Deploying a new backup approach to eliminate dependency on a vendor tool (Cloudberry) that I’ve leveraged before. In my microblog post, I describe the process I’m taking which includes:

  • Creating and deploying all the maintenance solution via dbatools
  • Leveraging s5cmd as a sync tool to ensure backups get copied from EBS volume to S3. (performant alternative to installing aws-cli).
  • Using Red Gate SQL Monitor/PagerDuty integrations for monitoring and alerting on issues.

Painpoint – Replacing Existing Tool

The question is marked for AWS EC2 specifically as much of this is solved in Azure with the ability to backup to Azure Blob storage supported by SQL Server.

Cloudberry is a great budget oriented tool that allows you to use a GUI to schedule backups that automatically get pushed to S3. It’s a pretty good budget solution, but I’ve seen serious scaling issues once you deal with thousands of databases. At this point, the local sqlite database and S3 metadata queries seem to cause slow-downs and impact the server RPO.

I’ve evaluated other tooling, but very few of them were flexible with S3 uploads as a native feature.

An eye towards reliability

As I’ve worked through the final steps I’m looking for points for failure and reliability concerns.

One area that becomes a bit less easy to validate is the successful sync of all contents to S3.
While the agent should fail with an exit code, knowing all files did get up to S3 is important.

How to Gain Assurance of All Files Persisted To S3

Here’s a few questions specifically that I’m trying to work through and would appreciate any insight on.

  • Can EBS Snapshots replace the need to sync to s3 with a goal of 15 min RPO on a dedicated backup volume? I’m not including an data files/log files in this, so it would purely a backup drive.
    • Based on some prior tests I believe a shorter interval is difficult to get on EBS.
  • S5cmd performs very well, but isn’t as controlled as doing this with a dedicated PowerShell script. For instance, simply iterating through the S3 files to perhaps generate a diff report at the end would take 8 seconds along on s5cmd and 43 seconds getting it via AWS PowerShell tools. With this running every 15 minutes I want as quick and minimal of a performance impact as possible to the server, not run a lot of custom scripts beyond this.
  • Is there any approach you’d take to audit the local directory of backups against S3 can validate nothing locally is missing or is there where relying on the sync tool just has to be done.
  • Any usage of AWS Backup, Data Sync, or other tooling natively integrated in AWS that could solve these issues? FSx, DataSync, and others seem to add more risk and complexity to manage.

Other Solutions

  • I’ve considered dbatools based backups in the past, as I could gain full control of running the backup, pushing to s3, and logging all of this with more control. However, after deliberation and community discussion I decided against this as I felt the use-case for dbatools was more for adhoc backups and that leveraging Ola Hallengren Backup tooling was a more robust solution for production usage. The negative to using it is that my PowerShell error handling and logging isn’t going to be implemented.

I look forward to any insight and appreciate the help πŸ‘

charger – Has anyone successfully restored or revived a completely discharged Profoto B2 Lithium Ion Battery?

Disclaimer: I cannot be held responsible for any damage, injury or risks associated with what I am about to describe. This is an account of my own experience. Please proceed at your own risk.

I’ve seen a few posts out there where some of you have experienced the same misfortune I have with having your additional profoto B2 lithium Ion (Li-Ion) battery become discharged due to lack of use and then find yourself in a position where it seemingly fails to recharge. What’s worse is that Profoto’s solution is for you to shell out $230 for a new one. It’s an incredibly frustrating situation, especially when you haven’t even had a chance to use the battery. I had the same situation happen to me and was able to successfully revive my battery.

In my case, my second battery was only used when I initially purchased the Profoto B2 250 Air TTL Location Kit. I tested both batteries to make sure they were working and then let one of the batteries sit for nearly 2 years as the first was seemed to be sufficient for most of my shoots. So I’d simply recharge it prior to every shoot that seemed to be enough. Plus, swapping the batteries take a tad bit of effort so I didn’t feel super motivated to do so. Then one fine day the need arose for me to prepare for longer than average shoot and therefore needed to have my second battery prepped and ready to go. So I went to charge my second battery only to find that it would not recharge. The charging units lights didn’t display the climbing LED sequence that would normally indicate the battery was charging. I left it overnight but nothing changed. I then contacted Profoto only to find that my battery was out of warranty and the best they could do was offer me a modest discount on a new one, which after shipping and handling and the requirement to ship my old one back didn’t save me a much versus buying a new battery outright. Feeling frustrated, I nearly placed the order for a new one, but before I did I decided to do a bit of googling and then came across this wonderful video.

There were a number of other videos like it but I felt that this one best covered the situation I was potentially facing as well as the fix. So I decided to follow a similar procedure with my own dead B2 Lithium Ion battery. In my case, I used a Paul C Buff Vagabond Mini Battery as my “known good” battery and connected positive and negative leads to the corresponding connectors on the known good battery first, being sure to keep the free ends apart so they don’t short and destroy the known good battery. I then connected the free ends to the corresponding positive and negative terminals of the dead b2 battery (note I did not have to dismantle the battery as shown in the video — the leads were connected to the corresponding negative and positive terminals of the dead battery…that is negative to negative and positive to positive). I then found a way using non-conductive material to hold the leads onto the terminals of the dead battery so they stayed in persistent contact.

I initially let it sit for 2 mins which did not create enough of a minimum charge for the regular charger to work. I then let it sit for 30 mins. This created enough of a minimum charge in the dead battery for the charger to then takeover and fully recharge the dead battery back to life. It’s been working ever since.

β˜‘οΈNEW – πŸŽ‰πŸŽ‰ Congratulations Dimitrios! πŸŽ‰πŸŽ‰ πŸ“₯ 0.5 KP3R successfully added to your balance. πŸ‘₯ Get 0.25 KP3R for each valid referral. πŸ’² 1 KP3R = 180$ πŸ”— | NewProxyLists

πŸŽ‰πŸŽ‰ Congratulations Dimitrios! πŸŽ‰πŸŽ‰

πŸ“₯ 0.5 KP3R successfully added to your balance.

πŸ‘₯ Get 0.25 KP3R for each valid referral.

πŸ’² 1 KP3R = 180$

πŸ”— Your Referral Link is: https://t.me/KEEP3RV1_KP3R_AiRdrop_bot?start=r09593750110

⚠️ Note: Don’t submit your Wrong information. If you don’t complete all tasks, Your payment will be not made in distribution time.

🏦 Already listed on Uniswap Exchange.

unity – Why won’t PNGs load successfully to game from server?

I’m working on a game which involves loading pictures from a server and rendering them as sprites. The images are stored as PNGs and open normally from on the server. I get no errors when downloading. And as a test I saved the images to files and they seem to save properly.

But, when I try rendering the sprites in the game, Unity doesn’t understand what they are and just shows red questionmarks. The sprites load fine if I try loading them from Resouces/Assets folder.

Here’s how I’m downloading the pictures:
Using UnityWebRequest, images are downloaded as Texture2D objects, converted to PNGs and then saved to a static-class called GameData.

Here’s what the code for the image download looks like:

foreach (String imgName in imgNames) {

        using( UnityWebRequest imgRequest =  UnityWebRequestTexture.GetTexture(pathName+imgName)) {
                
           yield return imgRequest.SendWebRequest();

         if(imgRequest.isNetworkError || imgRequest.isHttpError) { 
             ...
         }
           

          else  if(imgRequest.isDone) {
            Texture2D texture = DownloadHandlerTexture.GetContent(imgRequest);
            byte() spriteBytes = texture.EncodeToPNG();
            File.WriteAllBytes(Application.dataPath + "/debug_sprites/"+imgName+".png" , spriteBytes );
            var rect  = new Rect(0, 0, 8, 8);
            Sprite spriteS = Sprite.Create(texture, rect, new Vector2(0.5f,0.5f));
            GameData.SetImg(imgName, spriteS);
                    
          }         
          downloadStatus.text = "Downloading file "+ ++i +" of "+(imgNames.Count+audioNames.Count);
   }

The code for where the image is saved in GameData:

public static void SetImg(string imgName, Sprite img) {

             imgDict.Add(imgName, img);

}

And here’s the code where the sprites are supposed to get rendered to the game:

firstImage = GameData.GetImg(choice1.text);
//firstImage = Resources.Load<Sprite> (choice1.text);
GameObject go = GameObject.Find ("ChoiceOneTarget");
SpriteRenderer spriteR = go.GetComponent<SpriteRenderer> ();
spriteR.sprite = firstImage;

Note: I’ve tried downloading both with and without the extension name, but it didn’t change anything.

linux – Can’t successfully delete file on btrfs filesystem

I’ve got a 4 gigabte file in a btrfs file system that just won;t go away. I have deleted it multiple times, I’ve even echo’d to it, and it keeps coming back. The ls -l is:

-rw-rw-r– 1 mark mark 4072587264 Oct 13 10:19 Inglourious.Basterds.2009.1080p.BluRay.10bit.HEVC.6CH-MkvCage.ws.mkv

Anybody know how to get rid of it? Thanks.

dnd 5e – If somebody Counterspells a Counterspell, is the original spell cast successfully?

Yes, provided you have a Reaction available.

The Counterspell description says (emphasis mine)

You attempt to interrupt a creature in the process of casting a spell.
If the creature is casting a spell of 3rd level or lower, its spell
fails and has no effect. If it is casting a spell of 4th level or
higher, make an ability check using your spellcasting ability. The DC
equals 10 + the spell’s level. On a success, the creature’s spell
fails and has no effect.

Under “Casting Time”, the PHB (pag 202) says (emphasis mine)

Some spells can be cast as reactions. These spells take a fraction of
a second to bring about and are cast in response to some event.

Hence, the steps are the following:

  • Caster A casts a spell.
  • While A is doing the magic (moving hands, chanting, et cetera), caster B casts Counterspell. Suppose that B has success.
  • Two possible interpretation may arise:
    1. A can “pause” its casting to use its Reaction (if available) in the middle of casting a spell and cast Counterspell too, to contrast B’s. In case of success, A resumes to cast its spell which has normal effect.
    2. Casting a spell does not allow any “pausing”, hence there is no way that A succeeds in casting its spell.

The first interpretation satisfies the description of Reaction casting time: by RAW and moreover under what it is written in the latest version of the Sage Advice (pag 14, Can you cast a reaction spell on your turn?) you can use Counterspell as a response (reaction) to a Counterspell of another caster while you are casting a spell. The second interpretation is in contrast with the first one: hence it is not valid.

If there would be a 3rd caster C, then C can cast Counterspell on B’s Counterspell, allowing A’s Fireball to be activated, without A being forced to use another 3rd (or higher) spell slot.


Under a role-play point of view, we can see the Counterspell as just one (or more), powerful magical word(s) that ruins the manipulation of the Wave by a caster. Using Counterspell against another Counterspell during a spell casting is possible (just add the words to the chanting), and it can be seen as the two casters battling for mastering the Wave.