[openstack-dev] Cells design issue

Robert Collins robertc at robertcollins.net
Fri Jun 14 21:58:21 UTC 2013


On 15 June 2013 07:41, Chris Behrens <cbehrens at codestud.com> wrote:
>
> On Jun 13, 2013, at 11:26 PM, Mark McLoughlin <markmc at redhat.com> wrote:
>
>> Is there any reason not to just put it in nova.conf as transport URLs?
>>
>> (By nova.conf, I mean cfg.CONF for nova which means you could happily do
>> e.g. --config-file nova-cells.conf too)
>
> The issue with using cfg.CONF is that we need the same config options for each cell.  So, I guess you'd have to dynamically create the config groups with cell name as the group name… and have some sort of global option or an option in a different config group that specifies the list of cells.  I think it just gets kinda nasty.  But let me know if I'm missing a good way to do it.  It seems like JSON is going to be a little more flexible. :)

Well the only thing that really needs to move to config is credentials.

so rabbit endpoint could be in the db, along with metrics etc
just
parent_password = X
parent_user = Y
child1_user = X
child1_password = Y

or as you say groups - but the DB will tell you what groups are needed.

-Rob
-- 
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Cloud Services



More information about the OpenStack-dev mailing list