-
Bug
-
Resolution: Done
-
Critical
-
None
-
AMQ 7.10.1.OPR.1.GA
Setting the application label causes the following error:
apiVersion: broker.amq.io/v1beta1 kind: ActiveMQArtemis metadata: name: ex-aao spec: deploymentPlan: size: 1 image: placeholder labels: application: test
ERROR package k8s_actions Failed to create new *v1.StatefulSet {"ActiveMQArtemis Name": "ex-aao-ss", "Namespace": "test-namespace", "error": "StatefulSet.apps \"ex-aao-ss\" is invalid: spec.template.metadata.labels: Invalid value: map[string]string{\"ActiveMQArtemis\":\"ex-aao\", \"application\":\"test\"}: `selector` does not match template `labels`"}
An error is expected in this case because users must not change `application` and `ActiveMQArtemis` labels but this error also causes an upgrade issue for users that upgrade to a version greater than 7.10.0: after the upgrade, the StatefulSet is deleted.
- is cloned by
-
ENTMQBR-7399 [Docs] Update 7.10.x upgrade docs to resolve Error setting the application label
- Closed
- mentioned in
-
Page Loading...