“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 :
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
And that’s it. Really.Now one can run
spredzy should get displayed.If everything is working one should have the following kernel and iproutepackages installed :
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 |
123 | #> yum install -y http://rdo.fedorapeople.org/rdo-release.rpm#> yum install kernel iproute#> reboot |
12 | #> ip netns add spredzy#> ip netns list |
123 | kernel-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 |
相关文章推荐
- Object "netns" is unknown, try "ip help".
- 解决:'help、ipconfig' 不是内部或外部命令,也不是可运行的程序或批处理文件
- VC6.0编译报错:"error C2220: warning treated as error - no 'object' file generated"
- 安装完MySQL后输入"net start mysql"后提示"'net'不是内部或外部命令,也不是可运行的程序或批处理文件"的响应办法
- The project was not built due to "Could not delete ''.". Fix the problem, then try refreshing this p
- python 使用scapy包告警WARNING: can't import layer inet: 'module' object has no attribute 'IPPROTO_IPIP'
- 在asp.net中使用ajax时出现的"'Sys' 未定义"的解决方法
- (OK) Docker中使用固定IP——docker run -i -t --rm --net='none'
- 当使用JQuery的"$",抛异常Uncaught TypeError: Object #<Object> has no method 'ajax'
- [mysql]重装windows后恢复mysql及"Access denied for user'root'@'IP'"问题的处理
- [mysql]刷新windows恢复后mysql和"Access denied for user'root'@'IP'"处理问题
- Unable to cast COM object of type 'Word.ApplicationClass' to interface type 'Word._Application'"
- "Wireless Network Connection" doesn't have a valid IP configuration - Not fixed
- How to solve 'object of abstract class type "newFoo" is not allowed'?
- NET:Error Creating Control -"Object Reference Not Set To An Instance Of Object"
- VC6.0 编译报错:"error C2220: warning treated as error - no 'object' file generated"的解决办法
- python __def__ Exception AttributeError: "'NoneType' object has no attribute
- ASP.NET中使用 Response.Write("<script>alert('****');</script>");后CSS界面发生变化的解决方法 (经验证)
- net.sf.json.JSONException: 'object' is an array. Use JSONArray instead
- net.sf.json.JSONException: 'object' is an array. Use JSONArray instead