Bug 1802827
| Summary: | predeployed server deployment fails because rsync is missing on nodes | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Vagner Farias <vfarias> |
| Component: | tripleo-ansible | Assignee: | Cédric Jeanneret <cjeanner> |
| Status: | CLOSED ERRATA | QA Contact: | Jad Haj Yahya <jhajyahy> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 16.0 (Train) | CC: | cjeanner, emacchi, jhajyahy, mburns, sclewis |
| Target Milestone: | z1 | Keywords: | Triaged |
| Target Release: | 16.0 (Train on RHEL 8.1) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tripleo-ansible-0.4.2-0.20200207140443.b750574.el8ost | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-03 09:45:05 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Master patch pushed (will need to be backported to upstream stable/train) Steps to verify are pretty easy: - get Director deployed - get an overcloud, pre-deployed node - ensure rsync is absent of that overcloud node prior any deploy - deploy - should succeed, and we can even run "rpm -qa rsync" in order to ensure we have that package on the overcloud node. If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field. The documentation team will review, edit, and approve the text. If this bug does not require doc text, please set the 'requires_doc_text' flag to '-'. Changing component, since that second patch is what we actually need. Removed rsync package during undercloud deployment of job: https://rhos-ci-staging-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/DFG-df-splitstack-16-virsh-3cont_2comp_3ceph-deployment/ rsync was reinstalled and overcloud deployment passed 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:0655 |
Description of problem: Predeployed server deployment fails because rsync is missing on nodes. 2020-02-13 21:17:33,158 p=3031 u=mistral | TASK [Sync cached facts] ******************************************************* 2020-02-13 21:17:33,158 p=3031 u=mistral | Thursday 13 February 2020 21:17:33 -0300 (0:00:00.235) 0:14:20.995 ***** 2020-02-13 21:17:33,805 p=3031 u=mistral | fatal: [compute01-predeployed -> 192.0.2.51]: FAILED! => {"changed": false, "msg": "Failed to find required executable rsync in paths: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin"} 2020-02-13 21:17:33,816 p=3031 u=mistral | fatal: [ctrl01-predeployed -> 192.0.2.41]: FAILED! => {"changed": false, "msg": "Failed to find required executable rsync in paths: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin"} Version-Release number of selected component (if applicable): openstack-tripleo-heat-templates-11.3.2-0.20200131125640.cc909b6.el8ost.noarch How reproducible: Always Steps to Reproduce: 1. Perform RHEL 8.1 minimal installation on overcloud nodes 2. deploy overcloud using predeploye server templates Actual results: Deployment fails because rsync is missing. Expected results: rsync should be automatically installed by director, if this is a requirement. Additional info: Adding "rsync" to the list of required packages at /usr/share/openstack-tripleo-heat-templates/deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml should fix the issue. - name: Ensure TripleO prerequisite packages are installed package: name: - jq - lvm2 - net-snmp - openstack-selinux - os-net-config - pacemaker - pcs - puppet-tripleo - python3-heat-agent* - rsync # <-- HERE state: present when: ansible_distribution_major_version == '8'