-
Notifications
You must be signed in to change notification settings - Fork 59
Upgrade to operator-sdk 1.41.1 #1043
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
Upgrade to operator-sdk 1.41.1 #1043
Conversation
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/9a74a948246442dfb17dea450b4c74a2 ❌ openstack-meta-content-provider FAILURE in 11m 42s |
76db895 to
41a2f63
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/b77ba055c14a4fb896e67692835bbe63 ❌ openstack-meta-content-provider FAILURE in 16m 35s |
|
recheck |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/8f758e3f635f4b039bd378d654dbf317 ❌ openstack-meta-content-provider FAILURE in 14m 51s |
|
recheck |
|
earlier hold node, setting project_layout to v4 seems to help: but that should not be necessary, due openstack-k8s-operators/openstack-operator#1683 contains that. |
|
This change depends on a change that failed to merge. Change openstack-k8s-operators/openstack-operator#1683 is needed. |
|
Updated first comment |
|
recheck |
|
Wondering if error in job is related to recent changes in crc-cloud: crc-org/crc-cloud#209 Let's try with recheck, if that would be flaky, will do another PR with retry + delay. So far, I think operator-sdk is in correct version. |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/ab36e589caeb4c0fb83160c69b89aa41 ✔️ openstack-meta-content-provider SUCCESS in 3h 05m 42s |
|
recheck |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/62cf6212155e4c6ea9419d73dafdb617 ✔️ openstack-meta-content-provider SUCCESS in 2h 43m 47s |
|
recheck |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/02a0c3ee95164448bb616b28a857ab3e ✔️ openstack-meta-content-provider SUCCESS in 3h 17m 11s |
Rescaffold the nova-operator to operator-sdk 1.41.1, which includes: - Reorganize project structure (pkg/ -> internal/) - Move webhook implementations to internal/webhook/v1beta1/ - Add new cmd/main.go entrypoint with updated controller initialization - Update RBAC, certmanager, and prometheus configurations - Enhance network policies for metrics and webhook traffic - Remove auto-generated test suite scaffolding - Update build workflow and Dockerfile to version 1.41.1 This upgrade modernizes the operator structure and aligns with the latest operator-sdk best practices. Jira: OSPRH-21969 Depends-On: openstack-k8s-operators/openstack-operator#1683
41a2f63 to
8e33039
Compare
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/4c902cf5b693468f98c0c6515fb3a2be ✔️ openstack-meta-content-provider SUCCESS in 3h 18m 57s |
|
recheck |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/40ac4540071444dd8ba36feae8cc9791 ✔️ openstack-meta-content-provider SUCCESS in 2h 56m 34s |
Explicitly to delete any running nova-operator deployments from openstack-operator here as label selectors can change and installing a service catalog/index like this alongside openstack-operator (what CI appears to do?) is not recommended unless the initialization resource controller in openstack-operator is paused and existing deployments are cleaned properly
| var tlsOpts []func(*tls.Config) | ||
| flag.StringVar(&metricsAddr, "metrics-bind-address", "0", "The address the metrics endpoint binds to. "+ | ||
| "Use :8443 for HTTPS or :8080 for HTTP, or leave as 0 to disable the metrics service.") | ||
| flag.StringVar(&probeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.") |
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.
pprofBindAddress is missing from current implementation. lets add this when we bump to the new infra-op version
| # explicitly to delete any running nova-operator deployments from openstack-operator here as | ||
| # label selectors can change and installing a service catalog/index like this alongside | ||
| # openstack-operator (what CI appears to do?) is not recommended | ||
| oc delete deployment nova-operator-controller-manager -n openstack-operators --ignore-not-found=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.
In the context mentioned in the comment, wouldn't the openstack-operator-controller-operator pod just recreate the Deployment again right after we delete it here? I wonder if we need to use the OpenStack interface to drop the replicas for the Nova operator to 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.
no because in CI they are setting the initialization openstack-operator-controller-operator replicas to 0
stuggi
left a comment
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
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dprince, stuggi The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
5c47a41
into
openstack-k8s-operators:main
Rescaffold the nova-operator to operator-sdk 1.41.1, which includes:
This upgrade modernizes the operator structure and aligns with the latest operator-sdk best practices.
Jira: OSPRH-21969
Depends-On: openstack-k8s-operators/openstack-operator#1683