tail -f/var/log/neutron/dhcp-agent.log
By default, CentOS 6.4 does not support network namespaces. If one wants totest the new virtualization platforms (Docker, OpenStack, & co…) on aCentOS server, all features won’t be available.
For OpenStack for example, Neutron won’t work as expected, since it actuallyneeds network namespace to create networks,
Fortunately, RedHat – through RDO – provides a kernel that get this feature backported.
So, before updating the kernel, if one runs :
1 |
#> ip netns list |
s/he will be presented with the following error message : Object “netns”is unknown, try “ip help”.
The following steps needs to be realized to install the new kernel andenable the network namespace feature
1 2 3 |
#> yum install -y http://rdo.fedorapeople.org/rdo-release.rpm #> yum install kernel iproute #> reboot |
And that’s it. Really.
Now one can run
1 2 |
#> ip netns add spredzy #> ip netns list |
spredzy should get displayed.
If everything is working one should have the following kernel and iproutepackages installed :
1 2 3 |
kernel-2.6.32-358.123.2.openstack.el6.x86_64 kernel-firmware-2.6.32-358.123.2.openstack.el6.noarch iproute-2.6.32-130.el6ost.netns.2.x86_64 |
“Object "netns" is unknown, try "ip help".\n'”报错