Comment 10 for bug 1034161

Revision history for this message
Yang Zhenyu (yangzhenyu) wrote :

Now it has the command ip netns when I install the latest iproute2.
But the dhcp can not work to assign a ip to the instance.
The quantum-dhcp log :

2012-08-31 02:16:31 DEBUG [quantum.agent.linux.utils] Running command: sudo ip netns exec 3f68d8dc-b761-4cb9-a3bf-7e8c4a227da9 ip link set tap4cffe1f8-07 up
2012-08-31 02:16:32 DEBUG [quantum.agent.linux.utils]
Command: ['sudo', 'ip', 'netns', 'exec', '3f68d8dc-b761-4cb9-a3bf-7e8c4a227da9', 'ip', 'link', 'set', 'tap4cffe1f8-07', 'up']
Exit code: 1
Stdout: ''
Stderr: 'seting the network namespace failed: Function not implemented\n'
2012-08-31 02:16:32 WARNING [quantum.agent.dhcp_agent] Unable to enable dhcp. Exception:
Command: ['sudo', 'ip', 'netns', 'exec', '3f68d8dc-b761-4cb9-a3bf-7e8c4a227da9', 'ip', 'link', 'set', 'tap4cffe1f8-07', 'up']
Exit code: 1
Stdout: ''
Stderr: 'seting the network namespace failed: Function not implemented\n'
2012-08-31 02:17:46 DEBUG [quantum.agent.rpc] Unknown event_type: port.create.start.
2012-08-31 02:17:46 DEBUG [quantum.agent.rpc] Unknown event_type: port.create.start.
2012-08-31 02:17:46 WARNING [quantum.agent.dhcp_agent] Unable to reload_allocations dhcp. Exception: [Errno 2] No such file or directory: '/opt/stack/data/dhcp/3f68d8dc-b761-4cb9-a3bf-7e8c4a227da9/tmpoFHWiu'
2012-08-31 02:17:46 WARNING [quantum.agent.dhcp_agent] Unable to reload_allocations dhcp. Exception: [Errno 2] No such file or directory: '/opt/stack/data/dhcp/3f68d8dc-b761-4cb9-a3bf-7e8c4a227da9/tmpVeqFXG'

Thanks!