libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miguel Caballer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LIBCLOUD-881) Error in GCE driver in ex_create_multiple_nodes function
Date Tue, 20 Dec 2016 15:43:58 GMT

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

Miguel Caballer updated LIBCLOUD-881:
-------------------------------------
    Description: 
If I use the ex_create_multiple_nodes to create a set of nodes in the GCE compute driver and
you do not have set a zone in the driver creation I get this error:

  File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line 4644,
in ex_create_multiple_nodes
    self._multi_create_node(status, node_attrs)
  File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line 7633,
in _multi_create_node
    ex_automatic_restart=node_attrs['ex_automatic_restart'])
  File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line 7533,
in _create_node_req
    nic_gce_struct=ex_nic_gce_struct, use_selflinks=use_selflinks)
  File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line 4058,
in _create_instance_properties
    is_boot=True, use_selflinks=use_selflinks)]
  File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line 4198,
in _build_disk_gce_struct
    obj=disk_type, get_selflinks=use_selflinks, objname='disktype')
  File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line 4241,
in _get_selflink_or_name
    obj = getobj(obj)
  File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line 6517,
in ex_get_disktype
    request = '/zones/%s/diskTypes/%s' % (zone.name, name)

  was:
If I use the ex_create_multiple_nodes to create a set of nodes in the GCE compute driver I
get this error:

  File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line 4644,
in ex_create_multiple_nodes
    self._multi_create_node(status, node_attrs)
  File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line 7633,
in _multi_create_node
    ex_automatic_restart=node_attrs['ex_automatic_restart'])
  File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line 7533,
in _create_node_req
    nic_gce_struct=ex_nic_gce_struct, use_selflinks=use_selflinks)
  File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line 4058,
in _create_instance_properties
    is_boot=True, use_selflinks=use_selflinks)]
  File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line 4198,
in _build_disk_gce_struct
    obj=disk_type, get_selflinks=use_selflinks, objname='disktype')
  File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line 4241,
in _get_selflink_or_name
    obj = getobj(obj)
  File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line 6517,
in ex_get_disktype
    request = '/zones/%s/diskTypes/%s' % (zone.name, name)


> Error in GCE driver in ex_create_multiple_nodes function
> --------------------------------------------------------
>
>                 Key: LIBCLOUD-881
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-881
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>            Reporter: Miguel Caballer
>              Labels: gce
>
> If I use the ex_create_multiple_nodes to create a set of nodes in the GCE compute driver
and you do not have set a zone in the driver creation I get this error:
>   File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line
4644, in ex_create_multiple_nodes
>     self._multi_create_node(status, node_attrs)
>   File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line
7633, in _multi_create_node
>     ex_automatic_restart=node_attrs['ex_automatic_restart'])
>   File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line
7533, in _create_node_req
>     nic_gce_struct=ex_nic_gce_struct, use_selflinks=use_selflinks)
>   File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line
4058, in _create_instance_properties
>     is_boot=True, use_selflinks=use_selflinks)]
>   File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line
4198, in _build_disk_gce_struct
>     obj=disk_type, get_selflinks=use_selflinks, objname='disktype')
>   File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line
4241, in _get_selflink_or_name
>     obj = getobj(obj)
>   File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/gce.py", line
6517, in ex_get_disktype
>     request = '/zones/%s/diskTypes/%s' % (zone.name, name)



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

Mime
View raw message