Marcela Bonell

Results comments of Marcela Bonell

`&volumeattach.VolumeAttachment{ID:"2af6b7bc-a8f0-4511-bef0-7366a2b31e36", Device:"/dev/vdb", VolumeID:"2af6b7bc-a8f0-4511-bef0-7366a2b31e36", ServerID:"cd4abf3f-57d8-4ef5-8939-5a9ec06cf053"}` `&volumes.Volume{Status:"creating", Name:"test", Attachments:[]map[string]interface {}{}, AvailabilityZone:"nova", Bootable:"false", CreatedAt:gophercloud.JSONRFC3339MilliNoZ{sec:63623552335, nsec:803476000, loc:(*time.Location)(0x9b8d00)}, Description:"", VolumeType:"", SnapshotID:"", SourceVolID:"", Metadata:map[string]string{}, ID:"2af6b7bc-a8f0-4511-bef0-7366a2b31e36", Size:1}`

Finally!! I discovered what is happening. After the attachment I need to wait before proceed with the detach and deletion. `volumes.WaitForStatus(volumeClient, volumeAttach.ID, "available", 60)`