You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Joseph J. VLcek (JIRA)" <ji...@apache.org> on 2012/12/05 17:38:58 UTC

[jira] [Assigned] (DTACLOUD-381) CIMI: attaching a volume to a machine and deleting volumes are not working

     [ https://issues.apache.org/jira/browse/DTACLOUD-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph J. VLcek reassigned DTACLOUD-381:
----------------------------------------

    Assignee: Joseph J. VLcek
    
> 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: Joseph J. VLcek
>
> 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