[Users] virtuozzo base OS and new centos 8 orientations

Denis Silakov dsilakov at virtuozzo.com
Fri Apr 23 21:04:58 MSK 2021


Yes, need to look into CT config (/vz/private/7ed1de35-75bc-4137-977a-b4055067fb0a/ve.conf) and turn back 'centos' as template.


________________________________
From: Jehan PROCACCIA <jehan.procaccia at tem-tsp.eu>
Sent: Friday, April 23, 2021 8:19 PM
To: Denis Silakov <dsilakov at virtuozzo.com>
Cc: OpenVZ users <users at openvz.org>
Subject: Re: [Users] virtuozzo base OS and new centos 8 orientations

well, it looks like I'am in the middle of the process, now it doesn't want to convert anymore

# vzconvert8 convert --log /tmp/idp4mt-convovz8.logidp4mt  idp4mt
7ed1de35-75bc-4137-977a-b4055067fb0a: Conversion aborted: Container's OS template is not supported

althought the CT seems to be keept in centos 8 :

[root at idp4mt ~]# cat /etc/redhat-release
CentOS Linux release 8.3.2011

maybe I need to revert/remove something that the conversion has started ?

thanks .


________________________________
De: "Denis Silakov" <dsilakov at virtuozzo.com>
À: "Jehan PROCACCIA" <jehan.procaccia at tem-tsp.eu>
Cc: "OpenVZ users" <users at openvz.org>
Envoyé: Vendredi 23 Avril 2021 16:28:45
Objet: Re: [Users] virtuozzo base OS and new centos 8 orientations

Probably the issue with gcc is caused by gcc update in VzLinux 8 which is happening right now.
Could you check again, the repos are refreshed now?

And the script considered the problem to be serious enough not to proceed with conversion.
________________________________
From: Jehan PROCACCIA <jehan.procaccia at tem-tsp.eu>
Sent: Friday, April 23, 2021 5:01 PM
To: Denis Silakov <dsilakov at virtuozzo.com>
Cc: OpenVZ users <users at openvz.org>
Subject: Re: [Users] virtuozzo base OS and new centos 8 orientations

yes it's better with --log option , but still no convertion and errors/warnings !? :

# vzconvert8 convert --log /tmp/idp4mt-convovz8.logidp4mt  idp4mt
7ed1de35-75bc-4137-977a-b4055067fb0a: Creating the snapshot...
The snapshot with id {6a5c1dcf-776e-4011-a935-06b186c38541} has been successfully created.

Starting conversion: 7ed1de35-75bc-4137-977a-b4055067fb0a at 15:58:13.564369
Cache was expired
0 files removed
base0                                            23 MB/s |  11 MB     00:00
base1                                           1.7 kB/s | 257  B     00:00
Metadata cache created.
Last metadata expiration check: 0:00:01 ago on Fri Apr 23 13:58:18 2021.
base0                                            31 kB/s | 4.2 kB     00:00
base1                                            38 kB/s | 2.9 kB     00:00
Error:
Problem: package annobin-9.35-1.vl8.x86_64 requires gcc >= 8, but none of the providers can be installed
- package gcc-8.3.1-5.vl8.x86_64 requires libgomp = 8.3.1-5.vl8, but none of the providers can be installed
- package redhat-rpm-config-125-1.vl8.noarch requires annobin, but none of the providers can be installed
- cannot install both libgomp-8.3.1-5.vl8.x86_64 and libgomp-8.3.1-5.1.el8.x86_64
- cannot install the best update candidate for package redhat-rpm-config-123-1.el8.noarch
- problem with installed package libgomp-8.3.1-5.1.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Error: /usr/share/vzyum/bin/yum failed, exitcode=1
7ed1de35-75bc-4137-977a-b4055067fb0a: Conversion successful at 15:58:21.015511

back on the CT I am still on centos 8 :

[root at idp4mt ~]# cat /etc/redhat-release
CentOS Linux release 8.3.2011

________________________________
De: "Denis Silakov" <dsilakov at virtuozzo.com>
À: "Jehan PROCACCIA" <jehan.procaccia at tem-tsp.eu>, "OpenVZ users" <users at openvz.org>
Envoyé: Vendredi 23 Avril 2021 15:48:57
Objet: Re: [Users] virtuozzo base OS and new centos 8 orientations

Looks like we broke launch without --log option while improving logging.
Will be fixed soon, as a workaround you can use --log option.
________________________________
From: jehan Procaccia tem-tsp <jehan.procaccia at tem-tsp.eu>
Sent: Friday, April 23, 2021 4:41 PM
To: OpenVZ users <users at openvz.org>; Denis Silakov <dsilakov at virtuozzo.com>
Subject: Re: [Users] virtuozzo base OS and new centos 8 orientations

I tested vzconvert8 from fresly installed vzdeploy8 (vzdeploy8-1.0.30-1.vl7.x86_64)
it failed :

#  vzconvert8 convert tomcatsrv9
712c1ecb-29e8-46e9-b81b-7856fb4ab3c9: Creating the snapshot...
The snapshot with id {369834dc-cee0-4d87-807e-77f18b2f4c70} has been successfully created.

Starting conversion: 712c1ecb-29e8-46e9-b81b-7856fb4ab3c9 at 15:36:46.492202
Traceback (most recent call last):
  File "/usr/bin/vzconvert8", line 362, in <module>
    args.func()
  File "/usr/bin/vzconvert8", line 198, in process_cts
    results = pool.map(process_single_ct, args.CT)
  File "/usr/lib64/python3.6/multiprocessing/pool.py", line 266, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/usr/lib64/python3.6/multiprocessing/pool.py", line 644, in get
    raise self._value
  File "/usr/lib64/python3.6/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "/usr/lib64/python3.6/multiprocessing/pool.py", line 44, in mapstar
    return list(map(*args))
  File "/usr/bin/vzconvert8", line 300, in process_single_ct
    log_info(l.strip(), ct_log)
UnboundLocalError: local variable 'ct_log' referenced before assignment


did I missed something ?
thanks .


Le 22/03/2021 à 08:09, Denis Silakov a écrit :
Looks a bit strange indeed, vzdeploy was intended to just leave httpd from centos in such cases.

But now we have one more way for converting containers which will probably be more reliable. It utilizes vzpkg tool and should be launched from the server side:

# yum install vzdeploy8
# vzconvert8 convert <CTID>
________________________________
From: users-bounces at openvz.org<mailto:users-bounces at openvz.org> <users-bounces at openvz.org><mailto:users-bounces at openvz.org> on behalf of Ian <openvz_list at fishnet.co.uk><mailto:openvz_list at fishnet.co.uk>
Sent: Thursday, March 11, 2021 6:48 PM
To: OpenVZ users <users at openvz.org><mailto:users at openvz.org>
Subject: Re: [Users] virtuozzo base OS and new centos 8 orientations

On 03/03/2021 10:46, Denis Silakov wrote:
> Meanwhile, issue with kernel-headers should be fixed in the latest script.
> ------------------------------------------------------------------------

Hi,

On a brand new centos8 container I get the following error from yum
after running the vzdeloy8 script (with the ignore kernel env set) :

-----

Modular dependency problems:

  Problem 1: conflicting requests
   - nothing provides module(platform:el8) needed by module
httpd:2.4:8030020201104025655:30b713e6-0.x86_64
  Problem 2: conflicting requests
   - nothing provides module(platform:el8) needed by module
python36:3.6:8030020201104034153:24f1489c-0.x86_64
Dependencies resolved.
Nothing to do.

------

I tried removing and reinstalling httpd* but that didn't resolve the error.


Any ideas ?


I feel this is very close now !
Thanks for all your hard work.

Regards

Ian


_______________________________________________
Users mailing list
Users at openvz.org<mailto:Users at openvz.org>
https://lists.openvz.org/mailman/listinfo/users



_______________________________________________
Users mailing list
Users at openvz.org<mailto:Users at openvz.org>
https://lists.openvz.org/mailman/listinfo/users




________________________________
De: "Denis Silakov" <dsilakov at virtuozzo.com>
À: "Jehan PROCACCIA" <jehan.procaccia at tem-tsp.eu>, "OpenVZ users" <users at openvz.org>
Envoyé: Vendredi 23 Avril 2021 15:48:57
Objet: Re: [Users] virtuozzo base OS and new centos 8 orientations

Looks like we broke launch without --log option while improving logging.
Will be fixed soon, as a workaround you can use --log option.
________________________________
From: jehan Procaccia tem-tsp <jehan.procaccia at tem-tsp.eu>
Sent: Friday, April 23, 2021 4:41 PM
To: OpenVZ users <users at openvz.org>; Denis Silakov <dsilakov at virtuozzo.com>
Subject: Re: [Users] virtuozzo base OS and new centos 8 orientations

I tested vzconvert8 from fresly installed vzdeploy8 (vzdeploy8-1.0.30-1.vl7.x86_64)
it failed :

#  vzconvert8 convert tomcatsrv9
712c1ecb-29e8-46e9-b81b-7856fb4ab3c9: Creating the snapshot...
The snapshot with id {369834dc-cee0-4d87-807e-77f18b2f4c70} has been successfully created.

Starting conversion: 712c1ecb-29e8-46e9-b81b-7856fb4ab3c9 at 15:36:46.492202
Traceback (most recent call last):
  File "/usr/bin/vzconvert8", line 362, in <module>
    args.func()
  File "/usr/bin/vzconvert8", line 198, in process_cts
    results = pool.map(process_single_ct, args.CT)
  File "/usr/lib64/python3.6/multiprocessing/pool.py", line 266, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/usr/lib64/python3.6/multiprocessing/pool.py", line 644, in get
    raise self._value
  File "/usr/lib64/python3.6/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "/usr/lib64/python3.6/multiprocessing/pool.py", line 44, in mapstar
    return list(map(*args))
  File "/usr/bin/vzconvert8", line 300, in process_single_ct
    log_info(l.strip(), ct_log)
UnboundLocalError: local variable 'ct_log' referenced before assignment


did I missed something ?
thanks .


Le 22/03/2021 à 08:09, Denis Silakov a écrit :
Looks a bit strange indeed, vzdeploy was intended to just leave httpd from centos in such cases.

But now we have one more way for converting containers which will probably be more reliable. It utilizes vzpkg tool and should be launched from the server side:

# yum install vzdeploy8
# vzconvert8 convert <CTID>
________________________________
From: users-bounces at openvz.org<mailto:users-bounces at openvz.org> <users-bounces at openvz.org><mailto:users-bounces at openvz.org> on behalf of Ian <openvz_list at fishnet.co.uk><mailto:openvz_list at fishnet.co.uk>
Sent: Thursday, March 11, 2021 6:48 PM
To: OpenVZ users <users at openvz.org><mailto:users at openvz.org>
Subject: Re: [Users] virtuozzo base OS and new centos 8 orientations

On 03/03/2021 10:46, Denis Silakov wrote:
> Meanwhile, issue with kernel-headers should be fixed in the latest script.
> ------------------------------------------------------------------------

Hi,

On a brand new centos8 container I get the following error from yum
after running the vzdeloy8 script (with the ignore kernel env set) :

-----

Modular dependency problems:

  Problem 1: conflicting requests
   - nothing provides module(platform:el8) needed by module
httpd:2.4:8030020201104025655:30b713e6-0.x86_64
  Problem 2: conflicting requests
   - nothing provides module(platform:el8) needed by module
python36:3.6:8030020201104034153:24f1489c-0.x86_64
Dependencies resolved.
Nothing to do.

------

I tried removing and reinstalling httpd* but that didn't resolve the error.


Any ideas ?


I feel this is very close now !
Thanks for all your hard work.

Regards

Ian


_______________________________________________
Users mailing list
Users at openvz.org<mailto:Users at openvz.org>
https://lists.openvz.org/mailman/listinfo/users



_______________________________________________
Users mailing list
Users at openvz.org<mailto:Users at openvz.org>
https://lists.openvz.org/mailman/listinfo/users




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20210423/a119e8ee/attachment-0001.html>


More information about the Users mailing list