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-boun...@openvz.org <users-boun...@openvz.org> on behalf
of Ian <openvz_l...@fishnet.co.uk>
*Sent:* Thursday, March 11, 2021 6:48 PM
*To:* OpenVZ users <users@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@openvz.org
https://lists.openvz.org/mailman/listinfo/users
<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