Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1488441

Summary: Nightly repo in COPR contains spacewalk-repo pointing to yum.spacewalkproject.org
Product: [Community] Spacewalk Reporter: Lukáš Hellebrandt <lhellebr>
Component: ReleaseAssignee: Michael Mráka <mmraka>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.7CC: eherget, mmraka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-repo-2.8-2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-27 19:39:55 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1484117    

Description Lukáš Hellebrandt 2017-09-05 12:00:55 UTC
Description of problem:
Nightly repo was moved from yum.spacewalkproject.org to COPR. To install Spacewalk, one should download spacewalk-repo rpm from COPR that adds .repo file to yum pointing to COPR. However, this COPR repo contains spacewalk-repo rpm that contains spacewalk-nightly.repo that points yum to yum.spacewalkproject.org instead of COPR.

Workaround:
Start at https://copr.fedorainfracloud.org/coprs/g/spacewalkproject/nightly/, select OS and manually save the returned file to /etc/yum.repos.d (as opposed to installing spacewalk-repo rpm from the linked repo)

Version:
Nightly

How reproducible:
Deterministic

Steps to Reproduce:
Example:
We want SW nightly on RHEL6:
1) Start at https://copr.fedorainfracloud.org/coprs/g/spacewalkproject/nightly/
2) Select OS -> https://copr.fedorainfracloud.org/coprs/g/spacewalkproject/nightly/repo/epel-6/group_spacewalkproject-nightly-epel-6.repo
3) Follow baseurl to the repo in COPR (use correct arch) -> https://copr-be.cloud.fedoraproject.org/results/@spacewalkproject/nightly/epel-6-x86_64/
4) Go to spacewalk-repo -> https://copr-be.cloud.fedoraproject.org/results/@spacewalkproject/nightly/epel-6-x86_64/00591346-spacewalk-repo/
5) Download and open spacewalk-repo rpm -> https://copr-be.cloud.fedoraproject.org/results/@spacewalkproject/nightly/epel-6-x86_64/00591346-spacewalk-repo/spacewalk-repo-2.8-1.el6.noarch.rpm
6) Browse rpm to /etc/yum.repos.d/spacewalk-nightly.repo , open it
7) The file contains baseurl=http://yum.spacewalkproject.org/nightly/RHEL/6/$basearch/ so it points to the old repo

Actual results:
spacewalk-repo.rpm contains spacewalk-nightly.repo pointing to old repo

Expected results:
spacewalk-repo.rpm contains spacewalk-nightly.repo pointing to COPR

Comment 1 Michael Mráka 2017-09-05 13:19:03 UTC
Fixed in spacewalk git by
commit 7443e533036bfa4bd8812949a2e92d23bf76a638
    1488441 - spacewalk repo is now in COPR

Comment 2 Eric Herget 2017-09-27 19:39:55 UTC
Spacewalk 2.7 has been released.

https://github.com/spacewalkproject/spacewalk/wiki/ReleaseNotes27