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

The report.sh failed when capturing dumps on 7.10.x projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • operator
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Low

      This report.sh suppose to work with 7.10 or 7.11 instance but it failed at the "amq-broker-controller-manager" which 7.10 does not have. 

       

      $ curl -sLk "https://raw.githubusercontent.com/artemiscloud/activemq-artemis-operator/main/deploy/report.sh" | bash -s -- --namespace=ocp-operators-amq7 --cluster=ex-aao --out-dir=./dump
      deployments
      statefulsets
          statefulset.apps/ex-aao-ss
      replicasets
      configmaps
      secrets
          secret/ex-aao-credentials-secret
          secret/ex-aao-netty-secret
      services
          service/ex-aao-amqp-0-svc
          service/ex-aao-connector0-0-svc
          service/ex-aao-hdls-svc
          service/ex-aao-ping-svc
          service/ex-aao-wconsj-0-svc
      poddisruptionbudgets
      roles
      rolebindings
      networkpolicies
      pods
          pod/ex-aao-ss-0
      persistentvolumeclaims
      ingresses
      routes
          route.route.openshift.io/ex-aao-amqp-0-svc-rte
          route.route.openshift.io/ex-aao-connector0-0-svc-rte
          route.route.openshift.io/ex-aao-wconsj-0-svc-rte
      clusterroles
      clusterrolebindings
      clusteroperator
      Namespace 'openshift-operators' exists.
      Error from server (NotFound): deployments.apps "amq-broker-controller-manager" not found
       

      For 7.11 it works

      $ curl -sLk "https://raw.githubusercontent.com/artemiscloud/activemq-artemis-operator/main/deploy/report.sh" | bash -s -- --namespace=ocp-operators-amq7 --cluster=ex-aao --out-dir=./dump711
      deployments
      statefulsets
          statefulset.apps/ex-aao-ss
      replicasets
      configmaps
      secrets
          secret/ex-aao-credentials-secret
          secret/ex-aao-netty-secret
          secret/ex-aao-props
      services
          service/ex-aao-amqp-0-svc
          service/ex-aao-connector0-0-svc
          service/ex-aao-hdls-svc
          service/ex-aao-ping-svc
          service/ex-aao-wconsj-0-svc
      poddisruptionbudgets
      roles
      rolebindings
      networkpolicies
      pods
          pod/ex-aao-ss-0
      persistentvolumeclaims
      ingresses
      routes
          route.route.openshift.io/ex-aao-amqp-0-svc-rte
          route.route.openshift.io/ex-aao-connector0-0-svc-rte
          route.route.openshift.io/ex-aao-wconsj-0-svc-rte
      clusterroles
      clusterrolebindings
      clusteroperator
      deployment.apps/amq-broker-controller-manager
          pod/amq-broker-controller-manager-554fbd586d-54w88
          replicaset.apps/amq-broker-controller-manager-554fbd586d
      replicaset.apps/amq-broker-controller-manager-6988dbc677
          replicaset.apps/amq-broker-controller-manager-6988dbc677
      customresources
      events
      podlogs
          ex-aao-ss-0
      Defaulted container "ex-aao-container" out of: ex-aao-container, ex-aao-container-init (init)
      Defaulted container "ex-aao-container" out of: ex-aao-container, ex-aao-container-init (init)
      Processing file: artemis-roles.properties
      Processing file: artemis-users.properties
      Processing file: artemis.profile
      Processing file: bootstrap.xml
      Processing file: broker.xml
      Processing file: jgroups-ping.xml
      Processing file: jolokia-access.xml
      Processing file: log4j2.properties
      Processing file: login.config
      Processing file: management.xml
      Processing file: post-config.sh
      Report file report-13-10-2023_15-12-20.zip created 

              Unassigned Unassigned
              rhn-support-whui Roger Hui
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: