Bug 1297712 - PackStack misconfigures lvm.conf
Summary: PackStack misconfigures lvm.conf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ga
: 8.0 (Liberty)
Assignee: Javier Peña
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-12 09:57 UTC by Marko Myllynen
Modified: 2016-05-16 07:44 UTC (History)
8 users (show)

Fixed In Version: openstack-packstack-7.0.0-0.11.dev1692.g1b5e83b.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, Packstack edited the /etc/lvm/lvm.conf file to set specific parameters for snapshot autoextend. However, the regexp used only allowed blank spaces instead of the tabs as currently used in the file. As a result, some lines were added at the end of the file, breaking its format. With this update, the regexp is updated in Packstack to set the parameters properly. As a result, there are no error messages when running LVM commands.
Clone Of:
Environment:
Last Closed: 2016-04-07 21:21:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 269696 0 None None None 2016-01-19 15:06:26 UTC
Red Hat Product Errata RHEA-2016:0603 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 Enhancement Advisory 2016-04-08 00:53:53 UTC

Description Marko Myllynen 2016-01-12 09:57:03 UTC
Description of problem:
# pvck
# packstack ...
# pvck
  Configuration setting "snapshot_autoextend_percent" invalid. It's not part of any section.
  Configuration setting "snapshot_autoextend_threshold" invalid. It's not part of any section.
# tail -n 2 /etc/lvm/lvm.conf
  snapshot_autoextend_threshold = 80
  snapshot_autoextend_percent = 20

Comment 2 Javier Peña 2016-01-19 15:06:27 UTC
Proposed fix at https://review.openstack.org/269696

Comment 5 cappetta 2016-03-12 14:13:15 UTC
Hitting this issue... looking for / researching a work around...

Comment 6 cappetta 2016-03-12 14:22:35 UTC
Looks like I had these 2 parameters set 2x.  deleted the last 2 at the end of the file and believe all is good.

Comment 7 errata-xmlrpc 2016-04-07 21:21:59 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.

https://rhn.redhat.com/errata/RHEA-2016-0603.html


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