"Sync cached facts" task fails on dry-run
Bug #1839321 reported by
Emilien Macchi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Emilien Macchi |
Bug Description
ry-run fails on TASK [Sync cached facts]:
TASK [Sync cached facts] *******
fatal: [controller-1 -> 192.168.24.7]: FAILED! => {"changed": false, "cmd": "/bin/rsync --delay-updates -F --compress --dry-run --archive --out-format=
The task shouldn't try to do actual rsyncs, we should skip it.
To post a comment you must log in.
Logs from a dry-run:
TASK [Create puppet caching structures] ******* ******* ******* ******* ******* *****
changed: [controller-0]
changed: [controller-1]
changed: [controller-2]
changed: [compute-0]
changed: [compute-1]
TASK [Write facter cache config] ******* ******* ******* ******* ******* ******* *****
changed: [controller-0]
changed: [controller-1]
changed: [controller-2]
changed: [compute-0]
changed: [compute-1]
TASK [Cleanup facter cache if exists] ******* ******* ******* ******* ******* *******
ok: [controller-0]
ok: [controller-1]
ok: [controller-2]
ok: [compute-0]
ok: [compute-1]
TASK [Pre-cache facts] ******* ******* ******* ******* ******* ******* ******* ******* *
skipping: [controller-0]
skipping: [controller-1]
skipping: [controller-2]
skipping: [compute-0]
skipping: [compute-1]
TASK [Sync cached facts] ******* ******* ******* ******* ******* ******* ******* ****** <<CHANGED> >%i %n%L /opt/puppetlabs/ /var/lib/ container- puppet/ puppetlabs/ ", "msg": "rsync: change_dir \"/opt/puppetlabs\" failed: No such file or directory (2)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1189) [sender=3.1.3]\n", "rc": 23} <<CHANGED> >%i %n%L /opt/puppetlabs/ /var/lib/ container- puppet/ puppetlabs/ ", "msg": "rsync: change_dir \"/opt/puppetlabs\" failed: No such file or directory (2)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1189) [sender=3.1.3]\n", "rc": 23} <<CHANGED> >%i %n%L /opt/puppetlabs/ /var/lib/ container- puppet/ puppetlabs/ ", "msg": "rsync: change_dir \"/opt/puppetlabs\" failed: No such file or directory (2)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1189) [sender=3.1.3]\n", "rc": 23} <<CHANGED> >%i %n%L /opt/puppetlabs/ /var/lib/ container- puppet/ puppetlabs/ ", "msg": "rsync: change_dir \"/opt/puppetlabs\" failed: No such file or directory (2)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1189) [sender=3.1.3]\n", "rc": 23} <<CHANGED> >%i %n%L /opt/puppetlabs/ /var/lib/ container- puppet/ puppetlabs/ ", "msg": "rsync: change_dir \"/opt/puppetlabs\" failed: No such file or directory (2)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1189) [sender=3.1.3]\n", "rc": 23}
fatal: [controller-1 -> 192.168.24.7]: FAILED! => {"changed": false, "cmd": "/bin/rsync --delay-updates -F --compress --dry-run --archive --out-format=
fatal: [controller-0 -> 192.168.24.19]: FAILED! => {"changed": false, "cmd": "/bin/rsync --delay-updates -F --compress --dry-run --archive --out-format=
fatal: [controller-2 -> 192.168.24.21]: FAILED! => {"changed": false, "cmd": "/bin/rsync --delay-updates -F --compress --dry-run --archive --out-format=
fatal: [compute-0 -> 192.168.24.17]: FAILED! => {"changed": false, "cmd": "/bin/rsync --delay-updates -F --compress --dry-run --archive --out-format=
fatal: [compute-1 -> 192.168.24.12]: FAILED! => {"changed": false, "cmd": "/bin/rsync --delay-updates -F --compress --dry-run --archive --out-format=