From 7f81d106c6788e30bf360d5c5913af4680039f54 Mon Sep 17 00:00:00 2001 From: nicholaskuechler Date: Thu, 5 Sep 2024 11:14:52 -0500 Subject: [PATCH 1/4] fix(placement): Add missing argo job hooks --- components/placement/aio-values.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/components/placement/aio-values.yaml b/components/placement/aio-values.yaml index 2daa70b02..09cc077ff 100644 --- a/components/placement/aio-values.yaml +++ b/components/placement/aio-values.yaml @@ -32,3 +32,18 @@ manifests: # editing the annotation which deletes the item # and wipes our keys. helm3_hook: false + +annotations: + job: + placement_db_sync: + argocd.argoproj.io/hook: Sync + argocd.argoproj.io/hook-delete-policy: BeforeHookCreation + placement_ks_service: + argocd.argoproj.io/hook: Sync + argocd.argoproj.io/hook-delete-policy: BeforeHookCreation + placement_ks_user: + argocd.argoproj.io/hook: Sync + argocd.argoproj.io/hook-delete-policy: BeforeHookCreation + placement_ks_endpoints: + argocd.argoproj.io/hook: Sync + argocd.argoproj.io/hook-delete-policy: BeforeHookCreation From b075b7c16ec236f281f366b5b129eec982c96908 Mon Sep 17 00:00:00 2001 From: nicholaskuechler Date: Thu, 5 Sep 2024 11:22:38 -0500 Subject: [PATCH 2/4] fix(nova): Add missing argo job hook --- components/nova/aio-values.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/nova/aio-values.yaml b/components/nova/aio-values.yaml index 7a6f88c0b..b2ed86922 100644 --- a/components/nova/aio-values.yaml +++ b/components/nova/aio-values.yaml @@ -141,5 +141,8 @@ annotations: argocd.argoproj.io/hook: Sync argocd.argoproj.io/hook-delete-policy: BeforeHookCreation nova_cell_setup: + argocd.argoproj.io/hook: PostSync + argocd.argoproj.io/hook-delete-policy: BeforeHookCreation + nova_bootstrap: argocd.argoproj.io/hook: Sync argocd.argoproj.io/hook-delete-policy: BeforeHookCreation From e402689a5e35fb6962ae1e0a380649ffdc26c7de Mon Sep 17 00:00:00 2001 From: nicholaskuechler Date: Thu, 5 Sep 2024 13:19:21 -0500 Subject: [PATCH 3/4] fix(keystone): add missing admin role to argoworkflow user in keystone bootstrap --- components/keystone/aio-values.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/components/keystone/aio-values.yaml b/components/keystone/aio-values.yaml index 0920bdcc2..f55d9d297 100644 --- a/components/keystone/aio-values.yaml +++ b/components/keystone/aio-values.yaml @@ -25,6 +25,7 @@ bootstrap: openstack project create undercloud --or-show openstack user create --project undercloud --password demo argoworkflow --or-show openstack role add --user argoworkflow --project undercloud member + openstack role add --user argoworkflow --project undercloud admin # allow ironic user to see servers in undercloud project openstack role add --project undercloud --user ironic --user-domain service member openstack role add --project service --user ironic --user-domain service service From 7626dd0a16047accb8fa428c526cbb9568ee4da6 Mon Sep 17 00:00:00 2001 From: nicholaskuechler Date: Thu, 5 Sep 2024 09:38:10 -0500 Subject: [PATCH 4/4] chore(openstack): Update OpenStack components to use the latest helm chart versions. --- apps/appsets/openstack.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/appsets/openstack.yaml b/apps/appsets/openstack.yaml index e050fa1df..96797a7d1 100644 --- a/apps/appsets/openstack.yaml +++ b/apps/appsets/openstack.yaml @@ -17,19 +17,19 @@ spec: - list: elements: - component: keystone - chartVersion: 0.3.13 + chartVersion: 0.3.15 - component: ironic - chartVersion: 0.2.15 + chartVersion: 0.2.18 - component: placement - chartVersion: 0.3.15 + chartVersion: 0.3.16 - component: neutron chartVersion: 0.3.47 - component: glance - chartVersion: 0.4.26 + chartVersion: 0.5.0 - component: nova - chartVersion: 0.3.42 + chartVersion: 0.3.44 - component: horizon - chartVersion: 0.3.26 + chartVersion: 0.3.27 template: metadata: name: '{{.name}}-{{.component}}'