Return-Path: X-Original-To: apmail-libcloud-dev-archive@www.apache.org Delivered-To: apmail-libcloud-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AA415F6ED for ; Sat, 23 Mar 2013 04:47:19 +0000 (UTC) Received: (qmail 20354 invoked by uid 500); 23 Mar 2013 04:47:19 -0000 Delivered-To: apmail-libcloud-dev-archive@libcloud.apache.org Received: (qmail 20152 invoked by uid 500); 23 Mar 2013 04:47:18 -0000 Mailing-List: contact dev-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 dev@libcloud.apache.org Received: (qmail 20088 invoked by uid 99); 23 Mar 2013 04:47:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Mar 2013 04:47:18 +0000 Date: Sat, 23 Mar 2013 04:47:18 +0000 (UTC) From: "Tomaz Muraus (JIRA)" To: dev@libcloud.apache.org Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Subject: [dev] [jira] [Updated] (LIBCLOUD-297) OpenStack Network label is arbitrary, libcloud wrongly assumes "public" or "private" [ https://issues.apache.org/jira/browse/LIBCLOUD-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tomaz Muraus updated LIBCLOUD-297: ---------------------------------- Fix Version/s: 0.12.3 > OpenStack Network label is arbitrary, libcloud wrongly assumes "public" or "private" > ------------------------------------------------------------------------------------ > > Key: LIBCLOUD-297 > URL: https://issues.apache.org/jira/browse/LIBCLOUD-297 > Project: Libcloud > Issue Type: Bug > Reporter: Grischa Meyer > Assignee: Tomaz Muraus > Fix For: 0.12.3 > > Attachments: network-label.patch > > > The openstack.py driver in libcloud assumes that all OpenStack installations have only three network labels, "public", "internet" and "private". > However, the label is actually an arbitrary string according to the OpenStack specs, and the cloud I happen to be using has assigned a different string to their network. As further reference, I looked at the python-novaclient code and it assumes the network label to be any arbitrary string as well. > I have fixed the issue for my personal use with a dirty hack that assigns any non-"public" network to the "private" group. However, the false assumption that there are pre-defined public and private networks in OpenStack still lives on. > I hope someone with better familiarity with the OpenStack driver and its relation to the rest of libcloud can fix this by removing the notion of predefined public and private networks, in line with OpenStack specifications. > I will attach a patch for my quick-fix (same as https://github.com/apache/libcloud/pull/95), but I suggest that this be fixed more thoroughly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira