missing rsync package causes undercloud deployment to fail. Environment: python3-tripleoclient-11.5.1-0.20190731190514.55fe384.el8ost.noarch Steps to reproduce: Attempt to deploy undercloud on rhel without rsync package. Result: The undercloud deployment fails with: 2019-08-06 23:44:46.178 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] 2019-08-06 23:44:46.179 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] TASK [Create puppet caching structures] **************************************** 2019-08-06 23:44:46.564 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] changed: [undercloud] 2019-08-06 23:44:46.665 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] 2019-08-06 23:44:46.665 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] TASK [Write facter cache config] *********************************************** 2019-08-06 23:44:47.395 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] changed: [undercloud] 2019-08-06 23:44:47.493 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] 2019-08-06 23:44:47.493 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] TASK [Cleanup facter cache if exists] ****************************************** 2019-08-06 23:44:47.850 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] ok: [undercloud] 2019-08-06 23:44:47.949 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] 2019-08-06 23:44:47.949 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] TASK [Pre-cache facts] ********************************************************* 2019-08-06 23:44:48.809 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] changed: [undercloud] 2019-08-06 23:44:49.014 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] 2019-08-06 23:44:49.014 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] TASK [Sync cached facts] ******************************************************* 2019-08-06 23:44:49.810 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] fatal: [undercloud -> 192.168.0.1]: FAILED! => {"changed": false, "msg": "Failed to find required executable rsync in paths: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin"} 2019-08-06 23:44:49.813 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] 2019-08-06 23:44:49.814 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] NO MORE HOSTS LEFT ************************************************************* 2019-08-06 23:44:49.817 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] 2019-08-06 23:44:49.817 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] PLAY RECAP ********************************************************************* 2019-08-06 23:44:49.817 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] undercloud : ok=252 changed=157 unreachable=0 failed=1 skipped=174 rescued=0 ignored=2 2019-08-06 23:44:49.817 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] 2019-08-06 23:44:50.063 29098 ERROR tripleoclient.v1.tripleo_deploy.Deploy [ ] Exception: Deployment failed 2019-08-06 23:44:50.067 29098 ERROR tripleoclient.v1.tripleo_deploy.Deploy [ ] None 2019-08-06 23:44:51.795 29098 ERROR tripleoclient.v1.tripleo_deploy.Deploy [ ] ** Found ansible errors for undercloud deployment! ** 2019-08-06 23:44:51.796 29098 ERROR tripleoclient.v1.tripleo_deploy.Deploy [ ] [ [ "Sync cached facts", { "msg": "Failed to find required executable rsync in paths: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin", "invocation": { "module_args": { "src": "/opt/puppetlabs/", "dest": "/var/lib/container-puppet/puppetlabs/", "_local_rsync_path": "rsync", "_local_rsync_password": null, "rsync_path": null, "delete": false, "_substitute_controller": false, "archive": true, "checksum": false, "compress": true, "existing_only": false, "dirs": false, "copy_links": false, "set_remote_user": true, "rsync_timeout": 0, "rsync_opts": [], "partial": false, "verify_host": false, "mode": "push", "dest_port": null, "private_key": null, "recursive": null, "links": null, "perms": null, "times": null, "owner": null, "group": null, "ssh_args": null, "link_dest": null } }, "_ansible_no_log": false, "changed": false, "_ansible_delegated_vars": { "ansible_host": "192.168.0.1" } } ] ] 2019-08-06 23:44:51.880 29098 WARNING tripleoclient.v1.tripleo_deploy.Deploy [ ] Install artifact is located at /home/stack/undercloud-install-20190806204450.tar.bzip2 2019-08-06 23:44:51.881 29098 ERROR tripleoclient.v1.tripleo_deploy.Deploy [ ] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Deployment Failed! ERROR: Heat log files: /var/log/heat-launcher/undercloud_deploy-4q9r2cvp !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2019-08-06 23:44:51.881 29098 ERROR openstack [ ] Deployment failed. 2019-08-06 23:44:52.161 28765 ERROR tripleoclient.v1.undercloud.InstallUndercloud [ ] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! An error has occured while deploying the Undercloud. See the previous output for details about what went wrong. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2019-08-06 23:44:52.163 28765 ERROR tripleoclient.v1.undercloud.InstallUndercloud [ ] Command '['sudo', '--preserve-env', 'openstack', 'tripleo', 'deploy', '--standalone', '--standalone-role', 'Undercloud', '--stack', 'undercloud', '--local-domain=localdomain', '--local-ip=192.168.0.1/24', '--templates=/usr/share/openstack-tripleo-heat-templates/', '--networks-file=network_data_undercloud.yaml', '--heat-native', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/undercloud.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/use-dns-for-vips.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/podman.yaml', '-e', '/home/stack/containers-prepare-parameter.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/masquerade-networks.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/ironic.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/ironic-inspector.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/mistral.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/zaqar-swift-backend.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/tripleo-ui.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/tempest.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/public-tls-undercloud.yaml', '--public-virtual-ip', '192.168.0.2', '--control-virtual-ip', '192.168.0.3', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-ip.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/undercloud-haproxy.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/undercloud-keepalived.yaml', '--deployment-user', 'stack', '--output-dir=/home/stack', '--cleanup', '-e', '/home/stack/tripleo-config-generated-env-files/undercloud_parameters.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/tripleo-validations.yaml', '--log-file=install-undercloud.log', '-e', '/usr/share/openstack-tripleo-heat-templates/undercloud-stack-vstate-dropin.yaml']' returned non-zero exit status 1. Workaround: yum install -y rsync and re-deploy undercloud.
If we don't plan on installing rsync as dependency, we should mention that this package is required in prerequisite notes.
Yea we need to make sure rsync is installed with python-tripleoclient since we use it in the framework. It sounds like the base OS was super stripped down
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0643