您的位置:首页 > 移动开发 > Objective-C

“Object "netns" is unknown, try "ip help".\n'”报错

2014-08-05 09:25 267 查看
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
123#> yum install -y http://rdo.fedorapeople.org/rdo-release.rpm#> yum install kernel iproute#> reboot
And that’s it. Really.Now one can run
12#> ip netns add spredzy#> ip netns list
spredzy should get displayed.If everything is working one should have the following kernel and iproutepackages installed :
123kernel-2.6.32-358.123.2.openstack.el6.x86_64kernel-firmware-2.6.32-358.123.2.openstack.el6.noarchiproute-2.6.32-130.el6ost.netns.2.x86_64
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  常见问题 openstack
相关文章推荐