From 766ce51ba9d422d119ccab3579f3a2c5c8116ea9 Mon Sep 17 00:00:00 2001 From: Hemachandra Reddy Date: Wed, 30 Sep 2020 15:15:26 +0000 Subject: [PATCH] Establish Nova/Placement dependencies When a placement service endpoint is changed, nova-compute does not refresh its cache and continue send requests to the old one: https://bugs.launchpad.net/charm-nova-compute/+bug/1826382 Also, in Train release, nova services expect placement user be present in keystone in advance. Without the dependency, the pod starts crash looping. Change-Id: I6b1a70ec859805794bac2689b04f7eca47ad61b3 --- nova/Chart.yaml | 2 +- nova/values.yaml | 3 +++ placement/Chart.yaml | 2 +- placement/values.yaml | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/nova/Chart.yaml b/nova/Chart.yaml index 86696caf8f..2cc7222cc3 100644 --- a/nova/Chart.yaml +++ b/nova/Chart.yaml @@ -14,7 +14,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Nova name: nova -version: 0.1.2 +version: 0.1.3 home: https://docs.openstack.org/nova/latest/ icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png sources: diff --git a/nova/values.yaml b/nova/values.yaml index 3a509b5bc5..d22da5f886 100644 --- a/nova/values.yaml +++ b/nova/values.yaml @@ -376,6 +376,7 @@ dependencies: jobs: - nova-db-sync - nova-rabbit-init + - placement-ks-endpoints services: - endpoint: internal service: oslo_messaging @@ -406,6 +407,7 @@ dependencies: jobs: - nova-db-sync - nova-rabbit-init + - placement-ks-endpoints services: - endpoint: internal service: oslo_messaging @@ -476,6 +478,7 @@ dependencies: jobs: - nova-db-sync - nova-rabbit-init + - placement-ks-endpoints services: - endpoint: internal service: oslo_messaging diff --git a/placement/Chart.yaml b/placement/Chart.yaml index 0519da607a..c8453875bd 100644 --- a/placement/Chart.yaml +++ b/placement/Chart.yaml @@ -16,7 +16,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Placement name: placement -version: 0.1.1 +version: 0.1.2 home: https://docs.openstack.org/placement/latest/ icon: https://www.openstack.org/themes/openstack/images/project-mascots/Placement/OpenStack_Project_Placement_vertical.png sources: diff --git a/placement/values.yaml b/placement/values.yaml index 18b2535dab..6297ea59f2 100644 --- a/placement/values.yaml +++ b/placement/values.yaml @@ -470,6 +470,7 @@ dependencies: db_migrate: jobs: - placement-db-init + - nova-db-sync services: - endpoint: internal service: oslo_db