Running a standalone deployment with e659b47, we were seeing failures caused by duplicate mount entries in container volume configurations. For example, in /var/lib/tripleo-config/container-startup-config/step_3/nova_statedir_owner.json, we saw:
{
"command": "/container-config-scripts/pyshim.sh /container-config-scripts/nova_statedir_ownership.py",
"detach": false,
"image": "docker.io/tripleomaster/centos-binary-nova-compute-ironic:b5ef03c9c939db551b03e9490edc6981ff582035_76ebc465_x86_64",
"net": "none",
"privileged": false,
"user": "root",
"volumes": [
"/var/lib/nova:/var/lib/nova:shared,z",
"/var/lib/container-config-scripts/:/container-config-scripts/:z"
"/var/lib/container-config-scripts/:/container-config-scripts/"
]
}
Note that /var/lib/container-config-scripts, once with a :z qualifier and once without. This configuration appears to come from:
- https://github.com/openstack/tripleo-heat-templates/blob/e659b470ef11b5c0ed2526097af0b11749a95e13/deployment/nova/nova-ironic-container-puppet.yaml#L155
- https://github.com/openstack/tripleo-heat-templates/blob/e659b470ef11b5c0ed2526097af0b11749a95e13/deployment/nova/nova-compute-container-puppet.yaml#L775
And this isn't the only instance of this problem; after fixing it manually, we saw a similar failure later in which a configuration attempted to mount both /var/lib/kolla/config_files/nova_ironic.json and /var/lib/kolla/config_files/nova_compute.json onto /var/lib/kolla/config_files/config.json.
This was our standalone_ parameters. yaml file:
parameter_defaults: ismDrivers: [openvswitch, baremetal] HardwareTypes: PowerInterfaces : ManagementInter faces: gDiskErase: 'metadata' orSubnets: 24.200, 192.168. 24.250 orInterface: 'br-ctlplane' taticRoutes: [] eRegistryAddres s: Interface: eth1 Mappings: datacentre: br-ctlplane alBridge: br-ctlplane bleRoutedNetwor ks: false eDir: /home/stack lMtu: 1500 bvirtType: qemu
NeutronMechan
IronicEnabled
- ipmi
IronicEnabled
- ipmitool
IronicEnabled
- ipmitool
IronicCleanin
IronicInspect
- ip_range: 192.168.
IronicInspect
CloudName: 192.168.24.14
CloudName:
ControlPlaneS
Debug: true
ConfigDebug: true
DeploymentUser: stack
DnsServers:
- 1.1.1.1
- 8.8.8.8
DockerInsecur
- :8787
NeutronPublic
NeutronDnsDomain: localdomain
NeutronBridge
NeutronPhysic
StandaloneEna
StandaloneHom
InterfaceLoca
# Needed if running in a VM, not needed if on baremetal
NovaComputeLi
And this was the deploy command:
sudo openstack tripleo deploy --templates --local- ip=192. 168.24. 14/24 \ openstack- tripleo- heat-templates/ environments/ standalone/ standalone- tripleo. yaml \ openstack- tripleo- heat-templates/ environments/ services/ ironic. yaml \ openstack- tripleo- heat-templates/ environments/ services/ ironic- inspector. yaml \ openstack- tripleo- heat-templates/ environments/ services/ neutron- ovs.yaml \ openstack- tripleo- heat-templates/ environments/ ceph-ansible/ ceph-ansible- external. yaml \ /ceph-config. yaml \ s-prepare- parameters. yaml \ e_parameters. yaml \ openstack- tripleo- heat-templates/ roles/Standalon e.yaml \
--output- dir $HOME \
--standalone
-e /usr/share/
-e /usr/share/
-e /usr/share/
-e /usr/share/
-e /usr/share/
-e $HOME/templates
-e $HOME/container
-e $HOME/standalon
-r /usr/share/