Bug 674908

Summary: Changes to pulp repo relative path or gpg keys not reflected in pulp.repo
Product: [Retired] Pulp Reporter: Jeff Ortel <jortel>
Component: z_otherAssignee: Jeff Ortel <jortel>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Triaged
Target Milestone: ---   
Target Release: Sprint 20   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-16 12:07:18 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: 647488    

Description Jeff Ortel 2011-02-03 17:40:04 UTC
Description of problem:

Changing a pulp repo's feed/relativepath or gpg keys using 'repo update' command
does not cause the subscribed consumer(s) to update their pulp.repo file.


Version-Release number of selected component (if applicable):

0.134

How reproducible:

Always

Steps to Reproduce:

Make sure the consumer 

1. Create a repo A
2. Create a consumer
3. Bind the consumer --repoid=A
4. Update the 'A' repo feed changing the relative path
  
Actual results:

The pulp.repo file has the old baseurl.

Expected results:

The baseurl should reflect the new relative path.


Additional info:

Comment 1 Jeff Ortel 2011-02-04 14:38:56 UTC
Fixed.

Comment 2 Jay Dobies 2011-02-04 19:24:03 UTC
Fixed in 0.135.

Comment 3 Preethi Thomas 2011-02-07 16:52:10 UTC
[root@preethi ~]# rpm -q pulp
pulp-0.0.135-1.fc14.noarch

[root@preethi ~]# pulp-admin repo create --id=mypulp --name=mypulp --arch=x86_64 --feed=yum:http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-14/x86_64/
Successfully created repository [ mypulp ]


[root@10 ~]# pulp-client -u admin -p admin consumer bind --repoid=mypulp
Successfully subscribed consumer [client1] to repo [mypulp]

[root@10 ~]# cat /etc/yum.repos.d/pulp.repo 
#
# Pulp Repositories
# Managed by Pulp client
#

[mypulp]
name = mypulp
baseurl = https://preethi.usersys.redhat.com/pulp/repos/repos/pulp/pulp/testing/fedora-14/x86_64
enabled = 1
sslverify = 0
gpgcheck = 0[root@10 ~]# 

[root@preethi ~]# pulp-admin repo update --id=mypulp --name=mypulp --relativepath=/tmp/mypulp/
Successfully updated repository [ mypulp ]




[root@10 ~]# 
[root@10 ~]# 
[root@10 ~]# 
[root@10 ~]# cat /etc/yum.repos.d/pulp.repo 
#
# Pulp Repositories
# Managed by Pulp client
#

[mypulp]
name = mypulp
baseurl = https://preethi.usersys.redhat.com/pulp/repos/tmp/mypulp
enabled = 1
sslverify = 0
gpgcheck = 0[root@10 ~]#

Comment 4 Preethi Thomas 2011-08-16 12:07:18 UTC
Closing with Community Release 15

pulp-0.0.223-4.

Comment 5 Preethi Thomas 2011-08-16 12:20:59 UTC
Closing with Community Release 15

pulp-0.0.223-4.