{"id":669,"date":"2013-12-10T17:45:36","date_gmt":"2013-12-10T17:45:36","guid":{"rendered":"http:\/\/blog.shineservers.com\/?p=669"},"modified":"2013-12-10T17:45:36","modified_gmt":"2013-12-10T17:45:36","slug":"openvz-rhelcentosscientific-6-5-container-networking-bug","status":"publish","type":"post","link":"https:\/\/www.shineservers.com\/2013\/12\/10\/openvz-rhelcentosscientific-6-5-container-networking-bug\/","title":{"rendered":"OpenVZ &#8211; RHEL\/CentOS\/Scientific 6.5 Container Networking Bug"},"content":{"rendered":"<p>Yesterday CentOS 6.5 was released and if you&#8217;ve not already seen this, you will likely see floods of tickets come in because when you upgrade an OpenVZ container to CentOS 6.5 and reboot, it will lose all network connectivity.<\/p>\n<p><b>No active network interfaces:<\/b><\/p>\n<div>\n<div>Code:<\/div>\n<pre dir=\"ltr\">[root@test ~]# ifconfig\n[root@test ~]#<\/pre>\n<\/div>\n<p><b><br \/>\nWe cant bring interfaces up either:<\/b><\/p>\n<div>\n<div>Code:<\/div>\n<pre dir=\"ltr\">[root@test log]# service network restart\nShutting down loopback interface:                          [  OK  ]\nFATAL: Module ipv6 not found.\nBringing up loopback interface:  RTNETLINK answers: Operation not supported\nFailed to bring up lo.\n                                                           [FAILED]\nBringing up interface venet0:  RTNETLINK answers: Operation not supported\nFailed to bring up venet0.\n                                                           [FAILED]\nFATAL: Module ipv6 not found.<\/pre>\n<\/div>\n<p><b>How to solve (CentOS 6 64Bit):<\/p>\n<p><\/b>Until the OpenVZ developers create an official fix, you can downgrade the iproute package as follows:<\/p>\n<p>1. From your OpenVZ Hostmachine, download the old RPM:<\/p>\n<p># wget\u00a0<a href=\"http:\/\/repo.smartservermanagement.com\/misc\/iproute-2.6.32-23.el6.x86_64.rpm\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/repo.smartservermanagement.co&#8230;el6.x86_64.rpm<\/a><\/p>\n<p>2. Copy this inside the container:<br \/>\n# cp \/root\/iproute-2.6.32-23.el6.x86_64.rpm \/vz\/private\/&lt;CTID&gt;\/root\/<\/p>\n<p>3. Console into the VPS, forcefully remove the current iproute package, and replace with old one:<\/p>\n<p># vzctl enter &lt;CTID&gt;<br \/>\n# rpm -e iproute-2.6.32-31.el6.x86_64 &#8211;nodeps<br \/>\n# rpm -ivh \/root\/iproute-2.6.32-23.el6.x86_64.rpm<\/p>\n<p>4. Restart the network service<\/p>\n<p># service network restart<\/p>\n<p>..and voila!<\/p>\n<p>Don&#8217;t forget if you have automated yum updates configured (e.g. cPanel does this), add iproute* to the exclude= line in \/etc\/yum.conf for the time being.<\/p>\n<p>If this fix doesn&#8217;t work for you please let me know as we would be interested to hear about it!<\/p>\n<p>Source :\u00a0http:\/\/www.webhostingtalk.com\/showthread.php?t=1327600<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yesterday CentOS 6.5 was released and if you&#8217;ve not already seen this, you will likely see floods of tickets come in because when you upgrade an OpenVZ container to CentOS 6.5 and reboot, it will lose all network connectivity. No active network interfaces: Code: [root@test ~]# ifconfig [root@test ~]# We cant bring interfaces up either: [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[60],"tags":[163],"class_list":["post-669","post","type-post","status-publish","format-standard","hentry","category-linux","tag-openvz-rhelcentosscientific-6-5-container-networking-bug"],"acf":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/posts\/669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/comments?post=669"}],"version-history":[{"count":0,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/posts\/669\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/media?parent=669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/categories?post=669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/tags?post=669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}