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

AMQ Operator doesn't map service - pod relations properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • AMQ 7.7.0.CR1
    • AMQ 7.6.0.GA
    • operator
    • None
    • ?
    • Workaround Exists
    • Hide

      It is possible to workaround this issue manually till the scale-up/scale-down (which influences the services and their definitions) happens.

      Edit the following snipped of code in services' yaml definitions and point it towards the correct pods.

      selector:
          ActiveMQArtemis: ex-aao
          application: ex-aao-app
          statefulset.kubernetes.io/pod-name: ex-aao-ss-0
      

      The ordinal number in pod name must correspond with ordinal nuber for that specific service. So for example if you have ex-aao-all-7-svc the statefulset.kubernetes.io/pod-name: ex-aao-ss-10 must be changed to statefulset.kubernetes.io/pod-name: ex-aao-ss-7

      Show
      It is possible to workaround this issue manually till the scale-up/scale-down (which influences the services and their definitions) happens. Edit the following snipped of code in services' yaml definitions and point it towards the correct pods. selector: ActiveMQArtemis: ex-aao application: ex-aao-app statefulset.kubernetes.io/pod-name: ex-aao-ss-0 The ordinal number in pod name must correspond with ordinal nuber for that specific service. So for example if you have ex-aao-all-7-svc the statefulset.kubernetes.io/pod-name: ex-aao-ss-10 must be changed to statefulset.kubernetes.io/pod-name: ex-aao-ss-7

    Description

      Downstream operator 7.6 with default yamls when deployed with multiple instance, creates services and routes for every pod in the stateful set.

      mapping of service to pod happens incorrectly, for example:

      service " ex-aao-amqp-0-svc" should be mapped to pod "ex-aao-ss-0" and service "ex-aao-amqp-1-svc" should be linked to pod "ex-aao-ss-1".

      In fact, both services are linked to same pod (ex-aao-ss-1).

      Attachments

        Issue Links

          Activity

            People

              rhn-support-rkieley Roderick Kieley
              mkrutov Mikhail Krutov
              Tiago Bueno Tiago Bueno
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: