AttributeError: 'module' object has no attribute 'convert_to_boolean'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Critical
|
Jesse Pretorius | ||
networking-midonet |
Fix Released
|
Critical
|
YAMAMOTO Takashi | ||
neutron |
Fix Released
|
High
|
fumihiko kakuma | ||
vmware-nsx |
Fix Released
|
Undecided
|
Adit Sarfaty |
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_concurrenc
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/
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/
2016-11-08 21:54:39.435 TRACE neutron.service self.wsgi_app = _run_wsgi(
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/
2016-11-08 21:54:39.435 TRACE neutron.service app = config.
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/
2016-11-08 21:54:39.435 TRACE neutron.service app = loader.
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/
2016-11-08 21:54:39.435 TRACE neutron.service return deploy.
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/
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/
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/
2016-11-08 21:54:39.435 TRACE neutron.service return self.object_
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/
2016-11-08 21:54:39.435 TRACE neutron.service **context.
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/
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/
2016-11-08 21:54:39.435 TRACE neutron.service app = loader.
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/
2016-11-08 21:54:39.435 TRACE neutron.service name=name, global_
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/
2016-11-08 21:54:39.435 TRACE neutron.service return self.object_
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/
2016-11-08 21:54:39.435 TRACE neutron.service **context.
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/
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/
2016-11-08 21:54:39.435 TRACE neutron.service app = loader.
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/
2016-11-08 21:54:39.435 TRACE neutron.service name=name, global_
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/
2016-11-08 21:54:39.435 TRACE neutron.service return self.object_
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/
2016-11-08 21:54:39.435 TRACE neutron.service return fix_call(
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/
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/
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/
2016-11-08 21:54:39.435 TRACE neutron.service plugin = manager.
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/
2016-11-08 21:54:39.435 TRACE neutron.service return weakref.
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/
2016-11-08 21:54:39.435 TRACE neutron.service cls._create_
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/
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/
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/
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/
2016-11-08 21:54:39.435 TRACE neutron.service plugin_class = self.load_
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/
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/
2016-11-08 21:54:39.435 TRACE neutron.service plugin_class = self.load_
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/
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/
2016-11-08 21:54:39.435 TRACE neutron.service class_to_load = importutils.
2016-11-08 21:54:39.435 TRACE neutron.service File "/usr/local/
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/
2016-11-08 21:54:39.435 TRACE neutron.service from vmware_
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/
2016-11-08 21:54:39.435 TRACE neutron.service from vmware_nsx.db import extended_
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/
2016-11-08 21:54:39.435 TRACE neutron.service from vmware_
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/
2016-11-08 21:54:39.435 TRACE neutron.service 'convert_to': attributes.
2016-11-08 21:54:39.435 TRACE neutron.service File "/opt/stack/
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_
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_
summary: |
- Neutron service q-svc couldn't start + AttributeError: 'module' object has no attribute 'convert_to_boolean' |
tags: | added: l3-bgp |
Changed in neutron: | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in openstack-ansible: | |
importance: | Undecided → Critical |
assignee: | nobody → Jesse Pretorius (jesse-pretorius) |
status: | Confirmed → In Progress |
Changed in openstack-ansible: | |
status: | In Progress → Fix Released |
Changed in neutron: | |
status: | In Progress → Fix Committed |
Changed in networking-midonet: | |
milestone: | 3.0.0 → 4.0.0 |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in vmware-nsx: | |
status: | Fix Committed → Fix Released |
It seems this issue is caused by the following two patches from neutron repo: 44eb8c028477686 7e4eba518b
commit 04bee5befc785cb
Merge: 7c59522 6d85a51
Author: Jenkins <email address hidden>
Date: Tue Nov 8 20:19:54 2016 +0000
Merge "Removed deprecation warning for converters and validators"
commit 7c59522790d83d0 4c4bfe96508e784 b9a809a8e9
Merge: 4752418 e43eb80
Author: Jenkins <email address hidden>
Date: Tue Nov 8 20:16:40 2016 +0000
Merge "Removed deprecation warning for waiting_until_true"
After I reset to commit 475241834dae0d9 e252e693dfca35f bff1513a57, then neutron server can start.