incubator-libcloud mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sengor (JIRA)" <>
Subject [libcloud] [jira] Created: (LIBCLOUD-71) IBM SBC driver fails to work (Invalid Instance Type)
Date Tue, 04 Jan 2011 13:53:45 GMT
IBM SBC driver fails to work (Invalid Instance Type)

                 Key: LIBCLOUD-71
             Project: Libcloud
          Issue Type: Improvement
          Components: Core
         Environment: Any
            Reporter: Sengor

Current IBM SBC driver has outdated style instance sizes hardcoded within and cannot
provision instances due to this.

Creating a new node yields:
Traceback (most recent call last):
  File "", line 82, in <module>
    node = conn.create_node(name='test-form-script', image=images[24], size=sizes[0], location=locations[0],
  File "C:\Python25\lib\site-packages\libcloud\drivers\", line 120, in create_node
    data = data).object
  File "C:\Python25\lib\site-packages\libcloud\", line 444, in request
    response = self.responseCls(self.connection.getresponse())
  File "C:\Python25\lib\site-packages\libcloud\", 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:

<Label>Bronze 64 bit</Label>
<Price CountryCode="IBM">
<UnitOfMeasure>UHR  </UnitOfMeasure>

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message