Attached volume partition sometimes doesn't show up in guest if previous volume detach was not complete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Low
|
Unassigned |
Bug Description
I've been trying to unskip the test_stamp_pattern scenario in tempest and it's been randomly failing (but very recreatable) because when we attach the 2nd volume (from volume snapshot) to the 2nd instance (from snapshot), the attach API operation is successful but the device partition never shows up on the guest.
https:/
There is dmesg debug output when the test fails and it clearly shows there is no vdb attach:
Checking the libvirtd logs, test_stamp_pattern is running against domain 00000006 and I don't see any call to virDomainAttach
I do see it for others, like:
http://
So it appears that libvirt just completely fails to do the attach device call.
From the n-cpu log, here is where we've come back from connecting the iscsi volume via os-brick and we get the device xml for the attach all to libvirt:
2015-09-02 17:42:10.274 DEBUG nova.virt.
But there is no corresponding call for virDomainAttach
Related fix proposed to branch: master /review. openstack. org/220357
Review: https:/