Get Paid to Participate - up to $1 per post!     Twitter     Facebook     Google+
Hosting Discussion
 

Hosting Discussion > Web Hosting Forums > Essential Software & Control Panels > OpenVZ - RHEL/CentOS/Scientific 6.5 Container Networking Bug
forgot password?



Reply


Old
  Post #1 (permalink)   12-03-2013, 12:01 AM
HD Addict
 
Join Date: Jun 2010
Location: Portland, Oregon
Posts: 115

Status: technut is offline
If you are running an OpenVZ environment and update a CentOS/Scientific/RHEL 6 container to CentOS 6.5 (CentOS 6.5 was Released 01/12/13), you will likely lose all network connectivity including the loopback device. This is due to a comparability issue with the network configuration and the iproute package.

++++++++++++++++++++++++++++++++++++++++++++++

Below Reprinted from PCS-Chris:

Yesterday CentOS 6.5 was released and if you'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:
Code:

[root@test log]# service network restart
Shutting down loopback interface: [ OK ]
FATAL: Module ipv6 not found.
Bringing up loopback interface: RTNETLINK answers: Operation not supported
Failed to bring up lo.
[FAILED]
Bringing up interface venet0: RTNETLINK answers: Operation not supported
Failed to bring up venet0.
[FAILED]
FATAL: Module ipv6 not found.

How to solve (CentOS 6 64Bit):

Until the OpenVZ developers create an official fix, you can downgrade the iproute package as follows:

1. From your OpenVZ Hostmachine, download the old RPM:

# wget http://repo.smartservermanagement.co...el6.x86_64.rpm

2. Copy this inside the container:
# cp /root/iproute-2.6.32-23.el6.x86_64.rpm /vz/private/<CTID>/root/

3. Console into the VPS, forcefully remove the current iproute package, and replace with old one:

# vzctl enter <CTID>
# rpm -e iproute-2.6.32-31.el6.x86_64 --nodeps
# rpm -ivh /root/iproute-2.6.32-23.el6.x86_64.rpm

4. Restart the network service

# service network restart

..and voila!

Don'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.

If this fix doesn't work for you please let me know as we would be interested to hear about it!

Cheers

__________________
Chris E
Sr System Administrator / Co-Owner @ PCSmart Group
Got Linux server problems? Check us out


==============================
==============================

No worries, same problem and fix applies to RHEL 6.5 32bit variants but you will want this RPM:

http://repo.smartservermanagement.co...el6.x86_64.rpm

Note that I have made no changes to this RPM whatsoever, it's actually from Scientific Linux 6.4 as it was the easiest source to find.

__________________
Chris E
Sr System Administrator / Co-Owner @ PCSmart Group
Got Linux server problems? Check us out
__________________
Hostmy1stweb.com - Affordable Web Hosting
HOSTING l SSL l DOMAINS l MODULES l SUBMISSIONS l AFFILIATES
Providing low cost "Value" Web Hosting since 1999.
 
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: