From: Cédric Ollivier Date: Thu, 9 Jul 2020 15:10:28 +0000 (+0200) Subject: Boot Ellis once homestead-depl is ready X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=e4bbf9088b257e2c448a950a301c6da7bd7855e4;p=functest-kubernetes.git Boot Ellis once homestead-depl is ready Change-Id: If61a36020f3dfa5ba0a9858df769138257f9ec94 Signed-off-by: Cédric Ollivier (cherry picked from commit 5bc18405d75e9d765cd707ff9a98c3553de4b0dd) --- diff --git a/functest_kubernetes/ims/ellis-depl.yaml b/functest_kubernetes/ims/ellis-depl.yaml index 166774b6..4d7953ff 100644 --- a/functest_kubernetes/ims/ellis-depl.yaml +++ b/functest_kubernetes/ims/ellis-depl.yaml @@ -13,9 +13,12 @@ spec: service: ellis spec: initContainers: - - name: wait-on-cassandra + - name: wait-on-homestead-prov image: busybox:1.28 - command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done'] + command: ['sh', '-c', 'until nslookup homestead-prov; do echo waiting for homestead-prov to start ...; sleep 2; done'] + - name: wait-on-sprout + image: busybox:1.28 + command: ['sh', '-c', 'until nslookup sprout; do echo waiting for sprout to start ...; sleep 2; done'] containers: - image: "ollivier/clearwater-ellis:latest" imagePullPolicy: Always diff --git a/functest_kubernetes/ims/homer-depl.yaml b/functest_kubernetes/ims/homer-depl.yaml index 6f0434d0..d4c90c94 100644 --- a/functest_kubernetes/ims/homer-depl.yaml +++ b/functest_kubernetes/ims/homer-depl.yaml @@ -13,9 +13,9 @@ spec: service: homer spec: initContainers: - - name: wait-on-sprout + - name: wait-on-cassandra image: busybox:1.28 - command: ['sh', '-c', 'until nslookup sprout; do echo waiting for sprout to start ...; sleep 2; done'] + command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done'] containers: - image: "ollivier/clearwater-homer:latest" imagePullPolicy: Always diff --git a/functest_kubernetes/ims/homestead-depl.yaml b/functest_kubernetes/ims/homestead-depl.yaml index 142a47e5..f6c554df 100644 --- a/functest_kubernetes/ims/homestead-depl.yaml +++ b/functest_kubernetes/ims/homestead-depl.yaml @@ -14,9 +14,12 @@ spec: snmp: enabled spec: initContainers: - - name: wait-on-sprout + - name: wait-on-cassandra image: busybox:1.28 - command: ['sh', '-c', 'until nslookup sprout; do echo waiting for sprout to start ...; sleep 2; done'] + command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done'] + - name: wait-on-astaire + image: busybox:1.28 + command: ['sh', '-c', 'until nslookup astaire; do echo waiting for astaire to start ...; sleep 2; done'] containers: - image: "ollivier/clearwater-homestead:latest" imagePullPolicy: Always diff --git a/functest_kubernetes/ims/ralf-depl.yaml b/functest_kubernetes/ims/ralf-depl.yaml index 829e6359..82bf525d 100644 --- a/functest_kubernetes/ims/ralf-depl.yaml +++ b/functest_kubernetes/ims/ralf-depl.yaml @@ -14,9 +14,9 @@ spec: snmp: enabled spec: initContainers: - - name: wait-on-sprout + - name: wait-on-cassandra image: busybox:1.28 - command: ['sh', '-c', 'until nslookup sprout; do echo waiting for sprout to start ...; sleep 2; done'] + command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done'] containers: - image: "ollivier/clearwater-ralf:latest" imagePullPolicy: Always diff --git a/functest_kubernetes/ims/sprout-depl.yaml b/functest_kubernetes/ims/sprout-depl.yaml index af6bc660..93e16f55 100644 --- a/functest_kubernetes/ims/sprout-depl.yaml +++ b/functest_kubernetes/ims/sprout-depl.yaml @@ -14,9 +14,15 @@ spec: snmp: enabled spec: initContainers: - - name: wait-on-cassandra + - name: wait-on-ralf image: busybox:1.28 - command: ['sh', '-c', 'until nslookup cassandra; do echo waiting for cassandra to start ...; sleep 2; done'] + command: ['sh', '-c', 'until nslookup ralf; do echo waiting for ralf to start ...; sleep 2; done'] + - name: wait-on-chronos + image: busybox:1.28 + command: ['sh', '-c', 'until nslookup chronos; do echo waiting for chronos to start ...; sleep 2; done'] + - name: wait-on-homestead + image: busybox:1.28 + command: ['sh', '-c', 'until nslookup homestead; do echo waiting for homestead to start ...; sleep 2; done'] containers: - image: "ollivier/clearwater-sprout:latest" imagePullPolicy: Always