Merge lp:~raharper/curtin/trunk.fix-raid-over-iscsi into lp:~curtin-dev/curtin/trunk
Status: | Merged |
---|---|
Merged at revision: | 526 |
Proposed branch: | lp:~raharper/curtin/trunk.fix-raid-over-iscsi |
Merge into: | lp:~curtin-dev/curtin/trunk |
Diff against target: |
154 lines (+95/-5) 5 files modified
curtin/block/iscsi.py (+9/-0) curtin/commands/install.py (+17/-5) curtin/util.py (+14/-0) tests/unittests/test_util.py (+51/-0) tests/vmtests/test_mdadm_iscsi.py (+4/-0) |
To merge this branch: | bzr merge lp:~raharper/curtin/trunk.fix-raid-over-iscsi |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Scott Moser (community) | Approve | ||
Review via email: mp+330309@code.launchpad.net |
Description of the change
install: ensure iscsi service is running to handle shutdown properly
In some cases it is problematic to shutdown the iscsi targets (like raid
over iscsi). Instead of introducing extra work to stop multi-layer
storage devices during the install of curtin, this patch addresses the
core issue around iscsi termination; ensuring the iscsi service is active
prior to shutting down. In Artful, the open-iscsi service does not
automatically start if iscsi configuration is not present during boot;
curtin will restart/start the service if the storage configuration
contains iscsi disks.
This approach successfully passes all of the iscsi configurations
(plain, lvm over iscsi, and raid over iscsi).
PASSED: Continuous integration, rev:525 /jenkins. ubuntu. com/server/ job/curtin- ci/613/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-amd64/ 613 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-arm64/ 613 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-ppc64el/ 613 /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-s390x/ 613
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/curtin- ci/613/ rebuild
https:/