Return-Path: Delivered-To: apmail-incubator-libcloud-archive@minotaur.apache.org Received: (qmail 67225 invoked from network); 4 Jan 2011 13:54:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Jan 2011 13:54:07 -0000 Received: (qmail 28472 invoked by uid 500); 4 Jan 2011 13:54:07 -0000 Delivered-To: apmail-incubator-libcloud-archive@incubator.apache.org Received: (qmail 28340 invoked by uid 500); 4 Jan 2011 13:54:07 -0000 Mailing-List: contact libcloud-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: libcloud@incubator.apache.org Delivered-To: mailing list libcloud@incubator.apache.org Received: (qmail 28332 invoked by uid 99); 4 Jan 2011 13:54:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jan 2011 13:54:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jan 2011 13:54:06 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p04DrjwB004201 for ; Tue, 4 Jan 2011 13:53:45 GMT Message-ID: <28830621.133241294149225756.JavaMail.jira@thor> Date: Tue, 4 Jan 2011 08:53:45 -0500 (EST) From: "Sengor (JIRA)" To: libcloud@incubator.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Subject: [libcloud] [jira] Created: (LIBCLOUD-71) IBM SBC driver fails to work (Invalid Instance Type) IBM SBC driver fails to work (Invalid Instance Type) ---------------------------------------------------- Key: LIBCLOUD-71 URL: https://issues.apache.org/jira/browse/LIBCLOUD-71 Project: Libcloud Issue Type: Improvement Components: Core Environment: Any Reporter: Sengor Current IBM SBC driver has outdated style instance sizes hardcoded within ibm_sbc.py and cannot provision instances due to this. Creating a new node yields: Traceback (most recent call last): File "instance_provision.py", line 82, in node = conn.create_node(name='test-form-script', image=images[24], size=sizes[0], location=locations[0], auth=key) File "C:\Python25\lib\site-packages\libcloud\drivers\ibm_sbc.py", line 120, in create_node data = data).object File "C:\Python25\lib\site-packages\libcloud\base.py", line 444, in request response = self.responseCls(self.connection.getresponse()) File "C:\Python25\lib\site-packages\libcloud\base.py", line 165, in __init__ raise Exception(self.parse_error()) Exception: Error 412: Invalid Instance Type The driver's mechanism needs to query available instance sizes dynamically on a per instance basis since they are no longer static (+ their naming convention syntax changed too). Image specific sizes can be retrieved via REST API call, example: https://www-147.ibm.com/computecloud/enterprise/api/rest/20100331/offerings/image/20009961 ... BRZ64.2/4096/60*500*350 USD 0.5 1 UHR ... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.