Keep consistent with others for ironic containers
Make the containers and volumes names of ironic to be consistent with others. Partially-implements: blueprint ironic-container Change-Id: If78b020c81157a948c5c3283f1410bcb6e5c1e61
This commit is contained in:
parent
2ccb83cee1
commit
75e5782400
@ -70,6 +70,6 @@
|
|||||||
restart_policy: "never"
|
restart_policy: "never"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/ironic-pxe/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/ironic-pxe/:{{ container_config_directory }}/:ro"
|
||||||
- "ironic-pxe:/tftpboot/"
|
- "ironic_pxe:/tftpboot/"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups['ironic-pxe'][0] }}"
|
delegate_to: "{{ groups['ironic-pxe'][0] }}"
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
kolla_docker:
|
kolla_docker:
|
||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
name: "ironic-pxe"
|
name: "ironic_pxe"
|
||||||
image: "{{ ironic_pxe_image_full }}"
|
image: "{{ ironic_pxe_image_full }}"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/ironic-pxe/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/ironic-pxe/:{{ container_config_directory }}/:ro"
|
||||||
- "ironic-pxe:/tftpboot/"
|
- "ironic_pxe:/tftpboot/"
|
||||||
when: inventory_hostname in groups['ironic-pxe']
|
when: inventory_hostname in groups['ironic-pxe']
|
||||||
|
|
||||||
- name: Starting ironic-api container
|
- name: Starting ironic-api container
|
||||||
@ -15,7 +15,7 @@
|
|||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
image: "{{ ironic_api_image_full }}"
|
image: "{{ ironic_api_image_full }}"
|
||||||
name: "ironic-api"
|
name: "ironic_api"
|
||||||
volumes: "{{ node_config_directory }}/ironic-api/:{{ container_config_directory }}/:ro"
|
volumes: "{{ node_config_directory }}/ironic-api/:{{ container_config_directory }}/:ro"
|
||||||
when: inventory_hostname in groups['ironic-api']
|
when: inventory_hostname in groups['ironic-api']
|
||||||
|
|
||||||
@ -24,10 +24,10 @@
|
|||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
image: "{{ ironic_conductor_image_full }}"
|
image: "{{ ironic_conductor_image_full }}"
|
||||||
name: "ironic-conductor"
|
name: "ironic_conductor"
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ node_config_directory }}/ironic-conductor/:{{ container_config_directory }}/:ro"
|
- "{{ node_config_directory }}/ironic-conductor/:{{ container_config_directory }}/:ro"
|
||||||
- "ironic-pxe:/tftpboot/"
|
- "ironic_pxe:/tftpboot/"
|
||||||
when: inventory_hostname in groups['ironic-conductor']
|
when: inventory_hostname in groups['ironic-conductor']
|
||||||
|
|
||||||
- name: Starting ironic-discoverd container
|
- name: Starting ironic-discoverd container
|
||||||
@ -35,7 +35,7 @@
|
|||||||
action: "start_container"
|
action: "start_container"
|
||||||
common_options: "{{ docker_common_options }}"
|
common_options: "{{ docker_common_options }}"
|
||||||
image: "{{ ironic_discoverd_image_full }}"
|
image: "{{ ironic_discoverd_image_full }}"
|
||||||
name: "ironic-discoverd"
|
name: "ironic_discoverd"
|
||||||
privileged: True
|
privileged: True
|
||||||
volumes: "{{ node_config_directory }}/ironic-discoverd/:{{ container_config_directory }}/:ro"
|
volumes: "{{ node_config_directory }}/ironic-discoverd/:{{ container_config_directory }}/:ro"
|
||||||
when: inventory_hostname in groups['ironic-discoverd']
|
when: inventory_hostname in groups['ironic-discoverd']
|
||||||
|
@ -17,7 +17,7 @@ else
|
|||||||
haproxy \
|
haproxy \
|
||||||
heat_{api{,_cfn},engine} \
|
heat_{api{,_cfn},engine} \
|
||||||
horizon \
|
horizon \
|
||||||
ironic-{discoverd,conductor,api,pxe} \
|
ironic_{discoverd,conductor,api,pxe} \
|
||||||
keepalived \
|
keepalived \
|
||||||
keystone \
|
keystone \
|
||||||
kolla_toolbox \
|
kolla_toolbox \
|
||||||
@ -39,7 +39,7 @@ else
|
|||||||
|
|
||||||
volumes_to_remove=(
|
volumes_to_remove=(
|
||||||
glance \
|
glance \
|
||||||
ironic-pxe \
|
ironic_pxe \
|
||||||
mariadb \
|
mariadb \
|
||||||
openvswitch_db \
|
openvswitch_db \
|
||||||
neutron_metadata_socket \
|
neutron_metadata_socket \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user