Deleted product repos has been listed under Operating system-> Installation Media to select.
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1211607
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)
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.
The deleted repos of deleted product has been listed under Installation Media tab.
The deleted repos of any product should not be displayed under installation Media tab.