bridge not set up correctly with LXC and all-in-one system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
I'm attempting to demo/use LXC backend for nova in EC2, all on a single system.
When doing so, I get the trace below. It appears that we can get further by doing:
$ sudo brctl addbr br0
$ sudo ifconfig br0 up
$ sudo vconfig add br0 100
However, doing so just gets us further along to fail at bug 812553.
Trace from nova-compute.log:
2011-07-18 20:31:20,962 DEBUG nova.utils [-] Running cmd (subprocess): sudo vconfig add None 100 from (pid=20109) execute /usr/lib/
2011-07-18 20:31:20,994 DEBUG nova.utils [-] Result was 3 from (pid=20109) execute /usr/lib/
2011-07-18 20:31:20,995 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: self._run_
(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: interface = ensure_
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: retval = f(*args, **kwargs)
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: _execute('sudo', 'vconfig', 'add', bridge_interface, vlan_num)
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: return utils.execute(*cmd, **kwargs)
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: cmd=' '.join(cmd))
(nova.exception): TRACE: ProcessExecutio
(nova.exception): TRACE: Command: sudo vconfig add None 100
(nova.exception): TRACE: Exit code: 3
(nova.exception): TRACE: Stdout: ''
(nova.exception): TRACE: Stderr: 'ERROR: trying to add VLAN #100 to IF -:None:- error: No such device\n'
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: nova-network 2011.3~
ProcVersionSign
Uname: Linux 3.0.0-5-virtual x86_64
Architecture: amd64
Date: Mon Jul 18 20:45:23 2011
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: nova
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
Changed in nova (Ubuntu): | |
importance: | Undecided → Medium |
I'm adding an attachment with all of the setup that I did. oneiric- daily-amd64- server- 20110718
The commands were run on a m1.large instance of latest oneiric.
us-east-1 ami-3d965154 ebs/ubuntu-