-
Notifications
You must be signed in to change notification settings - Fork 53
Enable defaulting of nova in kuttle job #921
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
Enable defaulting of nova in kuttle job #921
Conversation
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/231ce90da53b4df8960ae8113279286b ✔️ openstack-meta-content-provider SUCCESS in 2h 55m 34s |
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/d204e1b3b52f4e2f9da2ea9db4fbd04c ✔️ openstack-meta-content-provider SUCCESS in 2h 54m 11s |
Zuul encountered a syntax error while parsing its extra keys not allowed @ data['post_deploy'] The problem appears in the the "nova-operator-kuttl" job stanza: job: in "openstack-k8s-operators/nova-operator/.zuul.yaml@main", line 2 |
18d6ba3
to
bae9492
Compare
Zuul encountered a syntax error while parsing its Invalid Ansible variable name 'post-run' for dictionary value @ data['vars'] The problem appears in the the "nova-operator-kuttl" job stanza: job: in "openstack-k8s-operators/nova-operator/.zuul.yaml@main", line 2 |
4a6885f
to
691568d
Compare
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/50f46ddde56e4db2bb5508e47e5c46d2 ✔️ openstack-meta-content-provider SUCCESS in 3h 54m 57s |
379b8e1
to
67a7e0b
Compare
/retest |
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/ea87f35769074a5fb4cdff8ba7c7d70e ✔️ openstack-meta-content-provider SUCCESS in 5h 39m 34s |
67a7e0b
to
ce6dcaf
Compare
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/355c453b32624f82acb9bd721bb030fc ✔️ openstack-meta-content-provider SUCCESS in 3h 20m 57s |
ce6dcaf
to
681c104
Compare
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/2d9be82c258b4f9ab501aa6d44a85fde ✔️ openstack-meta-content-provider SUCCESS in 3h 52m 12s |
681c104
to
85e4d2a
Compare
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/59e573377d4e43fb9056be89bf5a4ac2 ✔️ openstack-meta-content-provider SUCCESS in 2h 38m 01s |
85e4d2a
to
04e7d6f
Compare
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/29b60a0ca6ec4aa2aa83ee4a0ba5715a ✔️ openstack-meta-content-provider SUCCESS in 1h 42m 07s |
04e7d6f
to
d4bf23d
Compare
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/d94f3c6b1d2b4a5fbd3f1ff5c92deaf8 ✔️ openstack-meta-content-provider SUCCESS in 2h 53m 03s |
d4bf23d
to
b561eb1
Compare
This change depends on a change that failed to merge. Change openstack-k8s-operators/ci-framework#2735 is needed. |
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
i agree with these updates we should merge this once the depnecy is merged
@@ -138,12 +138,10 @@ metadata: | |||
name: nova-kuttl-api-0 | |||
status: | |||
containerStatuses: | |||
- image: quay.io/podified-antelope-centos9/openstack-nova-api:current-podified |
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 you removed this becuase it may come form the content provider i assume
ya that makes sense to remove
im only adding hold to this because the depnecy has not merged once that is merged feel free to drop the hold lable |
recheck |
we need to do one more rdo un with rdo-check too because the current one has #927 included |
d8ff3d8
to
df0a2f8
Compare
.zuul.yaml
Outdated
@@ -181,7 +189,8 @@ | |||
github-check: | |||
jobs: | |||
- openstack-meta-content-provider | |||
- nova-operator-kuttl | |||
- nova-operator-kuttl: | |||
override-checkout: main |
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.
what does this mean? Will this prevent testing the content of the nova-operator PR the job is triggered on?
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.
IIUC https://zuul-ci.org/docs/zuul/latest/config/job.html#attr-job.override-checkout right, that picks the main branches for other involved projects
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.
done
Makefile
Outdated
@@ -428,3 +429,11 @@ PHONY: crd-schema-check | |||
crd-schema-check: manifests | |||
INSTALL_DIR=$(LOCALBIN) CRD_SCHEMA_CHECKER_VERSION=$(CRD_SCHEMA_CHECKER_VERSION) hack/build-crd-schema-checker.sh | |||
INSTALL_DIR=$(LOCALBIN) BASE_REF="$${PULL_BASE_SHA:-$(BRANCH)}" hack/crd-schema-checker.sh | |||
|
|||
|
|||
.PHONY: nova |
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.
I would use a bit more descriptive name. We have a run
target that runs the operator from the git repo. So this would be something like run_with_olm
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.
done
tasks: | ||
- name: Scale down deployment | ||
ansible.builtin.shell: | | ||
oc patch csv -n openstack-operators openstack-operator.v0.0.1 --type json -p="[{"op": "replace", "path": "/spec/install/spec/deployments/0/spec/replicas", "value": "0"}]" |
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.
I'm wondering if we can always rely on the csv name being v0.0.1
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.
That is a good question, but CSV versioning questions are in flux as yet. Let's copy what other projects do for the time being.
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 IMO we can go with openstack-operator.v0.0.1
chdir: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/nova-operator" | ||
script: make nova | ||
extra_args: | ||
CATALOG_IMAGE: "{{ nova_catalog_image | default('quay.io/openstack-k8s-operators/nova-operator-index:latest') }}" |
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.
I guess nova_catalog_name is here to ensure that the nova-operator that is built from this PR will be used for the deployment. Who sets this variable?
chdir: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/nova-operator" | ||
script: make nova | ||
extra_args: | ||
CATALOG_IMAGE: "{{ nova_catalog_image | default('quay.io/openstack-k8s-operators/nova-operator-index:latest') }}" |
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.
The default here seems to be a duplication as CATALOG_IMAGE is already defaulted in the makefile.
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.
done
This change depends on a change that failed to merge. Change #927 is needed. |
df0a2f8
to
c2dc4e3
Compare
Kuttl run looks green https://softwarefactory-project.io/zuul/t/rdoproject.org/build/453f64801ce749e49ef658a399731fa2/log/controller/controller/kuttl-test-run.out . We need to wait for the dependencies to land. |
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/f443106e47bd4d09819a39a07df484e6 ✔️ openstack-meta-content-provider SUCCESS in 2h 46m 55s |
im not 100% sure but i think the actually issue is how we configure implied branches and we can then alter how we make the teampels work withopen dev on main we are declaring on fr1 that the job definition fr1 is actually for main https://zuul-ci.org/docs/zuul/latest/config/pragma.html#attr-pragma.implied-branches zuul should not have 2 job definition with the same name of rht same branch like that I'm 99% sure that because of
|
recheck |
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/fd567916c30b454c890cfd3804a211f4 ✔️ openstack-meta-content-provider SUCCESS in 2h 54m 31s |
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 we agreed to adress the underlying issue in a follow up.
ill remove hold when the dependcies are merged
[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 |
e1e2ba8
into
openstack-k8s-operators:main
Depends-On: openstack-k8s-operators/ci-framework#2735
Depends-On: #927
close: https://issues.redhat.com/browse/OSPRH-14126