Bug 448836

Summary: up2date fails when using my repo file
Product: Red Hat Enterprise Linux 4 Reporter: Corey Marthaler <cmarthal>
Component: up2dateAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED WORKSFORME QA Contact: Ken Reilly <kreilly>
Severity: high Docs Contact:
Priority: high    
Version: 4.6.z   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-02 15:37:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Corey Marthaler 2008-05-28 22:28:24 UTC
Description of problem:
This exact cmd worked on 2 of my 3 machines, but failed on this one. 

yum mspqa http://sts.lab.msp.redhat.com/dist/brewroot/repos/qe-rhel4/$ARCH
yum RHEL4-U6 http://sts.lab.msp.redhat.com/dist/released/RHEL-4/U6/AS/x86_64/tree
yum cluster http://sts.lab.msp.redhat.com/dist/cluster/RHEL4-U6/$ARCH


[root@grant-03 ~]# up2date -fu --installall=cluster --exclude=*xenU
An error has occurred:
exceptions.ValueError
See /var/log/up2date for more information

[Wed May 28 17:20:41 2008] up2date availablePackageList from network
[Wed May 28 17:20:42 2008] up2date   File "/usr/sbin/up2date", line 1273, in ?
    sys.exit(main() or 0)
   File "/usr/sbin/up2date", line 791, in main
    fullUpdate, dryRun=options.dry_run))
   File "/usr/sbin/up2date", line 1110, in batchRun
    batch.init()
   File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 70, in init
    self.__findPackagesToUpdate()
   File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 106, in
__findPackagesToUpdate
    plist.addGlobs(self.listOfGlobs)
   File "/usr/share/rhn/up2date_client/packageList.py", line 161, in addGlobs
    availList = rhnPackageInfo.getAvailablePackageList()
   File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 235, in
getAvailablePackageList
    package_list = availablePackageList(
   File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 169, in
availablePackageList
    progressCallback = progressCallback)
   File "/usr/share/rhn/up2date_client/rpcServer.py", line 238, in doCall
    ret = apply(method, args, kwargs)
   File "/usr/share/rhn/up2date_client/repoDirector.py", line 22, in listPackages
    return self.handlers[channel['type']].listPackages(channel, msgCallback,
progressCallback)
   File "/usr/share/rhn/up2date_client/rpmSource.py", line 229, in listPackages
    msgCallback, progressCallback)
   File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line 190, in
listPackages
    channelTimeStamp = time.strptime(oldVersion,"%Y%m%d%H%M%S")
   File "/usr/lib64/python2.3/_strptime.py", line 424, in strptime
    raise ValueError("time data did not match format:  data=%s  fmt=%s" %


Version-Release number of selected component (if applicable):
up2date-4.6.2-7.el4

How reproducible:
everytime on this machine

Comment 3 Corey Marthaler 2009-09-02 15:37:46 UTC
This bug is 1+ years old, closing. Will reopen if seen again.