I have this ouput when I do a "yum check-update" which is the command
which is run in the yumhelper.py :

Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Skipping security plugin, no data

compat-dapl.i386                         2.0.13-4.el5           rhel-
Server
compat-dapl.x86_64                       2.0.13-4.el5           rhel-
Server
compat-dapl-devel.i386                   2.0.13-4.el5           rhel-
Server
compat-dapl-devel.x86_64                 2.0.13-4.el5           rhel-
Server
iscsi-initiator-utils.x86_64             6.2.0.868-0.18.el5     rhel-
Server
libmlx4.i386                             1.0-4.el5              rhel-
Server
libmlx4.x86_64                           1.0-4.el5              rhel-
Server
libsdp.i386                              1:1.1.99-10.el5_2      rhel-
Server
libsdp.x86_64                            1:1.1.99-10.el5_2      rhel-
Server
perftest.x86_64                          1.2-11.el5             rhel-
Server
qlvnictools.x86_64                       0.0.1-10.el5           rhel-
Server
rsyslog.x86_64                           4.6.3-ourrepository.20101008
                                                                rhel-
CHPLinux
srptools.x86_64                          0.0.4-2.el5            rhel-
Server
tvflash.x86_64                           0.9.0-2.el5            rhel-
Server


As you see, the difference is with the output of the rsyslog update.

Now when I apply my configuration in noop mode :

[root@nfs1 ~]# puppetd -t --noop
info: Retrieving plugin
info: Caching catalog for nfs1.infra
err: Could not prefetch package provider 'yum': Execution of '/openpkg/
bin/python /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/
yumhelper.py' returned 1: _pkg compat-dapl.i386 0 rhel Server
2.0.13-4.el5
_pkg compat-dapl.x86_64 0 rhel Server 2.0.13-4.el5
_pkg compat-dapl-devel.i386 0 rhel Server 2.0.13-4.el5
_pkg compat-dapl-devel.x86_64 0 rhel Server 2.0.13-4.el5
_pkg iscsi-initiator-utils.x86_64 0 rhel Server 6.2.0.868-0.18.el5
_pkg libmlx4.i386 0 rhel Server 1.0-4.el5
_pkg libmlx4.x86_64 0 rhel Server 1.0-4.el5
_pkg libsdp.i386 0 rhel Server 1:1.1.99-10.el5_2
_pkg libsdp.x86_64 0 rhel Server 1:1.1.99-10.el5_2
_pkg perftest.x86_64 0 rhel Server 1.2-11.el5
_pkg qlvnictools.x86_64 0 rhel Server 0.0.1-10.el5
<type 'exceptions.IndexError'>

info: Applying configuration version '1295349005'

Now I'm using openpkg so I have an openpkg version of python and a
system version so I was able to make some tests :

[root@nfs1 ~]# /openpkg/bin/python -V
Python 2.6.1
[root@nfs1 ~]# /openpkg/bin/python /usr/lib/ruby/site_ruby/1.8/puppet/
provider/package/yumhelper.py
_pkg compat-dapl.i386 0 rhel Server 2.0.13-4.el5
_pkg compat-dapl.x86_64 0 rhel Server 2.0.13-4.el5
_pkg compat-dapl-devel.i386 0 rhel Server 2.0.13-4.el5
_pkg compat-dapl-devel.x86_64 0 rhel Server 2.0.13-4.el5
_pkg iscsi-initiator-utils.x86_64 0 rhel Server 6.2.0.868-0.18.el5
_pkg libmlx4.i386 0 rhel Server 1.0-4.el5
_pkg libmlx4.x86_64 0 rhel Server 1.0-4.el5
_pkg libsdp.i386 0 rhel Server 1:1.1.99-10.el5_2
_pkg libsdp.x86_64 0 rhel Server 1:1.1.99-10.el5_2
_pkg perftest.x86_64 0 rhel Server 1.2-11.el5
_pkg qlvnictools.x86_64 0 rhel Server 0.0.1-10.el5
<type 'exceptions.IndexError'>


[root@nfs1 ~]# /usr/bin/python -V
Python 2.4.3
[root@nfs1 ~]# /usr/bin/python /usr/lib/ruby/site_ruby/1.8/puppet/
provider/package/yumhelper.py
Loaded plugins: rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
_pkg compat-dapl 0 2.0.13 4.el5 x86_64
_pkg libsdp 1 1.1.99 10.el5_2 i386
_pkg tvflash 0 0.9.0 2.el5 x86_64
_pkg libmlx4 0 1.0 4.el5 i386
_pkg libmlx4 0 1.0 4.el5 x86_64
_pkg qlvnictools 0 0.0.1 10.el5 x86_64
_pkg compat-dapl-devel 0 2.0.13 4.el5 i386
_pkg compat-dapl 0 2.0.13 4.el5 i386
_pkg rsyslog 0 4.6.3 CHPLinux.20101008 x86_64
_pkg perftest 0 1.2 11.el5 x86_64
_pkg libsdp 1 1.1.99 10.el5_2 x86_64
_pkg srptools 0 0.0.4 2.el5 x86_64
_pkg iscsi-initiator-utils 0 6.2.0.868 0.18.el5 x86_64
_pkg compat-dapl-devel 0 2.0.13 4.el5 x86_64


So it seems to work when we're on 2.4.3 but not on 2.6.1.

Anyone else had this problem?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to