
* Mount system folder in ironic-conductor * Add package need in ironic-conductor * Fix the log path issue * Add ironic sudoer in ironic-base * Fix credential issue * Do not start nova-compute when enable ironic Closes-Bug: #1629334 Change-Id: If9d478c6513de37465403d458a88cf0da7ebd8a6
55 lines
1.9 KiB
YAML
55 lines
1.9 KiB
YAML
---
|
|
- name: Starting ironic-pxe container
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
name: "ironic_pxe"
|
|
image: "{{ ironic_pxe_image_full }}"
|
|
volumes:
|
|
- "{{ node_config_directory }}/ironic-pxe/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "ironic_pxe:/tftpboot/"
|
|
when: inventory_hostname in groups['ironic-pxe']
|
|
|
|
- name: Starting ironic-api container
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
image: "{{ ironic_api_image_full }}"
|
|
name: "ironic_api"
|
|
volumes:
|
|
- "{{ node_config_directory }}/ironic-api/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla"
|
|
when: inventory_hostname in groups['ironic-api']
|
|
|
|
- name: Starting ironic-conductor container
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
image: "{{ ironic_conductor_image_full }}"
|
|
name: "ironic_conductor"
|
|
privileged: True
|
|
volumes:
|
|
- "{{ node_config_directory }}/ironic-conductor/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "/sys:/sys"
|
|
- "/dev:/dev"
|
|
- "/run:/run"
|
|
- "kolla_logs:/var/log/kolla"
|
|
- "ironic:/var/lib/ironic"
|
|
- "ironic_pxe:/tftpboot/"
|
|
when: inventory_hostname in groups['ironic-conductor']
|
|
|
|
- name: Starting ironic-inspector container
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
image: "{{ ironic_inspector_image_full }}"
|
|
name: "ironic_inspector"
|
|
privileged: True
|
|
volumes:
|
|
- "{{ node_config_directory }}/ironic-inspector/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
when: inventory_hostname in groups['ironic-inspector']
|