-
Notifications
You must be signed in to change notification settings - Fork 39
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
Fix memcached selector and labels #311
Fix memcached selector and labels #311
Conversation
88b3e8c
to
72a3070
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lmiccini, stuggi 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 |
/cherry-pick 18.0-fr1 |
@stuggi: once the present PR merges, I will cherry-pick it on top of In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/d47d7ef31b2a472fac64bfd2a85d0afa ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 59m 40s |
recheck |
/test infra-operator-build-deploy-kuttl |
/test infra-operator-build-deploy-kuttl |
9f976c1
into
openstack-k8s-operators:main
@stuggi: new pull request created: #314 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
updating from quay.io/openstack-k8s-operators/infra-operator:dcc7dc061f30e78180a3635f0730b00409f910f1c19f93049f20aac860158ddb to quay.io/openstack-k8s-operators/infra-operator:6e7cb7a577393bff299ea199ad89845e868a41aee44f5ac5b0490b573a01c523
triggers an error because in 8e55a15 we erroneously deleted the "app" label and lib-common is not able to recreate the statefulset (nor we probably should) :
2024-11-20T01:41:04Z ERROR Reconciler error {"controller": "memcached", "controllerGroup": "memcached.openstack.org", "controllerKind": "Memcached", "Memcached": {"name":"memcached","namespace":"openstack"}, "namespace": "openstack", "name": "memcached", "reconcileID": "0155da36-541b-481d-aca3-255e24a491a2", "error": "StatefulSet.apps "memcached" is invalid: spec.template.metadata.labels: Invalid value: map[string]string{"cr":"memcached", "memcached/name":"memcached", "memcached/namespace":"openstack", "memcached/uid":"6bddcfc1-63d4-424f-8b8d-91b7dcdf0e9c", "owner":"infra-operator", "service":"memcached"}:
selector
does not match templatelabels
"}with this patch we re-add the missing "app" label so that the existing resource can be reconciled.
Jira: https://issues.redhat.com/browse/OSPRH-11797