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
This commit is contained in:
Hemachandra Reddy 2020-09-30 15:15:26 +00:00
parent 74b119db35
commit 766ce51ba9
4 changed files with 6 additions and 2 deletions

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Nova description: OpenStack-Helm Nova
name: nova name: nova
version: 0.1.2 version: 0.1.3
home: https://docs.openstack.org/nova/latest/ home: https://docs.openstack.org/nova/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
sources: sources:

View File

@ -376,6 +376,7 @@ dependencies:
jobs: jobs:
- nova-db-sync - nova-db-sync
- nova-rabbit-init - nova-rabbit-init
- placement-ks-endpoints
services: services:
- endpoint: internal - endpoint: internal
service: oslo_messaging service: oslo_messaging
@ -406,6 +407,7 @@ dependencies:
jobs: jobs:
- nova-db-sync - nova-db-sync
- nova-rabbit-init - nova-rabbit-init
- placement-ks-endpoints
services: services:
- endpoint: internal - endpoint: internal
service: oslo_messaging service: oslo_messaging
@ -476,6 +478,7 @@ dependencies:
jobs: jobs:
- nova-db-sync - nova-db-sync
- nova-rabbit-init - nova-rabbit-init
- placement-ks-endpoints
services: services:
- endpoint: internal - endpoint: internal
service: oslo_messaging service: oslo_messaging

View File

@ -16,7 +16,7 @@ apiVersion: v1
appVersion: v1.0.0 appVersion: v1.0.0
description: OpenStack-Helm Placement description: OpenStack-Helm Placement
name: placement name: placement
version: 0.1.1 version: 0.1.2
home: https://docs.openstack.org/placement/latest/ home: https://docs.openstack.org/placement/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Placement/OpenStack_Project_Placement_vertical.png icon: https://www.openstack.org/themes/openstack/images/project-mascots/Placement/OpenStack_Project_Placement_vertical.png
sources: sources:

View File

@ -470,6 +470,7 @@ dependencies:
db_migrate: db_migrate:
jobs: jobs:
- placement-db-init - placement-db-init
- nova-db-sync
services: services:
- endpoint: internal - endpoint: internal
service: oslo_db service: oslo_db