disconnect_volume not called when rebase failures are encountered during swap_volume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Lee Yarwood | ||
Newton |
Fix Committed
|
Medium
|
Lee Yarwood | ||
Ocata |
Fix Committed
|
Medium
|
Lee Yarwood |
Bug Description
Description
===========
At present disconnect_volume is not called when rebase failures are encountered during swap_volume. This results in the new volume remaining connected to the compute host prior to terminate_
Steps to reproduce
==================
Downstream, the easiest way to reproduce this is via https:/
# sudo setenforce 1
# nova update-volume ${instance_uuid} \
Upstream, I've been unable to get devstack to even work correctly with SELinux in enforcing mode so I've been unable to reproduce the rollback this way.
Expected result
===============
New volume disconnected from compute host.
Actual result
=============
New volume remains connected to compute host.
Environment
===========
1. Exact version of OpenStack you are running. See the following
list for all releases: http://
N/A
2. Which hypervisor did you use?
(For example: Libvirt + KVM, Libvirt + XEN, Hyper-V, PowerKVM, ...)
What's the version of that?
Libvirt + KVM
2. Which storage type did you use?
(For example: Ceph, LVM, GPFS, ...)
What's the version of that?
NFS + LVM/iSCSI
3. Which networking type did you use?
(For example: nova-network, Neutron with OpenVSwitch, ...)
N/A
Logs & Configs
==============
Example Newton trace :
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
2017-04-12 09:37:53.744 3077 ERROR oslo_messaging.
Changed in nova: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. openstack. org/458807
Review: https:/