Ask Your Question
0

uec-publish-tarball: Failed to upload kernel

asked 2011-04-25 20:36:41 -0500

graham-hemingway gravatar image

I am trying to upload an image to my cloud. On one node I have all of the Nova services (except compute) and also all Glance services. On my other node is nova-compute. When I try uec-publish-tarball using the tty kernel I get the following error:

uec-publish-tarball ttylinux-uec-amd64-12.1_2.6.35-22_1.tar.gz tty_bucket

Mon Apr 25 15:29:08 CDT 2011: ====== extracting image ====== kernel : ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz ramdisk: ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd image : ttylinux-uec-amd64-12.1_2.6.35-22_1.img Mon Apr 25 15:29:09 CDT 2011: ====== bundle/upload kernel ====== Traceback (most recent call last): File "/usr/bin/euca-upload-bundle", line 231, in <module> main() File "/usr/bin/euca-upload-bundle", line 214, in main bucket_instance = ensure_bucket(conn, bucket, canned_acl) File "/usr/bin/euca-upload-bundle", line 87, in ensure_bucket bucket_instance = connection.get_bucket(bucket) File "/usr/lib/pymodules/python2.6/boto/s3/connection.py", line 275, in get_bucket rs = bucket.get_all_keys(headers, maxkeys=0) File "/usr/lib/pymodules/python2.6/boto/s3/bucket.py", line 204, in get_all_keys headers=headers, query_args=s) File "/usr/lib/pymodules/python2.6/boto/s3/connection.py", line 342, in make_request data, host, auth_path, sender) File "/usr/lib/pymodules/python2.6/boto/connection.py", line 459, in make_request return self._mexe(method, path, data, headers, host, sender) File "/usr/lib/pymodules/python2.6/boto/connection.py", line 437, in _mexe raise e socket.error: [Errno 111] Connection refused failed to upload bundle to tty_bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml failed: euca-upload-bundle --bucket tty_bucket --manifest /tmp/uec-publish-image.MOoajf/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml Checking bucket: tty_bucketfailed to upload kernel

Thank you. Cheers, Graham

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2011-04-25 20:57:14 -0500

vishvananda gravatar image

looks like it is failing to connect to nova-objectstore a) ensure nova-objectstore is running b) check S3_URL in your novarc and make sure that the ip correct and accessible from wherever you are uploading from. You can modify it if it is somehow set incorrectly

On Apr 25, 2011, at 1:36 PM, Graham Hemingway wrote:

New question #154229 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+q...

I am trying to upload an image to my cloud. On one node I have all of the Nova services (except compute) and also all Glance services. On my other node is nova-compute. When I try uec-publish-tarball using the tty kernel I get the following error:

uec-publish-tarball ttylinux-uec-amd64-12.1_2.6.35-22_1.tar.gz tty_bucket

Mon Apr 25 15:29:08 CDT 2011: ====== extracting image ====== kernel : ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz ramdisk: ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd image : ttylinux-uec-amd64-12.1_2.6.35-22_1.img Mon Apr 25 15:29:09 CDT 2011: ====== bundle/upload kernel ====== Traceback (most recent call last): File "/usr/bin/euca-upload-bundle", line 231, in <module> main() File "/usr/bin/euca-upload-bundle", line 214, in main bucket_instance = ensure_bucket(conn, bucket, canned_acl) File "/usr/bin/euca-upload-bundle", line 87, in ensure_bucket bucket_instance = connection.get_bucket(bucket) File "/usr/lib/pymodules/python2.6/boto/s3/connection.py", line 275, in get_bucket rs = bucket.get_all_keys(headers, maxkeys=0) File "/usr/lib/pymodules/python2.6/boto/s3/bucket.py", line 204, in get_all_keys headers=headers, query_args=s) File "/usr/lib/pymodules/python2.6/boto/s3/connection.py", line 342, in make_request data, host, auth_path, sender) File "/usr/lib/pymodules/python2.6/boto/connection.py", line 459, in make_request return self._mexe(method, path, data, headers, host, sender) File "/usr/lib/pymodules/python2.6/boto/connection.py", line 437, in _mexe raise e socket.error: [Errno 111] Connection refused failed to upload bundle to tty_bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml failed: euca-upload-bundle --bucket tty_bucket --manifest /tmp/uec-publish-image.MOoajf/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml Checking bucket: tty_bucketfailed to upload kernel

Thank you. Cheers, Graham


You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more
0

answered 2011-04-25 21:55:06 -0500

graham-hemingway gravatar image

On Apr 25, 2011, at 4:00 PM, Vish Ishaya wrote:

Vish Ishaya proposed the following answer: looks like it is failing to connect to nova-objectstore a) ensure nova-objectstore is running

It is running.

b) check S3_URL in your novarc and make sure that the ip correct and accessible from wherever you are uploading from. You can modify it if it is somehow set incorrectly

I don't have an S3_URL flag. I have S3_host which looks correct. I did find this question in the Glance: https://answers.launchpad.net/glance/+question/153638 (https://answers.launchpad.net/glance/...) It sounds very similar though I am getting a different error. Please let me know if I should configure S3_URL.

On Apr 25, 2011, at 1:36 PM, Graham Hemingway wrote:

New question #154229 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+question/154229 (https://answers.launchpad.net/nova/+q...)

I am trying to upload an image to my cloud. On one node I have all of the Nova services (except compute) and also all Glance services. On my other node is nova-compute. When I try uec-publish-tarball using the tty kernel I get the following error:

uec-publish-tarball ttylinux-uec-amd64-12.1_2.6.35-22_1.tar.gz tty_bucket

Mon Apr 25 15:29:08 CDT 2011: ====== extracting image ====== kernel : ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz ramdisk: ttylinux-uec-amd64-12.1_2.6.35-22_1-initrd image : ttylinux-uec-amd64-12.1_2.6.35-22_1.img Mon Apr 25 15:29:09 CDT 2011: ====== bundle/upload kernel ====== Traceback (most recent call last): File "/usr/bin/euca-upload-bundle", line 231, in <module> main() File "/usr/bin/euca-upload-bundle", line 214, in main bucket_instance = ensure_bucket(conn, bucket, canned_acl) File "/usr/bin/euca-upload-bundle", line 87, in ensure_bucket bucket_instance = connection.get_bucket(bucket) File "/usr/lib/pymodules/python2.6/boto/s3/connection.py", line 275, in get_bucket rs = bucket.get_all_keys(headers, maxkeys=0) File "/usr/lib/pymodules/python2.6/boto/s3/bucket.py", line 204, in get_all_keys headers=headers, query_args=s) File "/usr/lib/pymodules/python2.6/boto/s3/connection.py", line 342, in make_request data, host, auth_path, sender) File "/usr/lib/pymodules/python2.6/boto/connection.py", line 459, in make_request return self._mexe(method, path, data, headers, host, sender) File "/usr/lib/pymodules/python2.6/boto/connection.py", line 437, in _mexe raise e socket.error: [Errno 111] Connection refused failed to upload bundle to tty_bucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml failed: euca-upload-bundle --bucket tty_bucket --manifest /tmp/uec-publish-image.MOoajf/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml Checking bucket: tty_bucketfailed to upload kernel

Thank you. Cheers, Graham

edit flag offensive delete link more
0

answered 2011-04-25 21:57:49 -0500

graham-hemingway gravatar image

Vish,

Nevermind. I see that my S3_URL is indeed misconfigured. I was looking in nova.conf not in novarc. I will try again. Cheers, Graham

edit flag offensive delete link more
0

answered 2011-05-30 10:56:19 -0500

moubarik-siham gravatar image

please can you help me I have the same problem,i have changed the S3_URL in novarc and the servcie nova-objectstore is already running

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-04-25 20:36:41 -0500

Seen: 69 times

Last updated: May 30 '11