Getting an error when trying to create a role from a non-scalr server 
within Eucalyptus 2.0.3

I believe the issue has something to do with Eucalyptus and filters/tags.

*Error on VM using Scalarizr:*

Warning: failed to parse error message from AWS: <unknown>:1:0: syntax error
2012-02-03 00:12:52,083 - INFO - scalarizr.config - State: importing
2012-02-03 00:12:52,083 - ERROR - scalarizr.handlers.rebundle - 
EC2ResponseError: 400 Bad Request
Failure: 400 Bad Request
Failed to bind the following fields:
Filter.1.Name = attachment.instance-id
Filter.1.Value.1 = i-3D610725

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/scalarizr/handlers/rebundle.py", 
line 129, in on_Rebundle
    image_id = self.rebundle()
  File 
"/usr/lib/python2.6/site-packages/scalarizr/handlers/ec2/rebundle.py", line 
115, in rebundle
    return self._strategy.run()
  File 
"/usr/lib/python2.6/site-packages/scalarizr/handlers/ec2/rebundle.py", line 
473, in run
    self._cleanup_image(self._image.mpoint, self._role_name)
  File 
"/usr/lib/python2.6/site-packages/scalarizr/handlers/ec2/rebundle.py", line 
219, in _cleanup_image
    self._fix_fstab(image_mpoint)
  File 
"/usr/lib/python2.6/site-packages/scalarizr/handlers/ec2/rebundle.py", line 
190, in _fix_fstab
    for vol in ec2_conn.get_all_volumes(filters={'attachment.instance-id': 
pl.get_instance_id()})
  File "/usr/lib/python2.6/site-packages/boto/ec2/connection.py", line 
1149, in get_all_volumes
    return self.get_list('DescribeVolumes', params, [('item', Volume)], 
verb='POST')
  File "/usr/lib/python2.6/site-packages/boto/connection.py", line 595, in 
get_list
    raise self.ResponseError(response.status, response.reason, body)
EC2ResponseError: EC2ResponseError: 400 Bad Request
Failure: 400 Bad Request
Failed to bind the following fields:
Filter.1.Name = attachment.instance-id
Filter.1.Value.1 = i-3D610725

*Error on Scalr server:*

Received RebundleFailed event from server. Reason: EC2ResponseError: 400 
Bad Request Failure: 400 Bad Request Failed to bind the following fields: 
Filter.1.Name = attachment.instance-id Filter.1.Value.1 = i-3D610725

*Error on Eucalyptus:*

19:12:53 ERROR [NioServerHandler:New I/O server worker #1-8] Internal Error.
com.eucalyptus.ws.WebServicesException: Failed to bind the following fields:
Filter.1.Name = attachment.instance-id
Filter.1.Value.1 = i-3D610725

        at 
com.eucalyptus.ws.handlers.MessageStackHandler.handleUpstream(MessageStackHandler.java:136)
        at 
com.eucalyptus.ws.handlers.MessageStackHandler.handleUpstream(MessageStackHandler.java:139)
        at 
com.eucalyptus.ws.handlers.MessageStackHandler.handleUpstream(MessageStackHandler.java:139)
        at 
com.eucalyptus.ws.server.NioServerHandler.messageReceived(NioServerHandler.java:127)
        at 
org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:114)
        at 
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:385)
        at 
org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndfireMessageReceived(ReplayingDecoder.java:459)
        at 
org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:443)
        at 
org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:381)
        at 
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:342)
        at 
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:329)
        at 
org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:330)
        at 
org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:282)
        at 
org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:203)
        at 
org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:53)
        at 
org.jboss.netty.handler.execution.MemoryAwareThreadPoolExecutor$MemoryAwareRunnable.run(MemoryAwareThreadPoolExecutor.java:502)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)

Please let me know if there is anymore info needed. Thanks for your help!


-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/scalr-discuss/-/ZuDIS2rDaqoJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/scalr-discuss?hl=en.

Reply via email to