Closed abh1sar closed 6 days ago
@blueorangutan package
@abh1sar 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.
Attention: Patch coverage is 60.00000%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 14.95%. Comparing base (
42e7117
) to head (7843b9f
).
Files | Patch % | Lines |
---|---|---|
...n/java/com/cloud/resource/ResourceManagerImpl.java | 33.33% | 1 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10102
@blueorangutan test
@abh1sar a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests
[SF] Trillian test result (tid-10607) Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7 Total time taken: 42752 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr9298-t10607-kvm-centos7.zip Smoke tests completed. 129 look OK, 2 have errors, 0 did not run Only failed and skipped tests results shown below:
Test | Result | Time (s) | Test File |
---|---|---|---|
test_05_vmschedule_test_e2e | Failure |
361.96 | test_vm_schedule.py |
test_hostha_enable_ha_when_host_disabled | Error |
3.71 | test_hostha_kvm.py |
test_hostha_enable_ha_when_host_in_maintenance | Error |
302.90 | test_hostha_kvm.py |
Description
This PR...
Fixes #9295
New storage pools are not added to a host which is in maintenance. This change will restart the agent when host is taken out of maintenance mode. StoragePoolMonitor.processConnect() will then get called which will add/mount the new storage pool to the host.
One more related issue was that storage pool was not getting unmounted from a host in maintenance mode. Even when the host is taken out of maintenance mode, it will still have the pool mounted. Only reboot will unmount the pool. So, as fix have added DeleteStoragePoolCommand to be able to run in maintenance mode similar to ModifyStoragePoolCommand.
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?