I get this message if I verify a server *after* the mountpoint is mounted:

Could not rsync from '/var/aegir/platforms' to 'aegir@web1.aegir.koumbit.net:/'
/var/aegir/platforms could not be synced to remote server web1.aegir.koumbit.net. Changes might not be available until this has been done. (error: rsync: chgrp "/var/aegir/platforms" failed: Operation not permitted (1) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1060) [sender=3.0.7])

Of course, this is because drush happily uses the -a flag on rsync indiscriminatly. This, in turns, makes aegir try to fix permissions on /var/aegir/plaforms, even though it doesn't own that directory (it's an NFS mountpoint).

Comments

anarcat’s picture

Priority: Major » Normal

Actually, the bug isn't that major... The workaround is to unmount /var/aegir/platforms on the slave and reverify the server.

anarcat’s picture

Status: Active » Needs review

So I pushed a change to 2.x. The idea is to move that check further down the pipe, so that the directory only gets created when platforms get created.

I'll try to get people using the current cluster mode to test this patch:

http://drupalcode.org/project/provision.git/patch/cf6b046

anarcat’s picture

Status: Needs review » Fixed

this is shipped with alpha1, so hopefully this means it's fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

RowboTony’s picture

I encountered this issue today, a bit of an edge case. I thought this was related to my remote server, but it turned out to be due to my local/master server. My Master Aegir server runs on a local virtual machine from a second hard drive mounted as /var/aegir. When I periodically upgrade my operating system I simply detach the drive from the old VM and attach it to the new vm. Long story short - somehow, when the drive was mounted on the new vm /var was changed to aegir:aegir... not exactly sure how that happened, perhaps I chown aegir:aegir on it by mistake. Changing the owner of /var back to root:root fixed the error I was getting "error: rsync: chgrp "/var" failed: Operation not permitted (1) rsync error: some files/attrs were not transferred"

  • Commit 335e4f3 on dev-drupal-8, 6.x-2.x, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x by anarcat:
    move platforms dir creation away from server verification
    
    this is a...