aboutsummaryrefslogtreecommitdiffstats
path: root/docker/services/nova-ironic.yaml
diff options
context:
space:
mode:
authorBogdan Dobrelya <bdobreli@redhat.com>2017-03-22 12:10:24 +0100
committerBogdan Dobrelya <bdobreli@redhat.com>2017-03-24 09:28:30 +0100
commit9aaa5ba03d92490fb5a0414b3d7c9a884bd6ff78 (patch)
tree8d03589360597885f5bf8c75f95c70a3b8901255 /docker/services/nova-ironic.yaml
parent8716d9f769dd17ef17fef7f0fdefaf0df6a7fe24 (diff)
Rework container volumes as hostpath mounts
Also add upgrade_tasks to disable corresponding host services in order to not data race with containers Change-Id: I19c16aaa3e5a73436ca7aa7d06facf64feee2327 Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
Diffstat (limited to 'docker/services/nova-ironic.yaml')
-rw-r--r--docker/services/nova-ironic.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/docker/services/nova-ironic.yaml b/docker/services/nova-ironic.yaml
index 170468a..3d849f5 100644
--- a/docker/services/nova-ironic.yaml
+++ b/docker/services/nova-ironic.yaml
@@ -85,6 +85,10 @@ outputs:
- /run:/run
- /dev:/dev
- /etc/iscsi:/etc/iscsi
- - nova_compute:/var/lib/nova/
+ - /var/lib/nova/:/var/lib/nova
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
+ upgrade_tasks:
+ - name: Stop and disable nova-compute service
+ tags: step2
+ service: name=nova-compute state=stopped enabled=no