Bug 1211607

Summary: Deleted product repos has been listed under Operating system-> Installation Media to select.
Product: Red Hat Satellite Reporter: Jitendra Yejare <jyejare>
Component: WebUIAssignee: Eric Helms <ehelms>
WebUI sub component: Katello QA Contact: Tazim Kolhar <tkolhar>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: unspecified CC: bbuckingham, bkearney, cwelton, ehelms, tkolhar
Version: 6.1.0Keywords: Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Linux   
URL: http://projects.theforeman.org/issues/10601
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 16:04:14 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:
Attachments:
Description Flags
Screenshot of Deleted repos listed and Product tab none

Description Jitendra Yejare 2015-04-14 12:24:44 UTC
Created attachment 1014288 [details]
Screenshot of Deleted repos listed and Product tab

Description of problem:
The repos for deleted product has been listed under Hosts->Operating System-> Installation Media to select.

Version-Release number of selected component (if applicable):
Satellite 6 Snap 11 RC5 (Satellite-6.1.0-RHEL-7-20150407)

How reproducible:


Steps to Reproduce:
1. Create a new customised CentOS product.
2. Add 2-3 CentOS repos to that product.
3. Then sync those repos.
4. We can also promote these repos to the environment.(I tried this step)
5. After that delete the CentOS repos and also delete the product.
6. On Successful delete of product, Go to Hosts->Operating System.
7. Start creating a new operating System.
8. Observe the repos listed under Installation Media tab.

Actual results:
The deleted repos of deleted product has been listed under Installation Media tab.

Expected results:
The deleted repos of any product should not be displayed under installation Media tab.

Additional info:

Comment 2 Eric Helms 2015-05-22 21:19:17 UTC
Created redmine issue http://projects.theforeman.org/issues/10601 from this bug

Comment 3 Bryan Kearney 2015-06-16 02:05:06 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/10601 has been closed
-------------
Eric Helms
Applied in changeset commit:katello|acb2e52a38ee9fd4566c4a44d394d4b4331a9ee0.

Comment 5 Bryan Kearney 2015-06-26 14:32:27 UTC
Delivered in Snap10

Comment 6 Tazim Kolhar 2015-07-10 09:50:30 UTC
VERIFIED:

# rpm -qa | grep foreman
ruby193-rubygem-foreman-tasks-0.6.12.8-1.el7sat.noarch
rubygem-hammer_cli_foreman_docker-0.0.3.9-1.el7sat.noarch
foreman-selinux-1.7.2.13-1.el7sat.noarch
foreman-ovirt-1.7.2.30-1.el7sat.noarch
rubygem-hammer_cli_foreman_bootdisk-0.1.2.7-1.el7sat.noarch
foreman-debug-1.7.2.30-1.el7sat.noarch
ruby193-rubygem-foreman_bootdisk-4.0.2.13-1.el7sat.noarch
foreman-1.7.2.30-1.el7sat.noarch
ruby193-rubygem-foreman_docker-1.2.0.18-1.el7sat.noarch
ruby193-rubygem-foreman-redhat_access-0.2.0-8.el7sat.noarch
rubygem-hammer_cli_foreman_discovery-0.0.1.10-1.el7sat.noarch
foreman-proxy-1.7.2.5-1.el7sat.noarch
ibm-x3755-02.ovirt.rhts.eng.bos.redhat.com-foreman-client-1.0-1.noarch
ibm-x3755-02.ovirt.rhts.eng.bos.redhat.com-foreman-proxy-client-1.0-1.noarch
foreman-compute-1.7.2.30-1.el7sat.noarch
foreman-vmware-1.7.2.30-1.el7sat.noarch
ruby193-rubygem-foreman_hooks-0.3.7-2.el7sat.noarch
rubygem-hammer_cli_foreman-0.1.4.14-1.el7sat.noarch
foreman-libvirt-1.7.2.30-1.el7sat.noarch
ruby193-rubygem-foreman_gutterball-0.0.1.9-1.el7sat.noarch
ibm-x3755-02.ovirt.rhts.eng.bos.redhat.com-foreman-proxy-1.0-1.noarch
foreman-gce-1.7.2.30-1.el7sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3.4-1.el7sat.noarch
ruby193-rubygem-foreman_discovery-2.0.0.17-1.el7sat.noarch
foreman-postgresql-1.7.2.30-1.el7sat.noarch

steps:
1. Create a new customised CentOS product.
2. Add 2-3 CentOS repos to that product.
3. Then sync those repos.
4. We can also promote these repos to the environment.(I tried this step)
5. After that delete the CentOS repos and also delete the product.
6. On Successful delete of product, Go to Hosts->Operating System.
7. Start creating a new operating System.
8. Observe the repos listed under Installation Media tab.
The deleted repos of any product is not be displayed under installation Media tab.

Comment 7 Bryan Kearney 2015-08-12 16:04:14 UTC
This bug was fixed in Satellite 6.1.1 which was delivered on 12 August, 2015.