Uh oh!
There was an error while loading. Please reload this page.
system_use column is not part of disk offering - #6015
Conversation
DaanHoogland
left a comment
There was a problem hiding this comment.
if disk offerings are indeed never exclusive for system use, this criterium should not be there indeed.
…fering table, because it is applicable only to service offering. There is a left over usage of system_use when user tries to list disk offering. Now we deleted that reference.
bd6d8d5 to
74a15a5Compareharikrishna-patnala
commented
Feb 21, 2022
@blueorangutan package |
blueorangutan
commented
Feb 21, 2022
@harikrishna-patnala a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
| throw new InvalidParameterValueException("Only ROOT admins and Domain admins can list disk offerings with isrecursive=true"); | ||
| } | ||
| } else { // domain + all ancestors | ||
| sc.addAnd("systemUse", SearchCriteria.Op.EQ, false); // non-root users should not see system offering at all |
There was a problem hiding this comment.
this is moved to service/compute offering, not needed while listing disk offerings.
nvazquez
commented
Feb 21, 2022
@blueorangutan package |
blueorangutan
commented
Feb 21, 2022
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Feb 21, 2022
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 2673 |
weizhouapache
commented
Feb 21, 2022
@blueorangutan test |
blueorangutan
commented
Feb 21, 2022
@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Description
This PR fixes#6013
system_use is used to be in disk_offering table before 4.17 which is only applicable to the system service offering. This column is now moved from disk_offering table to service_offering table.
There is a leftover usage of system_use when a user tries to list disk offering. Now we deleted that reference to fix the issue when a user tries to list disk offering.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
How Has This Been Tested?