[
https://issues.apache.org/jira/browse/LIBCLOUD-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408795#comment-13408795
]
Debo Dutta commented on LIBCLOUD-220:
-------------------------------------
Now associating 192.168.100.73 with node i-000000ac
# -------- begin 4530831944 request ----------
curl -i -X GET -H 'Host: 192.168.100.104:8773' -H 'X-LC-Request-ID: 4530831944'
-H 'Content-Length: 0' -H 'Accept-Encoding: gzip,deflate' -H 'User-Agent:
libcloud/0.10.1 (Eucalyptus)' --compress
'http://192.168.100.104:8773/services/Cloud?SignatureVersion=2&AWSAccessKeyId=000c351ce29745e5a6985c43b2b64b66&InstanceId.1=i-000000ac&Timestamp=2012-07-07T22%3A29%3A26Z&PublicIp=192.168.100.73&SignatureMethod=HmacSHA256&Version=2010-08-31&Signature=E2Id4B9rKAjvpP0j4sRe%2BGIZI4zJ2gHbu8QW5Alxgr0%3D&Action=AssociateAddress'
# -------- begin 4530831944:4530539120 response ----------
HTTP/1.1 400 Bad Request
Date: Sat, 07 Jul 2012 22:29:26 GMT
Content-Length: 243
Content-Type: text/xml
<?xml version="1.0"?>
<Response><Errors><Error><Code>UnknownError</Code><Message>An unknown error has
occurred. Please try your request
again.</Message></Error></Errors><RequestID>req-38a76df9-498b-443e-b858-87242abd4688</RequestID></Response>
# -------- end 4530831944:4530539120 response ----------
Traceback (most recent call last):
File "lceuca.py", line 40, in <module>
conn.ex_associate_addresses(node, freeaddr)
File
"/Library/Python/2.7/site-packages/apache_libcloud-0.10.1-py2.7.egg/libcloud/compute/drivers/ec2.py",
line 839, in ex_associate_addresses
res = self.connection.request(self.path, params=params).object
File
"/Library/Python/2.7/site-packages/apache_libcloud-0.10.1-py2.7.egg/libcloud/common/base.py",
line 581, in request
connection=self)
File
"/Library/Python/2.7/site-packages/apache_libcloud-0.10.1-py2.7.egg/libcloud/common/base.py",
line 76, in __init__
raise Exception(self.parse_error())
Exception: UnknownError: An unknown error has occurred. Please try your request
again.
> EucNode driver upon ex_associate_address bails with error
> ---------------------------------------------------------
>
> Key: LIBCLOUD-220
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-220
> Project: Libcloud
> Issue Type: Bug
> Components: Compute
> Affects Versions: 0.10.1
> Environment: Running on Mac OSX 10.7.4, targeting an openstack cluster
> Reporter: Debo Dutta
>
> >>> node.id'i-000000aa'
> >>> conn.ex_associate_addresses(node,'192.168.100.73')
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File
> "/Library/Python/2.7/site-packages/apache_libcloud-0.10.1-py2.7.egg/libcloud/compute/drivers/ec2.py",
> line 839, in ex_associate_addresses
> res = self.connection.request(self.path, params=params).object
> File
> "/Library/Python/2.7/site-packages/apache_libcloud-0.10.1-py2.7.egg/libcloud/common/base.py",
> line 581, in request
> connection=self)
> File
> "/Library/Python/2.7/site-packages/apache_libcloud-0.10.1-py2.7.egg/libcloud/common/base.py",
> line 76, in __init__
> raise Exception(self.parse_error())
> Exception: UnknownError: An unknown error has occurred. Please try your
> request again.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira