From a750802331a97a0a517f0cb680a522142ecc8ebf Mon Sep 17 00:00:00 2001
From: Pete Birley <pete@port.direct>
Date: Fri, 5 Jul 2019 11:51:18 -0500
Subject: [PATCH] Cinder: Require cinder volume to be running before attempting
 bootstrap

This PS udpates the deps on the cinder boostrap job to ensure that the
cinder volume service has started prior to attempting bootstrap.

This crtainly could be enhanced further, but is the 1st step in preventing
the liklyhood of a race.

Change-Id: Id0f958077b296750242450179b41c0a1b703b4a5
Signed-off-by: Pete Birley <pete@port.direct>
---
 cinder/values.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/cinder/values.yaml b/cinder/values.yaml
index f527145cb3..0b69405477 100644
--- a/cinder/values.yaml
+++ b/cinder/values.yaml
@@ -1036,6 +1036,11 @@ dependencies:
           service: identity
         - endpoint: internal
           service: volume
+      pod:
+        - requireSameNode: false
+          labels:
+            application: cinder
+            component: volume
     clean:
       jobs: null
     db_drop: