ActiveMQArtemis CR broker.properties status out of sync when using escaped quotes on broker properties

Solution Verified - Updated -

Issue

  • When using an ActiveMQArtemis CR definition similar to this one:
apiVersion: broker.amq.io/v1beta1
kind: ActiveMQArtemis
metadata:
  name: example
spec:
  brokerProperties:
    - >-
      securityRoles.\"rol1-abcd-123456\".queue1.send=true
...

The CR status is shown OutOfSync as follows:

apiVersion: broker.amq.io/v1beta1
kind: ActiveMQArtemis
...
status:
  conditions:
...
    - lastTransitionTime: '2023-07-27T16:13:49Z'
      message: >-
        broker.properties status out of sync, expected: 676797604, current:
        3923188716
      reason: OutOfSync
      status: 'False'
      type: BrokerPropertiesApplied
    - lastTransitionTime: '2023-07-27T16:13:49Z'
      message: Some conditions are not met
      reason: WaitingForAllConditions
      status: 'False'
      type: Ready

Environment

  • AMQ Broker Operator 7.10.x, 7.11.x
  • Openshift 4.9 and above

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content