[Openstack-operators] Problems trying to run euca-upload-bundle

Stephen Tan stephen.tan at certivox.com
Mon Nov 7 10:30:21 UTC 2011


After running through the Devstack docs and scripts installed with Devstack, I have discovered that the nova-manage command is broken!

The other post this week appears to echo my experience.

"Error getting virtual servers up and running"  by Alex Chen. He too appears to be suffering.

Stephen


________________________________
From: openstack-operators-bounces at lists.openstack.org [openstack-operators-bounces at lists.openstack.org] on behalf of Stephen Tan [stephen.tan at certivox.com]
Sent: 04 November 2011 10:59
To: openstack-operators at lists.openstack.org
Subject: Re: [Openstack-operators] Problems trying to run euca-upload-bundle

I top post because I prefer it - if you'd rather I bottom post, please let me know.

Further to my initial mail, I think that there is a config problem somewhere.

I wondered if I needed to do everything via an Admin user so I created an admin user as per:

http://cssoss.wordpress.com/2011/04/27/openstack-beginners-guide-for-ubuntu-11-04-installation-and-configuration/

Running a basic eucalyptus check gives an error as listed below.

I am wondering if I should re-install and NOT use Devstack? My problem is that Devstack automated everything and I don't know where the logs might be if something went wrong. Everything seems fine when I use the Horizon interface however so I'm puzzled.

root at stack:/home/novaadmin/creds# euca-describe-availability-zones verbose
Warning: failed to parse error message from AWS: <unknown>:1:0: syntax error
EC2ResponseError: 400 Bad Request
400 Bad Request

The server could not comply with the request since it is either malformed or otherwise incorrect.





________________________________
From: openstack-operators-bounces at lists.openstack.org [openstack-operators-bounces at lists.openstack.org] on behalf of Stephen Tan [stephen.tan at certivox.com]
Sent: 04 November 2011 10:29
To: openstack-operators at lists.openstack.org
Subject: [Openstack-operators] Problems trying to run euca-upload-bundle

Hi all

I'm testing out Openstack for the first time, so please excuse my ignorance - this is a rather large and confusing beast.

I'm using Devstack running a laptop as outlined here:

http://devstack.org/guides/single-machine.html#

Everything is in the default config state.

Devstack installed with no problems and I can login the Horizon and view instances as well as launch them.

I'm now trying to do a bit more. One of the things we want to do with Openstack is to run Windows instances so I've created a Windows image as per this URL:

http://docs.openstack.org/cactus/openstack-compute/admin/content/creating-a-windows-image.html

In order to even get euca-tools running, I had to go through the process of creating a set of user credentials via:

http://wiki.openstack.org/RunningNova#Setting_up_your_user

This allowed me to run the euca-create-image command. However, when I try to upload the image, I get a connection refused error. It would seem that something is either not running or that something is not configured correctly. I have listed the error from this at the bottom of this mail.

It would seem that Image management is done by Glance. Glance seems to be running and I can see output from Horizon, but I cannot seem to get any meaningful output from the glance command line tool. ( eg: "Exception: Unexpected response: 400" ). I am confused.

There are some references to "glancerc" which I can't find any trace of in my documents. There is a rather confusing mailing list topic here which I tried to create a glancerc from, but I continue to get errors. The topic I refer to is: https://lists.launchpad.net/openstack/msg04613.html

I'm afraid that Googling for this has nor produced any helpful direction so I'm now hoping for your expert knowledge :)

What I would really like is to see some meaningful documentation on how glance and eucatools knit together. Am I missing something obvious here? The available documents seem to be extremely sparse. Any help would be greatly appreciated.

Output from euca-upload-bundle:

stack at stack:~/stack_zip$ euca-upload-bundle -b windows_2008_32bit -m /tmp/windows_2008_32bit.img.manifest.xml
Checking bucket: windows_2008_32bit
Traceback (most recent call last):
  File "/usr/bin/euca-upload-bundle", line 262, in <module>
    main()
  File "/usr/bin/euca-upload-bundle", line 240, in main
    bucket_instance = ensure_bucket(conn, bucket, canned_acl)
  File "/usr/bin/euca-upload-bundle", line 95, in ensure_bucket
    bucket_instance = connection.get_bucket(bucket)
  File "/usr/lib/pymodules/python2.7/boto/s3/connection.py", line 275, in get_bucket
    rs = bucket.get_all_keys(headers, maxkeys=0)
  File "/usr/lib/pymodules/python2.7/boto/s3/bucket.py", line 204, in get_all_keys
    headers=headers, query_args=s)
  File "/usr/lib/pymodules/python2.7/boto/s3/connection.py", line 342, in make_request
    data, host, auth_path, sender)
  File "/usr/lib/pymodules/python2.7/boto/connection.py", line 461, in make_request
    return self._mexe(method, path, data, headers, host, sender)
  File "/usr/lib/pymodules/python2.7/boto/connection.py", line 439, in _mexe
    raise e
socket.error: [Errno 111] Connection refused


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20111107/dc9dd389/attachment-0002.html>


More information about the Openstack-operators mailing list