-
Notifications
You must be signed in to change notification settings - Fork 898
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
Make sure Containers Exist Before Processing #16922
Make sure Containers Exist Before Processing #16922
Conversation
@miq-bot add_label fine/yes |
@miq-bot add_label gaprindashvili/yes |
@miq-bot add_label bug |
The crosslink code for the Swift Manager refresh parser attempts to loop through the set of containers for the manager without checking if any exist first. Fix by checking first.
The same check that was added to the crosslink code in the previous commit has to be added to the refresh parser cleanup code.
d9f75d2
to
0579193
Compare
Checked commits jerryk55/manageiq@8fa42b2~...0579193 with ruby 2.3.3, rubocop 0.52.0, haml-lint 0.20.0, and yamllint 1.10.0 |
@jerryk55 any tests you can add for this? |
@blomquisg this is a blocker for 5.8.3 |
@blomquisg this is a hard thing to test - the environment has to be kind of screwed up to get yourself into this situation (I really don't think it should be a blocker personally). You have to have access to openstack but not to the swift containers that probably exist. |
…y_containers Make sure Containers Exist Before Processing (cherry picked from commit 530eb07) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1542740
Gaprindashvili backport details:
|
…y_containers Make sure Containers Exist Before Processing (cherry picked from commit 530eb07) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1542741
Fine backport details:
|
…ith_empty_containers Make sure Containers Exist Before Processing (cherry picked from commit 530eb07) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1542741
The crosslink code for the Swift Manager refresh parser
attempts to loop through the set of containers for the
manager without checking if any exist first.
Fix by checking first.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1538501
@roliveri @hsong-rh please review.
Links