lvm.conf template overwrites local configs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Medium
|
Jean-Philippe Evrard | ||
Kilo |
Won't Fix
|
Medium
|
Unassigned | ||
Trunk |
Fix Released
|
Medium
|
Jean-Philippe Evrard |
Bug Description
The openstack_hosts role owns an lvm.conf template that is deployed on the metal hosts. The same happens in the os_cinder role, but that one deploys within the container. and we only encountered this problem on the metal hosts, who had a preconfigured, non standard lvm.conf.
In our case, lvm.conf was updated with an additional type, enabling to use a Ceph block device as an LVM Physical Volume:
devices {
..
types = [ "rbd", 1024 ]
..
}
(We use Ceph to back a separate mountpoint on /openstack)
Deploying the openstack_hosts role overwrites lvm.conf, lost this change, which broke the whole installation on the metal host, only to be noticed after an occasional reboot.
While this is a very specific configuration, perhaps also other lvm.conf configuration changes might apply.
Some additional options or parameters should be allowed to tackle these kind of use cases.
In it's most minimal case, we need to be able to add this additional device types, hence needing an additional parameter handled by the lvm.conf template.
description: | updated |
Changed in openstack-ansible: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → 11.2.1 |
Fix proposed to branch: master /review. openstack. org/227277
Review: https:/