** Changed in: cinder Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1280826
Title: config generator fails when project enables lazy messages Status in OpenStack Telemetry (Ceilometer): Fix Released Status in Cinder: Fix Released Status in OpenStack Compute (Nova): Fix Released Status in Oslo - a Library of Common OpenStack Code: Fix Released Bug description: When lazy message translation is enabled in Nova, the check_update.sh calls generate_sample.sh, which uses a copy of oslo's config/generator.py which produces the following message: CRITICAL nova [-] TypeError: Message objects do not support addition. The config/generator.py module installs i18n without lazy enabled (named parameter 'lazy' not specified): gettextutils.install('nova') To gather information about the projects options, it loads the project modules looking for entry points. When these modules are loaded, they may contain code to enable lazy. In the case of Nova this is the nova/cmds/__init__.py which calls: gettextutils.enable_lazy() This means that the messages returned with information for the entry points are lazy enabled. Thus when config/generator.py tries to work with the help message for the option associated with the Nova modules: opt_help += ' (' + OPT_TYPES[opt_type] + ')' it fails because opt_help is a gettextutils.Message instance, which doesn't support addition. To manage notifications about this bug go to: https://bugs.launchpad.net/ceilometer/+bug/1280826/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp