[Openstack-operators] Problems trying to run euca-upload-bundle
Stephen Tan
stephen.tan at certivox.com
Fri Nov 4 10:29:48 UTC 2011
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/20111104/03af0629/attachment-0002.html>
More information about the Openstack-operators
mailing list