Return-Path: X-Original-To: apmail-libcloud-notifications-archive@www.apache.org Delivered-To: apmail-libcloud-notifications-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D0C19106A9 for ; Thu, 29 May 2014 11:32:01 +0000 (UTC) Received: (qmail 1180 invoked by uid 500); 29 May 2014 11:32:01 -0000 Delivered-To: apmail-libcloud-notifications-archive@libcloud.apache.org Received: (qmail 1153 invoked by uid 500); 29 May 2014 11:32:01 -0000 Mailing-List: contact notifications-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 notifications@libcloud.apache.org Received: (qmail 1145 invoked by uid 99); 29 May 2014 11:32:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 May 2014 11:32:01 +0000 Date: Thu, 29 May 2014 11:32:01 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: notifications@libcloud.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LIBCLOUD-563) Reserved variable name "id" is used in many methods of ec2 driver MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LIBCLOUD-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012290#comment-14012290 ] ASF GitHub Bot commented on LIBCLOUD-563: ----------------------------------------- Github user zerthimon closed the pull request at: https://github.com/apache/libcloud/pull/300 > Reserved variable name "id" is used in many methods of ec2 driver > ----------------------------------------------------------------- > > Key: LIBCLOUD-563 > URL: https://issues.apache.org/jira/browse/LIBCLOUD-563 > Project: Libcloud > Issue Type: Bug > Reporter: Lior Goikhburg > > There is a bug in ec2 driver method ex_authorize_security_group_ingress is broken, and I expect all other methods, that use a reserved name "id" as a variable name in ec2 driver > example: > https://github.com/apache/libcloud/blob/trunk/libcloud/compute/drivers/ec2.py#L2708 > https://github.com/apache/libcloud/blob/trunk/libcloud/compute/drivers/ec2.py#L2747 > exception: > {code} > > provider.connection.ex_authorize_security_group_ingress('sg-c8fb14ad', '669', '669', cidr_ips='100.100.4.0/24') > *** Exception: InvalidGroupId.Malformed: Invalid id: "" (expecting "sg-...") > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)