libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dustin Spicuzza (JIRA)" <>
Subject [jira] [Commented] (LIBCLOUD-455) Openstack driver error in list_nodes() when image is null
Date Thu, 05 Dec 2013 23:40:36 GMT


Dustin Spicuzza commented on LIBCLOUD-455:

Associated stack trace:

  File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/", line
213, in list_nodes
  File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/", line
1267, in _to_nodes
    return [self._to_node(server) for server in servers]
  File "/usr/local/lib/python2.7/dist-packages/libcloud/compute/drivers/", line
1878, in _to_node
TypeError: string indices must be integers

> Openstack driver error in list_nodes() when image is null
> ---------------------------------------------------------
>                 Key: LIBCLOUD-455
>                 URL:
>             Project: Libcloud
>          Issue Type: Bug
>    Affects Versions: 0.14.0-beta3
>            Reporter: Dustin Spicuzza
> Sometimes openstack nodes get into a state where they have no image associated with them
-- this only occurs when the node is in an error state and isn't able to be deleted. 
> When you call list_nodes() on a tenant that contains such a node, then it crashes because
it doesn't expect that the image doesn't have any data associated with it. The bug actually
occurs in _to_node().
> repr of api_node['image']: 
> A normal node: {u'id': u'9e77ab77-5564-432b-a3d4-6156af99ebd0', u'links': ….  }
> The error node: u''

This message was sent by Atlassian JIRA

View raw message