libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Johnson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LIBCLOUD-621) Google Compute Engine Driver: ex_set_volume_auto_delete method don't work with volume parameter
Date Wed, 13 May 2015 20:13:02 GMT

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

Eric Johnson commented on LIBCLOUD-621:
---------------------------------------

This appears to be fixed. Please re-open if not the case.

> Google Compute Engine Driver: ex_set_volume_auto_delete method don't work with volume
parameter
> -----------------------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-621
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-621
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>            Reporter: Matthias Wiesner
>            Assignee: Eric Johnson
>              Labels: Google
>
> On passing a StorageVolume as parameter one get the error:
> libcloud.common.google.InvalidRequestError: {u'locationType': u'parameter', u'domain':
u'global', u'message': u"Invalid value '<StorageVolume id=17316053985365710060 size=200
driver=Google Compute Engine>'. Values must match the following regular expression: '\\w[\\w.-]{0,254}'",
u'reason': u'invalidParameter', u'location': u'deviceName'}
> Solution:
> rewrite:
> {{'deviceName': volume,}}
> to:
> {{'deviceName': volume.name,}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message