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 017B411F2C for ; Sat, 5 Jul 2014 10:32:34 +0000 (UTC) Received: (qmail 35775 invoked by uid 500); 5 Jul 2014 10:32:33 -0000 Delivered-To: apmail-libcloud-notifications-archive@libcloud.apache.org Received: (qmail 35745 invoked by uid 500); 5 Jul 2014 10:32:33 -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 35655 invoked by uid 99); 5 Jul 2014 10:32:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jul 2014 10:32:33 +0000 Date: Sat, 5 Jul 2014 10:32:33 +0000 (UTC) From: "Atsushi Sasaki (JIRA)" To: notifications@libcloud.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (LIBCLOUD-593) CloudStack driver's create_node fails to join network_id when network_id is int MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Atsushi Sasaki created LIBCLOUD-593: --------------------------------------- Summary: CloudStack driver's create_node fails to join network_id when network_id is int Key: LIBCLOUD-593 URL: https://issues.apache.org/jira/browse/LIBCLOUD-593 Project: Libcloud Issue Type: Bug Components: Compute Affects Versions: 0.13.3, 0.14.0-beta3, 0.13.2, 0.13.1, 0.13.0 Reporter: Atsushi Sasaki CloudStack driver's create_node accept an argument "networks" it is used to specify networks the node will be connected to. networks is a list of CloudStackNetwork instances and their id is joined to construct a argument for CloudStack API's deployVirtualMachine in create_node. It is OK when network id is string but some implementation uses integer network id. When network id is integer, the code like following fails. networks = driver.ex_list_networks() node = driver.create_node(location, image, size, networks=networks) This patch convert network id into str explicitly before joining network ids. -- This message was sent by Atlassian JIRA (v6.2#6252)