-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add ems_refresh.openshift.store_unused_images setting #9
Conversation
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.
LGTM I think the test will turn green after the PR this is based on will be merged.
@cben can you check travis? |
Travis should pass after ManageIQ/manageiq-providers-kubernetes#11 lands. |
This pull request is not mergeable. Please rebase and repush. |
rebased. weird, now only hakiri & codeclimate run, travis didn't — close-cycling to have it properly fail :) |
This pull request is not mergeable. Please rebase and repush. |
fc05dee
to
7d18874
Compare
This pull request is not mergeable. Please rebase and repush. |
Closing per ManageIQ/manageiq-providers-kubernetes#11, can be revived if we decide to. |
7d18874
to
2bd5bfd
Compare
@enoodle @moolitayer @Ladas @agrare Please review (recommend by commits). Graph refresh test fails on child objects (labels etc) getting deleted when this causes an image to be archived. Might affect other scenarios, will investigate and open issue/BZ, for now only need this option in save_inventory mode (the customer that needs this runs euwe). |
@agrare @moolitayer can anyone review/approve? Thanks! |
c64c084
to
1ce0bbb
Compare
Allows to still get_container_images=true, but instead of saving metadata (labels etc) on all images openshift gave us, save it only for images that have been mentioned by pods.
Need to investigate, but at this moment only care about backporting store_unused_images to old refresh.
1ce0bbb
to
27f96ed
Compare
Checked commits cben/manageiq-providers-openshift@c6db7c3~...27f96ed with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
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.
LGTM
ManageIQ/manageiq-providers-kubernetes#11, ManageIQ/manageiq-providers-openshift#9 Option needed for new ems_refresh.openshift.store_unused_images setting (cherry picked from ManageIQ/manageiq-providers-kubernetes@0046549) Add ems_refresh.openshift.store_unused_images setting https://bugzilla.redhat.com/show_bug.cgi?id=1486483 (partially cherry picked from ManageIQ/manageiq-providers-openshift@6a62bb2: omitted the graph refresh test skip, passing options explicitly - constructor didn't set `@options` on fine, adjusted for different test method signature :connected vs :archived)
ManageIQ/manageiq-providers-kubernetes#11, ManageIQ/manageiq-providers-openshift#9 Option needed for new ems_refresh.openshift.store_unused_images setting (cherry picked from ManageIQ/manageiq-providers-kubernetes@0046549) Add ems_refresh.openshift.store_unused_images setting (partially cherry picked from ManageIQ/manageiq-providers-openshift@6a62bb2: omitted the graph refresh test skip, passing options explicitly - constructor didn't set `@options` on euwe, adjusted for different test method signature :connected vs :archived, simulating missing stub_settings_merge, adjusted for different VCR cassette) https://bugzilla.redhat.com/show_bug.cgi?id=1486483
Backported to Euwe via ManageIQ/manageiq#15917 |
Backported to Fine via ManageIQ/manageiq#15907 |
ManageIQ/manageiq-providers-kubernetes#11, ManageIQ/manageiq-providers-openshift#9 Option needed for new ems_refresh.openshift.store_unused_images setting (cherry picked from ManageIQ/manageiq-providers-kubernetes@0046549) Add ems_refresh.openshift.store_unused_images setting https://bugzilla.redhat.com/show_bug.cgi?id=1486483 (partially cherry picked from ManageIQ/manageiq-providers-openshift@6a62bb2: omitted the graph refresh test skip, passing options explicitly - constructor didn't set `@options` on fine, adjusted for different test method signature :connected vs :archived)
openshift part of ManageIQ/manageiq#14662 after repo split.
Depends on ManageIQ/manageiq-providers-kubernetes#11
Strawman alternative/baseline for ManageIQ/manageiq#14628.
Will allow to still get_container_images=true, but instead of saving metadata (labels etc) on all images openshift gave us, save it only for images that have been mentioned by pods.
cc @agrare @enoodle @zeari
Recommend reviewing by commits (refactoring / new tests).
BZ https://bugzilla.redhat.com/show_bug.cgi?id=1486483