Bug 1488441 - Nightly repo in COPR contains spacewalk-repo pointing to yum.spacewalkproject.org
Summary: Nightly repo in COPR contains spacewalk-repo pointing to yum.spacewalkproject...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Release
Version: 2.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space27
TreeView+ depends on / blocked
 
Reported: 2017-09-05 12:00 UTC by Lukáš Hellebrandt
Modified: 2017-09-27 19:39 UTC (History)
2 users (show)

Fixed In Version: spacewalk-repo-2.8-2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-27 19:39:55 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.