1. Description of problem: During an overcloud deployment, OSD nodes attempt to run the following command: /usr/bin/yum -d 0 -e 0 -y install ceph The above fails because the "ceph" metapacakge is not shipped in RHCS 2 and instead "ceph-mon" or "ceph-osd" should be used, which will in turn, pull in the dependencies that "ceph" would have pulled in if upstream. 2. Version-Release number of selected component (if applicable): - OSP10 9/30.2 puddle 3. How reproducible: - Deterministic 4. Steps to Reproduce: - Deploy an overcloud with Ceph 5. Actual results: Deployment fails with the following in /var/log/messages of an overcloud node: os-collect-config[11363]: Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install ceph' returned 1: Error: Nothing to do 6. Expected results: Deploy succeeds 7. Additional info: The following upstream commit in review, which splits the installed packages per role, should fix this when merged and the result is in then repackaged in OSP. https://review.openstack.org/#/c/381228/
John, I realized puppet should not attempt a yum install as we fake the yum provider with a custom norpm provider. Can you paste output from a controller/ceph node of the following two: # hiera tripleo::packages::enable_upgrade # hiera tripleo::packages::enable_install
Giulio, Here's that output from a controller/ceph-mon that I was able to deploy after adding the gerrit changes 382132 and 382131. [root@overcloud-controller-0 ~]# hiera tripleo::packages::enable_upgrade false [root@overcloud-controller-0 ~]# hiera tripleo::packages::enable_install false [root@overcloud-controller-0 ~]#
As per the upstream bug report [1] this was fixed in the openstack/puppet-ceph 2.2.1 release. However, this fix ALSO requires that tripleo-heat-templates be updated as covered the upstream review [2]. Thus, the fixed-in-version flag for this BZ has been updated to: puppet-ceph-2.2.1 openstack-tripleo-heat-templates-5.?-TBD-? Still need to determine what TBD is in the above. [1] https://bugs.launchpad.net/puppet-ceph/+bug/1630468 [2] https://review.openstack.org/#/c/382132
Verification passed. The installation process was successful with the implemented changes
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://rhn.redhat.com/errata/RHEA-2016-2948.html