[Devel] Re: [Users] New pkg-cacher and vztmpl2

Alastair Neil ajneil at gmail.com
Thu Nov 20 09:53:10 PST 2008


On Thu, Nov 20, 2008 at 12:18 PM, Alastair Neil <ajneil at gmail.com> wrote:

> It seems the problems were transitory as I have now reinstalled the
> packages and everything works perfectly.  This is a very great improvement
> over the old system, great work.
>
>
> On Thu, Nov 20, 2008 at 9:34 AM, Alastair Neil <ajneil at gmail.com> wrote:
>
>> I will remove and reinstall the vzpkg2 pkg-cacher-sa and vztmpl2-centos
>> and try again, however, It looks like your provides has gone down again
>>
>>
>> On Thu, Nov 20, 2008 at 2:10 AM, Robert Nelson <robertn at the-nelsons.org>wrote:
>>
>>>  ----- Original Message -----
>>>  *From:* Alastair Neil <ajneil at gmail.com>
>>> *To:* users at openvz.org
>>> *Cc:* devel at openvz.org
>>> *Sent:* Wednesday, November 19, 2008 2:39 PM
>>> *Subject:* Re: [Users] New pkg-cacher and vztmpl2
>>>
>>> I think there may be an error in the vztmpl2-centos package:
>>>
>>> I just tried to build a centos-5-x86_64-default template and encountered
>>> problems:
>>>
>>>
>>>> http://Depweb-a.ite.gmu.edu:3142/openvz/centos/5/x86_64/repodata/repomd.xml:
>>>> [Errno 4] Socket Error: timed out
>>>> Trying other mirror.
>>>> Error: Cannot retrieve repository metadata (repomd.xml) for repository:
>>>> centos-vz-addons. Please verify its path and try again
>>>> ERROR: Command yum check-update failed with 1 exit code
>>>>
>>>
>>> I believe there is an error in the  /vz/template/centos/config/vzpkg.conf
>>> file
>>>
>>>
>>> Sounds like depweb-a.ite.gmu.edu isn't running pkg-cacher.  Did you
>>> install it using "yum install pkg-cacher-sa"?  If it is running check
>>> /var/log/pkg-cacher/error.log for any problems.
>>>
>>>
>>>
>>> I resolved the problem by changing this entries like
>>>
>>> [centos-vz-addons]
>>>> name=OpenVZ add-ons for $OS_NAME $OS_VER - $OS_ARCH
>>>> baseurl=http://$VZPKG_CACHE_HOST/openvz/$OS_NAME/$OS_VER/$OS_ARCH/
>>>> enabled=1
>>>> gpgcheck=1
>>>> gpgkey=http://repo.opensource-sw.net/centos/RPM-GPG-KEY-CentOS-ossw.asc
>>>>
>>>
>>> to:
>>>
>>> [centos-vz-addons]
>>>> name=OpenVZ add-ons for $OS_NAME $OS_VER - $OS_ARCH
>>>> baseurl=http://rep.opensource-sw.net/$OS_NAME/$OS_VER/$OS_ARCH/
>>>> enabled=1
>>>> gpgcheck=1
>>>> gpgkey=http://repo.opensource-sw.net/centos/RPM-GPG-KEY-CentOS-ossw.asc
>>>
>>>
>>>
>>> does this make sense?
>>>
>>> <snip>
>>>
>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at openvz.org
>>>> https://openvz.org/mailman/listinfo/users
>>>>
>>>>
>>>  ------------------------------
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openvz.org
>>> https://openvz.org/mailman/listinfo/users
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openvz.org
>>> https://openvz.org/mailman/listinfo/users
>>>
>>>
>>
>
curiously  I have built the same templates back to back on two machines with
machine depweb-a using depweb-b as pkg-cacher.  The machines are identical,
same manufacturer, same CPUs, same memory, same OS version and release
(centos 5.2).  On Depweb-a the compressed template images are consitantly
slightly larger than on DepWeb-b;

DepWeb-a:

> drwxr-xr-x 2 root root      4096 Nov 20 12:41 .
> drwxr-xr-x 4 root root      4096 Nov 19 14:51 ..
> -rw-r--r-- 1 root root 148930893 Nov 20 11:30
> centos-5-x86_64-default.tar.gz
> -rw-r--r-- 1 root root  48647062 Nov 20 11:32
> centos-5-x86_64-minimal.tar.gz
>
> DepWeb-b:

> drwxr-xr-x 2 root root      4096 Nov 20 12:42 .
> drwxr-xr-x 4 root root      4096 Nov 19 12:56 ..
> -rw-r--r-- 1 root root 148856710 Nov 20 11:22
> centos-5-x86_64-default.tar.gz
> -rw-r--r-- 1 root root  48594329 Nov 20 12:41
> centos-5-x86_64-minimal.tar.gz
>

any ideas what is causing the difference.  I checked and the uncompressed
sizes match.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/devel/attachments/20081120/3428e615/attachment-0001.html>


More information about the Devel mailing list