Bug 674908 - Changes to pulp repo relative path or gpg keys not reflected in pulp.repo
Summary: Changes to pulp repo relative path or gpg keys not reflected in pulp.repo
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: Sprint 20
Assignee: Jeff Ortel
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-02-03 17:40 UTC by Jeff Ortel
Modified: 2011-08-16 12:20 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-08-16 12:07:18 UTC
Embargoed:


Attachments (Terms of Use)

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.


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