[Openstack] Problem When uploading a windows Image

管暁華 guanxiaohua2k6 at gmail.com
Mon Apr 23 01:34:39 UTC 2012


Hi,

Please confirm the environment variable "S3_URL" with the following command.

export | grep S3

Normally the value should be something like
"http://XXX.XXX.XXX.XXX:3333". If the IP address is specified you
should confirm whether it is valid. If the host name is specified you
should confirm whether the name could be resolved.

Hope it can be helpful.

Guan.

On Mon, Apr 23, 2012 at 9:02 AM, ghassen ben hamida
<ghassen.ben.hamida at gmail.com> wrote:
> I'm trying runnig a windows image on nova
> I run the image under KVM (qemu), i have disabled the firewall and have
> activated the RDP connection.
> I run succesfully the "euca-bundle-image" command but i'm trying to execute
> the "euca-upload-bundle" i have the following error !
> any idea about that !! i really need help !
>
> #euca-upload-bundle -b image-bucket -m /tmp/windows.img.manifest.xml
> Checking bucket: image-bucket
> Traceback (most recent call last):
>   File "/usr/bin/euca-upload-bundle", line 261, in <module>
>     main()
>   File "/usr/bin/euca-upload-bundle", line 239, in main
>     bucket_instance = ensure_bucket(conn, bucket, canned_acl)
>   File "/usr/bin/euca-upload-bundle", line 94, in ensure_bucket
>     bucket_instance = connection.get_bucket(bucket)
>   File "/usr/lib/python2.6/site-packages/boto/s3/connection.py", line 275,
> in get_bucket
>     rs = bucket.get_all_keys(headers, maxkeys=0)
>   File "/usr/lib/python2.6/site-packages/boto/s3/bucket.py", line 204, in
> get_all_keys
>     headers=headers, query_args=s)
>   File "/usr/lib/python2.6/site-packages/boto/s3/connection.py", line 342,
> in make_request
>     data, host, auth_path, sender)
>   File "/usr/lib/python2.6/site-packages/boto/connection.py", line 460, in
> make_request
>     return self._mexe(method, path, data, headers, host, sender)
>   File "/usr/lib/python2.6/site-packages/boto/connection.py", line 438, in
> _mexe
>     raise e
> socket.gaierror: [Errno -2] Name or service not known
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>




More information about the Openstack mailing list