Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-8531

connector.secured in ActiveMQArtemisSecurity is type inconsistent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • AMQ 7.11.1.OPR.1.GA
    • operator
    • None

      According with the doc (https://access.redhat.com/documentation/en-us/red_hat_amq_broker/7.11/html-single/deploying_amq_broker_on_openshift/index#security-crd-reference_broker-ocp), connection.secured is a boolean value.

      When creating the object, it also checks if it is boolean:

       

       

      The ActiveMQArtemisSecurity "demo-jmx" is invalid: spec.securitySettings.management.connector.secured: Invalid value: "string": spec.securitySettings.management.connector.secured in body must be of type boolean: "string"
       
      

       

      However, the init container script `apply_security.py` throws an exception: 

       

      File "/opt/amq-broker/script/cfg/apply_security.py", line 786, in merge_connector_from
      new_connector_str.write(new_connector[prop])
      TypeError: string argument expected, got 'bool'

       
      Attaching sample configuration and init log.

              gaohoward Howard Gao
              rgordill1@redhat.com Ramon Gordillo Gutierrez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: