Re: Func yumcmd failure on Centos 4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2008-05-24 at 00:40 -0600, Michael Best wrote:
> Running the certmaster server on Fedora, package versions:
> func-0.18-1.fc9.noarch
> certmaster-0.19-1.fc9.noarch
> 
> Running the func client on Centos 4, package versions:
> func-0.18-1.el4
> certmaster-0.19-1.el4
> yum-2.4.3-4.el4.centos
> 
> [root@fedora ~]# func "*" call yumcmd update
> on https://test.example.com:51234 running yumcmd update ()
> ['REMOTE_ERROR', 'exceptions.AttributeError', "YumBase instance has no 
> attribute
>   'doGenericSetup'", '  File 
> "/usr/lib/python2.3/site-packages/func/minion/server
> .py", line 137, in __call__\n    rc = self.__method(*args)\n   File 
> "/usr/lib/py
> thon2.3/site-packages/func/minion/modules/yumcmd.py", line 30, in 
> update\n    ay
> um.doGenericSetup()\n']

this problem is due to a incompatibility between yum api and func...I
got similar error on a centos 5 time ago...

I think write patch to support those yum version shouldn't difficult, it
was in my plans but I was too busy and I forgot :)

> [root@fedora ~]# func "*" call yumcmd check_update
> on https://test.example.com:51234 running yumcmd check_update ()
> ['REMOTE_ERROR', 'exceptions.IOError', '[Errno 32] Broken pipe', '  File 
> "/usr/l
> ib/python2.3/site-packages/func/minion/server.py", line 137, in 
> __call__\n    rc
>   = self.__method(*args)\n   File 
> "/usr/lib/python2.3/site-packages/func/minion/m
> odules/yumcmd.py", line 50, in check_update\n    return map(str, 
> ayum.doPackageL
> ists(\'updates\').updates)\n   File "__init__.py", line 906, in 
> doPackageLists\n
>     File "__init__.py", line 282, in doUpdateSetup\n   File 
> "__init__.py", line 2
> 66, in doSackSetup\n   File "__init__.py", line 412, in 
> includePackages\n   File
>   "__init__.py", line 70, in log\n']

I guess is something due to the same above problem.

[...]

Luca
-- 
Today is Prickle-Prickle, the 71st day of Discord in the YOLD 3174

If life gives you lemons, make lemonade.

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux