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

[patch] Fix must-gather useability issues #275

Merged
merged 3 commits into from
May 4, 2023
Merged

[patch] Fix must-gather useability issues #275

merged 3 commits into from
May 4, 2023

Conversation

durera
Copy link
Contributor

@durera durera commented May 4, 2023

When running mas must-gather and no Suite instance is found there will be an error message printed:

IBM Maximo Application Suite Must-Gather Tool
 
Must gather will be saved to: /workspace/mustgather/pwmasdev-install-hkzkw/must-gather-20230503-151813.tgz
Generate Dependency Report
- Cluster Namespaces
- IBM CloudPak Foundation Services
- IBM CloudPak for Data
- IBM Db2 universal Operator
error: the server doesn't have a resource type "suite"

This is misleading and gives the impression must-gather failed; it's just we are not capturing the err from looking up whether there are any MAS instances to collect gather from. In the case there is no MAS instance, we still want to collect the must-gather and we don't want to give the impression there was an error generating it.

An additional confirmation the must-gather was generated is also now provided:
image

mas must-gather --help is also now implemented:

image

@durera durera changed the title [patch] Don't raise error when no suite instance found [patch] Fix must-gather useability issues May 4, 2023
@durera durera merged commit 7c758b0 into master May 4, 2023
@durera durera deleted the mgerr branch May 4, 2023 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant