provider/openstack: AttachVolumes does not observe asynchronous attachment failures
Bug #1477010 reported by
Andrew Wilkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Invalid
|
Low
|
Unassigned |
Bug Description
I don't have any more details at the moment, but I did the following:
juju add-machine --disks cinder,1G
on Canonicstack (lcy01), and the server and volume were both created, but the volume was never attached. Last logs in machine-0.log indicated that the storage provisioner thought it had no outstanding attachments to make. Earlier logs indicated attaching failed due to the instance still being provisioned.
summary: |
- provider/openstack: volumes may not attach if instance takes a long time - to provision + provider/openstack: AttachVolumes does not observe asynchronous + attachment failures |
Changed in juju-core: | |
assignee: | nobody → Andrew Wilkins (axwalk) |
Changed in juju-core: | |
milestone: | 1.25.1 → 1.26.0 |
Changed in juju-core: | |
milestone: | 1.26.0 → 2.0-beta5 |
Changed in juju-core: | |
milestone: | 2.0-beta5 → 2.0-beta4 |
To post a comment you must log in.
Seems to be a problem with OpenStack/ Canonistack, actually. I repro'd with some logs and found that it does eventually issue a successful attachment request... but the attachment (asynchronously) fails.
I tried it manually (using "nova volume-attach"), and then observed the volume status going available -> attaching -> available.
I think for the short term the best we can do is wait until the attachment is made (or not) before returning from AttachVolumes. In the longer term, we may need to make the provider API asynchronous.