Ask Your Question
1

Neutron dhcp-agent "tap does not exist"

asked 2014-09-03 16:14:50 -0500

nunizacu gravatar image

updated 2014-09-03 16:54:15 -0500

SamYaple gravatar image

in dhcp-agent log i see

2014-09-03 23:03:15.665 30015 TRACE neutron.agent.dhcp_agent Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-45916c72-e0ce-4049-bd82-08dc00e16fd2', 'ip', 'addr', 'show', 'tapaa860f85-c0', 'permanent', 'scope', 'global']
2014-09-03 23:03:15.665 30015 TRACE neutron.agent.dhcp_agent Exit code: 1
2014-09-03 23:03:15.665 30015 TRACE neutron.agent.dhcp_agent Stdout: ''
2014-09-03 23:03:15.665 30015 TRACE neutron.agent.dhcp_agent Stderr: 'Device "tapaa860f85-c0" does not exist.\n'

but manauly run

 sudo ip netns exec qdhcp-45916c72-e0ce-4049-bd82-08dc00e16fd2 ip addr show tapaa860f85-c0 permanent scope global 
270: tapaa860f85-c0: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
    link/ether fa:16:3e:aa:43:ac brd ff:ff:ff:ff:ff:ff
    inet 10.1.0.2/24 brd 10.1.0.255 scope global tapaa860f85-c0
       valid_lft forever preferred_lft forever
    inet 169.254.169.254/16 brd 169.254.255.255 scope global tapaa860f85-c0
       valid_lft forever preferred_lft forever

whats going on?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2014-09-04 00:52:35 -0500

sushma-korati gravatar image

updated 2014-09-05 17:53:50 -0500

smaffulli gravatar image

No sure, but even I faced a similer issue due some permission restrictions. Can you try with exact command and check the output.

sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ip netns exec qdhcp-45916c72-e0ce-4049-bd82-08dc00e16fd2 
ip addr show tapaa860f85-c0 permanent scope global
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-09-03 16:14:50 -0500

Seen: 521 times

Last updated: Sep 05 '14