yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #13639
[Bug 1308421] [NEW] local variable 'physical_network' referenced before assignment
Public bug reported:
In my case, triggered by running neutron-usage-audit. Fix underway.
Traceback (most recent call last):
File "~/bin/neutron-usage-audit", line 10, in <module>
sys.exit(main())
File "~/neutron/cmd/usage_audit.py", line 37, in main
plugin = manager.NeutronManager.get_plugin()
File "~/neutron/manager.py", line 211, in get_plugin
return cls.get_instance().plugin
File "~/neutron/manager.py", line 206, in get_instance
cls._create_instance()
File "~/neutron/openstack/common/lockutils.py", line 249, in inner
return f(*args, **kwargs)
File "~/neutron/manager.py", line 200, in _create_instance
cls._instance = cls()
File "~/neutron/manager.py", line 112, in __init__
plugin_provider)
File "~/neutron/manager.py", line 140, in _get_plugin_instance
return plugin_class()
File "~/neutron/plugins/linuxbridge/lb_neutron_plugin.py", line 263, in __init__
db.sync_network_states(self.network_vlan_ranges)
File "~/neutron/plugins/linuxbridge/db/l2network_db_v2.py", line 87, in sync_network_states
'physical_network': physical_network})
UnboundLocalError: local variable 'physical_network' referenced before assignment
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1308421
Title:
local variable 'physical_network' referenced before assignment
Status in OpenStack Neutron (virtual network service):
New
Bug description:
In my case, triggered by running neutron-usage-audit. Fix underway.
Traceback (most recent call last):
File "~/bin/neutron-usage-audit", line 10, in <module>
sys.exit(main())
File "~/neutron/cmd/usage_audit.py", line 37, in main
plugin = manager.NeutronManager.get_plugin()
File "~/neutron/manager.py", line 211, in get_plugin
return cls.get_instance().plugin
File "~/neutron/manager.py", line 206, in get_instance
cls._create_instance()
File "~/neutron/openstack/common/lockutils.py", line 249, in inner
return f(*args, **kwargs)
File "~/neutron/manager.py", line 200, in _create_instance
cls._instance = cls()
File "~/neutron/manager.py", line 112, in __init__
plugin_provider)
File "~/neutron/manager.py", line 140, in _get_plugin_instance
return plugin_class()
File "~/neutron/plugins/linuxbridge/lb_neutron_plugin.py", line 263, in __init__
db.sync_network_states(self.network_vlan_ranges)
File "~/neutron/plugins/linuxbridge/db/l2network_db_v2.py", line 87, in sync_network_states
'physical_network': physical_network})
UnboundLocalError: local variable 'physical_network' referenced before assignment
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1308421/+subscriptions
Follow ups
References