Skip to content
Snippets Groups Projects
Commit 564f8f2b authored by Sam Yaple's avatar Sam Yaple
Browse files

Move data container to start.yml

The original reason for having the data container in the bootstrap.yml
was to keep consistency with rabbitmq and mariadb, but in light of
this bug we need to move the data container out of the bootstrap.yml
role since we will be limiting the hosts that those tasks can run on.

Change-Id: I7f2f5979b01807275908699d1243756cb97d3588
Partial-Bug: #1513598
parent 4ad8db71
No related branches found
No related tags found
No related merge requests found
......@@ -28,22 +28,6 @@
failed_when: database_user_create.stdout.split()[2] != 'SUCCESS'
run_once: True
- name: Starting Glance data container
docker:
tty: True
net: host
pull: "{{ docker_pull_policy }}"
restart_policy: "{{ docker_restart_policy }}"
restart_policy_retry: "{{ docker_restart_policy_retry }}"
state: reloaded
registry: "{{ docker_registry }}"
username: "{{ docker_registry_username }}"
password: "{{ docker_registry_password }}"
insecure_registry: "{{ docker_insecure_registry }}"
name: glance_data
image: "{{ glance_data_image_full }}"
volumes: "/var/lib/glance/"
- name: Starting Glance bootstrap container
docker:
tty: True
......@@ -59,8 +43,6 @@
name: bootstrap_glance
image: "{{ glance_api_image_full }}"
volumes: "{{ node_config_directory }}/glance-api/:{{ container_config_directory }}/:ro"
volumes_from:
- glance_data
env:
KOLLA_BOOTSTRAP:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
......
---
- name: Starting Glance data container
docker:
tty: True
net: host
pull: "{{ docker_pull_policy }}"
restart_policy: "{{ docker_restart_policy }}"
restart_policy_retry: "{{ docker_restart_policy_retry }}"
state: reloaded
registry: "{{ docker_registry }}"
username: "{{ docker_registry_username }}"
password: "{{ docker_registry_password }}"
insecure_registry: "{{ docker_insecure_registry }}"
name: glance_data
image: "{{ glance_data_image_full }}"
volumes: "/var/lib/glance/"
- name: Starting Glance-registry container
docker:
tty: True
......
......@@ -27,24 +27,6 @@
failed_when: database_user_create.stdout.split()[2] != 'SUCCESS'
run_once: True
- name: Starting Nova data container
docker:
tty: True
net: host
pull: "{{ docker_pull_policy }}"
restart_policy: "{{ docker_restart_policy }}"
restart_policy_retry: "{{ docker_restart_policy_retry }}"
state: reloaded
registry: "{{ docker_registry }}"
username: "{{ docker_registry_username }}"
password: "{{ docker_registry_password }}"
insecure_registry: "{{ docker_insecure_registry }}"
name: nova_data
image: "{{ nova_data_image_full }}"
volumes:
- "/var/lib/nova/instances"
- "/var/lib/libvirt"
- name: Starting Nova bootstrap container
docker:
tty: True
......
---
- name: Starting Nova data container
docker:
tty: True
net: host
pull: "{{ docker_pull_policy }}"
restart_policy: "{{ docker_restart_policy }}"
restart_policy_retry: "{{ docker_restart_policy_retry }}"
state: reloaded
registry: "{{ docker_registry }}"
username: "{{ docker_registry_username }}"
password: "{{ docker_registry_password }}"
insecure_registry: "{{ docker_insecure_registry }}"
name: nova_data
image: "{{ nova_data_image_full }}"
volumes:
- "/var/lib/nova/instances"
- "/var/lib/libvirt"
- name: Starting Nova-libvirt container
docker:
tty: True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment