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

Bug 516479

Summary: Upgrade to 0.6 broke yum due to new, not-working spacewalk.repo
Product: [Community] Spacewalk Reporter: Sandro Mathys <sandro>
Component: InstallationAssignee: Jesus M. Rodriguez <jesusr>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.6CC: msuchy
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-01-27 14:48:41 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:
Bug Depends On:    
Bug Blocks: 507670    

Description Sandro Mathys 2009-08-10 06:43:29 UTC
Description of problem:
I upgraded from 0.5 to 0.6 yesterday. Afterwards, my spacewalk.repo was replaced by a new one (and renamed to *.rpmsave). The problem is, that the new spacewalk.repo does point to a URL that does not exist. Also, I don't see why the new RPMs would overwrite my repo file.

Version-Release number of selected component (if applicable):
spacewalk-repo-0.6-1.el5

How reproducible:
N/A

Steps to Reproduce:
1. Upgrade Spacewalk 0.5 to 0.6 (probably also occurs with first-time installation)
2. yum clean all && yum repolist -> fail
3. diff /etc/yum.repos.d/spacewalk.repo.rpmsave /etc/yum.repos.d/spacewalk.repo
  
Actual results:
yum is broken, repo file is misconfigured

Expected results:
yum still works and so does the repo

Additional info:

Comment 1 Jan Pazdziora (Red Hat) 2009-08-10 07:31:01 UTC
Reassigning to Devan as he might know what is going on.

Comment 2 Devan Goodwin 2009-08-10 12:14:42 UTC
Could you post the contents of the diff command in step 3. Thanks.

Comment 3 Sandro Mathys 2009-08-10 12:35:09 UTC
I'm sorry, I can't. I did a mv spacewalk.repo.rpmsave spacewalk.repo even before I posted this bug...only recognized I should have kept the non-working copy while writing the report.

Also, I can't reproduce it with a simple 'yum reinstall spacewalk-repo', which is strange...not sure where the wrong repo file came from, hopefully it's not a case of PEBKAC :/

Comment 4 Sandro Mathys 2009-08-10 14:24:04 UTC
btw, what I reported seems very similar to this:

https://www.redhat.com/archives/spacewalk-announce-list/2009-August/msg00001.html

The repo url was something like:
http://spacewalk.redhat.com/yum/0.6/rhel/5/<arch>/5Server/os/

instead of:
http://spacewalk.redhat.com/yum/0.6/RHEL/5/<arch>/os/

I'm sure about the rhel/RHEL issue, not sure where exactly the 5Server was located within the url, but I think it was additionally to the stand-alone 5.

Comment 5 Devan Goodwin 2009-08-10 14:55:50 UTC
Jesus is already cracking on this, assigning to him.

Comment 6 Jesus M. Rodriguez 2009-08-10 15:08:36 UTC
fixing fedora and rhel urls. Not sure why this release is different :(

rhel fixed in a45b088c8c881b84e7c9b3620d4681f2134c9e44
fedora fixed in 223425aa7174d80abd8f1a86a6ff0b95ea4070b2