Re: [Users] OVZ6 boot freeze on Debian 8

2017-07-10 Thread Volker Janzen
Hi,

> Am 10.07.2017 um 10:08 schrieb spameden :
> 
> Is it really worth maintaining yourself the kernel and userland tools to get 
> OpenVZ working?

it depends on how much work has to be done. OVZ7 has some advantages, but of 
course there are other possibilities, depending on the requirements.

> Isn't LXC still not production ready?

It has improved in the last year or twi and with LXD it even got a nice REST 
API. Also the nasty systemd bugs have been fixed in the meantime.


Regards
Volker



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


Re: [Users] OVZ6 boot freeze on Debian 8

2017-07-10 Thread Volker Janzen
Hi,

> Am 10.07.2017 um 10:01 schrieb StalkR :
> 
> I'm also in the process of trying OpenVZ 7 with Debian, so far I have a 
> working kernel and I'm trying to get the userland tools working...

I once also build a OpenVZ 7 kernel for Debian as deb package with the standard 
procedure for building Debian custom kernels. I failed with getting all the 
tools up and running. Debian would be the only option for me to give OVZ 7 
another try.


Regards
   Volker

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


Re: [Users] OVZ6 boot freeze on Debian 8

2017-07-10 Thread StalkR
On Mon, Jul 10, 2017 at 6:21 PM, Narcis Garcia 
wrote:

> StalkR:
> Can you confirm your boot works after running this?
> $ update-initramfs -u -k 2.6.32-openvz-042stab123.9-amd64
>
Yes, though I'm not using openvz precompiled kernels, I compile

my own kernels and package them in .deb, then install and as part of
postinst it runs update-initramfs normally.
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 boot freeze on Debian 8

2017-07-10 Thread Narcis Garcia
StalkR:
Can you confirm your boot works after running this?
$ update-initramfs -u -k 2.6.32-openvz-042stab123.9-amd64


El 10/07/17 a les 10:01, StalkR ha escrit:
> I've been running OpenVZ legacy on Debian 6/7/8 and now 9
> (hosts+containers), works fine. Note I compile my own kernels.
> I recall I had a similar boot freeze in Debian 8, and fixed it by
> installing sysvinit too, but I never copied the inittab and instead
> choose the secondary boot menu (setting init=/lib/sysvinit/init) and
> since then it worked. I upgraded to Debian 9 and still works fine
> (hosts+containers). Try?
> 
> And something to be aware: over time I noticed more problems with
> systemd/openvz: systemd-init not cleaning zombies after a while,
> systemd-tmpfiles boot lockup, systemd-logind timeouts for ssh in
> containers, etc. so recently I removed systemd from a Debian 9 host
> (start with this
> ) and so far
> so good, I need to do it on more hosts and try with containers too.
> 
> I'm also in the process of trying OpenVZ 7 with Debian, so far I have a
> working kernel and I'm trying to get the userland tools working...
> 
> On Mon, Jul 10, 2017 at 8:52 AM, Vasily Averin  > wrote:
> 
> Dear Narcis,
> thank you very much!
> 
> On 2017-07-09 20:41, Narcis Garcia wrote:
> > To nobody has to add virtualization layers, I've created this
> guide page:
> > https://openvz.org/Installation_on_Debian_8
> 
> >
> > Thanks.
> >
> > El 09/07/17 a les 16:43, Philipp Born ha escrit:
> >> Hi,
> >>
> >> you could try to create your underlying ext4 filesystems on an older
> >> system with 2.6.32 kernel (CentOS6 live iso for example).
> >>
> >> Ran into a similar issue earlier this week, where the PCS6 kernel
> wasn't
> >> able to work with an ext4 that was created on a more-recent kernel.
> >>
> >> Regards
> >> Philipp
> >>
> >> On 08.07.2017 17:57, Narcis Garcia wrote:
> >>> 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
> 
> >>>
> >>
> > ___
> > 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
> 
> 
> 
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 boot freeze on Debian 8

2017-07-10 Thread Narcis Garcia
StalkR:
1. Do you mean OpenVZ boot files could be directly copied from a Debian
8 to a Debian 9?

2. Do your OpenVZ kernels upgrade properly on Debian 9? How did you
solve the initrd images generation as Vasily talks about?


El 10/07/17 a les 10:01, StalkR ha escrit:
> I've been running OpenVZ legacy on Debian 6/7/8 and now 9
> (hosts+containers), works fine. Note I compile my own kernels.
> I recall I had a similar boot freeze in Debian 8, and fixed it by
> installing sysvinit too, but I never copied the inittab and instead
> choose the secondary boot menu (setting init=/lib/sysvinit/init) and
> since then it worked. I upgraded to Debian 9 and still works fine
> (hosts+containers). Try?
> 
> And something to be aware: over time I noticed more problems with
> systemd/openvz: systemd-init not cleaning zombies after a while,
> systemd-tmpfiles boot lockup, systemd-logind timeouts for ssh in
> containers, etc. so recently I removed systemd from a Debian 9 host
> (start with this
> ) and so far
> so good, I need to do it on more hosts and try with containers too.
> 
> I'm also in the process of trying OpenVZ 7 with Debian, so far I have a
> working kernel and I'm trying to get the userland tools working...
> 
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 boot freeze on Debian 8

2017-07-10 Thread spameden
@Stalkr, wow, nice work!  I think I've tried OpenVZ7 kernel some time ago
but didn't have any luck.

Compiling yourself is a hassle althrough unless you make an automatic
repository which will be updated after the new release is pushed.

Is it really worth maintaining yourself the kernel and userland tools to
get OpenVZ working?

Isn't LXC still not production ready?


2017-07-10 11:01 GMT+03:00 StalkR :

> I've been running OpenVZ legacy on Debian 6/7/8 and now 9
> (hosts+containers), works fine. Note I compile my own kernels.
> I recall I had a similar boot freeze in Debian 8, and fixed it by
> installing sysvinit too, but I never copied the inittab and instead choose
> the secondary boot menu (setting init=/lib/sysvinit/init) and since then it
> worked. I upgraded to Debian 9 and still works fine (hosts+containers). Try?
>
> And something to be aware: over time I noticed more problems with
> systemd/openvz: systemd-init not cleaning zombies after a while,
> systemd-tmpfiles boot lockup, systemd-logind timeouts for ssh in
> containers, etc. so recently I removed systemd from a Debian 9 host (start
> with this ) and
> so far so good, I need to do it on more hosts and try with containers too.
>
> I'm also in the process of trying OpenVZ 7 with Debian, so far I have a
> working kernel and I'm trying to get the userland tools working...
>
> On Mon, Jul 10, 2017 at 8:52 AM, Vasily Averin  wrote:
>
>> Dear Narcis,
>> thank you very much!
>>
>> On 2017-07-09 20:41, Narcis Garcia wrote:
>> > To nobody has to add virtualization layers, I've created this guide
>> page:
>> > https://openvz.org/Installation_on_Debian_8
>> >
>> > Thanks.
>> >
>> > El 09/07/17 a les 16:43, Philipp Born ha escrit:
>> >> Hi,
>> >>
>> >> you could try to create your underlying ext4 filesystems on an older
>> >> system with 2.6.32 kernel (CentOS6 live iso for example).
>> >>
>> >> Ran into a similar issue earlier this week, where the PCS6 kernel
>> wasn't
>> >> able to work with an ext4 that was created on a more-recent kernel.
>> >>
>> >> Regards
>> >> Philipp
>> >>
>> >> On 08.07.2017 17:57, Narcis Garcia wrote:
>> >>> 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
>> >>>
>> >>
>> > ___
>> > 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
>>
>
>
> ___
> 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 boot freeze on Debian 8

2017-07-10 Thread StalkR
I've been running OpenVZ legacy on Debian 6/7/8 and now 9
(hosts+containers), works fine. Note I compile my own kernels.
I recall I had a similar boot freeze in Debian 8, and fixed it by
installing sysvinit too, but I never copied the inittab and instead choose
the secondary boot menu (setting init=/lib/sysvinit/init) and since then it
worked. I upgraded to Debian 9 and still works fine (hosts+containers). Try?

And something to be aware: over time I noticed more problems with
systemd/openvz: systemd-init not cleaning zombies after a while,
systemd-tmpfiles boot lockup, systemd-logind timeouts for ssh in
containers, etc. so recently I removed systemd from a Debian 9 host (start
with this ) and
so far so good, I need to do it on more hosts and try with containers too.

I'm also in the process of trying OpenVZ 7 with Debian, so far I have a
working kernel and I'm trying to get the userland tools working...

On Mon, Jul 10, 2017 at 8:52 AM, Vasily Averin  wrote:

> Dear Narcis,
> thank you very much!
>
> On 2017-07-09 20:41, Narcis Garcia wrote:
> > To nobody has to add virtualization layers, I've created this guide page:
> > https://openvz.org/Installation_on_Debian_8
> >
> > Thanks.
> >
> > El 09/07/17 a les 16:43, Philipp Born ha escrit:
> >> Hi,
> >>
> >> you could try to create your underlying ext4 filesystems on an older
> >> system with 2.6.32 kernel (CentOS6 live iso for example).
> >>
> >> Ran into a similar issue earlier this week, where the PCS6 kernel wasn't
> >> able to work with an ext4 that was created on a more-recent kernel.
> >>
> >> Regards
> >> Philipp
> >>
> >> On 08.07.2017 17:57, Narcis Garcia wrote:
> >>> 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
> >>>
> >>
> > ___
> > 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
>
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


Re: [Users] OVZ6 boot freeze on Debian 8

2017-07-10 Thread Vasily Averin
Dear Narcis,
thank you very much!

On 2017-07-09 20:41, Narcis Garcia wrote:
> To nobody has to add virtualization layers, I've created this guide page:
> https://openvz.org/Installation_on_Debian_8
> 
> Thanks.
> 
> El 09/07/17 a les 16:43, Philipp Born ha escrit:
>> Hi,
>>
>> you could try to create your underlying ext4 filesystems on an older
>> system with 2.6.32 kernel (CentOS6 live iso for example).
>>
>> Ran into a similar issue earlier this week, where the PCS6 kernel wasn't
>> able to work with an ext4 that was created on a more-recent kernel.
>>
>> Regards
>> Philipp
>>
>> On 08.07.2017 17:57, Narcis Garcia wrote:
>>> 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
>>>
>>
> ___
> 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 boot freeze on Debian 8

2017-07-09 Thread Narcis Garcia
To nobody has to add virtualization layers, I've created this guide page:
https://openvz.org/Installation_on_Debian_8

Thanks.

El 09/07/17 a les 16:43, Philipp Born ha escrit:
> Hi,
> 
> you could try to create your underlying ext4 filesystems on an older
> system with 2.6.32 kernel (CentOS6 live iso for example).
> 
> Ran into a similar issue earlier this week, where the PCS6 kernel wasn't
> able to work with an ext4 that was created on a more-recent kernel.
> 
> Regards
> Philipp
> 
> On 08.07.2017 17:57, Narcis Garcia wrote:
>> 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
>>
> 
___
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users


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