deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marios Andreou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DTACLOUD-381) CIMI: attaching a volume to a machine and deleting volumes are not working
Date Thu, 06 Dec 2012 08:21:01 GMT

    [ https://issues.apache.org/jira/browse/DTACLOUD-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13511226#comment-13511226
] 

Marios Andreou commented on DTACLOUD-381:
-----------------------------------------

Update:

* attach/detach CIMI volumes should be working fine now (+we have the cimi API tests that
do this and they run clean). For reference/tracking these went in as f8cb26459df2ab661d69067d44b119288a88ad17,
71b10c3abededc0cbcf0dbb2740bd955eb171c39 and 042cf3199aa5f8a44c38613d43494d3d16035530

* The delete CIMI volume operation failed for me yesterday but for a different reason than
stated above - (minor typo in the db/datamapper code in delete_volume) - I have a patch out
that fixes this at http://tracker.deltacloud.org/set/181 (patch 1 of 2 is the relevant one).
This is currently waiting for a review if someone has the time,

thanks, marios
                
> CIMI: attaching a volume to a machine and deleting volumes are not working 
> ---------------------------------------------------------------------------
>
>                 Key: DTACLOUD-381
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-381
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: CIMI/Frontend
>         Environment: Deltacloud 1.0.5
> mock driver
> CIMI frontend
>            Reporter: Ronelle Landy
>            Assignee: Ronelle Landy
>
> Maybe syntax is just incorrect but:
> Attempting to attach a volume:
> "POST /cimi/machines/inst32/volumes?format=xml HTTP/1.1" 404 490 0.0182
> (full command: curl -X POST --user "n:pw" -d '<MachineVolume><initialLocation>V</initialLocation><volume
href="http://cloud-qe-11.idm.lab.bos.redhat.com:3001/cimi/volumes/Volume1353965611"></volume></MachineVolume>'
"http://cloud-qe-11.idm.lab.bos.redhat.com:3001/cimi/machines/inst32/volumes?format=xml")
> Attempting to delete a volume:
> "DELETE /cimi/volumes/Volume1353965612 HTTP/1.1" 500 1764 0.0565
> E, [2012-11-26T16:34:32.490539 #17196] ERROR -- 500: [TypeError] nil is not a symbol
> /home/dcloud/workspace/deltacloud/server/lib/cimi/collections/volumes.rb:19:in `respond_to?'
> /home/dcloud/workspace/deltacloud/server/lib/cimi/collections/volumes.rb:19:in `capability'
> /usr/lib/ruby/gems/1.8/gems/sinatra-rabbit-1.1.3/lib/sinatra/rabbit/base.rb:384:in `DELETE
/volumes/:id'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.3/lib/sinatra/base.rb:1264:in `call'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.3/lib/sinatra/base.rb:1264:in `compile!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.3/lib/sinatra/base.rb:835:in `[]'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.3/lib/sinatra/base.rb:835:in `route!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.3/lib/sinatra/base.rb:851:in `route_eval'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.3/lib/sinatra/base.rb:835:in `route!'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.3/lib/sinatra/base.rb:872:in `process_route'
> /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.3/lib/sinatra/base.rb:870:in `catch'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message