Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide details when install-tackle.sh fails #133

Closed
djzager opened this issue Oct 17, 2022 · 1 comment
Closed

Provide details when install-tackle.sh fails #133

djzager opened this issue Oct 17, 2022 · 1 comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/minor Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/unresolved Indicates an issue that can not or will not be resolved.

Comments

@djzager
Copy link
Member

djzager commented Oct 17, 2022

The install-tackle GitHub action will fail (a link-able example). We should update the action to dump more diagnostic/debug info in the case of failures, some idea:

  1. kubectl describe pods - would help if pods wouldn't start
  2. kubectl get subscription - show olm subscription info

Want to avoid dumping too much to stdout, instead try and narrow down on what the specific failure could be.

@djzager djzager moved this to Todo in Konveyor Integration Oct 17, 2022
aufi added a commit that referenced this issue Jul 26, 2023
The Tackle/Konveyor install script has few waiting loops checking the
installation progress/completeness. Based on last few errors, adding an
output with tackle details when waiting loop timeouted to help with
debugging CI errors directly in github workflow execution.

Example with recent installation error:
```
...
error: timed out waiting for the condition on tackles/tackle
...
status:
  conditions:
  - lastTransitionTime: "2023-07-24T08:51:07Z"
    message: ""
    reason: ""
    status: "False"
    type: Successful
  - ansibleResult:
      changed: 0
      completion: 2023-07-24T09:05:50.668218
      failures: 1
      ok: 14
      skipped: 48
    lastTransitionTime: "2023-07-24T09:05:51Z"
    message: |
      The task includes an option with an undefined variable. The error was: 'hub_seed_configmap_name' is undefined

      The error appears to be in '/opt/ansible/roles/tackle/tasks/main.yml': line 406, column 3, but may
      be elsewhere in the file depending on the exact syntax problem.

      The offending line appears to be:


      - name: "Setup Hub API Deployment"
        ^ here
    reason: Failed
    status: "False"
    type: Failure
...
```

Related to #133

---------

Signed-off-by: Marek Aufart <maufart@redhat.com>
@djzager djzager added this to Planning Feb 14, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Planning Feb 14, 2024
@djzager djzager added kind/feature Categorizes issue or PR as related to a new feature. triage/unresolved Indicates an issue that can not or will not be resolved. priority/minor Lowest priority. Possibly useful, but not yet enough support to actually get it done. labels Feb 14, 2024
@djzager
Copy link
Member Author

djzager commented Feb 14, 2024

We should be using the install-konveyor script. I'm going to close this as a won't fix.

@djzager djzager closed this as completed Feb 14, 2024
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Planning Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. priority/minor Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/unresolved Indicates an issue that can not or will not be resolved.
Projects
Status: ✅ Done
Development

No branches or pull requests

1 participant