"Object" Netns "is unknown, try" IP Help ". \ n '" error

Source: Internet
Author: User

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:

1

#> IP Netns List

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.