Bug 890295
| Summary: | Packstack should not fail installation of cinder-vol service if the VG doesn't exist (as cinder-vol may be using plugins) | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Yaniv Kaul <ykaul> |
| Component: | openstack-packstack | Assignee: | Martin Magr <mmagr> |
| Status: | CLOSED ERRATA | QA Contact: | Nir Magnezi <nmagnezi> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.0 (Folsom) | CC: | aortega, derekh, jkt, sgordon, ykaul |
| Target Milestone: | snapshot3 | Keywords: | Triaged |
| Target Release: | 2.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-packstack-2012.2.2-0.9.dev406 | Doc Type: | Release Note |
| Doc Text: |
Feature: Packstack now creates a cinder-volumes volume group if configured to do so and non exists.
Reason:
Previously is no cinder volume group existed Packstack refused to run
Result (if any):
Two new answerfile directives now exist
# Create Cinder's volumes group, set to n, if you want to disable this feature
CONFIG_CINDER_VOLUMES_CREATE=y
# Cinder's volumes group size, the size of the test device to create
CONFIG_CINDER_VOLUMES_SIZE=20G
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-03-05 21:02:42 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: | |||
|
Description
Yaniv Kaul
2012-12-26 08:52:42 UTC
The current version of packstack deploys openstack using a specific subset of possible ways to install openstack. I would prefer we explicitly fail (the current behavior) until other plugins are supported. This behavior will ensure the most common use case will have a better experience (because a lot of people would miss a warning). In the future if we were to support plugins and need to remove this test, I think the user should need to explicitly set something to remove the test, so that they are aware of the consequences. @derekh: This is related but maybe should be filed under a new bug... If you run packstack and select to install cinder, but have not created a cinder-volume VG yet, packstack will fail. It's just a few steps to create a simplistic cinder-volumes VG, but why not automate that via puppet? So basically if cinder-volumes VG does exist, use it. If it doesn't then perhaps one can be created. Perhaps two variables need to be specified in the answer file/interactive: cinder-volumes size in GB and location of the backing store file. I guess we could use puppet-lvm for this: https://github.com/puppetlabs/puppetlabs-lvm (In reply to comment #2) > @derekh: This is related but maybe should be filed under a new bug... > > If you run packstack and select to install cinder, but have not created a > cinder-volume VG yet, packstack will fail. It's just a few steps to create > a simplistic cinder-volumes VG, but why not automate that via puppet? > > So basically if cinder-volumes VG does exist, use it. If it doesn't then > perhaps one can be created. Perhaps two variables need to be specified in > the answer file/interactive: cinder-volumes size in GB and location of the > backing store file. I filed bug # 904669 for this specific issue Fix submitted upstream https://review.openstack.org/#/c/20816/ packstack will now stop running in a more acceptable way (without the traceback to standard out), if we need to support specific plugins then these should be handled on an individual basis. Verified NVR: openstack-packstack-2012.2.2-1.0.dev408.el6ost.noarch 1. Used a machine with no cinder-volumes preconfigured 2. Modified my answer file: CONFIG_CINDER_VOLUMES_CREATE=n 3. Ran packstack: Installing: Clean Up... [ DONE ] Setting up ssh keys... [ DONE ] OS support check... [ DONE ] Adding pre install manifest entries... [ DONE ] Adding MySQL manifest entries... [ DONE ] Adding QPID manifest entries... [ DONE ] Adding Keystone manifest entries... [ DONE ] Adding Glance Keystone manifest entries... [ DONE ] Adding Glance manifest entries... [ DONE ] Adding Cinder Keystone manifest entries... [ DONE ] Checking if the Cinder server has a cinder-volumes vg... Additional information: * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components. * ERROR : The cinder server should contain a cinder-volumes volume group 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/RHSA-2013-0595.html Removed the release note flag, packstack documentation now covers this option though I need to go back over it to confirm it all lines up. This is tracked separately though. |