Howto setup OVS with Ubuntu 12.04
I'm wondering on howto setup OVS with Quantum & Ubuntu 12.04?
I've tried adding this to qemu.conf:
cgroup_device_acl = [
"/dev/null", "/dev/full", "/dev/zero",
"/dev/random", "/dev/urandom",
"/dev/ptmx", "/dev/kvm", "/dev/kqemu",
"/dev/rtc", "/dev/hpet", "/dev/net/tun",
]
And also this udev rule:
KERNEL=="tun", MODE="0666", OPTIONS+
Rebooted and tried to spawn guests but then I still get:
2012-05-02 11:38:41 ERROR nova.rpc.amqp [req-efd72ce0-
2012-05-02 11:38:41 TRACE nova.rpc.amqp Traceback (most recent call last):
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp rval = node_func(
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp return f(*args, **kw)
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp sys.exc_info())
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp self.gen.next()
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp return function(self, context, instance_uuid, *args, **kwargs)
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp do_run_instance()
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp retval = f(*args, **kwargs)
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp self._run_
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp self._set_
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp self.gen.next()
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp self._deallocat
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp self.gen.next()
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp injected_files, admin_password)
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp self._legacy_
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp return f(*args, **kw)
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp self._create_
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp domain.
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp result = proxy_call(
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp rv = execute(
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp rv = meth(*args,
2012-05-02 11:38:41 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-02 11:38:41 TRACE nova.rpc.amqp if ret == -1: raise libvirtError ('virDomainCrea
2012-05-02 11:38:41 TRACE nova.rpc.amqp libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/4
2012-05-02 11:38:41 TRACE nova.rpc.amqp qemu-system-x86_64: -netdev tap,ifname=
2012-05-02 11:38:41 TRACE nova.rpc.amqp qemu-system-x86_64: -netdev tap,ifname=
While if I set these in qemu.conf and restart libvirtd:
clear_emulator_
user = root
group = root
all works dandy but I see this as a bit of a security hole?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- neutron Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Endre Karlson for more information if necessary.