Hide Forgot
Description of problem: Subscription manager always displays products from the Locker independently of the environment your machine is registered to. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Create an environment Development in ACME_Corporation 2. Create a provider and product "katello", with a repo "f14-x86-64", url of http://repos.fedorapeople.org/repos/katello/katello/fedora-14/x86_64/ 3. Run subscription-manager, register the system to the Development environment and update available subscriptions 4. You will see katello product listed Actual results: All products in the system are listed in available subscriptions. Expected results: Only products from the environment your machine is registered to should be visible. Additional info:
I don't see this anymore.
# REOPEN issue is there still. Scenario is: 1. create prov/prod/repo - pulp (url: http://repos.fedorapeople.org/repos/pulp/pulp/6Server/x86_64/) 2. Sync the repo (now it's in "Library") 3. create environment. DON'T promote any content there. 4. register a system to that environment. 5. run: subscription-manager list --available enjoy seeing that pulp repo in the list of available subscriptions. checked against: --- katello-0.1.228-1.git.5.eabe87d.el6.noarch katello-cli-0.1.54-1.git.0.2670189.el6.noarch subscription-manager-0.99.6-1.el6.x86_64 pulp-0.0.265-1.el6.noarch candlepin-0.5.8-1.el6.noarch
# REOPEN Here is the scenario: I had already a repo promoted to Dev environment (called: Zoo) Now I have prepared and synced the Pulp "for RHEL6" but *NOT* promoted to the Dev yet. subscribing my system to that Katello I could see: --- subscription-manager list --available +-------------------------------------------+ Available Subscriptions +-------------------------------------------+ ProductName: Pulp for RHEL6 ProductId: 1329916060927 PoolId: 8aa29ab335a4866f0135a52ca5ea003c Quantity: unlimited Multi-Entitlement: No Expires: 02/14/2042 MachineType: physical ProductName: Zoo ProductId: 1329906247327 PoolId: 8aa29ab335a4866f0135a496e81e0006 Quantity: unlimited Multi-Entitlement: No Expires: 02/14/2042 MachineType: physical which is wrong, --all option should bring the product "Pulp for RHEL6" and the --available option ONLY - not.
Everything seems to work since candlepin introduced environemnts. 1) create a product with some repos 2) register to an environment 3) `subscription-manager list --available` -> shows the available subscriptions for the product 4) subscribe to it -> successfully consumed, restart rhsmcertd -> repos are not listed in redhat.repo, which is correct 5) promote the product to the environment 6) restart rhsmcertd -> the repos are now available Tested with: katello-0.2.35-1 subscription-manager-0.99.12-1 candlepin-0.5.27-1
ACK.. not a bug. This is performing as expected. If you have a subscription, you should be able to assign it to a machine. However, you should only get content when it that content is promoted.