This is a bug, https://bugs.launchpad.net/nova/+bug/901459
You can change the project_id to p.id and get the server to start. I'm in the
process of testing something else, then we need some more testing around the
QuantumManager.
~ Aaron
On Dec 7, 2011, at 4:36 PM, Andy Bierman wrote:
Hi,
I am not able to get lp:nova and lp:quantum to work together, even with the
FakePlugin.
(euca-run-instances fails. Using standard libvirt settings except
–libvirt_vif_type=bridge
instead of ethernet, but setting it to ethernet doesn’t change the bug.)
It looks like a bug was just introduced into nova/network/quantum/manager.py.
The new get_all_networks() fn has an undefined symbol ‘project_id’.
Before that (with last week’s code) I hit a different bug in
nova/virt/libvirt/vif.py(LibvirtBridgeDriver._get_configurations).
result = {
'id': mac_id,
'bridge_name': network['bridge'],
'mac_address': mapping['mac'],
'ip_address': mapping['ips'][0]['ip'],
'dhcp_server': mapping['dhcp_server'],
'extra_params': extra_params,
}
There is no field network[‘bridge’].
This isn’t the db/sqlalchemy/models(Network). This is part of a network,
mapping tuple
in network_info. Anyway, network[‘bridge’] is a uuid. (Hardwiring it to a name
like ‘br100’ or the bridge uuid causes
the VM start to fail because the bridge cannot be found.)
BTW, ‘nova-manage config list’ does not work either:
(nova): TRACE: File
"/usr/local/lib/python2.7/dist-packages/nova-2012.1-py2.7.egg/nova/flags.py",
line 138, in __getattr__
(nova): TRACE: val = getattr(self._values, name)
(nova): TRACE: AttributeError: Values instance has no attribute
'FlagsIntoString'
Are there versions of nova and quantum that work together yet?
Am I just configuring something wrong (just set NetworkManager to quantum)?
thanks,
Andy
--
Mailing list: https://launchpad.net/~netstack
Post to : [email protected]<mailto:[email protected]>
Unsubscribe : https://launchpad.net/~netstack
More help : https://help.launchpad.net/ListHelp
--
Mailing list: https://launchpad.net/~netstack
Post to : [email protected]
Unsubscribe : https://launchpad.net/~netstack
More help : https://help.launchpad.net/ListHelp