nova resize fails with 'Could not open backing file' error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Confirmed
|
High
|
MOS Maintenance | ||
8.0.x |
Invalid
|
High
|
Rodion Tikunov | ||
9.x |
Invalid
|
High
|
MOS Nova |
Bug Description
It was reproduced on ISO #512 (env with 3 controllers, 2 computes):
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
api: "1.0"
build_number: "512"
build_id: "512"
fuel-nailgun_sha: "19fb6afdafcc17
python-
fuel-agent_sha: "658be72c4b42d3
fuel-
astute_sha: "b81577a5b7857c
fuel-library_sha: "af8b5f7b3d1e23
fuel-ostf_sha: "5fe41945c2a49f
fuel-mirror_sha: "1e93fe1794b988
fuelmenu_sha: "234cb4cbb30fbd
shotgun_sha: "63645dea384a37
network-
fuel-upgrade_sha: "616a7490ec7199
fuelmain_sha: "94507c5e4dad6d
When trying to resize and instance from micro to tiny flavor, an instance is migrated from node-5 to node-4 but falls to Error state with the traceback:
<179>Feb 10 14:56:17 node-4 nova-compute: 2016-02-10 14:56:17.095 27043 ERROR nova.compute.
a4f169eae2a49e1
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
compute/
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
compute/
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
utils/excutils.py", line 195, in __exit__
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
b)
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
compute/
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
virt/libvirt/
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
virt/libvirt/
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
virt/disk/api.py", line 190, in extend
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
path, size)
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
utils.py", line 390, in execute
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
)
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
concurrency/
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
2016-02-10 14:56:17.095 27043 ERROR nova.compute.
tags: | added: area-nova |
tags: | added: move-to-mu |
tags: | added: release-notes |
tags: |
added: 8.0 release-notes-done removed: release-notes |
We'll recheck this to make sure it's reproduced.
Anyway, even if it is, there's a workaround of copying the backing file manually (yes, this is ugly :P ). And this must only be reproduced when an instance is moved from one node to another during resize (i.e. only when there is not enough resources to place the new VM on the same node).
I suggest we move this to 8.0-MU1 and 9.0.