Merge "Rework container volumes as hostpath mounts"
This commit is contained in:
commit
a7c923700a
|
@ -102,8 +102,8 @@ outputs:
|
||||||
step_config: 'include ::tripleo::profile::base::database::mongodb'
|
step_config: 'include ::tripleo::profile::base::database::mongodb'
|
||||||
config_image: *mongodb_image
|
config_image: *mongodb_image
|
||||||
volumes:
|
volumes:
|
||||||
- "mongodb:/var/lib/mongodb/"
|
- /var/lib/mongodb:/var/lib/mongodb
|
||||||
- "logs:/var/log/kolla:ro"
|
- logs:/var/log/kolla:ro
|
||||||
host_prep_tasks:
|
host_prep_tasks:
|
||||||
- name: create /var/lib/mongodb
|
- name: create /var/lib/mongodb
|
||||||
file:
|
file:
|
||||||
|
|
|
@ -91,3 +91,7 @@ outputs:
|
||||||
file:
|
file:
|
||||||
path: /var/lib/libvirt
|
path: /var/lib/libvirt
|
||||||
state: directory
|
state: directory
|
||||||
|
upgrade_tasks:
|
||||||
|
- name: Stop and disable nova-compute service
|
||||||
|
tags: step2
|
||||||
|
service: name=nova-compute state=stopped enabled=no
|
||||||
|
|
|
@ -85,6 +85,10 @@ outputs:
|
||||||
- /run:/run
|
- /run:/run
|
||||||
- /dev:/dev
|
- /dev:/dev
|
||||||
- /etc/iscsi:/etc/iscsi
|
- /etc/iscsi:/etc/iscsi
|
||||||
- nova_compute:/var/lib/nova/
|
- /var/lib/nova/:/var/lib/nova
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
|
upgrade_tasks:
|
||||||
|
- name: Stop and disable nova-compute service
|
||||||
|
tags: step2
|
||||||
|
service: name=nova-compute state=stopped enabled=no
|
||||||
|
|
|
@ -100,3 +100,7 @@ outputs:
|
||||||
with_items:
|
with_items:
|
||||||
- /etc/libvirt/qemu
|
- /etc/libvirt/qemu
|
||||||
- /var/lib/libvirt
|
- /var/lib/libvirt
|
||||||
|
upgrade_tasks:
|
||||||
|
- name: Stop and disable libvirtd service
|
||||||
|
tags: step2
|
||||||
|
service: name=libvirtd state=stopped enabled=no
|
||||||
|
|
Loading…
Reference in New Issue