Bug 1323024
Summary: | Undercloud installation disables LVM activation, which causes boot failure on systems with more than root and swap LVs | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Dan Macpherson <dmacpher> |
Component: | instack-undercloud | Assignee: | Jeff Peeler <jpeeler> |
Status: | CLOSED ERRATA | QA Contact: | Shai Revivo <srevivo> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.0 (Liberty) | CC: | agk, charcrou, ddomingo, fj-lsoft-ofuku, hjensas, jcoufal, jpeeler, jschluet, mburns, mcornea, ohochman, qguo, rcernin, rhel-osp-director-maint, rhosp-bugs-internal, rnishtal, sasha, shardy, smykhail, tshefi, ykawada |
Target Milestone: | beta | Keywords: | Triaged |
Target Release: | 10.0 (Newton) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | instack-undercloud-5.0.0-0.20160907134010.649dc3f | Doc Type: | Known Issue |
Doc Text: |
A puppet manifest bug incorrectly disables LVM partition automounting during the undercloud installation process. As a result, it is possible for undercloud hosts with partitions other than root and swap (activated on kernel command line) to only boot into an emergency shell.
There are several ways to work around this issue. Choose one from the following:
1. Remove the mountpoints manually from /etc/fstab. Doing so will prevent the issue from manifesting in all future cases. Other partitions could also be removed, and the space added to other partitions (like root or swap).
2. Configure the partitions to be activated in /etc/lvm.conf. Doing so will work until the next update/upgrade, when the undercloud installation is re-run.
3. Restrict initial deployment to only root and swap partitions. This will avoid the issue completely.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2016-12-14 15:29:31 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1194008, 1274548, 1295530 |
Description
Dan Macpherson
2016-04-01 03:05:59 UTC
Adding jpeeler as he may have more insight into this: https://review.openstack.org/#/c/258139/ This was added as a workaround for kernel panics when using atomic images - Jeff do we know if this is still needed? As far as I know, there wouldn't be anything that would cause this change to be unneeded. But maybe an ironic expert would be able to chime in and confirm. The point was brought up by James that we didn't know how the undercloud might be used with additional logical volumes, but I thought the agreement was that the undercloud isn't expected to be "general use". This bug did not make the OSP 8.0 release. It is being deferred to OSP 10. *** Bug 1327964 has been marked as a duplicate of this bug. *** *** Bug 1333569 has been marked as a duplicate of this bug. *** *** Bug 1340555 has been marked as a duplicate of this bug. *** Mike, remind me how this blocks BZ1194008 again? A more precise fix has been made for this issue here: https://review.openstack.org/#/c/343100/ (In reply to Charles Crouch from comment #15) > Mike, remind me how this blocks BZ1194008 again? Bug 1340555 blocked 1194008. Bug 1340555 was closed as a duplicate of this bug. When a bug gets closed as a duplicate, the "Blocks" field gets copied over to the duplicate bug. Got it! Thanks Mike for the reminder :-) One more fix: https://review.openstack.org/#/c/360790/ (setting back to post as modified should represent committing into RHOS) *** Bug 1374292 has been marked as a duplicate of this bug. *** Verified. On VM with a 100G disk, following a reboot after installing undercloud I don't hit the usual emergency mode any more, home LV remains active. LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert home rhel -wi-ao---- 39.00g root rhel -wi-ao---- 50.00g swap rhel -wi-ao---- 10.00g Version: RHEL7.3 instack-undercloud-5.0.0-0.20160907134010.649dc3f.el7ost.noarch #cat /etc/puppet/manifests/puppet-stack-config.pp augeas { 'lvm.conf': require => Package['openstack-nova-compute'], context => '/files/etc/lvm/lvm.conf/devices/dict/', changes => 'set global_filter/list/1/str "r|^/dev/disk/by-path/ip.*iscsi.*\.org\.openstack:.*|"' #cat /etc/lvm/lvm.conf allow_changes_with_duplicate_pvs = 0 global_filter = ["r|^/dev/disk/by-path/ip.*iscsi.*\.org\.openstack:.*|"] } Happened to install today, been following this bug as it would hit me every time, glade it's resolved. 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-2948.html |