-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modify job to use metadata per cell #812
base: main
Are you sure you want to change the base?
Modify job to use metadata per cell #812
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thansk this looks good to me
approving pending ci conformation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mrkisaolamb, SeanMooney The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/e269c02307bb488b87860bb3d66aab45 ✔️ openstack-k8s-operators-content-provider SUCCESS in 43m 01s |
recheck |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
|
||
- op: replace | ||
path: /spec/nova/template/cellTemplates/cell1/metadataServiceTemplate/enabled | ||
value: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't we need to also disable metadata at the top level too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm, I thought cell0 is the top level :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so it should be /spec/nova/template/metadataServiceTemplate/enabled
instead of cell0 path (that is a special celll, should not run computes, nor metadata service for them, right?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/spec/nova/template/metadataServiceTemplate/enabled
is the top level yes.
you are right cell0 should not have computes and therefore no point to run metadata in it. The operator also rejects it
nova-operator/api/v1beta1/novametadata_webhook.go
Lines 136 to 142 in 3ace225
func (r *NovaMetadataTemplate) ValidateCell0(basePath *field.Path) field.ErrorList { | |
var errors field.ErrorList | |
if *r.Enabled { | |
errors = append( | |
errors, | |
field.Invalid( | |
basePath.Child("enabled"), *r.Enabled, "should be false for cell0"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, cell0 is different than top lvl so that was reason why I go with explicit disabling on cell0 but forgot disable for top lvl, also I correct operation type
d6b7971
to
67248a6
Compare
67248a6
to
54934fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks better, thanks
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/ccf7d5e4e17b4aa7b301ac533097d8bb ✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 15m 36s |
|
value: true | ||
|
||
- op: add | ||
path: /spec/neutron/template/metadataServiceTemplate/enabled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be /spec/nova
7cbd9c6
to
f5ac731
Compare
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/58610b28bc654a9b876669962e99645a ✔️ openstack-k8s-operators-content-provider SUCCESS in 4h 22m 30s |
enabled: false | ||
cell1: | ||
metadataServiceTemplate: | ||
enabled: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking at the ci output we have the following annotation on the top level service
metadata:
annotations:
metallb.universe.tf/address-pool: internalapi
metallb.universe.tf/allow-shared-ip: internalapi
metallb.universe.tf/loadBalancerIPs: 172.17.0.80
i wonder if that is the problem here?
i assume we need to copy them to the cell1 defintions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah no its simpler then that
lastTransitionTime: "2024-07-09T11:23:35Z"
message: DB creation failed for cell0(accountName is empty),cell1(accountName
is empty)
reason: Error
severity: Error
status: "False"
type: NovaAllCellDBReady
- lastTransitionTime: "2024-07-09T11:23:35Z"
message: NovaCell creation waits for DB creation for cell0,cell1
reason: Init
severity: Warning
status: "False"
type: NovaAllCellReady - lastTransitionTime: "2024-07-09T11:23:36Z"
message: All message busses created successfully
reason: Ready
status: "True"
type: NovaAllCellsMQReady
the ceph job failure look to be DNS related but maybe its something else but that is not related to this patch |
f5ac731
to
60a4c26
Compare
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/1290a25d874949389fa027bf7c73fef1 ✔️ openstack-k8s-operators-content-provider SUCCESS in 4h 17m 25s |
60a4c26
to
9c4d3d4
Compare
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/a282815a39bc4d72b9c3f84c9827655b ✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 33m 20s |
9c4d3d4
to
cfe7a2c
Compare
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/d78540be1151424e9888c6f1c2016719 ✔️ openstack-k8s-operators-content-provider SUCCESS in 5h 25m 36s |
cfe7a2c
to
7b1fa9d
Compare
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/bf8ac68e6124410082be1c1dabde46cd ✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 56m 50s |
7b1fa9d
to
231fe94
Compare
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/b7eb5aebf22744819f1136962e3795ca ❌ openstack-k8s-operators-content-provider MERGE_CONFLICT in 1m 07s |
- name: 62 Kustomize ControlPlane | ||
type: playbook | ||
source: pre_deploy_control_plane_hook.yml | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is incorrect
the job you are modifying is for non ceph so you should not be using the hci customisation here.
231fe94
to
785a709
Compare
Merge Failed. This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset. |
785a709
to
c06faad
Compare
c06faad
to
c7c20a4
Compare
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/5cb8cc3698d840ad815138553db2643f ✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 26m 47s |
No description provided.