Ask Your Question
0

Is it possible to install nova-objectstore on a machine different with the one where nova-api is installed?

asked 2011-04-06 06:57:08 -0500

guanxiaohua2k6 gravatar image

I tried to install nova-objectstore on a different machine with the one where nova-api. But When I added images using the command "uec-publish-tarball", the error occurred.

Wed Apr 6 15:44:40 JST 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 Wed Apr 6 15:44:40 JST 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 mybucket/ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz.manifest.xml failed to upload kernel

And I found the that the novarc created by nova-manage command was wrong. The value of S3_URL is the ip address of the local machine where the uec-publish-tarball was executed.

Here is my question. Is it possible to install nova-objectstore on a machine different with the one where nova-api is installed?

Thanks.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2011-04-06 14:39:59 -0500

Hi,

Which version of nova are you using?

If you are working on pre-cactus packages, please use 'glance' instead of nova-objectstore to have a separate image service host from compute nodes.

As for the details, please see:

https://bugs.launchpad.net/nova/+bug/738371 (https://bugs.launchpad.net/nova/+bug/...)

Also, documentation of --image_service to be specified can be found below:

http://docs.openstack.org/openstack-compute/admin/content/ch05s08.html (http://docs.openstack.org/openstack-c...)

But, the description has to be updated. Now, we have to specify

--image_service=nova.image.glance.GlanceImageService

to have a separate image service host.

Thanks, Masanori

edit flag offensive delete link more
0

answered 2011-04-07 01:11:16 -0500

guanxiaohua2k6 gravatar image

I am Kan. Thank you, Itoh san.

The version I used is 2011.2~bzr942-0ubuntu0ppa1~maverick1.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-04-06 06:57:08 -0500

Seen: 36 times

Last updated: Apr 07 '11