Description of problem: Either the container provider or the cloud/infra provider can be assigned chargeback rates at any single point of time. Whenever the other assignment is saved the previous assignments are reset to <Nothing> Version-Release number of selected component (if applicable): 5.8.1.5 How reproducible: Always Steps to Reproduce: 1. Create chargeback rates A & B 2. Go to Cloud Intel > chargebacks > assignments > compute > Assign to "Selected Providers" > set chargeback rate A to any cloud or infra provider > save 3. Go to Assign to "Selected Containers Providers" > set chargeback rate B to the container provider > save Actual results: goto "Selected Providers" all rate assignments are reset back to <Nothing> Expected results: All the rate assignments should be preserved Additional info:
(In reply to Loic Avenel from comment #7) > I think this was done for clarity, I am adding Ari who may have some insight. > > @Ari, why did we have a separated entry for Container Provider? We were separating containers from everything needlessly. I think those lists can be merged.
https://github.com/ManageIQ/manageiq-ui-classic/pull/3368
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/c3ea7206d44821ea57d0b1dc8e2ce214cb0ae32e commit c3ea7206d44821ea57d0b1dc8e2ce214cb0ae32e Author: Harpreet Kataria <hkataria> AuthorDate: Fri Feb 2 11:17:59 2018 -0500 Commit: Harpreet Kataria <hkataria> CommitDate: Fri Feb 2 11:17:59 2018 -0500 Merged Container Providers with all other providers in the list Need to merge and keep all kind of providers under same entry to be able ot save chargeback assignments for different types of providers together. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1505335 app/controllers/chargeback_controller.rb | 8 ++------ app/helpers/term_of_service_helper.rb | 2 -- 2 files changed, 2 insertions(+), 8 deletions(-)
Closing this as its already been verified in two z-streams and has test coverage around it.