Uploaded image for project: 'Red Hat Advanced Cluster Management'
  1. Red Hat Advanced Cluster Management
  2. ACM-14835

"View logs" link points to controller url instead of platform in AAP 2.5

XMLWordPrintable

    • False
    • None
    • False
    • Moderate
    • Yes

      Description of problem:

      After triggering an AnsibleJob from ACM, where we use this as a prehook/posthook when creating/upgrading openshift clusters, the link incorrectly points to the controller route, not the unified console (platform) url

      AnsibleJob:

       status:
        ansibleJobResult:
          changed: true
          elapsed: '5.105'
          failed: false
          finished: '2024-10-10T19:02:52.007317Z'
          started: '2024-10-10T19:02:46.902174Z'
          status: successful
          url: 'https://auto-con-aap.apps.dhuynh-aap-acm3.dev09.red-chesterfield.com/#/jobs/playbook/33'

      In ACM/MCE, we're using the controller URL to make the api calls to AAP.

      Note: The job however, does complete successfully and can be seen on the platform UI, its just that the link used here is wrong.

      Version-Release number of selected component (if applicable):

      ACM 2.12-FC3

      AAP operator 2.5.0+0.1727875896

      How reproducible:

      always

      Steps to Reproduce:

      1. create an ansiblejob for the prehook
      2. trigger cluster creation using the prehook
      3. ...

      Actual results:

      Expected results:

      Additional info:

      While it is a regression, its not functionally breaking - the job does actually run, the status of the job is successfully reported back to MCE, and using the platform URL for the UI we can see the job there

              xiangli@redhat.com Xiangjing Li
              rhn-support-dhuynh David Huynh
              David Huynh David Huynh
              ACM QE Team
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: