Bug 1310716

Summary: spacewalk-repo-sync doesn't work with parameter --latest'
Product: [Community] Spacewalk Reporter: Pavel Studeník <pstudeni>
Component: ServerAssignee: Jiří Dostál <jdostal>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.4CC: ramrajan, tkasparek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-16 08:11:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1484117    

Description Pavel Studeník 2016-02-22 15:08:40 UTC
Description of problem:
I tried to sync fedora's channel and when I run it with parameter --latest I received error.

Sync started: Mon Feb 22 09:47:33 2016
['/usr/bin/spacewalk-repo-sync', '--channel', 'fedora-23-x86_64', '--type', 'yum', '--latest']
Repo URL: http://download.eng.brq.redhat.com/pub/fedora/linux/releases/23/Everything/x86_64/os/
ERROR: 'NoneType' object has no attribute 'group'
Sync completed.
Total time: 0:01:03

But without param "--latest" it works.

Sync started: Mon Feb 22 09:58:28 2016
['/usr/bin/spacewalk-repo-sync', '--channel', 'fedora-23-x86_64', '--type', 'yum']
Repo URL: http://download.eng.brq.redhat.com/pub/fedora/linux/releases/23/Everything/x86_64/os/
Packages in repo:             46074
....

Version-Release number of selected component (if applicable):
spacewalk-backend-tools-2.4.23-1.el7.noarch

How reproducible:
always

Comment 1 Tomas Lestach 2016-02-22 16:51:05 UTC
I believe this has been fixed already. Jiri, would you put here the right commit, please?

Comment 2 Jiří Dostál 2016-02-23 12:01:43 UTC
This issue has been fixed by following pull request https://github.com/spacewalkproject/spacewalk/pull/347

Comment 3 Ramrajan 2016-03-03 19:28:05 UTC
I am having the same issue syncing with my repository. I am super new with github and getting the patches?

How do i get the updated code in  to my server?

Comment 4 Tomáš Kašpárek 2016-06-16 08:11:44 UTC
Spacewalk 2.5 was released.

Comment 5 Eric Herget 2017-09-28 18:12:00 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.