Bug 816808
Summary: | Consumer unbind with i18n repo id succeeds with no error in the log but repo is not actually deleted from pulp.repo | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Sayli Karmarkar <skarmark> |
Component: | user-experience | Assignee: | Sayli Karmarkar <skarmark> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.1.0 | CC: | cperry |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | Sprint 35 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-25 14:13:44 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: |
Description
Sayli Karmarkar
2012-04-27 04:41:12 UTC
Fixed - commit c94c28b4179bb13bfed637f30c9ff241b785866e Author: Sayli Karmarkar <skarmark> Date: Thu Apr 26 21:45:05 2012 -0700 816808 - fixing consumer unbind through goferplugin failing to delete repo from pulp.repo file due to wrong encoding for i18n repo ids $ pulp-admin consumer bind --repoid Brasília --id consumer1Successfully subscribed consumer [consumer1] to repo [Brasília] $ cat /etc/yum.repos.d/pulp.repo # # Pulp Repositories # Managed by Pulp client # [Brasília] name = Brasília enabled = 1 sslverify = 0 gpgcheck = 0 baseurl = https://localhost/pulp/repos/repos/pulp/pulp/dev/testing/fedora-15/x86_64 $ pulp-admin consumer unbind --repoid Brasília --id consumer1Successfully unsubscribed consumer [consumer1] from repo [Brasília] $ cat /etc/yum.repos.d/pulp.repo # # Pulp Repositories # Managed by Pulp client # build: 1.1.6 verified [root@pulp-v1-1-server ~]# rpm -q pulp pulp-1.1.6-1.fc16.noarch [root@pulp-client ~]# rpm -q pulp-consumer pulp-consumer-1.1.6-1.el6.noarch [root@pulp-v1-1-server ~]# pulp-admin consumer bind --id=pulp-client --repoid=Brasília Successfully subscribed consumer [pulp-client] to repo [Brasília] [root@pulp-client ~]# cat /etc/yum.repos.d/pulp.repo # # Pulp Repositories # Managed by Pulp client # [Brasília] name = Brasília enabled = 1 sslverify = 0 gpgcheck = 0 baseurl = https://pulp-v1-1-server.usersys.redhat.com/pulp/repos/repos/pulp/pulp/v1/testing/fedora-16/x86_64[root@pulp-client ~]# [root@pulp-client ~]# [root@pulp-v1-1-server ~]# pulp-admin consumer unbind --id=pulp-client --repoid=Brasília Successfully unsubscribed consumer [pulp-client] from repo [Brasília] [root@pulp-client ~]# cat /etc/yum.repos.d/pulp.repo # # Pulp Repositories # Managed by Pulp client # [root@pulp-client ~]# [root@pulp-v1-1-server ~]# pulp-admin consumergroup bind --id=grp1 --repoid=Brasília Successfully subscribed consumer group [grp1] to repo [Brasília] [root@pulp-v1-1-server ~]# [root@pulp-client ~]# cat /etc/yum.repos.d/pulp.repo # # Pulp Repositories # Managed by Pulp client # [Brasília] name = Brasília enabled = 1 sslverify = 0 gpgcheck = 0 baseurl = https://pulp-v1-1-server.usersys.redhat.com/pulp/repos/repos/pulp/pulp/v1/testing/fedora-16/x86_64[root@pulp-client ~]# [root@pulp-v1-1-server ~]# pulp-admin consumergroup unbind --id=grp1 --repoid=Brasília Successfully unsubscribed consumer group [grp1] from repo [Brasília] [root@pulp-v1-1-server ~]# [root@pulp-client ~]# cat /etc/yum.repos.d/pulp.repo # # Pulp Repositories # Managed by Pulp client # Pulp v1.1 Release |