Graceful shutdown of nova-compute service fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
Roman Podoliaka | ||
6.0.x |
Fix Released
|
High
|
Alex Ermolov | ||
6.1.x |
Fix Released
|
High
|
Roman Podoliaka | ||
7.0.x |
Won't Fix
|
Medium
|
MOS Nova | ||
8.0.x |
Won't Fix
|
Medium
|
MOS Nova | ||
9.x |
Won't Fix
|
Medium
|
MOS Nova |
Bug Description
Upstream bug: https:/
When we try stop nova-compute service with TERM (-15) signal
and at the same time it is busy by "booting VM process". Service will be trying to complete task according https:/
it was reproduced every time with boot-vm script in attachment on ubuntu environment deployed by fuel
release: "6.0"
api: "1.0"
build_number: "58"
build_id: "2014-12-
and
on custom 5.1 release
initctl stop wasn't used because it kill service with KILL (-9) signal after 3 sec.
Changed in mos: | |
assignee: | nobody → MOS Nova (mos-nova) |
tags: | added: nova |
Changed in mos: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → 6.1 |
summary: |
- Graceful shutdown of nova-compute service fails. + Graceful shutdown of nova-compute service fails |
description: | updated |
tags: | added: customer-found |
We've got the following trace: manager [req-9cdbba9c- af3b-4845- 9deb-c68bffe63d 75 None] [instance: 7ea3e761- 6b85-49db- 8dcc-79f6f2286 common. service [-] Caught SIGTERM, exiting manager [-] [instance: 7ea3e761- 6b85-49db- 8dcc-79f6f2286d f8] VM Started (Lifecycle Event) manager [-] [instance: 7ea3e761- 6b85-49db- 8dcc-79f6f2286d f8] VM Paused (Lifecycle Event) libvirt. driver [req-9cdbba9c- af3b-4845- 9deb-c68bffe63d 75 None] Timeout waiting for vif plugging callback for instance 7ea3e761- 6b85-49db- 8dcc-79f6f2286d f8 manager [-] [instance: 7ea3e761- 6b85-49db- 8dcc-79f6f2286d f8] VM Stopped (Lifecycle Event) libvirt. driver [req-9cdbba9c- af3b-4845- 9deb-c68bffe63d 75 None] [instance: 7ea3e761- 6b85-49db- 8dcc-79f6f2286d f8] Deleting instance files /var/lib/ nova/instances/ 7ea3e761- 6b85-49db- 8dcc-79f6f2286d f8 manager [req-9cdbba9c- af3b-4845- 9deb-c68bffe63d 75 None] [instance: 7ea3e761- 6b85-49db- 8dcc-79f6f2286d f8] Instance failed to spawn manager [instance: 7ea3e761- 6b85-49db- 8dcc-79f6f2286d f8] Traceback (most recent call last): manager [instance: 7ea3e761- 6b85-49db- 8dcc-79f6f2286d f8] File "/usr/lib/ python2. 7/dist- packages/ nova/compute/ manager. py", line 1773, in _spawn manager [instance: 7ea3e761- 6b85-49db- 8dcc-79f6f2286d f8] block_device_info) manager [instance: 7ea3e761- 6b85-49db- 8dcc-79f6f2286d f8] File "/usr/lib/ python2. 7/dist- packages/ nova/virt/ libvirt/ driver. py", line 2299, in spawn manager [instance: 7ea3e761- 6b85-49db- 8dcc-79f6f2286d f8] block_device_info) manager [instance: 7ea3e761- 6b85-49db- 8dcc-79f6f2286d f8] File "/usr/lib/ python2. 7/dist- packages/ nova/virt/ libvirt/ driver. py", line 3745, in _create_ domain_ and_network manager [instance: 7ea3e761- 6b85-49db- 8dcc-79f6f2286d f8] raise exception. VirtualInterfac eCreateExceptio n() manager [instance: 7ea3e761- 6b85-49db- 8dcc-79f6f2286d f8] VirtualInterfac eCreateExceptio n: Virtual Interface creation failed manager [instance: 7ea3e761- 6b85-49db- 8dcc-79f6f2286d f8]
09:29:18 AUDIT nova.compute.
df8] Starting instance...
09:29:18 INFO nova.openstack.
...
09:29:37 INFO nova.compute.
09:29:37 INFO nova.compute.
...
09:34:37 WARNING nova.virt.
09:34:37 INFO nova.compute.
09:34:38 INFO nova.virt.
09:34:38 ERROR nova.compute.
09:34:38 TRACE nova.compute.
09:34:38 TRACE nova.compute.
09:34:38 TRACE nova.compute.
09:34:38 TRACE nova.compute.
09:34:38 TRACE nova.compute.
09:34:38 TRACE nova.compute.
09:34:38 TRACE nova.compute.
09:34:38 TRACE nova.compute.
09:34:38 TRACE nova.compute.