[Bug 428188] Re: 500 server error when attempting to register ramdisk image

Krishna Iyer 428188 at bugs.launchpad.net
Tue Aug 31 12:31:07 BST 2010


Hi Guys ,

I have the Ubuntu-UEC version 1.6.2 and have the exact error when I
register the image manifest. I have downloaded the UEC about a month or
so back and have also run the apt-get update also.

I am creating an image of the running vm instance and uploading the same
on the cloud for future invocations. My reference for doing this is -
http://open.eucalyptus.com/forum/creating-image-existing-vm

Able to create the image and upload bundle without any errors. But when
I register the manifest, get this error. Also tried the register with an
explicit --name option also.

Here are the commands and the outputs

=====================================================================
-- euca-bundle-vol -c ${EC2_CERT} -k ${EC2_PRIVATE_KEY} -u ${EC2_USER_ID} --ec2cert ${EUCALYPTUS_CERT} --no-inherit --kernel eki-AE9417E0 --ramdisk eri-17291932 -d /mnt -r x86_64 -p ki_Ubunty_Jaunty_Backuppc.img -s 4096

> Result OK

=====================================================================
-- root at ubuntu:/# euca-upload-bundle -b ki-test-bucket -m /mnt/ki_Ubunty_Jaunty_Backuppc.img.manifest.xml 

> Result OK --

Checking bucket: ki-test-bucket
Uploading manifest file
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.0
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.1
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.2
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.3
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.4
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.5
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.6
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.7
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.8
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.9
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.10
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.11
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.12
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.13
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.14
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.15
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.16
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.17
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.18
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.19
Uploading part: ki_Ubunty_Jaunty_Backuppc.img.part.20
Uploaded image as ki-test-bucket/ki_Ubunty_Jaunty_Backuppc.img.manifest.xml

=========================================================================
-- root at ubuntu:/# euca-register ki-test-bucket/ki_Ubunty_Jaunty_Backuppc.img.manifest.xml

> Result ERROR
Warning: failed to parse error message from AWS: <unknown>:1:0: syntax error
BotoServerError: 500 Internal Server Error
Failure: 500 Internal Server Error

**********************************************
Extract from /var/log/eucalyptus/cloud-debug.log

19:42:02 DEBUG [NioServerHandler:New I/O server worker #1-35] Internal Error.
com.eucalyptus.ws.BindingException: Failed to bind the following fields:
Name = None
Location = ki-test-bucket/ki_Ubunty_Jaunty_Backuppc.img.manifest.xml

        at com.eucalyptus.ws.handlers.EucalyptusQueryBinding.bind(EucalyptusQueryBinding.java:120)
        at com.eucalyptus.ws.handlers.RestfulMarshallingHandler.incomingMessage(RestfulMarshallingHandler.java:110)
        at com.eucalyptus.ws.handlers.MessageStackHandler.handleUpstream(MessageStackHandler.java:126)
        at com.eucalyptus.ws.handlers.MessageStackHandler.handleUpstream(MessageStackHandler.java:133)
        at com.eucalyptus.ws.handlers.MessageStackHandler.handleUpstream(MessageStackHandler.java:133)
        at com.eucalyptus.ws.server.NioServerHandler.messageReceived(NioServerHandler.java:119)
        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.handler.timeout.ReadTimeoutHandler.messageReceived(ReadTimeoutHandler.java:146)
        at org.jboss.netty.handler.timeout.IdleStateHandler.messageReceived(IdleStateHandler.java:214)
        at com.eucalyptus.ws.handlers.ChannelStateMonitor.messageReceived(ChannelStateMonitor.java:62)
        at com.eucalyptus.ws.handlers.http.NioSslHandler.handleUpstream(NioSslHandler.java:31)
        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:636)
==============================================================================

Tried giving it a name also.. I can see in the log that the field name
is shown but the bind still fails.

--root at ubuntu:/# euca-register -n ki-backuppc ki-test-
bucket/ki_Ubunty_Jaunty_Backuppc.img.manifest.xml

> RESULT ERROR

Warning: failed to parse error message from AWS: <unknown>:1:0: syntax error
BotoServerError: 500 Internal Server Error
Failure: 500 Internal Server Error

**********
Extract from /var/log/eucalyptus/cloud-debug.log

16:56:30 DEBUG [NioServerHandler:New I/O server worker #1-29] Internal Error.
com.eucalyptus.ws.BindingException: Failed to bind the following fields:
Name = ki-backuppc
Location = ki-test-bucket/ki_Ubunty_Jaunty_Backuppc.img.manifest.xml

        at com.eucalyptus.ws.handlers.EucalyptusQueryBinding.bind(EucalyptusQueryBinding.java:120)
        at com.eucalyptus.ws.handlers.RestfulMarshallingHandler.incomingMessage(RestfulMarshallingHandler.java:110)
        at com.eucalyptus.ws.handlers.MessageStackHandler.handleUpstream(MessageStackHandler.java:126)
        at com.eucalyptus.ws.handlers.MessageStackHandler.handleUpstream(MessageStackHandler.java:133)
        at com.eucalyptus.ws.handlers.MessageStackHandler.handleUpstream(MessageStackHandler.java:133)
        at com.eucalyptus.ws.server.NioServerHandler.messageReceived(NioServerHandler.java:119)
        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.handler.timeout.ReadTimeoutHandler.messageReceived(ReadTimeoutHandler.java:146)
        at org.jboss.netty.handler.timeout.IdleStateHandler.messageReceived(IdleStateHandler.java:214)
        at com.eucalyptus.ws.handlers.ChannelStateMonitor.messageReceived(ChannelStateMonitor.java:62)
        at com.eucalyptus.ws.handlers.http.NioSslHandler.handleUpstream(NioSslHandler.java:31)
        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:636)
=============================================================================

-- 
500 server error when attempting to register ramdisk image
https://bugs.launchpad.net/bugs/428188
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.



More information about the Ubuntu-server-bugs mailing list