Re: [Users] OVZ6 boot freeze on Debian 8

2017-07-08 Thread Narcis Garcia
Pre-requisite for a Debian 8 (jessie) host is:
$ apt-get install sysvinit-core sysvinit-utils
$ cp /usr/share/sysvinit/inittab /etc/inittab

Then OpenVZ Legacy seems to work perfectly.
(For Debian 9 it doesn't seem to be enough)


El 08/07/17 a les 16:22, Narcis Garcia ha escrit:
> Install procedure:
> 
> RepoFile=/etc/apt/sources.list.d/openvz.list
> RepoUrl=http://download.openvz.org/debian
> echo "deb $RepoUrl jessie main" | sudo tee "$RepoFile"
> echo "deb $RepoUrl wheezy main" | sudo tee -a "$RepoFile"
> wget -qO - http://ftp.openvz.org/debian/archive.key | sudo apt-key add -
> sudo apt-get --allow-unauthenticated update
> KPackage="linux-image-openvz-$(dpkg --print-architecture)"
> sudo apt-get install $KPackage ploop initramfs-tools
> if [ ! -d /vz ] ; then sudo ln -s /var/lib/vz/ /vz ; fi
> sudo reboot
> 
> Attaching screenshots.
> 
> - Tested with 042stab123.9 both with i386 and amd64 architectures.
> - [Control]+[Alt]+[Delete] reboots normally.
> 
> 
> 
> ___
> Users mailing list
> Users@openvz.org
> https://lists.openvz.org/mailman/listinfo/users
> 
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 kernel panic on Debian 9

2017-07-08 Thread Scott Dowdle
Greetings,

- Original Message -
> Install procedure:
> 
> RepoFile=/etc/apt/sources.list.d/openvz.list
> RepoUrl=http://download.openvz.org/debian
> echo "deb $RepoUrl jessie main" | sudo tee "$RepoFile"
> echo "deb $RepoUrl wheezy main" | sudo tee -a "$RepoFile"
> wget -qO - http://ftp.openvz.org/debian/archive.key | sudo apt-key
> add -
> sudo apt --allow-unauthenticated update
> KPackage="linux-image-openvz-$(dpkg --print-architecture)"
> sudo apt --install-recommends install $KPackage ploop initramfs-tools
> if [ ! -d /vz ] ; then sudo ln -s /var/lib/vz/ /vz ; fi
> sudo reboot
> 
> Attaching screenshots.
> - Tested with 042stab123.8 and 042stab123.9
> - Tested with amd64 binaries
> - Tested both in virtual machine and real hardware
> - Tested both with single plain ext4 partition (sda1 on /) and with
> LVM
> layers.
> - initrd works, next boot stage not (fstab).

I don't think the OpenVZ Legacy kernel is supposed to work on Debian 8 nor 
Debian 9.

Debian really isn't a good distro for an OpenVZ Legacy host node although 
Debian does have some history with OpenVZ.  For a few releases they had an 
OpenVZ patched kernel in their stock repos... but there were a number of issues 
with it.  Then OpenVZ Project provided kernel was shoehorned to work on a 
release or two of Debian... and I believe it worked fairly well.  One of the 
problems, and maybe not the main problem, is that Debian 8 and 9 use systemd by 
default.  systemd is great but the EL6 kernel (which the OpenVZ Legacy kernel 
is based on) came out in Nov. 2011 and was forked from Fedora 12.  systemd made 
its debut a few releases of Fedora later and became default in Fedora 15.  To 
the best of my knowledge, the OpenVZ Legacy kernel will not work on RHEL/CentOS 
7 for similar reasons.

What kernel is there for newer distros?  Well, the OpenVZ 7 kernel works on 
EL7... but given the expansion of features in OpenVZ 7, they decided it was 
best to make their own distro (basically forked from CentOS 7) and don't really 
support running the OpenVZ Legacy kernel and userland programs on any other 
distro.

Takeaways: If you want to run the OpenVZ Legacy kernel, run it on EL6 or older 
Debians than 8... or give OpenVZ 7 a try.

TYL,
-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] OVZ6 boot freeze on Debian 8

2017-07-08 Thread Narcis Garcia
Install procedure:

RepoFile=/etc/apt/sources.list.d/openvz.list
RepoUrl=http://download.openvz.org/debian
echo "deb $RepoUrl jessie main" | sudo tee "$RepoFile"
echo "deb $RepoUrl wheezy main" | sudo tee -a "$RepoFile"
wget -qO - http://ftp.openvz.org/debian/archive.key | sudo apt-key add -
sudo apt-get --allow-unauthenticated update
KPackage="linux-image-openvz-$(dpkg --print-architecture)"
sudo apt-get install $KPackage ploop initramfs-tools
if [ ! -d /vz ] ; then sudo ln -s /var/lib/vz/ /vz ; fi
sudo reboot

Attaching screenshots.

- Tested with 042stab123.9 both with i386 and amd64 architectures.
- [Control]+[Alt]+[Delete] reboots normally.

___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


[Users] OVZ6 kernel panic on Debian 9

2017-07-08 Thread Narcis Garcia
Install procedure:

RepoFile=/etc/apt/sources.list.d/openvz.list
RepoUrl=http://download.openvz.org/debian
echo "deb $RepoUrl jessie main" | sudo tee "$RepoFile"
echo "deb $RepoUrl wheezy main" | sudo tee -a "$RepoFile"
wget -qO - http://ftp.openvz.org/debian/archive.key | sudo apt-key add -
sudo apt --allow-unauthenticated update
KPackage="linux-image-openvz-$(dpkg --print-architecture)"
sudo apt --install-recommends install $KPackage ploop initramfs-tools
if [ ! -d /vz ] ; then sudo ln -s /var/lib/vz/ /vz ; fi
sudo reboot

Attaching screenshots.
- Tested with 042stab123.8 and 042stab123.9
- Tested with amd64 binaries
- Tested both in virtual machine and real hardware
- Tested both with single plain ext4 partition (sda1 on /) and with LVM
layers.
- initrd works, next boot stage not (fstab).
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Compatibility problems with latest APT

2017-07-08 Thread Narcis Garcia
El 07/07/17 a les 18:12, Scott Dowdle ha escrit:
> Greetings,
> 
> - Original Message -
>> Seems that download.openvz.org/debian keys are obsolete for current
>> APT tools versions:
>>
>> $ sudo apt-get update
>> Ign:1 http://debian.grn.cat/debian stretch InRelease
>> Ign:2 http://repos.actiu.net/libre stretch InRelease
>>
>> Hit:3 http://security.debian.org/debian-security stretch/updates
>> InRelease
>> Hit:4 http://debian.grn.cat/debian stretch-updates InRelease
>>
>> Hit:5 http://repos.actiu.net/libre stretch Release
>>
>> Hit:6 http://debian.grn.cat/debian stretch-backports InRelease
>> Ign:7 http://download.openvz.org/debian wheezy InRelease
>> Hit:8 http://debian.grn.cat/debian stretch Release
>> Hit:10 http://download.openvz.org/debian wheezy Release
>>
>> Get:12 http://download.openvz.org/debian wheezy Release.gpg [198 B]
>> Ign:12 http://download.openvz.org/debian wheezy Release.gpg
>> Fetched 198 B in 1s (180 B/s)
>> Reading package lists... Done
>> W: GPG error: http://download.openvz.org/debian wheezy Release: The
>> following signatures were invalid:
>> DA2458173935F9DE9B76BA7547B5DBAB0FCA9BAC
>> W: The repository 'http://download.openvz.org/debian wheezy Release'
>> is not signed.
>> N: Data from such a repository can't be authenticated and is
>> therefore potentially dangerous to use.
>> N: See apt-secure(8) manpage for repository creation and user
>> configuration details.
>>
>> $ sudo nano /etc/apt/sources.list.d/openvz.list
>> $ sudo apt-get update
>> Ign:1 http://repos.actiu.net/libre stretch InRelease
>> Ign:2 http://debian.grn.cat/debian stretch InRelease
>>
>> Hit:3 http://repos.actiu.net/libre stretch Release
>>
>> Hit:4 http://debian.grn.cat/debian stretch-updates InRelease
>>
>> Hit:5 http://security.debian.org/debian-security stretch/updates
>> InRelease
>> Hit:7 http://debian.grn.cat/debian stretch-backports InRelease
>>
>> Ign:8 http://download.openvz.org/debian jessie InRelease
>> Hit:9 http://debian.grn.cat/debian stretch Release
>> Get:11 http://download.openvz.org/debian jessie Release [13.4 kB]
>>
>> Get:12 http://download.openvz.org/debian jessie Release.gpg [198 B]
>> Ign:12 http://download.openvz.org/debian jessie Release.gpg
>> Get:13 http://download.openvz.org/debian jessie/main amd64 Packages
>> [1883 B]
>> Get:14 http://download.openvz.org/debian jessie/main amd64 Contents
>> (deb) [1264 B]
>> Fetched 16.7 kB in 1s (9721 B/s)
>> Reading package lists... Done
>> W: GPG error: http://download.openvz.org/debian jessie Release: The
>> following signatures were invalid:
>> DA2458173935F9DE9B76BA7547B5DBAB0FCA9BAC
>> W: The repository 'http://download.openvz.org/debian jessie Release'
>> is not signed.
>> N: Data from such a repository can't be authenticated and is
>> therefore potentially dangerous to use.
>> N: See apt-secure(8) manpage for repository creation and user
>> configuration details.
>>
>> Tried using https://download.openvz.org/debian/archive.key with
>> apt-key and saving
>> https://download.openvz.org/debian/dists/jessie/Release.gpg
>> to /usr/share/keyrings
> 
> There is a similar situation with yum and installing kernel updates on OpenVZ 
> Legacy on EL6-based systems.  It complains but works.
> 
> TYL,
> 

Some repositories change has been in the last hours, to no
linux-image-openvz-* package be available now. (wheezy & jessie)

___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] Will ReadyKernel be available for OpenVZ 7 in the future?

2017-07-08 Thread Andre Moruga
Hi Philipp,

Virtuozzo is considering offering ReadyKernel for OpenVZ, but no decision has 
been made yet

-Original Message-
From: users-boun...@openvz.org [mailto:users-boun...@openvz.org] On Behalf Of 
Philipp Born
Sent: Friday, July 07, 2017 8:35 PM
To: users@openvz.org
Subject: [Users] Will ReadyKernel be available for OpenVZ 7 in the future?

Hello,

as ReadyKernel can now be bought as a standalone version, I'm wondering if 
we'll be able to use RK under OVZ7 in the future?

From my understanding, OpenVZ 7 and Virtuozzo Linux 7 are basically the same. 
According to the RK Data Sheet[1] Virtuozzo Linux 7 is supported.
According to the Virtuozzo Support, this is simply a marketing decision to 
distinguish VZ7 from OVZ7.

From my point of view, I'm willing to pay 6€ per node for ReadyKernel.
But I'm not willing to pay 143€ for a Virtuozzo license, if I'm only interested 
in RK.

If RK will not support OVZ7 in the future, the readykernel package and binaries 
shouldn't be present on fresh OVZ7 installations.

[1]
https://virtuozzo.com/wp-content/uploads/readykernel/Virtuozzo_ReadyKernel_DS_EN_Ltr_20170413.pdf

Regards
Philipp

--
Philipp Born

gpg --keyserver keys.gnupg.net --recv-keys  0x4D80BF88
fingerprint: 49A6 9811 AC2E B49E 599B  0658 9AE6 94D8 4D80 BF88

___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users