You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Ronelle Landy (Created) (JIRA)" <ji...@apache.org> on 2011/12/08 17:15:40 UTC

[jira] [Created] (DTACLOUD-112) Could not attach storage volume to a running instance in RHEVM

Could not attach storage volume to a running 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=a9e03b2a-120e-4e59-9a1e-713d814aa3a8" --user "admin@internal:dog8code" "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

        

[jira] [Commented] (DTACLOUD-112) Could not attach storage volume to a running instance in RHEVM

Posted by "Michal Fojtik (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DTACLOUD-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13165596#comment-13165596 ] 

Michal Fojtik commented on DTACLOUD-112:
----------------------------------------

Hi,

This is not an 'error', maybe wrong status code (501?). The RHEV-M driver doesn't support attaching storage volume to a running RHEV-M instance. 
                
> Could not attach storage volume to a running 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=a9e03b2a-120e-4e59-9a1e-713d814aa3a8" --user "admin@internal:dog8code" "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

        

[jira] [Updated] (DTACLOUD-112) Could not attach storage volume to a running instance in RHEVM

Posted by "Ronelle Landy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DTACLOUD-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ronelle Landy updated DTACLOUD-112:
-----------------------------------

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


  was:
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=a9e03b2a-120e-4e59-9a1e-713d814aa3a8" --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.


    
> Could not attach storage volume to a running 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

        

[jira] [Updated] (DTACLOUD-112) Could not attach storage volume to a running instance in RHEVM

Posted by "Ronelle Landy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DTACLOUD-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ronelle Landy updated DTACLOUD-112:
-----------------------------------

    Description: 
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=a9e03b2a-120e-4e59-9a1e-713d814aa3a8" --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.


  was:
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=a9e03b2a-120e-4e59-9a1e-713d814aa3a8" --user "admin@internal:dog8code" "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.


    
> Could not attach storage volume to a running 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=a9e03b2a-120e-4e59-9a1e-713d814aa3a8" --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

        

[jira] [Updated] (DTACLOUD-112) Remove 'Attach' and 'Snapshot' buttons storage volume pages for RHEVM

Posted by "Ronelle Landy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DTACLOUD-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ronelle Landy updated DTACLOUD-112:
-----------------------------------

    Description: 
Updating this record:  Confirmed that attaching storage volumes to instances is *not* supported for RHEVM provider.  Neither are storage snapshots supported. Therefore, the 'Snapshot' and 'Attach' buttons should be removed from storage volume pages in the GUI.

---- Initial issue report retained below -----------

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.


  was:
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.


        Summary: Remove 'Attach' and 'Snapshot' buttons storage volume pages for RHEVM  (was: Could not attach a storage volume to instance in RHEVM)
    
> Remove 'Attach' and 'Snapshot' buttons storage volume pages for 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
>
> Updating this record:  Confirmed that attaching storage volumes to instances is *not* supported for RHEVM provider.  Neither are storage snapshots supported. Therefore, the 'Snapshot' and 'Attach' buttons should be removed from storage volume pages in the GUI.
> ---- Initial issue report retained below -----------
> 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

        

[jira] [Updated] (DTACLOUD-112) Could not attach a storage volume to instance in RHEVM

Posted by "Ronelle Landy (Updated) (JIRA)" <ji...@apache.org>.
     [ 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