<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
thanks a lot for detailed report.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Issue with kernel-headers not installed during the script is definitely caused by tricks with skipping kernel during CT upgrade. Obviously we forced the script to skip kernel-headers, as well. kernel-headers are required by glibc-headers, glibc-headers - by
glibc-devel, etc., so we have a chain of packages skipped due to kernel-headers. Should tweak a script a bit more for this.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
As for straightforward approach with distro-sync - actually nothing is wrong with it if it works:) There can be problems though if you use streams from CentOS 8 which are missing in VzLinux8. But probably it's worth to try distro-sync first - if it works then
it's fine to proceed.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> jehan Procaccia tem-tsp <jehan.procaccia@tem-tsp.eu><br>
<b>Sent:</b> Wednesday, February 17, 2021 11:12 AM<br>
<b>To:</b> OpenVZ users <users@openvz.org>; Denis Silakov <dsilakov@virtuozzo.com><br>
<b>Subject:</b> Re: [Users] virtuozzo base OS and new centos 8 orientations</font>
<div> </div>
</div>
<div>
<div class="x_moz-cite-prefix">OK, I gave it a try to <i><font size="-1">vzdeploy8
</font></i>script on a centos 8 CT <br>
</div>
<div class="x_moz-cite-prefix">here are the details to let you know some warning/error (?) I received :
<br>
</div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix">1) get the script<br>
</div>
<div class="x_moz-cite-prefix"><font size="-1"><i>[root@c8ct~]# wget <a class="x_moz-txt-link-freetext" href="http://repo-backend.virtuozzo.com/vzlinux/vzdeploy/vzdeploy8">
http://repo-backend.virtuozzo.com/vzlinux/vzdeploy/vzdeploy8</a></i></font><br>
<br>
</div>
<div class="x_moz-cite-prefix">2) <font size="-1"><i>export SKIP_KERNEL=1</i></font> to prevent messing around with kernel in a CT !
<br>
</div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix">3) Launch the script <br>
</div>
<div class="x_moz-cite-prefix"><i><font size="-1">[root@c8ct ~]# sh vzdeploy8<br>
vzdeploy8 is already the latest version (2.0.1) - continuing<br>
Do you want to continue with deploy (y/n) ?y</font></i><br>
</div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix">1st serie of messages maybe unrelated on a CT , better destine for a hardware Node ? :<br>
</div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix"><font size="-1"><i>Running transaction</i><i><br>
</i><i> Preparing : 1/1
</i><i><br>
</i><i> Installing : pciutils-libs-3.7.0-1.vl8.x86_64 1/3
</i><i><br>
</i><i> Running scriptlet: pciutils-libs-3.7.0-1.vl8.x86_64 1/3
</i><i><br>
</i><i> Installing : hwdata-0.314-8.7.vl8.noarch 2/3
</i><i><br>
</i><i> Installing : pciutils-3.7.0-1.vl8.x86_64 3/3
</i><i><br>
</i><i> Running scriptlet: pciutils-3.7.0-1.vl8.x86_64 3/3
</i><i><br>
</i><i> Verifying : hwdata-0.314-8.7.vl8.noarch 1/3
</i><i><br>
</i><i> Verifying : pciutils-3.7.0-1.vl8.x86_64 2/3
</i><i><br>
</i><i> Verifying : pciutils-libs-3.7.0-1.vl8.x86_64 3/3
</i><i><br>
</i><i><br>
</i><i>Installed:</i><i><br>
</i><i> hwdata-0.314-8.7.vl8.noarch pciutils-3.7.0-1.vl8.x86_64 pciutils-libs-3.7.0-1.vl8.x86_64
</i><i><br>
</i><i><br>
</i><i>Complete!</i><i><br>
</i><i>pcilib: Cannot open /proc/bus/pci</i><i><br>
</i><i>lspci: Cannot find any working access method.</i></font><br>
<br>
</div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix">Then comes the package <i><font size="-1">vzlinux-release</font></i></div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix"><i><font size="-1">Last metadata expiration check: 0:00:01 ago on Tue Feb 16 19:08:35 2021.<br>
Package vzlinux-release-3:8.3-3.vl8.x86_64 is already installed.<br>
Dependencies resolved.<br>
================================================================================<br>
Package Arch Version Repository Size<br>
================================================================================<br>
Upgrading:<br>
vzlinux-release x86_64 3:8.3-4.vl8 virtuozzolinux-base 44 k<br>
Installing dependencies:<br>
dnf-plugins-core noarch 4.0.18-2.vl8 virtuozzolinux-base 68 k<br>
python3-dateutil noarch 1:2.6.1-6.vl8 virtuozzolinux-base 251 k<br>
python3-dnf-plugins-core noarch 4.0.18-2.vl8 virtuozzolinux-base 227 k<br>
zstd x86_64 1.4.4-1.vl8 virtuozzolinux-base 395 k<br>
<br>
Transaction Summary<br>
================================================================================<br>
Install 4 Packages<br>
Upgrade 1 Package<br>
</font></i><br>
</div>
<div class="x_moz-cite-prefix"><font size="-1"><i>Upgraded:</i><i><br>
</i><i> vzlinux-release-3:8.3-4.vl8.x86_64
</i><i><br>
</i><i><br>
</i><i>Installed:</i><i><br>
</i><i> dnf-plugins-core-4.0.18-2.vl8.noarch
</i><i><br>
</i><i> python3-dateutil-1:2.6.1-6.vl8.noarch
</i><i><br>
</i><i> python3-dnf-plugins-core-4.0.18-2.vl8.noarch
</i><i><br>
</i><i> zstd-1.4.4-1.vl8.x86_64
</i><i><br>
</i><i><br>
</i><i>Complete!</i></font><br>
<br>
</div>
<div class="x_moz-cite-prefix">Then it seems to upgrade everything, but still some warning/errors ?
<br>
</div>
<div class="x_moz-cite-prefix"><font size="-1"><i><br>
</i></font></div>
<div class="x_moz-cite-prefix"><font size="-1"><i>Last metadata expiration check: 0:00:04 ago on Tue Feb 16 19:08:35 2021.</i><i><br>
</i><i>Dependencies resolved.</i><i><br>
</i><i>Failed to set locale, defaulting to C.UTF-8</i><i><br>
</i><i><br>
</i><i> Problem: package gcc-8.4.1-1.vl8.x86_64 requires glibc-devel >= 2.2.90-12, but none of the providers can be installed</i><i><br>
</i><i> - package annobin-9.35-1.vl8.x86_64 requires gcc >= 8, but none of the providers can be installed</i><i><br>
</i><i> - package glibc-devel-2.28-138.vl8.x86_64 requires glibc-headers, but none of the providers can be installed</i><i><br>
</i><i> - package glibc-devel-2.28-138.vl8.x86_64 requires glibc-headers = 2.28-138.vl8, but none of the providers can be installed</i><i><br>
</i><i> - package redhat-rpm-config-125-1.vl8.noarch requires annobin, but none of the providers can be installed</i><i><br>
</i><i> - package glibc-headers-2.28-138.vl8.x86_64 requires kernel-headers >= 2.2.1, but none of the providers can be installed</i><i><br>
</i><i> - package glibc-headers-2.28-138.vl8.x86_64 requires kernel-headers, but none of the providers can be installed</i><i><br>
</i><i> - cannot install the best update candidate for package redhat-rpm-config-123-1.el8.noarch</i><i><br>
</i><i> - package kernel-headers-4.18.0-269.vl8.x86_64 is filtered out by exclude filtering</i><i><br>
</i><i>==================================================================================================</i><i><br>
</i><i> Package Arch Version Repository Size</i><i><br>
</i><i>==================================================================================================</i><i><br>
</i><i>Upgrading:</i><i><br>
</i><i> acl x86_64 2.2.53-1.vl8.1 virtuozzolinux-base 80 k</i><i><br>
</i><i> apr x86_64 1.6.3-11.vl8 virtuozzolinux-base 124 k</i><i><br>
</i><i> apr-util x86_64 1.6.1-6.vl8 virtuozzolinux-base 105 k</i><i><br>
</i><i> attr x86_64 2.4.48-3.vl8 virtuozzolinux-base 68 k</i></font><br>
...<br>
</div>
<div class="x_moz-cite-prefix"><font size="-1"><i>Transaction Summary</i><i><br>
</i><i>==================================================================================================</i><i><br>
</i><i>Install 8 Packages</i><i><br>
</i><i>Upgrade 487 Packages</i><i><br>
</i><i>Skip 5 Packages</i><i><br>
</i><i><br>
</i><i>Total download size: 201 M</i><i><br>
</i><i>Downloading Packages:</i><i><br>
</i><i>(1/495): freetype-2.9.1-4.vl8.1.x86_64.rpm 865 kB/s | 393 kB 00:00
</i></font><br>
...</div>
<div class="x_moz-cite-prefix"><font size="-1"><i>Transaction test succeeded.</i><i><br>
</i><i>Running transaction</i><i><br>
</i><i> Running scriptlet: filesystem-3.8-3.vl8.x86_64 1/1
</i><i><br>
</i><i> Preparing : 1/1
</i><i><br>
</i><i> Running scriptlet: libgcc-8.4.1-1.vl8.x86_64 1/1
</i><i><br>
</i><i> Upgrading : libgcc-8.4.1-1.vl8.x86_64 1/982
</i><i><br>
</i><i> Running scriptlet: libgcc-8.4.1-1.vl8.x86_64 1/982
</i><i><br>
</i><i> Upgrading : setup-2.12.2-6.vl8.noarch 2/982
</i><i><br>
</i><i>warning: /etc/shadow created as /etc/shadow.rpmnew</i><i><br>
</i><i><br>
</i><i> Running scriptlet: setup-2.12.2-6.vl8.noarch 2/982
</i><i><br>
</i><i> Upgrading : filesystem-3.8-3.vl8.x86_64 3/982
</i></font><br>
...</div>
<div class="x_moz-cite-prefix"><font size="-1"><i> yum-4.4.2-2.vl8.1.noarch
</i><i><br>
</i><i> zip-3.0-23.vl8.x86_64
</i><i><br>
</i><i> zlib-1.2.11-17.vl8.x86_64
</i><i><br>
</i><i><br>
</i><i>Installed:</i><i><br>
</i><i> freetype-2.9.1-4.vl8.1.x86_64 grub2-tools-efi-1:2.02-92.vl8.x86_64
</i><i><br>
</i><i> grub2-tools-extra-1:2.02-92.vl8.x86_64 libibverbs-32.0-3.vl8.x86_64
</i><i><br>
</i><i> libnl3-3.5.0-1.vl8.x86_64 libpng-2:1.6.34-5.vl8.x86_64
</i><i><br>
</i><i> lmdb-libs-0.9.24-1.vl8.x86_64 rdma-core-32.0-3.vl8.x86_64
</i><i><br>
</i><i><br>
</i><i>Skipped:</i><i><br>
</i><i> annobin-9.35-1.vl8.x86_64 gcc-8.4.1-1.vl8.x86_64
</i><i><br>
</i><i> glibc-devel-2.28-138.vl8.x86_64 glibc-headers-2.28-138.vl8.x86_64
</i><i><br>
</i><i> redhat-rpm-config-125-1.vl8.noarch </i><i><br>
</i><i><br>
</i><i>Complete!</i><i><br>
</i><i>You can find complete log in /var/log/vzdeploy8.log</i></font><br>
</div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix">=> did it had to upgrade each and every packages (982 !) ? (I did a fresh yum update when it was still centos 8)
<br>
</div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix">4) done/completed, then check version and reboot <br>
</div>
<div class="x_moz-cite-prefix"><font size="-1"><i>[root@wad ~]# cat /etc/redhat-release
</i><i><br>
</i><i>Virtuozzo Linux release 8</i><i><br>
</i><i>[root@c8ct ~]# reboot</i><i><br>
</i></font><br>
</div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix">5) after reboot I issue a yum update , and glibc and kernel headers package are installed ... normal !?
<br>
</div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix"><font size="-1"><i>[root@c8ct ~]# yum update</i><i><br>
</i><i>Failed to set locale, defaulting to C.UTF-8</i><i><br>
</i><i>Last metadata expiration check: 0:16:41 ago on Tue Feb 16 19:08:35 2021.</i><i><br>
</i><i>Dependencies resolved.</i><i><br>
</i><i>=============================================================================================================================================================================</i><i><br>
</i><i> Package Architecture Version Repository Size</i><i><br>
</i><i>=============================================================================================================================================================================</i><i><br>
</i><i>Upgrading:</i><i><br>
</i><i> redhat-rpm-config noarch 125-1.vl8 virtuozzolinux-base 86 k</i><i><br>
</i><i>Installing dependencies:</i><i><br>
</i><i> annobin x86_64 9.35-1.vl8 virtuozzolinux-base 104 k</i><i><br>
</i><i> binutils x86_64 2.30-90.vl8 virtuozzolinux-base 5.7 M</i><i><br>
</i><i> cpp x86_64 8.4.1-1.vl8 virtuozzolinux-base 10 M</i><i><br>
</i><i> gcc x86_64 8.4.1-1.vl8 virtuozzolinux-base 23 M</i><i><br>
</i><i> glibc-devel x86_64 2.28-138.vl8 virtuozzolinux-base 1.0 M</i><i><br>
</i><i> glibc-headers x86_64 2.28-138.vl8 virtuozzolinux-base 476 k</i><i><br>
</i><i> isl x86_64 0.16.1-6.vl8 virtuozzolinux-base 841 k</i><i><br>
</i><i> kernel-headers x86_64 4.18.0-269.vl8 virtuozzolinux-base 6.4 M</i><i><br>
</i><i> libmpc x86_64 1.1.0-9.1.vl8 virtuozzolinux-base 60 k</i><i><br>
</i><i> libxcrypt-devel x86_64 4.1.1-4.vl8 virtuozzolinux-base 25 k</i><i><br>
</i><i><br>
</i><i>Transaction Summary</i><i><br>
</i><i>=============================================================================================================================================================================</i><i><br>
</i><i>Install 10 Packages</i><i><br>
</i><i>Upgrade 1 Package</i><i><br>
</i><i><br>
</i><i>Total download size: 49 M</i></font><br>
<br>
</div>
<div class="x_moz-cite-prefix"><font size="-1"><i>Upgraded:</i><i><br>
</i><i> redhat-rpm-config-125-1.vl8.noarch
</i><i><br>
</i><i><br>
</i><i>Installed:</i><i><br>
</i><i> annobin-9.35-1.vl8.x86_64 binutils-2.30-90.vl8.x86_64 cpp-8.4.1-1.vl8.x86_64 gcc-8.4.1-1.vl8.x86_64 glibc-devel-2.28-138.vl8.x86_64
</i><i><br>
</i><i> glibc-headers-2.28-138.vl8.x86_64 isl-0.16.1-6.vl8.x86_64 kernel-headers-4.18.0-269.vl8.x86_64 libmpc-1.1.0-9.1.vl8.x86_64 libxcrypt-devel-4.1.1-4.vl8.x86_64
</i><i><br>
</i><i><br>
</i><i>Complete!</i></font><br>
</div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix">So it seems to work fine, I'll check for next update and add/remove of other packages to see if it keeps running fine .
<br>
</div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix">I gave a look at the vzdeploy8 script, it is quite long and thorough for a CT , what would be wrong with our initial very simple procedure :
<br>
</div>
<div class="x_moz-cite-prefix">
<div class="x_moz-cite-prefix"><i>1) replace C8 repos with VzLinux</i></div>
<i></i>
<div class="x_moz-cite-prefix"><i>2) install vzlinux-release package</i></div>
<i></i><i>3) distro-sync</i></div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix">which method do you recommend for my next migrations of Centos8 CTs and VMs ?
<br>
</div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix">Thanks . <br>
</div>
<div class="x_moz-cite-prefix"><br>
</div>
<div class="x_moz-cite-prefix">Le 12/02/2021 à 16:52, Denis Silakov a écrit :<br>
</div>
<blockquote type="cite"><style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi,<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I've pushed updated version of the script to the repo - now it honors SKIP_KERNEL environment variable and skips kernel-related actions if it is set.<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b>
<a class="x_moz-txt-link-abbreviated" href="mailto:users-bounces@openvz.org">users-bounces@openvz.org</a>
<a class="x_moz-txt-link-rfc2396E" href="mailto:users-bounces@openvz.org"><users-bounces@openvz.org></a> on behalf of Denis Silakov
<a class="x_moz-txt-link-rfc2396E" href="mailto:dsilakov@virtuozzo.com"><dsilakov@virtuozzo.com></a><br>
<b>Sent:</b> Thursday, February 11, 2021 3:24 PM<br>
<b>To:</b> <a class="x_moz-txt-link-abbreviated" href="mailto:users@openvz.org">users@openvz.org</a>
<a class="x_moz-txt-link-rfc2396E" href="mailto:users@openvz.org"><users@openvz.org></a><br>
<b>Subject:</b> Re: [Users] virtuozzo base OS and new centos 8 orientations</font>
<div> </div>
</div>
<div class="x_BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="x_PlainText">Yeah, indeed it is initially targeted for hardware nodes, but should not
<br>
be hard to adopt for CT. At the first glance it is enough to just skip <br>
the kernel part.<br>
<br>
<br>
On 02/11/2021 03:01 PM, Ian wrote:<br>
> On 08/02/2021 15:35, Denis Silakov wrote:<br>
>> Hi,<br>
>><br>
>> we've published rough version of vzdeploy8 script that should <br>
>> eliminate problems with streams/modules mismatch that led to problems <br>
>> mentioned in the thread:<br>
>> <a href="http://repo-backend.virtuozzo.com/vzlinux/vzdeploy/vzdeploy8">http://repo-backend.virtuozzo.com/vzlinux/vzdeploy/vzdeploy8</a>
<br>
>> <<a href="http://repo-backend.virtuozzo.com/vzlinux/vzdeploy/vzdeploy8">http://repo-backend.virtuozzo.com/vzlinux/vzdeploy/vzdeploy8</a>><br>
>><br>
>> Just download & launch inside CentOS 8, no additional steps required.<br>
>> ------------------------------------------------------------------------<br>
> <Snip><br>
><br>
> Hi,<br>
><br>
> I tried running this in a test CentOS 8 container but it tried to <br>
> install a kernel so I killed it.<br>
><br>
> Is this supposed to happen or is this script just for hardware nodes ?<br>
><br>
><br>
> Thanks for your help on this issue - I have a lot of containers to <br>
> migrate and run and forget script will be a great help.<br>
><br>
> Regards<br>
><br>
> Ian<br>
> _______________________________________________<br>
> Users mailing list<br>
> <a class="x_moz-txt-link-abbreviated" href="mailto:Users@openvz.org">Users@openvz.org</a><br>
> <a href="https://lists.openvz.org/mailman/listinfo/users">https://lists.openvz.org/mailman/listinfo/users</a><br>
<br>
-- <br>
Regards,<br>
<br>
Denis Silakov | Sr. Software Architect, Virtuozzo Linux Team Lead<br>
Otradnaya street 2B/9, “Otradnoye” Business Center | Moscow | Russia<br>
Phone: +7 916-222-9437 | <a class="x_moz-txt-link-abbreviated" href="mailto:dsilakov@virtuozzo.com">
dsilakov@virtuozzo.com</a><br>
Skype: denis.silakov<br>
<br>
Virtuozzo.com<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a class="x_moz-txt-link-abbreviated" href="mailto:Users@openvz.org">Users@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/users">https://lists.openvz.org/mailman/listinfo/users</a><br>
</div>
</span></font></div>
<br>
<fieldset class="x_mimeAttachmentHeader"></fieldset>
<pre class="x_moz-quote-pre">_______________________________________________
Users mailing list
<a class="x_moz-txt-link-abbreviated" href="mailto:Users@openvz.org">Users@openvz.org</a>
<a class="x_moz-txt-link-freetext" href="https://lists.openvz.org/mailman/listinfo/users">https://lists.openvz.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<p><br>
</p>
</div>
</body>
</html>