[Openstack] image_service=nova.image.s3.S3ImageService???

2012-04-19 Thread Lorin Hochstein
I'm updating the documentation for this page: 
http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-compute-to-use-the-image-service.html

My question is: is there any use case where you would configure nova to do:

image_service=nova.image.s3.S3ImageService

Looking at the code, it seems like this would not even work. The S3ImageService 
defers several methods (e.g., index, create, delete) to the image service so by 
the image_service flag, so you'd get an infinite recursion. It appears like 
theS3ImageService can only be used as a wrapper around the default image 
service, and can't be a default image service on its own.

I'm going to zap this as a valid option from the documentation (unless someone 
sets me straight here).

Take care,

Lorin
--
Lorin Hochstein
Lead Architect - Cloud Services
Nimbis Services, Inc.
www.nimbisservices.com





___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] image_service=nova.image.s3.S3ImageService???

2012-04-19 Thread Vishvananda Ishaya
Correct, S3ImageService is a wrapper, you can't specify it in the image_service 
config option.

Vish

On Apr 19, 2012, at 8:31 AM, Lorin Hochstein wrote:

 I'm updating the documentation for this page: 
 http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-compute-to-use-the-image-service.html
 
 My question is: is there any use case where you would configure nova to do:
 
 image_service=nova.image.s3.S3ImageService
 
 Looking at the code, it seems like this would not even work. The 
 S3ImageService defers several methods (e.g., index, create, delete) to the 
 image service so by the image_service flag, so you'd get an infinite 
 recursion. It appears like theS3ImageService can only be used as a wrapper 
 around the default image service, and can't be a default image service on its 
 own.
 
 I'm going to zap this as a valid option from the documentation (unless 
 someone sets me straight here).
 
 Take care,
 
 Lorin
 --
 Lorin Hochstein
 Lead Architect - Cloud Services
 Nimbis Services, Inc.
 www.nimbisservices.com
 
 
 
 
 
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp