Addresses (broker pods) are not fully deleted
See original GitHub issueDescribe the bug During running shared test suite we can see that broker pods in infra namespaces are not deleted when addresses are removed.
It caused fails in our systemtests suite because pods consumes all resources on nodes so another tests cannot create another address (pods)
Additional context oc get events
2019-11-12T11:18:06Z 2019-11-12T10:03:20Z 331 standard-controller.1070108445 Address <none> Warning BrokerDeleteFailed standard-controller Error deleting broker cluster broker-b41e7da-pj2k: Failure executing: PATCH at: https://172.30.0.1/apis/apps/v1/namespaces/enmasse-infra/statefulsets/broker-b41e7da-pj2k. Message: StatefulSet.apps "broker-b41e7da-pj2k" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden.. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=spec, message=Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden., reason=FieldValueForbidden, additionalProperties={})], group=apps, kind=StatefulSet, name=broker-b41e7da-pj2k, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=StatefulSet.apps "broker-b41e7da-pj2k" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden., metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Invalid, status=Failure, additionalProperties={}).
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Force Delete StatefulSet Pods - Kubernetes
This page shows how to delete Pods which are part of a stateful set, and explains the considerations to keep in mind when...
Read more >Chapter 4. Configuring Operator-based broker deployments
When you have finished configuring the CR, click Create. (Optional) To delete an address and queue previously added to your deployment using a...
Read more >Managing Pods | OpenShift Container Platform 3.11
You can make a pod critical by adding the scheduler.alpha.kubernetes.io/critical-pod annotation to the pod specification so that the descheduler will not remove ......
Read more >How do I delete a default AKS node pool when I get an error ...
The solution does not work. I keep getting the same thing whatever I try: the agent pool cannot be deleted because it is...
Read more >Troubleshoot issues on Kubernetes/OpenShift | Dynatrace Docs
If your application has already been running, restarting its containers will have the very same effect. No pods scheduled on control-plane nodes. DaemonSet....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kornys @k-wall I’ll have a look, its probably related to CRD refactor
@kornys I think this issue is now closable.