-
Notifications
You must be signed in to change notification settings - Fork 82
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
#808 Ignore mirror_on_sync #809
#808 Ignore mirror_on_sync #809
Conversation
Parameter mirror_on_sync has been added to API in Katello PR 9834. This is not returned as part of JSON on entity creation. Consequently, read() fails. It could be workarounded by ignoring errors when reading non-required parameters. Also, this would be fixed if Satellite started returning that value. This solves the issue without unnecessary changes in Nailgun's guts that might break something.
Codecov Report
@@ Coverage Diff @@
## master #809 +/- ##
=======================================
Coverage 95.22% 95.22%
=======================================
Files 6 6
Lines 2826 2827 +1
=======================================
+ Hits 2691 2692 +1
Misses 135 135
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
This is exactly where I wanted to introduce 'if issue_is_open' similar to 'if bz_bug_is_open' so that we can skip/run steps based on issue is open or not and we need not to worry about temporary fixing these kinds of issues and rolling it back once its fixed.
@jyejare , do you thinks this is a bug in Satellite? I'm not sure myself. Is it reported already? I'm thinking about reporting it. |
I asked about this last week. They replaced My suggestion would be to remove Like so: 'mirroring_policy': entity_fields.StringField(
choices=('additive', 'mirror_complete', 'mirror_content_only'),
), |
@Griffin-Sullivan Yeah I remember we talk. So does the |
@jyejare I see both in POST request, but |
@Griffin-Sullivan So does even If there is no use, I will simply replace in this PR ! |
@jyejare From my understanding |
I'm still not sure how to best approach this. But I would merge this PR as is because:
|
Let's ACK and merge than? |
@lhellebr Agree with you to ACK and Merge this to avoid related issues in test execution and @Griffin-Sullivan already has PR opened(I think) for mirroring_policy so lets get it in. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
* Ignore mirror_on_sync Parameter mirror_on_sync has been added to API in Katello PR 9834. This is not returned as part of JSON on entity creation. Consequently, read() fails. It could be workarounded by ignoring errors when reading non-required parameters. Also, this would be fixed if Satellite started returning that value. This solves the issue without unnecessary changes in Nailgun's guts that might break something. * Update test
* Ignore mirror_on_sync Parameter mirror_on_sync has been added to API in Katello PR 9834. This is not returned as part of JSON on entity creation. Consequently, read() fails. It could be workarounded by ignoring errors when reading non-required parameters. Also, this would be fixed if Satellite started returning that value. This solves the issue without unnecessary changes in Nailgun's guts that might break something. * Update test
Parameter mirror_on_sync has been added to API
in Katello PR 9834.
This is not returned as part of JSON on entity creation.
Consequently, read() fails.
It could be workarounded by ignoring errors when reading
non-required parameters. Also, this would be fixed if
Satellite started returning that value.
This solves the issue without unnecessary changes
in Nailgun's guts that might break something.