| Summary: | with lvm_type=thin parsing of lvm version fails and openstack-cinder-volume won't start | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Giulio Fidente <gfidente> |
| Component: | openstack-cinder | Assignee: | Giulio Fidente <gfidente> |
| Status: | CLOSED ERRATA | QA Contact: | Haim <hateya> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.0 | CC: | ddomingo, eharney, hateya, sradvan, yeylon |
| Target Milestone: | beta | Keywords: | TestBlocker |
| Target Release: | 4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | storage | ||
| Fixed In Version: | openstack-cinder-2013.2-0.12.rc2.el6ost | Doc Type: | Bug Fix |
| Doc Text: |
Cause: LVM versioning was not expected to contain strings while these could be used in custom builds of the LVM tools.
Consequence: LVM version parsing, needed to ensure availability of Thin provisioning, was failing to initialize, causing openstack-cinder-volume service to not start.
Fix: The parser now uses a regexp to inspect only the relevant digits.
Result: LVM version is parsed correctly and openstack-cinder-volume starts as expected.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-12-20 00:27:37 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: | |
| Bug Depends On: | |||
| Bug Blocks: | 975606 | ||
Version-Release number of selected component (if applicable): openstack-cinder-2013.2-0.9.b3.el6ost.noarch Adding to beta milestone for MODIFIED/ON-QA bugs moving to verified on openstack-cinder-2013.2-2.el6ost.noarch. there are different issues with thin lvm but service is running. 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-2013-1859.html |
Description of problem: openstack-cinder-volume does not start when using lvm_type=thin and the following appears in the logs: 2013-10-10 14:58:56.928 32460 TRACE cinder.service File "/usr/lib/python2.6/site-packages/cinder/brick/local_dev/lvm.py", line 142, in supports_thin_provisioning 2013-10-10 14:58:56.928 32460 TRACE cinder.service version_tuple = tuple(map(int, version.split('.'))) 2013-10-10 14:58:56.928 32460 TRACE cinder.service ValueError: invalid literal for int() with base 10: '100-RHEL6' Version-Release number of selected component (if applicable): Steps to Reproduce: 1. enable thinlvm by setting lvm_type=thin in cinder.conf 2. restart openstack-cinder-volume