Bug 1348147
| Summary: | Add python-cradox to overcloud image | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Yurii Prokulevych <yprokule> |
| Component: | openstack-tripleo-puppet-elements | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED ERRATA | QA Contact: | Yurii Prokulevych <yprokule> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.0 (Mitaka) | CC: | fbaudin, hbrock, jason.dobies, jjoyce, jslagle, mburns, mkrcmari, pkilambi, rhel-osp-director-maint, tvignaud |
| Target Milestone: | ga | Keywords: | Triaged |
| Target Release: | 9.0 (Mitaka) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rhosp-director-images-9.0-20160712.1.el7ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-11 11:32:51 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1342571 | ||
Deployed 2016-07-11.1 puddle with: rhosp-director-images-9.0-20160711.1.el7ost.noarch and openstack-tripleo-puppet-elements-2.0.0-3.el7ost.noarch and python-cradox is not installed on overcloud controller nodes this gnocchi resource fail to start. I confirm patch we pulled is OK: http://pkgs.devel.redhat.com/cgit/rpms/openstack-tripleo-puppet-elements/commit/?h=rhos-9.0-director-rhel-7&id=a20625bc9a24558f403d4c1cdd1c5b2e826eee28 Verified with openstack-tripleo-heat-templates-2.0.0-15.el7ost.noarch
Overcloud deployed with command:
--------------------------------
openstack overcloud deploy --libvirt-type qemu --ntp-server clock.redhat.com --templates --control-scale 3 --compute-scale 2 --ceph-storage-scale 1
Than updated Gnocchi to use ceph backend:
-----------------------------
openstack overcloud deploy --libvirt-type qemu --ntp-server clock.redhat.com --templates --control-scale 3 --compute-scale 2 --ceph-storage-scale 1 -e gnocchi_ceph.yam
cat gnocchi_ceph.yaml
parameter_defaults:
GnocchiBackend: 'rbd'
Gnocchi API's CRUD test succeeded.
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-1599.html |
Description of problem: To run gnocchi with ceph backend new package python-cradox is required. According to rhbz 1343144 it's already added to repos. But it's not present in the overcloud image causing gnocchi to fail at start. Version-Release number of selected component (if applicable): rhosp-director-images-9.0-20160616.1.el7ost.noarch rhosp-director-images-ipa-9.0-20160616.1.el7ost.noarch How reproducible: 100% Steps to Reproduce: 1. Install overcloud: openstack overcloud deploy --templates \ --control-scale 3 \ --compute-scale 2 \ --ceph-storage-scale 1 \ -e gnocchi_ceph.yaml --libvirt-type qemu \ --ntp-server clock.redhat.com 2. $ cat gnocchi_ceph.yaml parameter_defaults: GnocchiBackend: 'rbd' Additional info: ---------------- Manually customizing image with next commands helped to have gnocchi up and running: virt-customize -a /var/lib/libvirt/images/overcloud-full.qcow2 --selinux-relabel --run-command 'yum localinstall -y http://rhos-release.virt.bos.redhat.com/repos/rhos-release/rhos-release-latest.noarch.rpm' virt-customize -a /var/lib/libvirt/images/overcloud-full.qcow2 --selinux-relabel --run-command 'rhos-release -P 9-director' virt-customize -a /var/lib/libvirt/images/overcloud-full.qcow2 --selinux-relabel --run-command 'yum install -y python-cradox' Regards, Yurii