Cannot cache Fedora Core 5 and 6 EZ templates.

Article ID: 1753 
Last Review: Oct,6 2008
Author: Vitaly Filatov
Last updated by: system APPLIES TO:
  • Parallels Virtuozzo Containers for Linux

Symptoms

I am trying to create cache for Fedora  Core 5 or 6 EZ templates and see the error message like shown below:

# vzpkg create cache fedora-core-6-x86_64
> Debug: Using temporary VEID 10000001
> Debug: Mounting VE private area
> ERROR: Can not load mirrirlist(s):
> http://fedora.redhat.com/download/mirrors/fedora-core-6
> ERROR: Can not get yum configs for fedora-core-6-x86_64 OS template

Cause

Fedora changed repository structure, there is two-level redirection now. 'vzpkg' utility in Virtuozzo 3.0 does not support it (in Virtuozzo 4.0 - it does).

Mirror lists are now located at http://rhold.fedoraproject.org/Download/mirrors/fedora-core-5 and http://rhold.fedoraproject.org/Download/mirrors/fedora-core-6

Resolution

Change FC_SERVER variable in the file /etc/vztt/url.map file to rhold.fedoraproject.org so that it looks like

FC_SERVER=http://rhold.fedoraproject.org

Note: in Virtuozzo 3.x the file to change is /etc/vztt/vztt.conf

Also change the file 'mirrorlist' in template configuration folder, e.g. for Fedora Core 6 for x86 change the file /vz/template/fedora-core/6/x86/config/os/default/mirrorlist - replace these variables

$FC_SERVER/download/mirrors/fedora-core-6
$FC_SERVER/download/mirrors/updates-released-fc6

with

$FC_SERVER/Download/mirrors/fedora-core-6
$FC_SERVER/Download/mirrors/updates-released-fc6

Keywords: vztt mirrorlist fedora ez template cache repository


Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields