One of the primary features I’ve been interested in testing with Rockstor is the asynchronous replication feature between two appliances. My last attempt with testing was hindered by this bug. Upon hearing replication was a primary focus on the latest release, I decided to give it another go.
Unfortunately, I’m still unable to successfully perform an initial replication between two newly installed appliances in my VirtualBox lab, this time however, for different reasons. The following errors were reported in the WebUI status fields on the respective appliances for a 5 minute scheduled job:
unexpected reply(receiver-error) for a8c04a01-b64b9a59-08f1-4fad-bf8d-528ac78a011f-4. extended reply: Failed to promote the oldest Snapshot to Share.. Exception: Error running a command. cmd='/sbin/btrfs', 'subvol', 'list', '-o', u'/mnt2/Test_Snapshot_Pool/.snapshots/a8c04a01-b64b9a59-08f1-4fad-bf8d-528ac78a011f_Default_Share']. rc = 1. stdout = [']. stferr = [
Replication Target: “Failed To Promote Oldest Snapshot To Share”
From what I can gather from the rockstor.log file I’m seeing a consistent error:
ERROR [smart_manager.replication.receiver:88] Failed to promote the oldest Snapshot to Share.. Exception: Error running a command. cmd = ['/sbin/btrfs', 'subvol', 'list', '-o', u'/mnt2/Test_Snapshot_Pool/.snapshots/a8c04a01-b64b9a59-08f1-4fad-bf8d-528ac78a011f_Default_Share']. rc = 1. stdout = ['']. stderr = ["ERROR: can't access '/mnt2/Test_Snapshot_Pool/.snapshots/a8c04a01-b64b9a59-08f1-4fad-bf8d-528ac78a011f_Default_Share'", '']
When I try to run the same /sbin/btrfs command manually on both the replication source and replication target I am able to reproduce the same error message from the stdout console window.
So, just wanted to highlight this issue on the forums based on my lab testing since I didn’t find a post on this yet. I can send in the full logs to the support email for full review following this post as well.
Please let me know if any further information is needed to troubleshoot the error.