Hi, I see now, so after updating /vz/template/centos/6/x86_64/config/os/default/mirrorlist with the vault URLs,
$SW_SERVER/download/mirrors/centos-6 $SW_SERVER/download/mirrors/updates-released-ce6 https://vault.centos.org/6.10/os/x86_64/ https://vault.centos.org/6.10/updates/x86_64/ I get " 14: Peer cert cannot be verified or peer cert invalid" [root@home vztt]# vzpkg update cache centos-6-x86_64 Update OS template cache for centos-6-x86_64 template Cleaning repos: base0 base1 base2 base3 12 metadata files removed 0 sqlite files removed 0 metadata files removed base0 | 951 B 00:00 base0/filelists | 824 B 00:00 base0/primary | 1.3 kB 00:00 base0/other | 707 B 00:00 base1 | 951 B 00:00 base1/filelists | 3.0 kB 00:00 base1/primary | 2.2 kB 00:00 base1/other | 8.3 kB 00:00 Could not retrieve mirrorlist https://vault.centos.org/6.10/os/x86_64/ error was 14: Peer cert cannot be verified or peer cert invalid Traceback (most recent call last): File "/usr/share/vzyum/bin/yum", line 30, in <module> File "/usr/share/vzyum/yum-cli/yummain.py", line 293, in user_main File "/usr/share/vzyum/yum-cli/yummain.py", line 144, in main File "/usr/share/vzyum/yum-cli/cli.py", line 442, in doCommands File "/usr/share/vzyum/yum-cli/yumcommands.py", line 561, in doCommand File "/usr/share/vzyum/lib/yum/yumRepo.py", line 1474, in <lambda> File "/usr/share/vzyum/lib/yum/yumRepo.py", line 1466, in _getRepoXML File "/usr/share/vzyum/lib/yum/yumRepo.py", line 1456, in _loadRepoXML File "/usr/share/vzyum/lib/yum/yumRepo.py", line 1431, in _groupLoadRepoXML File "/usr/share/vzyum/lib/yum/yumRepo.py", line 1249, in _commonLoadRepoXML File "/usr/share/vzyum/lib/yum/yumRepo.py", line 1027, in _getFileRepoXML File "/usr/share/vzyum/lib/yum/yumRepo.py", line 834, in _getFile File "/usr/share/vzyum/lib/yum/yumRepo.py", line 519, in <lambda> File "/usr/share/vzyum/lib/yum/yumRepo.py", line 514, in _getgrab File "/usr/share/vzyum/lib/yum/yumRepo.py", line 484, in _setupGrab File "/usr/share/vzyum/lib/yum/yumRepo.py", line 699, in <lambda> File "/usr/share/vzyum/lib/yum/yumRepo.py", line 696, in _geturls File "/usr/share/vzyum/lib/yum/yumRepo.py", line 662, in _baseurlSetup File "/usr/share/vzyum/lib/yum/yumRepo.py", line 426, in check AttributeError: 'YumRepository' object has no attribute 'mirrorlistfn' Error: /usr/share/vzyum/bin/yum failed, exitcode=1 On Mon, Dec 21, 2020 at 9:44 PM Denis Silakov <[email protected]> wrote: > Why did you think CE_SERVER will take any effect? I can see that we just > request CentOS for its mirrors: > > > https://src.openvz.org/projects/OVZT/repos/centos-6-x86_64-ez/browse/os_mirrorlist?at=dist-vz7-u16 > > So one should either replace these two lines with vault mirror or switch > template to baseurls (create "repositories" file instead of "mirrors" and > place repo URL(s) there). > ------------------------------ > *From:* [email protected] <[email protected]> on behalf of > Arjit Chaudhary <[email protected]> > *Sent:* Monday, December 21, 2020 6:54 PM > *To:* OpenVZ users <[email protected]> > *Subject:* Re: [Users] Caching CentOS 6 Template on OpenVZ 7 > > Hi, > I tried to add the URL into /vz/template/conf/vztt/url.map > > ie, > > $CE_SERVER https://vault.centos.org/6.10/os/x86_64/ > > and it still errors with the same. > > > > > > On Mon, Dec 21, 2020 at 9:11 PM Denis Silakov <[email protected]> > wrote: > > Yes, a direct baseurl like https://vault.centos.org/6.10/os/x86_64/ > should work. > > Note however that vault doesn't seem to like massive downloads, be ready > for connection breaks etc. > ------------------------------ > *From:* [email protected] <[email protected]> on behalf of > Scott Dowdle <[email protected]> > *Sent:* Monday, December 21, 2020 6:29 PM > *To:* OpenVZ users <[email protected]> > *Subject:* Re: [Users] Caching CentOS 6 Template on OpenVZ 7 > > Greetings, > > ----- Original Message ----- > > I understand CentOS 6 is EOL, but for some reason, a few times it's > [..] > > I tried to cache the centos-6 template and it errors with, > > They have moved their repo to vault but if you update the URLs used to > reflect the change, it should work. > > TYL, > -- > Scott Dowdle > 704 Church Street > Belgrade, MT 59714 > (406)388-0827 [home] > (406)994-3931 [work] > _______________________________________________ > Users mailing list > [email protected] > https://lists.openvz.org/mailman/listinfo/users > _______________________________________________ > Users mailing list > [email protected] > https://lists.openvz.org/mailman/listinfo/users > > > > -- > Thanks, > Arjit Chaudhary > _______________________________________________ > Users mailing list > [email protected] > https://lists.openvz.org/mailman/listinfo/users > -- Thanks, Arjit Chaudhary
_______________________________________________ Users mailing list [email protected] https://lists.openvz.org/mailman/listinfo/users
