Bug 1017760 - with lvm_type=thin parsing of lvm version fails and openstack-cinder-volume won't start
Summary: with lvm_type=thin parsing of lvm version fails and openstack-cinder-volume w...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: beta
: 4.0
Assignee: Giulio Fidente
QA Contact: Haim
URL:
Whiteboard: storage
Depends On:
Blocks: 975606
TreeView+ depends on / blocked
 
Reported: 2013-10-10 13:06 UTC by Giulio Fidente
Modified: 2016-04-27 01:16 UTC (History)
5 users (show)

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.
Clone Of:
Environment:
Last Closed: 2013-12-20 00:27:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1237994 0 None None None Never
OpenStack gerrit 50919 0 'None' 'MERGED' 'improves lvm version parsing for customised builds' 2019-11-20 10:06:46 UTC
Red Hat Product Errata RHEA-2013:1859 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2013-12-21 00:01:48 UTC

Description Giulio Fidente 2013-10-10 13:06:34 UTC
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

Comment 1 Giulio Fidente 2013-10-10 13:08:57 UTC
Version-Release number of selected component (if applicable):
openstack-cinder-2013.2-0.9.b3.el6ost.noarch

Comment 3 Scott Lewis 2013-11-18 20:35:35 UTC
Adding to beta milestone for MODIFIED/ON-QA bugs

Comment 4 Haim 2013-11-19 11:28:57 UTC
moving to verified on openstack-cinder-2013.2-2.el6ost.noarch.

there are different issues with thin lvm but service is running.

Comment 7 errata-xmlrpc 2013-12-20 00:27:37 UTC
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


Note You need to log in before you can comment on or make changes to this bug.