sengork@ubuntuvm:~/scripts$ export LIBCLOUD_DEBUG=stderr sengork@ubuntuvm:~/scripts$ python3 Python 3.2.3 (default, May 3 2012, 15:51:42) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from libcloud.compute.types import Provider >>> from libcloud.compute.providers import get_driver >>> Driver = get_driver(Provider.IBM) >>> conn = Driver("username","password") >>> conn.list_images() Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.2/dist-packages/libcloud/compute/drivers/ibm_sce.py", line 166, in list_images return self._to_images(self.connection.request(REST_BASE + '/offerings/image').object) File "/usr/local/lib/python3.2/dist-packages/libcloud/common/base.py", line 581, in request connection=self) File "/usr/local/lib/python3.2/dist-packages/libcloud/common/base.py", line 76, in __init__ raise Exception(self.parse_error()) Exception: Error 403: AuthenticationFailed >>> sengork@ubuntuvm:~/scripts$ cat stderr # -------- begin 18467408 request ---------- curl -i -X GET -H 'Host: www-147.ibm.com' -H 'Accept-Encoding: gzip,deflate' -H 'Accept: text/xml' -H 'X-LC-Request-ID: 18467408' -H 'Content-Type: text/xml' -H 'Content-Length: 0' -H 'Authorization: Basic b'"'"'dXNlcm5hbWU6cGFzc3dvcmQ='"'"'' -H 'User-Agent: libcloud/0.10.1 (IBM SmartCloud Enterprise)' --compress https://www-147.ibm.com:443/computecloud/enterprise/api/rest/20100331/offerings/image # -------- begin 18467408:18413776 response ---------- HTTP/1.1 403 Forbidden Content-Language: en-US Content-Type: text/html;charset=ISO-8859-1 Date: Sat, 02 Jun 2012 06:56:09 GMT P3P: CP="NON CUR OTPi OUR NOR UNI" Server: IBM_HTTP_Server Transfer-Encoding: chunked $Wsep: Cache-Control: max-age=3600 Expires: Sat, 02 Jun 2012 07:56:09 GMT 20 b'Error 403: AuthenticationFailed\n' 0 # -------- end 18467408:18413776 response ---------- sengork@ubuntuvm:~/scripts$