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

Fix failure seen with mfa testcase #561

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

ckulal
Copy link
Contributor

@ckulal ckulal commented Feb 22, 2024

We were seeing issue: cannot unpack non-iterable NoneType object
when put operation of MFA and version enabled is succeeded in the first iteration.

since previously we were returning : return token, mfa_version_put
only in case of the situation where put mfa is a failure: i.e
if mfa_version_put is False:
return token, mfa_version_put

but we are checking condition: if status is False:
https://github.com/red-hat-storage/ceph-qe-scripts/pull/561/files#diff-e65bb0e4957600e7835ff2af409a6e7bff1c9e1cbc5dd3ad2124b41a6b91d0deL149

so if mfa version enable i s successful in first attempt it was not returning any value , but in the script we are looking for the condition check
fail log: http://magna002.ceph.redhat.com/ceph-qe-logs/Chaithra/mfa-failure/test_rgw_mfa.console.log2-fail

Post fix:
Pass log:
http://magna002.ceph.redhat.com/ceph-qe-logs/Chaithra/mfa-failure/test_rgw_mfa.console.log5-pass(where mfs enable success in first attempt)
http://magna002.ceph.redhat.com/ceph-qe-logs/Chaithra/mfa-failure/test_rgw_mfa.console.log3-pass

http://magna002.ceph.redhat.com/ceph-qe-logs/Chaithra/mfa-failure/test_rgw_mfa.console.log4-pass
(where mfs enable success in second attempt)

@ckulal ckulal requested a review from mkasturi18 February 22, 2024 08:55
@ckulal ckulal self-assigned this Feb 22, 2024
@ckulal ckulal added RGW RGW tfa-issue-fix Fix for Automation failures in TFA pr-verified labels Feb 22, 2024
Copy link
Contributor

@mkasturi18 mkasturi18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks good

@ckulal ckulal requested a review from a team February 28, 2024 03:55
@openshift-ci openshift-ci bot added the lgtm Looks good to me label Feb 28, 2024
Copy link
Contributor

openshift-ci bot commented Feb 28, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: anrao19, ckulal, mkasturi18

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

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

@mergify mergify bot merged commit 7d0f766 into red-hat-storage:master Feb 28, 2024
2 of 3 checks passed
@ckulal ckulal deleted the fix_mfa_failure branch June 17, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Looks good to me pr-verified RGW RGW tfa-issue-fix Fix for Automation failures in TFA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants