[openstack-dev] MultiStrOpt opts can be problematic...

Matt Riedemann mriedem at us.ibm.com
Thu Aug 29 00:40:36 UTC 2013


Ha!  My team totally ran into the same issue.  I was hoping that Padraig's 
crudini would make my dreams come true but I don't think it's handling 
multi-string options.

https://github.com/pixelb/crudini 

So +1 to getting rid of those.



Thanks,

MATT RIEDEMANN
Advisory Software Engineer
Cloud Solutions and OpenStack Development

Phone: 1-507-253-7622 | Mobile: 1-507-990-1889
E-mail: mriedem at us.ibm.com


3605 Hwy 52 N
Rochester, MN 55901-1407
United States




From:   Dan Prince <dprince at redhat.com>
To:     OpenStack Development Mailing List 
<openstack-dev at lists.openstack.org>, 
Date:   08/28/2013 12:54 PM
Subject:        [openstack-dev] MultiStrOpt opts can be problematic...



So I recently ran into a fun config issue in trying to configure Nova to 
work w/ Ceilometer using Puppet:

  https://bugs.launchpad.net/puppet-ceilometer/+bug/1217867

Today, what you need to do to make Nova work with ceilometer is add this 
to your nova.conf file:

 notification_driver=nova.openstack.common.notifier.rpc_notifier
 notification_driver=ceilometer.compute.nova_notifier

As it turns out Multi-line config entries aren't very fun to deal with in 
the config management world. The puppet nova_config provider doesn't (yet) 
have a good way to support them. The core of the issue is they pose all 
sorts of problems in knowing whether a given tool should modify the 
existing config values.


In the short term we can look into doing one of these Puppet land:

 -Using a conf.d directory for config (would require a change to the 
nova-compute init script to use --config-dir)
 -String together various resources in puppet to "make it work", etc. 
(file_line, augeus, etc)

Long term though I'm thinking what if MultiStrOpt's were to go away? They 
seem to be more trouble than they are worth...

Dan

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130828/e2e3fc4d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1851 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130828/e2e3fc4d/attachment.gif>


More information about the OpenStack-dev mailing list