Return-Path: X-Original-To: apmail-libcloud-commits-archive@www.apache.org Delivered-To: apmail-libcloud-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6A18B108D5 for ; Fri, 6 Dec 2013 18:09:43 +0000 (UTC) Received: (qmail 49130 invoked by uid 500); 6 Dec 2013 18:09:40 -0000 Delivered-To: apmail-libcloud-commits-archive@libcloud.apache.org Received: (qmail 49112 invoked by uid 500); 6 Dec 2013 18:09:40 -0000 Mailing-List: contact commits-help@libcloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@libcloud.apache.org Delivered-To: mailing list commits@libcloud.apache.org Received: (qmail 49020 invoked by uid 99); 6 Dec 2013 18:09:37 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Dec 2013 18:09:37 +0000 Date: Fri, 6 Dec 2013 18:09:37 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: commits@libcloud.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LIBCLOUD-455) Openstack driver error in list_nodes() when image is null MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LIBCLOUD-455?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13= 841490#comment-13841490 ]=20 ASF subversion and git services commented on LIBCLOUD-455: ---------------------------------------------------------- Commit df97607ec9fe56126028abc0be788eb5fa86124a in branch refs/heads/trunk = from [~kami] [ https://git-wip-us.apache.org/repos/asf?p=3Dlibcloud.git;h=3Ddf97607 ] Correctly handling missing 'image' attribute in the OpenStack list nodes response and add a test case for it. Part of LIBCLOUD-455. > Openstack driver error in list_nodes() when image is null > --------------------------------------------------------- > > Key: LIBCLOUD-455 > URL: https://issues.apache.org/jira/browse/LIBCLOUD-455 > 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 assoc= iated with them -- this only occurs when the node is in an error state and = isn't able to be deleted.=20 > 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 ass= ociated with it. The bug actually occurs in _to_node(). > repr of api_node['image']:=20 > A normal node: {u'id': u'9e77ab77-5564-432b-a3d4-6156af99ebd0', u'links':= =E2=80=A6. } > The error node: u'' -- This message was sent by Atlassian JIRA (v6.1#6144)