Bug 790041 - remove_errata doesn't seem to be removing errata from repository
Summary: remove_errata doesn't seem to be removing errata from repository
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jeff Ortel
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-13 14:37 UTC by Preethi Thomas
Modified: 2012-02-14 17:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-14 17:52:52 UTC


Attachments (Terms of Use)

Description Preethi Thomas 2012-02-13 14:37:04 UTC
Description of problem:

remove_errata doesn't seem to be removing errata from repository even though the message says Successfully removed Errata.

Version-Release number of selected component (if applicable):
[root@katello-test ~]# rpm -q pulp
pulp-0.0.265-1.el6.noarch
[root@katello-test ~]# 


How reproducible:


Steps to Reproduce:
1.Run pulp-admin repo remove_errata  on a repo which has errata
2.
3.
  
Actual results:

[root@katello-test ~]# pulp-admin repo remove_errata --id=errata-repo -e RHEA-2010:9999
Successfully removed Errata ['RHEA-2010:9999'] from repo [errata-repo]. Please run `pulp-admin repo generate_metadata` to update the repository metadata.

[root@katello-test ~]# pulp-admin errata list
+------------------------------------------+
             Errata Information
+------------------------------------------+

Id                  	Type           	Title

RHEA-2010:9999      	enhancements   	test package enhancements
test-errata         	bug-fix        	test-errata


Expected results:


Additional info:

Comment 1 Preethi Thomas 2012-02-14 17:52:52 UTC
looks like this is a non issue
closing
[root@katello-test ~]# rpm -q pulp
pulp-0.0.266-1.el6.noarch

[root@katello-test ~]# pulp-admin  errata create --id=test1 --title test1 --version 1 --release 1 --type bug-fix
Successfully created an Erratum with id [test1]

[root@katello-test ~]# 
[root@katello-test ~]# 
[root@katello-test ~]# pulp-admin  repo add_errata --id=foo -e test1
Successfully associated Errata ['test1'] to repo [foo]. Please run `pulp-admin repo generate_metadata` to update the repository metadata.

[root@katello-test ~]# pulp-admin  errata list --repoid=foo+------------------------------------------+
       Available Errata in Repo [foo]
+------------------------------------------+

Id                  	Type           	Title

test                	bugfix         	test
RHEA-2010:9999      	enhancements   	test package enhancements
test1               	bug-fix        	test1

[root@katello-test ~]# pulp-admin  repo remove_errata --id=foo -e RHEA-2010:9999
Successfully removed Errata ['RHEA-2010:9999'] from repo [foo]. Please run `pulp-admin repo generate_metadata` to update the repository metadata.

[root@katello-test ~]# pulp-admin  errata list --repoid=foo+------------------------------------------+
       Available Errata in Repo [foo]
+------------------------------------------+

Id                  	Type           	Title

test                	bugfix         	test
test1               	bug-fix        	test1

[root@katello-test ~]#


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