OpenVZ Forum


Home » General » Support » OpenVZ on Ubuntu 16.04 (ERROR: Failed to mount API filesystems, freezing.)
OpenVZ on Ubuntu 16.04 [message #52495] Fri, 05 August 2016 15:50 Go to next message
pain15 is currently offline  pain15
Messages: 2
Registered: August 2016
Junior Member
From: *bredband.comhem.se
I have installed OpenVZ kernel on plain Ubuntu 16.04. When I tried to boot into the OpenVZ kernel (2.6.32-042stab116.2) I get the following error:

ERROR: Failed to mount API filesystems, freezing.

I have successfully booted into OpenVZ kernel on Ubuntu 14.04 but I'm facing issues with Ubuntu 16.04.

Could help me out as I need to compare performance of LXC and Openvz live migration on Ubuntu 16.04.

Your suggestion would be helpful to me.

Thanking you in anticipation.

Steps followed:

wget -P /etc/yum.repos.d/ https://download.openvz.org/openvz.repo

rpm --import http://download.openvz.org/RPM-GPG-Key-OpenVZ

cd /tmp

wget https://download.openvz.org/kernel/branches/rhel6-2.6.32/042 stab116.2/vzkernel-2.6.32-042stab116.2.x86_64.rpm
wget https://download.openvz.org/kernel/branches/rhel6-2.6.32/042 stab116.2/vzkernel-devel-2.6.32-042stab116.2.x86_64.rpm
wget https://download.openvz.org/utils/vzctl/4.9/vzctl-4.9-1.x86_ 64.rpm
wget https://download.openvz.org/utils/vzctl/4.9/vzctl-core-4.9-1 .x86_64.rpm
wget https://download.openvz.org/utils/ploop/1.15/ploop-1.15-1.x8 6_64.rpm
wget https://download.openvz.org/utils/ploop/1.15/ploop-lib-1.15- 1.x86_64.rpm
wget https://download.openvz.org/utils/vzquota/3.1/vzquota-3.1-1. x86_64.rpm

apt-get install fakeroot alien libcgroup1

fakeroot alien --to-deb --scripts --keep-version vz*.rpm ploop*.rpm

dpkg -i vz*.deb ploop*.deb

selinuxenabled && echo enabled || echo disabled
echo "SELINUX=disabled" > /etc/sysconfig/selinux

Add following parameters to /etc/sysctl.conf file
# On Hardware Node we generally need
# packet forwarding enabled and proxy arp disabled
net.ipv4.ip_forward = 1
net.ipv6.conf.default.forwarding = 1
net.ipv6.conf.all.forwarding = 1
net.ipv4.conf.default.proxy_arp = 0

# Enables source route verification
net.ipv4.conf.all.rp_filter = 1

# Enables the magic-sysrq key
kernel.sysrq = 1

# We do not want all our interfaces to send redirects
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0


Re: OpenVZ on Ubuntu 16.04 [message #52510 is a reply to message #52495] Fri, 12 August 2016 17:57 Go to previous messageGo to next message
dowdle is currently offline  dowdle
Messages: 261
Registered: December 2005
Location: Bozeman, Montana
Senior Member
From: *msu.montana.edu
I doubt running the OpenVZ Legacy kernel on Ubuntu 16.04 will ever be supported or work.

For a comparison, I would use CentOS 6.x as the OpenVZ Legacy base distro... and then compare it to Ubuntu and LXC if you want.


--
TYL, Scott Dowdle
Belgrade, Montana, USA
Re: OpenVZ on Ubuntu 16.04 [message #52513 is a reply to message #52510] Sat, 13 August 2016 14:55 Go to previous messageGo to next message
pain15 is currently offline  pain15
Messages: 2
Registered: August 2016
Junior Member
From: *bredband.comhem.se
But LXC live migration isn't supported in CentOS/RHEL.

It requires LXD package which is only available in ubuntu
Re: OpenVZ on Ubuntu 16.04 [message #53131 is a reply to message #52513] Mon, 15 January 2018 13:21 Go to previous message
vishal is currently offline  vishal
Messages: 1
Registered: January 2018
Junior Member
From: *63.66.210.reverse.spectranet.in
Any update on this, I'm facing the same issue when trying to boot from OpenVZ kernel 042stab127.2 on Ubuntu 16.04. When searching for this issue, stumbled upon a link to a bug reported on Bugzilla https://bugzilla.openvz.org/show_bug.cgi?id=3280, but found out that they've moved to JIRA on https://bugs.openvz.org from Bugzilla, not able to find the related JIRA on https://bugs.openvz.org. If anybody has the link to that JIRA, please provide me that.
Previous Topic: vzquota on, disable recalculating disk usage after force quota off (-f)
Next Topic: RHEL5/CentOS5 CVE-2017-5754
Goto Forum:
  


Current Time: Tue Aug 21 20:17:32 GMT 2018