Uh oh!
There was an error while loading. Please reload this page.
server: fix diskoffering details in vm response - #8135
Conversation
Fixesapache#8120 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
shwstppr
commented
Oct 24, 2023
Not sure if we should return DATA disk offering details after #5008 but this should allow fixing the issue as we have multiple entries in user_vm_view when there is a data disk @harikrishna-patnala |
weizhouapache
commented
Oct 24, 2023
I have the same concern |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@## 4.18 #8135 +/- ##
=========================================
Coverage 13.11% 13.12% - Complexity 9133 9135 +2
=========================================
Files 2720 2720 Lines 257659 257662 +3 Branches 40171 40172 +1 =========================================
+ Hits 33802 33807 +5 + Misses 219566 219563 -3 - Partials 4291 4292 +1 ☔ View full report in Codecov by Sentry. |
shwstppr
commented
Oct 24, 2023
@blueorangutan package |
blueorangutan
commented
Oct 24, 2023
@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Oct 24, 2023
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7488 |
shwstppr
commented
Oct 26, 2023
@blueorangutan test |
blueorangutan
commented
Oct 26, 2023
@shwstppr a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Oct 26, 2023
[SF] Trillian test result (tid-8099)
|
shwstppr
commented
Nov 1, 2023
@harikrishna-patnala can you please have a look at this? |
harikrishna-patnala
left a comment
There was a problem hiding this comment.
I've not changed this response in #5008. Not sure why is this missing.
But this PR change looks good to me.
weizhouapache
commented
Nov 2, 2023
What if there are multiple data disks ? |
harikrishna-patnala
commented
Nov 3, 2023
weizhouapache
commented
Nov 3, 2023
yes @harikrishna-patnala |
DaanHoogland
commented
Nov 8, 2023
@shwstppr is this not ready for review yet? |
DaanHoogland
commented
Nov 9, 2023
@blueorangutan package |
blueorangutan
commented
Nov 9, 2023
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Nov 9, 2023
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7698 |
DaanHoogland
commented
Nov 9, 2023
@blueorangutan test keepEnv |
blueorangutan
commented
Nov 9, 2023
@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
shwstppr
commented
Nov 9, 2023
I'm not sure about this change. Although we seem to be returning diskofferingid of the first data disk even in the past but I think we can deprecate it or update its param description to say that it will be returned only in particular cases. |
blueorangutan
commented
Nov 10, 2023
[SF] Trillian test result (tid-8294)
|
DaanHoogland
commented
Nov 10, 2023
personally I think that if we include diskinfo in the VM response it should be an array of all disks. |
DaanHoogland
commented
Nov 29, 2023
@shwstppr we are having second thoughts on how this should be implemented but in the mean while this is a regression to the user as reported in #8120. I think we should test and merge and considder how to improve later. |
weizhouapache
commented
Nov 29, 2023
@DaanHoogland |
DaanHoogland
commented
Nov 29, 2023
I agree adding all to the volume list, but this is a backwards compatibility issue. |
weizhouapache
commented
Nov 29, 2023
IMHO, we can give more information, rather than giving wrong info (if there are multiple volumes. |
DaanHoogland
commented
Nov 29, 2023
I dissagree that the offering id and offering name of the root volume are wrong information. In addition after analysing the DB and code I think it is not good to add the other information of the volumes to the VM response. There is a possibility to call |
shwstppr
commented
Nov 29, 2023
@DaanHoogland@weizhouapache I suggest we go ahead with this PR for 4.18 branch and then in main create a PR,
|
weizhouapache
commented
Nov 29, 2023
@DaanHoogland |
weizhouapache
commented
Nov 29, 2023
@shwstppr that's say, this PR needs to be updated. |
Uh oh!
There was an error while loading. Please reload this page.
weizhouapache
commented
Dec 5, 2023
@shwstppr @DaanHoogland what do you think ? |
DaanHoogland
commented
Dec 6, 2023
agreed 🤝 |
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
shwstppr
commented
Dec 7, 2023
@weizhouapache@DaanHoogland I've updated the params description in UserVmResponse. And I've drafted a PR (needs more changes) to return volumes list in listVitualMachines API response, #8330. We can discuss it there if not needed or shouldn't be done |
shwstppr
commented
Dec 7, 2023
@blueorangutan package |
blueorangutan
commented
Dec 7, 2023
@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
blueorangutan
commented
Dec 7, 2023
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7971 |
shwstppr
commented
Dec 8, 2023
@blueorangutan test |
blueorangutan
commented
Dec 8, 2023
@shwstppr a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Dec 8, 2023
[SF] Trillian test result (tid-8513)
|


Description
Fixes#8120
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?