Please note: This schedule is for OpenStack Active Technical Contributors participating in the Icehouse Design Summit sessions in Hong Kong. These are working sessions to determine the roadmap of the Icehouse release and make decisions across the project. To see the full OpenStack Summit schedule, including presentations, panels and workshops, go to http://openstacksummitnovember2013.sched.org.
Back To Schedule
Wednesday, November 6 • 2:00pm - 2:40pm
oslo.config enhancements

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

This session will include the following subject(s):

Local conf objects and sample conf file generation:

As more projects started to interoperate in OpenStack, services are refraining use of global configuration objects and switching to local objects.

However this has an impact on generating sample config files, since the generator script relies on the global object. We have consensus that sample config files are needed but the overall coverage is regressing as more config objects are going local.


Let discuss how we can manage to use local config objects and still identify all options.

(Session proposed by Zhongyue Luo)

Removing import-time side-effects from oslo.config:

Most apps use oslo.config by relying on options to be registered as code is loaded. Many modules throughout the OpenStack code base have blocks that import the global config object from oslo.config and then register options on the object. This means importing a module changes global state shared by the application, in a way that cannot be undone or reproduced by unit tests. This proposal describes a way to avoid having import-time side-effects while maintaining our current level of discoverability.

(Session proposed by Doug Hellmann)

Wednesday November 6, 2013 2:00pm - 2:40pm HKT
AWE Level 2, Room 201B

Attendees (0)