LibvirtOpenVswitchDriver failed to create tap device on Scientific linux 6.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Brad Hall | ||
Diablo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm using Diablo release and QuantumManager with quantum ovs plugin on Scientific Linux 6.1.
It seems that LibvirtOpenVswi
It may that ip command can't create tuntap.
Following is log output of nova-compute.
2011-10-27 21:15:28,359 DEBUG nova.utils [-] Running cmd (subprocess):
sudo ip tuntap add tapaba5418e-3e mode tap from (pid=18385) execute
/opt/stack/
2011-10-27 21:15:28,381 DEBUG nova.utils [-] Result was 255 from
(pid=18385) execute /opt/stack/
2011-10-27 21:15:28,382 ERROR nova.exception [-] Uncaught exception
(nova.exception): TRACE: Traceback (most recent call last):
(nova.exception): TRACE: File "/opt/stack/
line 98, in wrapped
(nova.exception): TRACE: return f(*args, **kw)
(nova.exception): TRACE: File
"/opt/stack/
(nova.exception): TRACE: block_device_
(nova.exception): TRACE: File
"/opt/stack/
(nova.exception): TRACE: block_device_info)
(nova.exception): TRACE: File
"/opt/stack/
(nova.exception): TRACE: nics.append(
network, mapping))
(nova.exception): TRACE: File
"/opt/stack/
(nova.exception): TRACE: run_as_root=True)
(nova.exception): TRACE: File "/opt/stack/
188, in execute
(nova.exception): TRACE: cmd=' '.join(cmd))
(nova.exception): TRACE: ProcessExecutio
running command.
(nova.exception): TRACE: Command: sudo ip tuntap add tapaba5418e-3e mode tap
(nova.exception): TRACE: Exit code: 255
(nova.exception): TRACE: Stdout: ''
(nova.exception): TRACE: Stderr: 'Object "tuntap" is unknown, try "ip help".\n'
(nova.exception): TRACE:
2011-10-27 21:15:28,383 ERROR nova.compute.
failed to spawn. Is virtualization enabled in the BIOS? Details: Unexp
ected error while running command.
Command: sudo ip tuntap add tapaba5418e-3e mode tap
Exit code: 255
Stdout: ''
Stderr: 'Object "tuntap" is unknown, try "ip help".\n'
(nova.compute.
(nova.compute.
"/opt/stack/
(nova.compute.
(nova.compute.
"/opt/stack/
(nova.compute.
(nova.compute.
command.
(nova.compute.
tapaba5418e-3e mode tap
(nova.compute.
(nova.compute.
(nova.compute.
"ip help".\n'
(nova.compute.
Related branches
- OpenStack Ubuntu packagers: Pending requested
-
Diff: 13 lines (+3/-1)1 file modifieddebian/nova_sudoers (+3/-1)
Changed in nova: | |
assignee: | nobody → dan wendlandt (danwent) |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
milestone: | none → essex-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-1 → 2012.1 |
The issue is that scientific linux has an older "ip" command which doesn't support tuntap. As a workaround it is possible to use tunctl to create the tap device.