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] [Assigned] (LIBCLOUD-699) GCE Compute driver cannot accept ex_nic_gce_struct for create_node
Date Wed, 13 May 2015 14:41:00 GMT

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

Eric Johnson reassigned LIBCLOUD-699:
-------------------------------------

    Assignee: Eric Johnson

> GCE Compute driver cannot accept ex_nic_gce_struct for create_node
> ------------------------------------------------------------------
>
>                 Key: LIBCLOUD-699
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-699
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>            Reporter: Jason DeTiberus
>            Assignee: Eric Johnson
>
> If you specify the {{ex_nic_gce_struct}} param for the {{create_node}} or {{ex_create_multiple_nodes}}
> Any value other than {{None}} and the test for {{if network and ex_nic_gce_struct:}}
in {{_create_node_req}} fails due to network having a default value of 'default'.
> As a workaround I tried to set network to '', since that would have caused it to pass
the comparison test, however that leads to an error from the following snippet:
> {code}
>         if not hasattr(ex_network, 'name'):
>             ex_network = self.ex_get_network(ex_network)
> {code}
> Which returns with the following error:
> {code}
> error: {'locationType': 'parameter', 'domain': 'global', 'message': "Invalid value 'None'.
Values must match the following regular expression: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?'",
'reason': 'invalidParameter', 'location': 'network'}
> {code}



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

Mime
View raw message