'nova reboot' on arm64 is just 'nova reboot --hard' but slower
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Medium
|
Unassigned | ||
nova (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
systemd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Within Canonical's multi-architecture compute cloud, I observed that arm64 instances were taking an unreasonable amount of time to return from a 'nova reboot' (2 minutes +, vs. ~16s for POWER in the same cloud region).
Digging into this, I find that a nova soft reboot request is doing nothing at all on arm64 (no events visible within the qemu guest, and no reboot is triggered within the guest), and then after some sort of timeout (~2m), 'nova reboot' falls back to a hard reset of the guest.
Since this is entirely predictable on the arm64 platform (because there's no implementation of ACPI plumbed through), 'nova reboot' on arm64 should just skip straight to the hard reboot and save everyone some clock time.
Related branches
- Łukasz Zemczak (community): Approve
-
Diff: 10 lines (+3/-0)1 file modifiedvorlon (+3/-0)
tags: | added: libvirt |
Changed in nova (Ubuntu): | |
importance: | Undecided → Medium |
This looks like breaking autopkgtest, at least for unattended- upgrades: /objectstorage. prodstack4- 5.canonical. com/v1/ AUTH_77e2ada1e7 a84929a74ba3b87 153c0ac/ autopkgtest- bionic/ bionic/ arm64/u/ unattended- upgrades/ 20180213_ 054128_ 4e1c0@/ log.gz ------- ------- --- t.wwbI8q/ build.hcW/ src/debian/ tests/test- systemd. py 2> >(tee -a /tmp/autopkgtes t.wwbI8q/ test-systemd. py-stderr >&2) > >(tee -a /tmp/autopkgtes t.wwbI8q/ test-systemd. py-stdout) virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... unattended- upgrades/ unattended- upgrades. log ------- ------- --]
https:/
...
autopkgtest [05:40:32]: test test-systemd.py: [------
bash: line 1: 5110 Killed /tmp/autopkgtes
autopkgtest [05:40:32]: test process requested reboot with marker InstallOnShutdown
autopkgtest-
File missing : /var/log/
InstallOnShutdown did not run
autopkgtest [05:41:03]: test test-systemd.py: -------
autopkgtest [05:41:04]: test test-systemd.py: - - - - - - - - - - results - - - - - - - - - -
test-systemd.py FAIL non-zero exit status 1
...