<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">I top post because I prefer it - if you'd rather I bottom post, please let me know.<br>
<br>
Further to my initial mail, I think that there is a config problem somewhere. <br>
<br>
I wondered if I needed to do everything via an Admin user so I created an admin user as per:<br>
<br>
<a href="http://cssoss.wordpress.com/2011/04/27/openstack-beginners-guide-for-ubuntu-11-04-installation-and-configuration/" target="_blank">http://cssoss.wordpress.com/2011/04/27/openstack-beginners-guide-for-ubuntu-11-04-installation-and-configuration/</a><br>
<br>
Running a basic eucalyptus check gives an error as listed below. <br>
<br>
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.<br>
<br>
root@stack:/home/novaadmin/creds# euca-describe-availability-zones verbose<br>
Warning: failed to parse error message from AWS: <unknown>:1:0: syntax error<br>
EC2ResponseError: 400 Bad Request<br>
400 Bad Request<br>
<br>
The server could not comply with the request since it is either malformed or otherwise incorrect.<br>
<br>
<br>
<br>
<br>
<br>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF199376"><font color="#000000" face="Tahoma" size="2"><b>From:</b> openstack-operators-bounces@lists.openstack.org [openstack-operators-bounces@lists.openstack.org] on behalf of Stephen Tan [stephen.tan@certivox.com]<br>
<b>Sent:</b> 04 November 2011 10:29<br>
<b>To:</b> openstack-operators@lists.openstack.org<br>
<b>Subject:</b> [Openstack-operators] Problems trying to run euca-upload-bundle<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
Hi all<br>
<br>
I'm testing out Openstack for the first time, so please excuse my ignorance - this is a rather large and confusing beast.<br>
<br>
I'm using Devstack running a laptop as outlined here:<br>
<br>
<a href="http://devstack.org/guides/single-machine.html#" target="_blank">http://devstack.org/guides/single-machine.html#</a><br>
<br>
Everything is in the default config state.<br>
<br>
Devstack installed with no problems and I can login the Horizon and view instances as well as launch them.<br>
<br>
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:<br>
<br>
<a href="http://docs.openstack.org/cactus/openstack-compute/admin/content/creating-a-windows-image.html" target="_blank">http://docs.openstack.org/cactus/openstack-compute/admin/content/creating-a-windows-image.html</a><br>
<br>
In order to even get euca-tools running, I had to go through the process of creating a set of user credentials via:<br>
<br>
<a href="http://wiki.openstack.org/RunningNova#Setting_up_your_user" target="_blank">http://wiki.openstack.org/RunningNova#Setting_up_your_user</a><br>
<br>
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.<br>
<br>
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.<br>
<br>
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:
<a href="https://lists.launchpad.net/openstack/msg04613.html" target="_blank">https://lists.launchpad.net/openstack/msg04613.html</a><br>
<br>
I'm afraid that Googling for this has nor produced any helpful direction so I'm now hoping for your expert knowledge :)<br>
<br>
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.<br>
<br>
Output from euca-upload-bundle:<br>
<br>
stack@stack:~/stack_zip$ euca-upload-bundle -b windows_2008_32bit -m /tmp/windows_2008_32bit.img.manifest.xml
<br>
Checking bucket: windows_2008_32bit<br>
Traceback (most recent call last):<br>
  File "/usr/bin/euca-upload-bundle", line 262, in <module><br>
    main()<br>
  File "/usr/bin/euca-upload-bundle", line 240, in main<br>
    bucket_instance = ensure_bucket(conn, bucket, canned_acl)<br>
  File "/usr/bin/euca-upload-bundle", line 95, in ensure_bucket<br>
    bucket_instance = connection.get_bucket(bucket)<br>
  File "/usr/lib/pymodules/python2.7/boto/s3/connection.py", line 275, in get_bucket<br>
    rs = bucket.get_all_keys(headers, maxkeys=0)<br>
  File "/usr/lib/pymodules/python2.7/boto/s3/bucket.py", line 204, in get_all_keys<br>
    headers=headers, query_args=s)<br>
  File "/usr/lib/pymodules/python2.7/boto/s3/connection.py", line 342, in make_request<br>
    data, host, auth_path, sender)<br>
  File "/usr/lib/pymodules/python2.7/boto/connection.py", line 461, in make_request<br>
    return self._mexe(method, path, data, headers, host, sender)<br>
  File "/usr/lib/pymodules/python2.7/boto/connection.py", line 439, in _mexe<br>
    raise e<br>
socket.error: [Errno 111] Connection refused<br>
<br>
<br>
</div>
</div>
</div>
</div>
</body>
</html>