Skip to content

Os must gather mock return error#3863

Open
evallesp wants to merge 2 commits intoopenstack-k8s-operators:mainfrom
evallesp:os-must-gather-mock-return-error
Open

Os must gather mock return error#3863
evallesp wants to merge 2 commits intoopenstack-k8s-operators:mainfrom
evallesp:os-must-gather-mock-return-error

Conversation

@evallesp
Copy link
Copy Markdown
Contributor

DNM.

With this we allow to run the rescue block. Previously any timeout
in the main task would return the code from the echo which was
always success.

Also, we're removing from the rescue block the always block.
And we've create a always section for finding existing os-must-gather
directories and the symlink creation.

Also we've changed the dest-dir for the generic fallback command
to match the same folder of the symlink.

Removed oc inspect as we're not getting so many errors from oc adm must-gather
so probably this wouldn't be usefull.

Finally, we've parametriced SOS_EDPM as cifmw_os_must_gather_sos_edpm
and we've added default value to "all"

Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Apr 17, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign stuggi for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@evallesp evallesp added invalid This doesn't seem right do-not-merge/hold labels Apr 17, 2026
@evallesp evallesp force-pushed the os-must-gather-mock-return-error branch from 1869ddf to 460f354 Compare April 17, 2026 12:00
Signed-off-by: Enrique Vallespi Gil <evallesp@redhat.com>
@evallesp evallesp force-pushed the os-must-gather-mock-return-error branch from 460f354 to 0d6d408 Compare April 17, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant