Bug 1084461
| Summary: | packstack: cinder backup service is not installed on rhel7 AIO | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Dafna Ron <dron> | ||||
| Component: | openstack-packstack | Assignee: | Martin Magr <mmagr> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Ami Jeain <ajeain> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.0 (RHEL 7) | CC: | acathrow, adahms, afazekas, aortega, derekh, dron, mmagr, yeylon, yrabl | ||||
| Target Milestone: | rc | ||||||
| Target Release: | 5.0 (RHEL 7) | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | storage | ||||||
| Fixed In Version: | openstack-packstack-2014.1.1-0.14 | Doc Type: | Bug Fix | ||||
| Doc Text: |
Previously, the cinder-backup service would not be started correctly under certain conditions after the PackStack all-in-one installation process completed. This was caused by the logic used to set up the cinder-backup service, whereby there was no dependency in the puppet used to install the Cinder component, resulting in the puppet attempting to start the cinder-backup service prior to running the 'cinder-manage db_sync' operation. Now, this logic has been revised so that the cinder-backup service is always started after the 'cinder-manage db_sync' operation is executed.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-07-08 15:37:55 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: | |||||||
| Attachments: |
|
||||||
|
Description
Dafna Ron
2014-04-04 12:00:53 UTC
See also: https://bugzilla.redhat.com/show_bug.cgi?id=1075609 On F20 'journalctl -u openstack-cinder-backup' indicates the cinder backup service was tried to start before the db sync. Workaround: $ systemctl enable openstack-cinder-backup $ systemctl restart openstack-cinder-backup one change for the workaround. after we enable the service is will not appear in the service list until we reload init. Workaround: $ systemctl enable openstack-cinder-backup $ init 3 $ systemctl restart openstack-cinder-backup Dafna, can I please get openstack-setup.log, your answer file and /var/tmp/packstack/<timestamp>-<hash>/manifests/<IP>_cinder.pp? Created attachment 897209 [details]
log
there you go.
Dafna, can you please try to reproduce this with most recent packstack / o-p-m, eg: openstack-packstack-2014.1.1-0.14.dev1068.el7ost openstack-puppet-modules-2014.1-12.el7ost I just wasn't able to reproduce the issue. Note that cinder-backup support have been added in 2014.1.1-0.11.dev1055.el7ost. And fix for bug #1075609 was added in packstack-2014.1.1-0.12.dev1065.el7ost. Looking at the description, you are running ancient RDO version. I don't have an AIO but I don't think any difference between AIO and distributed should exist. I can verify that we install and activate backup service on latest packages: openstack-packstack-puppet-2014.1.1-0.14.dev1068.el7ost.noarch openstack-packstack-2014.1.1-0.14.dev1068.el7ost.noarch [root@puma32 ~]# systemctl |grep cinder var-lib-cinder-mnt-7395c6c5745705b5c77187ca90f13207.mount loaded active mounted /var/lib/cinder/mnt/7395c6c5745705b5c77187ca90f13207 openstack-cinder-api.service loaded active running OpenStack Cinder API Server openstack-cinder-backup.service loaded active running OpenStack Cinder Backup Server openstack-cinder-scheduler.service loaded active running OpenStack Cinder Scheduler Server openstack-cinder-volume.service loaded active running OpenStack Cinder Volume Server I added fixed in version and moving to verified, if it's incorrect can you please fix it? this has failed on OpenStack-5.0-RHEL-7 Puddle: 2014-05-27.2. 1. The openstack-status script expect to find an operational openstack-cinder-backup service, but it's indicated as inactive. Yaniv, can you attach your answer file and /var/tmp/packstack/<timestamp>-<hash>/manifests/<ip>_cinder.pp.log to this bug? I cannot reproduce the situation where cinder backup is inactive: ... Applying Puppet manifests [ DONE ] Finalizing [ DONE ] **** Installation completed successfully ****** ... [para@localhost packstack]$ sudo openstack-status ... == Cinder services == openstack-cinder-api: active openstack-cinder-scheduler: active openstack-cinder-volume: active openstack-cinder-backup: active ... tested this issue on Openstack Icehouse & RHEL 7 OS. The bug was resolved. Installed AIO, both as: 1. packstack --allinone 2. packstack --answer-file <file> (without neutron). # systemctl | grep cinder openstack-cinder-api.service loaded active running OpenStack Cinder API Server openstack-cinder-backup.service loaded active running OpenStack Cinder Backup Server openstack-cinder-scheduler.service loaded active running OpenStack Cinder Scheduler Server openstack-cinder-volume.service 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. http://rhn.redhat.com/errata/RHEA-2014-0846.html |