You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "Eric Johnson (JIRA)" <ji...@apache.org> on 2015/05/13 22:13:03 UTC
[jira] [Resolved] (LIBCLOUD-621) Google Compute Engine Driver:
ex_set_volume_auto_delete method don't work with volume parameter
[ https://issues.apache.org/jira/browse/LIBCLOUD-621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Johnson resolved LIBCLOUD-621.
-----------------------------------
Resolution: Fixed
> 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)