Uh oh!
There was an error while loading. Please reload this page.
server: fix additional zones cannot be removed - #9261
Conversation
Got an exception when delete a zone ``` com.cloud.utils.exception.CloudRuntimeException: The zone cannot be deleted because there are Secondary storages in this zone ```
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## 4.19 #9261 +/- ##
==========================================
Coverage 14.95% 14.95% Complexity 11017 11017 ==========================================
Files 5378 5378 Lines 469935 469935 Branches 59493 58597 -896 ==========================================
Hits 70301 70301 Misses 391847 391847 Partials 7787 7787
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
DaanHoogland
commented
Jun 17, 2024
I can see how this might fix a regression @weizhouapache , but isn't ZONE the proper Scope for this query logically? It seems like the solution should be in a data repair??? |
weizhouapache
commented
Jun 17, 2024
@DaanHoogland
|
weizhouapache
commented
Jun 18, 2024
@blueorangutan package |
blueorangutan
commented
Jun 18, 2024
@weizhouapache 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
Jun 18, 2024
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 9990 |
DaanHoogland
commented
Jun 18, 2024
@blueorangutan test |
blueorangutan
commented
Jun 18, 2024
@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Jun 18, 2024
[SF] Trillian Build Failed (tid-10492) |
weizhouapache
commented
Jun 18, 2024
@blueorangutan test |
blueorangutan
commented
Jun 18, 2024
@weizhouapache a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Jun 19, 2024
[SF] Trillian test result (tid-10494)
|
Got an exception when delete a zone ``` com.cloud.utils.exception.CloudRuntimeException: The zone cannot be deleted because there are Secondary storages in this zone ```
Description
This PR reverts a change in #9212
Got an exception when delete a zone
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?