yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58519
[Bug 1640319] Re: AttributeError: 'module' object has no attribute 'convert_to_boolean'
neutron-dynamic-routing is installed by default in our neutron venvs, so
we are impacted by this issue too.
** Also affects: openstack-ansible
Importance: Undecided
Status: New
** Changed in: openstack-ansible
Status: New => Confirmed
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1640319
Title:
AttributeError: 'module' object has no attribute 'convert_to_boolean'
Status in neutron:
In Progress
Status in openstack-ansible:
Confirmed
Status in vmware-nsx:
New
Bug description:
With latest neutron master code, neutron service q-svc could start due to the following error:
2016-11-08 21:54:39.435 DEBUG oslo_concurrency.lockutils [-] Lock "manager" released by "neutron.manager._create_instance" :: held 1.467s from (pid=18534) inner /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:282
2016-11-08 21:54:39.435 ERROR neutron.service [-] Unrecoverable error: please check log for details.
2016-11-08 21:54:39.435 TRACE neutron.service Traceback (most recent call last):
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/neutron/neutron/service.py", line 87, in serve_wsgi
2016-11-08 21:54:39.435 TRACE neutron.service service.start()
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/neutron/neutron/service.py", line 63, in start
2016-11-08 21:54:39.435 TRACE neutron.service self.wsgi_app = _run_wsgi(self.app_name)
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/neutron/neutron/service.py", line 289, in _run_wsgi
2016-11-08 21:54:39.435 TRACE neutron.service app = config.load_paste_app(app_name)
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/neutron/neutron/common/config.py", line 125, in load_paste_app
2016-11-08 21:54:39.435 TRACE neutron.service app = loader.load_app(app_name)
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/oslo_service/wsgi.py", line 353, in load_app
2016-11-08 21:54:39.435 TRACE neutron.service return deploy.loadapp("config:%s" % self.config_path, name=name)
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2016-11-08 21:54:39.435 TRACE neutron.service return loadobj(APP, uri, name=name, **kw)
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2016-11-08 21:54:39.435 TRACE neutron.service return context.create()
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2016-11-08 21:54:39.435 TRACE neutron.service return self.object_type.invoke(self)
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2016-11-08 21:54:39.435 TRACE neutron.service **context.local_conf)
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2016-11-08 21:54:39.435 TRACE neutron.service val = callable(*args, **kw)
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/paste/urlmap.py", line 31, in urlmap_factory
2016-11-08 21:54:39.435 TRACE neutron.service app = loader.get_app(app_name, global_conf=global_conf)
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2016-11-08 21:54:39.435 TRACE neutron.service name=name, global_conf=global_conf).create()
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2016-11-08 21:54:39.435 TRACE neutron.service return self.object_type.invoke(self)
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2016-11-08 21:54:39.435 TRACE neutron.service **context.local_conf)
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2016-11-08 21:54:39.435 TRACE neutron.service val = callable(*args, **kw)
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/neutron/neutron/auth.py", line 71, in pipeline_factory
2016-11-08 21:54:39.435 TRACE neutron.service app = loader.get_app(pipeline[-1])
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2016-11-08 21:54:39.435 TRACE neutron.service name=name, global_conf=global_conf).create()
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2016-11-08 21:54:39.435 TRACE neutron.service return self.object_type.invoke(self)
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, in invoke
2016-11-08 21:54:39.435 TRACE neutron.service return fix_call(context.object, context.global_conf, **context.local_conf)
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2016-11-08 21:54:39.435 TRACE neutron.service val = callable(*args, **kw)
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/neutron/neutron/api/v2/router.py", line 72, in factory
2016-11-08 21:54:39.435 TRACE neutron.service return cls(**local_config)
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/neutron/neutron/api/v2/router.py", line 76, in __init__
2016-11-08 21:54:39.435 TRACE neutron.service plugin = manager.NeutronManager.get_plugin()
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/neutron/neutron/manager.py", line 246, in get_plugin
2016-11-08 21:54:39.435 TRACE neutron.service return weakref.proxy(cls.get_instance().plugin)
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/neutron/neutron/manager.py", line 240, in get_instance
2016-11-08 21:54:39.435 TRACE neutron.service cls._create_instance()
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 271, in inner
2016-11-08 21:54:39.435 TRACE neutron.service return f(*args, **kwargs)
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/neutron/neutron/manager.py", line 226, in _create_instance
2016-11-08 21:54:39.435 TRACE neutron.service cls._instance = cls()
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/neutron/neutron/manager.py", line 127, in __init__
2016-11-08 21:54:39.435 TRACE neutron.service plugin_provider)
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/neutron/neutron/manager.py", line 161, in _get_plugin_instance
2016-11-08 21:54:39.435 TRACE neutron.service plugin_class = self.load_class_for_provider(namespace, plugin_provider)
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/neutron/neutron/manager.py", line 155, in load_class_for_provider
2016-11-08 21:54:39.435 TRACE neutron.service plugin_provider)
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/neutron/neutron/manager.py", line 161, in _get_plugin_instance
2016-11-08 21:54:39.435 TRACE neutron.service plugin_class = self.load_class_for_provider(namespace, plugin_provider)
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/neutron/neutron/manager.py", line 155, in load_class_for_provider
2016-11-08 21:54:39.435 TRACE neutron.service plugin_provider)
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/neutron/neutron/common/utils.py", line 368, in load_class_by_alias_or_classname
2016-11-08 21:54:39.435 TRACE neutron.service class_to_load = importutils.import_class(name)
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 30, in import_class
2016-11-08 21:54:39.435 TRACE neutron.service __import__(mod_str)
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/vmware-nsx/vmware_nsx/plugin.py", line 20, in <module>
2016-11-08 21:54:39.435 TRACE neutron.service from vmware_nsx.plugins.nsx_v import plugin as nsx_v
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/vmware-nsx/vmware_nsx/plugins/nsx_v/plugin.py", line 91, in <module>
2016-11-08 21:54:39.435 TRACE neutron.service from vmware_nsx.db import extended_security_group as extended_secgroup
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/vmware-nsx/vmware_nsx/db/extended_security_group.py", line 35, in <module>
2016-11-08 21:54:39.435 TRACE neutron.service from vmware_nsx.extensions import securitygrouplogging as sg_logging
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/vmware-nsx/vmware_nsx/extensions/securitygrouplogging.py", line 25, in <module>
2016-11-08 21:54:39.435 TRACE neutron.service 'convert_to': attributes.convert_to_boolean,
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/neutron/neutron/common/_deprecate.py", line 126, in __getattr__
2016-11-08 21:54:39.435 TRACE neutron.service _("'module' object has no attribute '%s'") % name)
2016-11-08 21:54:39.435 TRACE neutron.service AttributeError: 'module' object has no attribute 'convert_to_boolean'
2016-11-08 21:54:39.435 TRACE neutron.service
2016-11-08 21:54:39.440 CRITICAL neutron [-] AttributeError: 'module' object has no attribute 'convert_to_boolean'
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1640319/+subscriptions
References