libvirtError exceptions during volume attach leave volume connected to host
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Lee Yarwood | ||
Queens |
Fix Committed
|
Medium
|
Lee Yarwood | ||
Rocky |
Fix Committed
|
Medium
|
Lee Yarwood | ||
Stein |
Fix Committed
|
Medium
|
Lee Yarwood | ||
Ubuntu Cloud Archive |
Fix Released
|
Medium
|
Unassigned | ||
Queens |
Fix Released
|
Medium
|
Unassigned | ||
Rocky |
Fix Released
|
Medium
|
Unassigned | ||
Stein |
Fix Released
|
Medium
|
Unassigned | ||
nova (Ubuntu) |
Fix Released
|
Medium
|
Sahid Orentino | ||
Bionic |
Fix Released
|
Medium
|
Sahid Orentino | ||
Cosmic |
Fix Released
|
Medium
|
Sahid Orentino | ||
Disco |
Fix Released
|
Medium
|
Sahid Orentino |
Bug Description
[Impact]
* This is an additional patch required for bug #1825882, when
a libvirt exception that prevents the volume attachment to complete,
the underlying volumes should be disconnected from the host.
[Test Case]
* Deploy any OpenStack version up to Pike , which includes ceph backed cinder
* Create a guest VM (openstack server ...)
* Create a test cinder volume
$ openstack volume create test --size 10
* Force a drop on ceph traffic. Run the following command on the nova hypervisor on which the server runs.
$ iptables -A OUTPUT -d ceph-mon-addr -p tcp --dport 6800 -j DROP
* Attach the volume to a running instance.
$ openstack server add volume 7151f507-
* This should cause the volume attachment to fail
$ virsh domblklist instance-xxxxx
Target Source
-------
vda nova/7151f507-
No volume should attached after this step.
* If the behavior is fixed:
* Check that openstack server show , doesn't displays the displays the volume as attached.
* If the behavior isn't fixed:
* openstack server show <ID> , will display the volume in the volumes_attached property.
[Expected result]
* Volume attach fails and the volume is disconnected from the host.
[Actual result]
* Volume attach fails but remains connected to the host.
[Regression Potential]
* The patches have been cherry-picked from upstream which helps to reduce the regression potential of these fixes.
[Other Info]
* N/A
description: | updated |
tags: | added: sts |
Changed in nova (Ubuntu): | |
status: | New → Triaged |
Changed in nova (Ubuntu Disco): | |
status: | New → Triaged |
Changed in nova (Ubuntu): | |
importance: | Undecided → Medium |
Changed in nova (Ubuntu Cosmic): | |
importance: | Undecided → Medium |
Changed in nova (Ubuntu Disco): | |
importance: | Undecided → Medium |
Changed in nova (Ubuntu Bionic): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in nova (Ubuntu Cosmic): | |
status: | New → Triaged |
Changed in nova (Ubuntu): | |
assignee: | nobody → Sahid Orentino (sahid-ferdjaoui) |
Changed in nova (Ubuntu Bionic): | |
assignee: | nobody → Sahid Orentino (sahid-ferdjaoui) |
Changed in nova (Ubuntu Cosmic): | |
assignee: | nobody → Sahid Orentino (sahid-ferdjaoui) |
Changed in nova (Ubuntu Disco): | |
assignee: | nobody → Sahid Orentino (sahid-ferdjaoui) |
description: | updated |
tags: | added: sts-sru-needed |
https:/ /review. opendev. org/#/c/ 655712/