could not open /dev/net/tun: Operation not permitted

asked 2014-08-18 01:02:56 -0500

achutha gravatar image

updated 2014-09-05 17:13:04 -0500

smaffulli gravatar image

I configured Neutron and all configurations are good and kept all the configurations related to neutron in nova also according to the official install guide. I'm running the opens vswitch and i'm also using vlan.

after configuring the nova and neutron i'm unable to get the instane booting up there after i checked the log files both in neutron and nova the log files are as follows:

aachutha@aachuthakvm001:~$ tail -f /var/log/nova/nova-scheduler.log
2014-08-18 10:02:06.956 2198 INFO nova.openstack.common.rpc.common [req-79a173d4-0b52-48e3-9daf-2eb3120ac35a None None] Reconnecting to AMQP server on 10.192.3.25:5672
2014-08-18 10:02:11.971 2198 ERROR nova.openstack.common.rpc.common [req-79a173d4-0b52-48e3-9daf-2eb3120ac35a None None] AMQP server on 10.192.3.25:5672 is unreachable: timed out. Trying again in 30 seconds.
2014-08-18 10:02:41.984 2198 INFO nova.openstack.common.rpc.common [req-79a173d4-0b52-48e3-9daf-2eb3120ac35a None None] Reconnecting to AMQP server on 10.192.3.25:5672
2014-08-18 10:02:41.997 2198 INFO nova.openstack.common.rpc.common [req-79a173d4-0b52-48e3-9daf-2eb3120ac35a None None] Connected to AMQP server on 10.192.3.25:5672
2014-08-18 10:46:52.406 2198 INFO nova.scheduler.filter_scheduler [req-2eadc06f-0d45-49ce-9b6b-07e1ab51a097 42750aff5f0c46ed9d2625c3b5884bfd 83927c7558df437a82620719704212c9] Attempting to build 1 instance(s) uuids: [u'ea407439-5a64-4dcd-98fd-61cfae41fb93']
2014-08-18 10:46:52.416 2198 INFO nova.scheduler.filter_scheduler [req-2eadc06f-0d45-49ce-9b6b-07e1ab51a097 42750aff5f0c46ed9d2625c3b5884bfd 83927c7558df437a82620719704212c9] Choosing host WeighedHost [host: aachuthakvm001, weight: 15197.0] for instance ea407439-5a64-4dcd-98fd-61cfae41fb93
2014-08-18 10:46:52.597 2198 INFO nova.openstack.common.rpc.common [req-2eadc06f-0d45-49ce-9b6b-07e1ab51a097 42750aff5f0c46ed9d2625c3b5884bfd 83927c7558df437a82620719704212c9] Connected to AMQP server on 10.192.3.25:5672
2014-08-18 10:47:10.336 2198 INFO nova.scheduler.filter_scheduler [req-2eadc06f-0d45-49ce-9b6b-07e1ab51a097 42750aff5f0c46ed9d2625c3b5884bfd 83927c7558df437a82620719704212c9] Attempting to build 1 instance(s) uuids: [u'ea407439-5a64-4dcd-98fd-61cfae41fb93']
2014-08-18 10:47:10.337 2198 ERROR nova.scheduler.filter_scheduler [req-2eadc06f-0d45-49ce-9b6b-07e1ab51a097 42750aff5f0c46ed9d2625c3b5884bfd 83927c7558df437a82620719704212c9] [instance: ea407439-5a64-4dcd-98fd-61cfae41fb93] Error from last host: aachuthakvm001 (node aachuthakvm001): [u'Traceback (most recent call last):\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1043, in _build_instance\n    set_access_ip=set_access_ip)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1426, in _spawn\n    LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1423, in _spawn\n    block_device_info)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2091, in spawn\n    block_device_info, context=context)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3249, in _create_domain_and_network\n    domain = self._create_domain(xml, instance=instance, power_on=power_on)\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3192, in _create_domain\n    domain.XMLDesc(0))\n', u'  File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3187, in _create_domain\n    domain.createWithFlags(launch_flags)\n', u'  File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit\n    result = proxy_call(self._autowrap, f, *args, **kwargs)\n', u'  File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in proxy_call\n    rv = execute ...
(more)
edit retag flag offensive close merge delete

Comments

Are you running it in some OpenVZ VPS ?

T u l gravatar imageT u l ( 2014-08-18 06:13:51 -0500 )edit

yes i'm running the opens vswitch and i'm also using vlan

achutha gravatar imageachutha ( 2014-08-18 23:26:06 -0500 )edit