Uploaded image for project: 'Hybrid Application Console'
  1. Hybrid Application Console
  2. HAC-3756

HAC should display proper message on CDQ failure

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Core
    • None
    • False
    • False
    • None

       

      Use the multi-component repo https://github.com/maysunfaisal/multi-component-example on the import flow.

      See the screen below, I can tell the detection failed as no runtime being selected.

       

       

      However, inspected the CDQ spec, it does contain detailed failure reason in the status.message.  **  This information should be displayed upon failure.

      Spec:
        Git:
          URL:  https://github.com/maysunfaisal/multi-component-example
      Status:
        Conditions:
          Last Transition Time:  2023-04-17T15:07:24Z
          Message:               ComponentDetectionQuery is processing
          Reason:                Success
          Status:                True
          Type:                  Processing
          Last Transition Time:  2023-04-17T15:07:25Z
          Message:               ComponentDetectionQuery failed: err: failed to convert kubernetes uri to inlined for component 'outerloop-deploy': failed to read kubernetes resources definition from path '/tmp/componentdetectionquery-sample210697307/devfile-go-sample/outerloop-deploy.yaml': open /tmp/componentdetectionquery-sample210697307/devfile-go-sample/outerloop-deploy.yaml: no such file or directory, failed to parse the devfile content from /tmp/componentdetectionquery-sample210697307/devfile-go-sample/devfile.yaml
          Reason:                Error
          Status:                False
          Type:                  Completed

       

            spadgett@redhat.com Samuel Padgett
            yangcao Stephanie Cao
            Archiver:
            rhn-support-sthamilt Stacey Hamilton

              Created:
              Updated:
              Archived: