Ask Your Question

Error while launching RHEL 6 instance

asked 2011-07-05 20:02:00 -0600

av-sudhir gravatar image

I am using a setup of a cloud controller with one compute node, able to run ubuntu prepackaged & custom images successfully without any issues. Able to ping & ssh the instance, get euca-get-console-output, while trying to launch custom built RHEL6 image getting following error :


IMAGE aki-0000008f buck/vmlinuz-2.6.32-131.0.15.el6.x86_64.manifest.xml available public x86_64 kernel IMAGE ari-00000090 buck/initramfs-2.6.32-131.0.15.el6.x86_64.img.manifest.xml available public x86_64 ramdisk IMAGE ami-00000091 buck/hatfinal.img.manifest.xml available public x86_64 machine aki-0000008f ari-00000090


RESERVATION r-l92081x9 proj default INSTANCE i-000000a7 ami-00000091 running None (proj, in01emt17) 0 m1.small 2011-07-05T19:06:41Z nova RESERVATION r-lmgaq69f proj default INSTANCE i-000000a6 ami-0000008e running None (proj, in01emt17) 0 m1.small 2011-07-05T18:12:43Z nova

  1. euca-get-console-output i-000000a7 UnknownError: An unknown error has occurred. Please try your request again.

  2. Nova-compute.log error :

Red Hat Enterprise Linux Server release 6.1 (Santiago)\r\nKernel 2.6.32-131.0.15.el6.x86_64 on an x86_64\r\n\r\nlocalhost.localdomain login: ' 2011-07-06 00:47:47,671 ERROR nova [-] Exception during message handling (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/lib/pymodules/python2.7/nova/", line 190, in _receive (nova): TRACE: msg_reply(msg_id, rval, None) (nova): TRACE: File "/usr/lib/pymodules/python2.7/nova/", line 296, in msg_reply (nova): TRACE: publisher.send({'result': reply, 'failure': failure}) (nova): TRACE: File "/usr/lib/pymodules/python2.7/carrot/", line 765, in send (nova): TRACE: serializer=serializer) (nova): TRACE: File "/usr/lib/pymodules/python2.7/carrot/", line 690, in create_message (nova): TRACE: serializer=serializer) (nova): TRACE: File "/usr/lib/pymodules/python2.7/carrot/", line 144, in encode (nova): TRACE: payload = encoder(data) (nova): TRACE: File "/usr/lib/pymodules/python2.7/anyjson/", line 123, in <lambda> (nova): TRACE: serialize = lambda value: implementation.serialize(value) (nova): TRACE: File "/usr/lib/pymodules/python2.7/anyjson/", line 83, in serialize (nova): TRACE: return self._encode(data) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/simplejson/", line 261, in dumps (nova): TRACE: return _default_encoder.encode(obj) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/simplejson/", line 214, in encode (nova): TRACE: chunks = self.iterencode(o, _one_shot=True) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/simplejson/", line 282, in iterencode (nova): TRACE: return _iterencode(o, 0) (nova): TRACE: UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 10422: invalid start byte (nova): TRACE: 2011-07-06 00:47:47,672 ERROR nova.rpc [-] Returning exception 'utf8' codec can't decode byte 0xff in position 10422: invalid start byte to caller 2011-07-06 00:47:47,672 ERROR nova.rpc [-] ['Traceback (most recent call last):\n', ' File "/usr/lib/pymodules/python2.7/nova/", line 190, in _receive\n msg_reply(msg_id, rval, None)\n', ' File "/usr/lib/pymodules/python2.7/nova/ ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2011-07-14 07:15:18 -0600

av-sudhir gravatar image

The patch suggested by Vish fixed the issue - ( /+preview-diff/+files/preview.diff.

Thanks for all the help.

Regards, Sudhir

edit flag offensive delete link more

answered 2011-07-11 14:57:45 -0600

adriansmith gravatar image

This isn't a solution to your problem but as an alternative to euca-get-console-output you can access the console logs in the file /var/lib/nova/instances/instance-<instance id="">/console.log (on the machine where the instance is running). This might shed some light on what's causing the failure with euca-get-console-output.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-07-05 20:02:00 -0600

Seen: 19 times

Last updated: Jul 14 '11