XenServer ensure_vlan_bridge in VLAN mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Salvatore Orlando |
Bug Description
Nova revision
XenServer 5.6
When XenAPI driver need to create network VLAN for the first instance of a project, I've got this error:
2011-06-08 18:11:08,448 DEBUG nova.rpc [-] received {u'_context_
u'local_gb': 20}}, u'admin_password': None, u'injected_files': None, u'availability_
(pid=29408) process_data /usr/lib/
2011-06-08 18:11:08,448 DEBUG nova.rpc [-] unpacked context: {'timestamp': u'2011-
ect': u'simple', 'is_admin': None, 'user': u'user1', 'request_id': u'7X9Z6Q908NBVV
2011-06-08 18:11:11,291 AUDIT nova.compute.
2011-06-08 18:11:11,409 DEBUG nova.rpc [-] Making asynchronous call on network.p-hs22-12 ... from (pid=29408) multicall /usr/lib/
.py:475
2011-06-08 18:11:11,410 DEBUG nova.rpc [-] MSG_ID is 13d76ae28e8b41f
2011-06-08 18:11:11,749 DEBUG nova.xenapi_net [-] ENTERING ensure_vlan_bridge in xenapi net from (pid=29408) ensure_vlan_bridge /usr/lib/
nova/network/
2011-06-08 18:11:12,187 ERROR nova.exception [-] Uncaught exception
(nova.exception): TRACE: Traceback (most recent call last):
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: return f(*args, **kw)
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: instance_id)
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: network_
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: pifs = session.
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: return tpool.execute(f, *args)
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: rv = meth(*args,
(nova.exception): TRACE: File "/usr/local/
(nova.exception): TRACE: return self.__
(nova.exception): TRACE: File "/usr/local/
(nova.exception): TRACE: result = _parse_
(nova.exception): TRACE: File "/usr/local/
(nova.exception): TRACE: raise Failure(
(nova.exception): TRACE: Failure: ['INTERNAL_ERROR', 'Failure("lexing: empty token")']
(nova.exception): TRACE:
2011-06-08 18:11:12,189 ERROR nova [-] Exception during message handling
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/lib/
(nova): TRACE: rval = node_func(
(nova): TRACE: File "/usr/lib/
(nova): TRACE: raise Error(str(e))
(nova): TRACE: Error: ['INTERNAL_ERROR', 'Failure("lexing: empty token")']
(nova): TRACE:
The instance passed to state 'shutdown' and a network named 'br100' is created on XenServer but no NIC or VLAN are associate to it.
After that, I can set manually through the XenCenter, the NIC and VLAN ID for the network and start a new instances in this project, no error are raised and the instances running and network connectivity works.
Changed in nova: | |
status: | New → Incomplete |
Changed in nova: | |
status: | Incomplete → In Progress |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-2 |
Changed in nova: | |
milestone: | diablo-2 → 2011.3 |
status: | Fix Committed → Fix Released |
Hi Edouard,
Sorry for the delayed reply.
looking at the provided stack trace it seems xapi backend fails to evaluate the filter expression for PIFs. interface is not empty on your system? (it shouldn't be, anyway).
Can you confirm that FLAGS.vlan_
Also, you could really help me reproducing the failure by posting a few more bits, namely:
- version of XenServer/XCP/OSS Xen
- networking stack (linux bridge/OVS)
- complete set of flags for nova-compute
Thanks,
Salvtore