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

Address is only deleted on one pod

XMLWordPrintable

    • False
    • False
    • Hide

       

      oc apply -f broker_activemqartemis_cr.yaml
      oc apply -f mytopic.yaml
      oc delete -f mytopic.yaml
      oc exec  ex-aao-ss-1 -- amq-broker/bin/artemis address show --url tcp://ex-aao-ss-1.ex-aao-hdls-svc.amq7clustertest.svc.cluster.local:61616
      oc exec  ex-aao-ss-0 -- amq-broker/bin/artemis address show --url tcp://ex-aao-ss-0.ex-aao-hdls-svc.amq7clustertest.svc.cluster.local:61616  
      Show
        oc apply -f broker_activemqartemis_cr.yaml oc apply -f mytopic.yaml oc delete -f mytopic.yaml oc exec  ex-aao-ss-1 -- amq-broker/bin/artemis address show --url tcp: //ex-aao-ss-1.ex-aao-hdls-svc.amq7clustertest.svc.cluster.local:61616 oc exec  ex-aao-ss-0 -- amq-broker/bin/artemis address show --url tcp: //ex-aao-ss-0.ex-aao-hdls-svc.amq7clustertest.svc.cluster.local:61616 

      I created an address CR and then deleted it. 

      And I set the property

      removeFromBrokerOnDelete: true 

      in the CR, I can see if the scale size is 1, the address is deleted. But when there are 2 brokers pods, the address is not being deleted fully. The address is still there in one broker, can check from the command. 

      address show

       

            gtully@redhat.com Gary Tully
            rhn-support-xiwu Xiaohui Wu
            Roman Vais Roman Vais
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: