After upgrading to 1.6 I decided to give clone-errata another try.
I managed to have some success with version .2 getting my CentOS 5 x64
base channel errata working.
Couldn't get any others to work though, then I discovered that
clone-errata was up to ver 0.9
I'm now getting more errata published but they don't seem to apply to my
6 clients at all.
The ChanMap and SuffixMap sections are a bit confusing as the examples
on the web seem to reference RHEL channels only not CentOS ones.
Any how this is what I've done:
[ChanMap]
rhel-x86_64-server-5=centos5-x86_64
rhel-x86_64-server-supplementary-5=centos5-x86_64-extras
rhel-x86_64-server-6=centos6-x86_64
rhel-x86_64-server-optional-6=centos6-x86_64-extras
[ChanSuffixMap]
rhel-x86_64-server-5=R5-64
rhel-x86_64-server-supplementary-5=R5-64-S
rhel-x86_64-server-6=R6-64
rhel-x86_64-server-optional-6=R6-64-O
Clearly I've at least confused the Suffix Map as I used both S and O.
Have I messed this up royally or what?
Here are my channel labels and repos they point to:
centos5-x86_64 -- http://mirror.centos.org/centos-5/5/os/x86_64/
centos5-x86_64-extras -- http://mirror.centos.org/centos/5/extras/x86_64/
centos5-x86_64-updates --
http://mirror.centos.org/centos-5/5/updates/x86_64/
centos6-x86_64 -- http://mirror.centos.org/centos-6/6/os/x86_64/
centos6-x86_64-extras -- http://mirror.centos.org/centos/6/extras/x86_64/
centos6-x86_64-updates --
http://mirror.centos.org/centos-6/6/updates/x86_64/
I almost forgot, I'm getting this error when clone-errata exits:
Skipping errata due to missing package(s)...
RHSA-2008:0529
Traceback (most recent call last):
File "./rhn-clone-errata-0.9.0.py", line 807, in <module>
main()
File "./rhn-clone-errata-0.9.0.py", line 716, in main
0)
File "./rhn-clone-errata-0.9.0.py", line 445, in searchNVREA
return
self.server.packages.findByNvrea(self.rhnSession,name,version,release,archlabel)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
File "/usr/lib64/python2.6/xmlrpclib.py", line 1392, in _parse_response
return u.close()
File "/usr/lib64/python2.6/xmlrpclib.py", line 838, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault -1: 'redstone.xmlrpc.XmlRpcFault: Could not
find method: findByNvrea in class:
com.redhat.rhn.frontend.xmlrpc.packages.PackagesHandler with params:
[java.lang.String, java.lang.String, java.lang.String,
java.lang.String, java.lang.String]'>
Thanks all and thanks for the great OSS product!!!
John
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list