[
https://issues.apache.org/jira/browse/DTACLOUD-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ronelle Landy updated DTACLOUD-112:
-----------------------------------
Summary: Could not attach a storage volume to instance in RHEVM (was:
Could not attach storage volume to a running instance in RHEVM)
It's not possible to attach a storage volume to a stopped instance either:
curl -X POST -F "instance_id=0b9d0fff-37ec-4ef8-87e8-b0706751fe35" -F
"device=/dev/fd0" --user 'username:password'
"http://server.com:3001/api/storage_volumes/2e361fa8-41de-4ff4-9da0-37a2f6d48fc6/attach?format=xml"
<error status='500'
url='/api/storage_volumes/2e361fa8-41de-4ff4-9da0-37a2f6d48fc6/attach?format=xml'>
<kind>backend_error</kind>
<backend driver='rhevm'>
<code>500</code>
</backend>
<message><![CDATA[attach_storage_volume capability not supported by backend
Deltacloud::Drivers::RHEVM::RHEVMDriver]]></message>
</error>
Should this capability be supported? If not, should the API show storage
volumes at all?
> Could not attach a storage volume to instance in RHEVM
> ------------------------------------------------------
>
> Key: DTACLOUD-112
> URL: https://issues.apache.org/jira/browse/DTACLOUD-112
> Project: DeltaCloud
> Issue Type: Bug
> Components: Server
> Environment: Fedora 16, Firefox, git clone on 12/07/2011
> Reporter: Ronelle Landy
> Assignee: David Lutterkort
>
> Attempting to attach an available storage volume to a running instance in
> RHEVM returned the following 'capability not supported" message:
> curl -X POST -F "instance_id=x" --user "xxx@xxx:XXX"
> "http://localhost:3002/api/storage_volumes/c1a7a0df-0993-4cba-b8bb-9b9b4b72c691/attach?format=xml"
> <error status='500'
> url='/api/storage_volumes/c1a7a0df-0993-4cba-b8bb-9b9b4b72c691/attach?format=xml'>
> <kind>backend_error</kind>
> <backend driver='rhevm'>
> <code>500</code>
> </backend>
> <message><![CDATA[attach_storage_volume capability not supported by backend
> Deltacloud::Drivers::RHEVM::RHEVMDriver]]></message>
> However, the GUI does show an "Attach" button (currently enabled) for
> available storage.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira