Page MenuHomePhabricator
Paste P9250

uid/gid missmatch
ActivePublic

Authored by jbond on Mon, Oct 7, 3:30 PM.
### puppetmaster1001
puppetmaster1001 ~ % sudo ls -la /var/lib/puppet/volatile/
total 28
drwxr-x--- 7 root puppet 4096 Nov 13 2013 .
drwxr-x--x 17 puppet puppet 4096 Jul 2 2018 ..
drwxr-xr-x 2 root root 4096 Oct 6 03:30 GeoIP
drwxr-x--- 2 root puppet 4096 May 24 2012 misc
drwxr-xr-x 4 root root 4096 Feb 3 2012 squid
drwxr-xr-x 10 root root 4096 Sep 23 2014 swift
drwxr-xr-x 10 root root 4096 Sep 9 09:39 tftpboot
puppetmaster1001 ~ % sudo ls -nla /var/lib/puppet/volatile/
total 28
drwxr-x--- 7 0 112 4096 Nov 13 2013 .
drwxr-x--x 17 108 112 4096 Jul 2 2018 ..
drwxr-xr-x 2 0 0 4096 Oct 6 03:30 GeoIP
drwxr-x--- 2 0 112 4096 May 24 2012 misc
drwxr-xr-x 4 0 0 4096 Feb 3 2012 squid
drwxr-xr-x 10 0 0 4096 Sep 23 2014 swift
drwxr-xr-x 10 0 0 4096 Sep 9 09:39 tftpboot
puppetmaster1001 ~ %
## puppetmaster2001
total 28
drwxr-x--- 7 root _lldpd 4096 Nov 13 2013 .
drwxr-x--x 17 puppet puppet 4096 Oct 1 13:47 ..
drwxr-xr-x 2 root root 4096 Oct 6 03:30 GeoIP
drwxr-x--- 2 root _lldpd 4096 May 24 2012 misc
drwxr-xr-x 4 root root 4096 Feb 3 2012 squid
drwxr-xr-x 10 root root 4096 Sep 23 2014 swift
drwxr-xr-x 10 root root 4096 Sep 9 09:39 tftpboot
root@puppetmaster2001:~# ls -lan /var/lib/puppet/volatile/
total 28
drwxr-x--- 7 0 112 4096 Nov 13 2013 .
drwxr-x--x 17 109 113 4096 Oct 1 13:47 ..
drwxr-xr-x 2 0 0 4096 Oct 6 03:30 GeoIP
drwxr-x--- 2 0 112 4096 May 24 2012 misc
drwxr-xr-x 4 0 0 4096 Feb 3 2012 squid
drwxr-xr-x 10 0 0 4096 Sep 23 2014 swift
drwxr-xr-x 10 0 0 4096 Sep 9 09:39 tftpboot
root@puppetmaster2001:~# chgrp puppet /var/lib/puppet/volatile/ /var/lib/puppet/volatile/misc/
root@puppetmaster2001:~# ls -lan /var/lib/puppet/volatile/
total 28
drwxr-x--- 7 0 113 4096 Nov 13 2013 .
drwxr-x--x 17 109 113 4096 Oct 1 13:47 ..
drwxr-xr-x 2 0 0 4096 Oct 6 03:30 GeoIP
drwxr-x--- 2 0 113 4096 May 24 2012 misc
drwxr-xr-x 4 0 0 4096 Feb 3 2012 squid
drwxr-xr-x 10 0 0 4096 Sep 23 2014 swift
drwxr-xr-x 10 0 0 4096 Sep 9 09:39 tftpboot
root@puppetmaster2001:~# ls -la /var/lib/puppet/volatile/
total 28
drwxr-x--- 7 root puppet 4096 Nov 13 2013 .
drwxr-x--x 17 puppet puppet 4096 Oct 1 13:47 ..
drwxr-xr-x 2 root root 4096 Oct 6 03:30 GeoIP
drwxr-x--- 2 root puppet 4096 May 24 2012 misc
drwxr-xr-x 4 root root 4096 Feb 3 2012 squid
drwxr-xr-x 10 root root 4096 Sep 23 2014 swift
drwxr-xr-x 10 root root 4096 Sep 9 09:39 tftpboot
root@puppetmaster2001:~# /usr/bin/rsync -avz --delete puppetmaster1001.eqiad.wmnet::puppet_volatile /var/lib/puppet/volatile
receiving incremental file list
./
misc/
sent 137 bytes received 49,708 bytes 33,230.00 bytes/sec
total size is 1,097,030,079 speedup is 22,008.83
root@puppetmaster2001:~# ls -la /var/lib/puppet/volatile/total 28
drwxr-x--- 7 root _lldpd 4096 Nov 13 2013 .
drwxr-x--x 17 puppet puppet 4096 Oct 1 13:47 ..
drwxr-xr-x 2 root root 4096 Oct 6 03:30 GeoIP
drwxr-x--- 2 root _lldpd 4096 May 24 2012 misc
drwxr-xr-x 4 root root 4096 Feb 3 2012 squid
drwxr-xr-x 10 root root 4096 Sep 23 2014 swift
drwxr-xr-x 10 root root 4096 Sep 9 09:39 tftpboot