Tail-f/var/log/neutron/dhcp-agent.log
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/44/37/wKioL1PgM9XwNvGKAAi3kzyE6XM641.jpg "title=" 6.png " alt= "Wkiol1pgm9xwnvgkaai3kzye6xm641.jpg"/>
By default, the CentOS 6.4 does not the 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'll be presented with the following error message: Object ' Netns ' is unknown, try ' IP help '.
The following steps needs to being realized to install the new kernel andenable the network namespace feature
1 < Span style= "Font-size:13px;font-family:helvetica, Sans-serif;" >2 3 |
http:// rdo.fedorapeople.org/rdo-release.rpm #> yum Install kernel iproute |
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 has 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 |
This article is from the "zhanguo1110" blog, so be sure to keep this source http://zhanguo1110.blog.51cto.com/5750817/1535786