deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "marios@redhat.com" <mandr...@redhat.com>
Subject Re: Can't detach volume in openstack driver?
Date Fri, 14 Dec 2012 07:30:06 GMT
On 13/12/12 19:25, Ian Main wrote:
> On Thu, Dec 13, 2012 at 10:11:10AM +0200, marios@redhat.com wrote:
>> Hi Ian:
>>
>> On 12/12/12 21:53, Ian Main wrote:
>>>
>>> Heya guys,
>>>
>>> So everything is going great in the openstack driver except I can't seem
>>> to get the detach method on a volume to work.  I always get a 404 error
>>> back.
>>
>> I just tried this - it is working fine against the setup i'm trying
>> with.. (though you've already discovered the real issue - more below)...
>> these aren't working for you but for reference:
>>
>> attach: curl --user "username+tenant-name:password" -H "Accept:
>> application/xml" -X POST -d "instance_id=815253&device=/dev/sde"
>> http://localhost:3001/api/storage_volumes/120261/attach
>>
>> detach: curl --user "username+tenant-name:password" -H "Accept:
>> application/xml" -X POST
>> http://localhost:3001/api/storage_volumes/120261/detach
> 
> OK, I think I was seeing a few different bugs here.. one was openstack
> and some 'stuck' instance that I can't delete even with nova commands.
> The other is heat getting the id's wrong on restart.  Fun fun!
> 
> So long story short it works fine when openstack and heat are not
> acting crazily :).

great - good to hear. Let me know if anything else comes up. We should
probably look at snapshots too soon (perhaps next week if i find some
time) so that the implementation is complete,

marios

> 
> Thanks again Marios!
> 
>     Ian
> 


Mime
View raw message