PDA

View Full Version : [ubuntu] Can't attach volumes to my instance



Ohm's Lawyer
October 19th, 2010, 04:06 AM
Hello again,
I've hit the next snag in my adventure in UEC cloud computing. I can't seem attach volumes to my instance. I can create the volume, and I can run my instance, but when I run the command:

euca-attach-volume -i i-xxxxxxxx -d /dev/sdb vol-xxxxxxxx

it will change the status of the volume from "available" to "in use" for about 3 seconds, then change back to "available". All the while the instance never sees the volume.

Any one have any ideas?

Thanks in advance.

marrusl
October 19th, 2010, 01:04 PM
Hi OL,

In /var/log/eucalyptus/ on the front end machine, take a look through the most recent cloud-error.log, cloud-debug.log, and cloud-output.log. You should find a related error there. You also should check the nc.log on the Node Controller.

Post the errors here or if they are way to long use http://pastebin.ubuntu.com/

Also, check the VNET_INTERFACE in eucalyptus.conf on your CLC/SC and make sure it's correct.

Regards,
Mark

Ohm's Lawyer
October 24th, 2010, 07:48 PM
Hi Mark,
Thanks for replying. The specific error I'm getting is:

DoAttachVolume failed error=1 (code=9)

Otherwise my VNET_INTERFACE settings look correct.

Thanks again