Uh oh!
There was an error while loading. Please reload this page.
API: Fix listing zones and stoage pools - #8311
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## main #8311 +/- ##
============================================
+ Coverage 22.25% 28.09% +5.84% - Complexity 22439 29976 +7537
============================================
Files 5117 5251 +134 Lines 346819 368789 +21970 Branches 49790 53761 +3971 ============================================
+ Hits 77190 103620 +26430 + Misses 258466 250907 -7559 - Partials 11163 14262 +3099
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Kudos, SonarCloud Quality Gate passed!
|
shwstppr
commented
Dec 6, 2023
@blueorangutan package |
blueorangutan
commented
Dec 6, 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. |
shwstppr
left a comment
There was a problem hiding this comment.
@Pearl1594 does this need to go in engine/schema/src/main/resources/META-INF/db/views/cloud.host_view.sql based on the new pattern introduced in #7417 ?
weizhouapache
commented
Dec 6, 2023
good point @shwstppr |
DaanHoogland
commented
Dec 6, 2023
upstream :D seriously @shwstppr is right about the location of the change. Will take some getting used to for all of us, but then it will also help us in reviewing. |
blueorangutan
commented
Dec 6, 2023
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7941 |
Pearl1594
commented
Dec 6, 2023
Thanks @shwstppr . I'll update the PR. I wasn't aware of these changes. |
@Pearl1594 I've just used a diff checker to compare this PR's view with what is in #7131, and I don't see the difference, could you explain what changed? |
Pearl1594
commented
Dec 6, 2023
@JoaoJandre My bad, I did not realize that we had separate sql files for views. And I do notice that the column is specified there. So, I am not really sure though why it didn't get applied, because zone and storage pool tabs do not load anymore. |
JoaoJandre
commented
Dec 6, 2023
The view scripts are only executed on upgrades, so if your environment was already on version 4.19, they would not get updated. Also, there are some logs on DatabaseUpgradeChecker.java#executeViewScripts that show what is being executed, if you don't see any logs about that, the views did not get updated. |
Pearl1594
commented
Dec 6, 2023
Ok, seems like there was an issue during setup of the env. It was a new env based off main branch - but another env got deployed fine. Closing this PR. |









Description
This PR fixes an issue observed upstream when listing zones and storage pools due to missing column in view due to a recent change #7489
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?