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:
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: Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install ceph' returned 1: Error: Nothing to do
6. Expected results:
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.
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
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
[root@overcloud-controller-0 ~]# hiera tripleo::packages::enable_install
As per the upstream bug report  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 .
Thus, the fixed-in-version flag for this BZ has been updated to:
Still need to determine what TBD is in the above.
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.