deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronelle Landy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DTACLOUD-381) CIMI: attaching a volume to a machine and deleting volumes are not working
Date Mon, 26 Nov 2012 21:45:00 GMT

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

Ronelle Landy updated DTACLOUD-381:
-----------------------------------

    Description: 
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'




  was:

Attempting to delete a volume gives:

"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'




    
> 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
>
> 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