Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mrkisaolamb
Copy link
Contributor

No description provided.

@openshift-ci openshift-ci bot requested review from bogdando and kk7ds July 5, 2024 09:49
@openshift-ci openshift-ci bot added the approved label Jul 5, 2024
Copy link
Contributor

@SeanMooney SeanMooney left a 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

Copy link
Contributor

openshift-ci bot commented Jul 5, 2024

[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:
  • OWNERS [SeanMooney,mrkisaolamb]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/e269c02307bb488b87860bb3d66aab45

✔️ openstack-k8s-operators-content-provider SUCCESS in 43m 01s
nova-operator-kuttl RETRY_LIMIT in 19m 47s
nova-operator-tempest-multinode RETRY_LIMIT in 24m 13s
nova-operator-tempest-multinode-ceph RETRY_LIMIT in 25m 51s

@mrkisaolamb
Copy link
Contributor Author

recheck

Copy link
Contributor

@bogdando bogdando left a 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
Copy link
Contributor

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?

Copy link
Contributor

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 :)

Copy link
Contributor

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?)

Copy link
Contributor

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

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"),

Copy link
Contributor Author

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

Copy link
Contributor

@gibizer gibizer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks better, thanks

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/ccf7d5e4e17b4aa7b301ac533097d8bb

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 15m 36s
✔️ nova-operator-kuttl SUCCESS in 45m 11s
nova-operator-tempest-multinode FAILURE in 1h 11m 04s
✔️ nova-operator-tempest-multinode-ceph SUCCESS in 2h 30m 37s

@gibizer
Copy link
Contributor

gibizer commented Jul 9, 2024

Monday 08 July 2024  09:49:17 -0400 (0:00:00.035)       0:00:00.220 *********** 
fatal: [localhost]: FAILED! => changed=false 
  details: |-
    error: add operation does not apply: doc is missing path: "/spec/nova/template/cellTemplates/cell0/metadataServiceTemplate/enabled": missing value

https://review.rdoproject.org/zuul/build/b436ea857a464d6ba897149baae1b40e/log/controller/ci-framework-data/logs/ci_script_011_run_82_kustomize_and_update.log#37

value: true

- op: add
path: /spec/neutron/template/metadataServiceTemplate/enabled
Copy link
Contributor

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

@mrkisaolamb mrkisaolamb force-pushed the ci-cell-metadata branch 2 times, most recently from 7cbd9c6 to f5ac731 Compare July 9, 2024 07:40
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/58610b28bc654a9b876669962e99645a

✔️ openstack-k8s-operators-content-provider SUCCESS in 4h 22m 30s
✔️ nova-operator-kuttl SUCCESS in 45m 38s
nova-operator-tempest-multinode FAILURE in 1h 53m 24s
nova-operator-tempest-multinode-ceph FAILURE in 1h 57m 16s

enabled: false
cell1:
metadataServiceTemplate:
enabled: true
Copy link
Contributor

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?

https://logserver.rdoproject.org/12/812/f5ac7314ae6ac3c88fe797be09f01c9811665b2d/github-check/nova-operator-tempest-multinode/4d74ffe/controller/ci-framework-data/logs/ci_script_011_run_82_kustomize_and_update.log

i assume we need to copy them to the cell1 defintions

Copy link
Contributor

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

https://logserver.rdoproject.org/12/812/f5ac7314ae6ac3c88fe797be09f01c9811665b2d/github-check/nova-operator-tempest-multinode/4d74ffe/controller/ci-framework-data/logs/openstack-k8s-operators-openstack-must-gather/namespaces/openstack/crs/nova.nova.openstack.org/nova.yaml

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/1290a25d874949389fa027bf7c73fef1

✔️ openstack-k8s-operators-content-provider SUCCESS in 4h 17m 25s
✔️ nova-operator-kuttl SUCCESS in 44m 40s
nova-operator-tempest-multinode FAILURE in 1h 45m 32s
✔️ nova-operator-tempest-multinode-ceph SUCCESS in 2h 32m 35s

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/a282815a39bc4d72b9c3f84c9827655b

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 33m 20s
✔️ nova-operator-kuttl SUCCESS in 43m 53s
nova-operator-tempest-multinode FAILURE in 2h 20m 41s
✔️ nova-operator-tempest-multinode-ceph SUCCESS in 2h 20m 50s

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/d78540be1151424e9888c6f1c2016719

✔️ openstack-k8s-operators-content-provider SUCCESS in 5h 25m 36s
✔️ nova-operator-kuttl SUCCESS in 45m 41s
nova-operator-tempest-multinode FAILURE in 2h 33m 27s
✔️ nova-operator-tempest-multinode-ceph SUCCESS in 2h 48m 53s

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/bf8ac68e6124410082be1c1dabde46cd

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 56m 50s
✔️ nova-operator-kuttl SUCCESS in 45m 24s
nova-operator-tempest-multinode FAILURE in 2h 17m 37s
✔️ nova-operator-tempest-multinode-ceph SUCCESS in 2h 30m 58s

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/b7eb5aebf22744819f1136962e3795ca

openstack-k8s-operators-content-provider MERGE_CONFLICT in 1m 07s
⚠️ nova-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ nova-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ nova-operator-tempest-multinode-ceph SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

- name: 62 Kustomize ControlPlane
type: playbook
source: pre_deploy_control_plane_hook.yml

Copy link
Contributor

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.

Copy link

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.
Warning:
Unable to update github.com/openstack-k8s-operators/nova-operator

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/5cb8cc3698d840ad815138553db2643f

✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 26m 47s
✔️ nova-operator-kuttl SUCCESS in 45m 39s
nova-operator-tempest-multinode FAILURE in 1h 51m 28s
✔️ nova-operator-tempest-multinode-ceph SUCCESS in 2h 38m 27s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants