Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 855000

Summary: [FJ-SAM Bug]: Can auto-subscribe even when "auto-subscribe" is turned off in SAM WebUI
Product: Red Hat Satellite Reporter: Eric Sammons <esammons>
Component: Content ManagementAssignee: Tom McKay <tomckay>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: linuxdev-bm, linuxdev-ofuku, ltroan, moshiro, tomckay, yoguma
Target Milestone: UnspecifiedKeywords: OtherQA
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 854800 Environment:
Last Closed: 2012-09-21 12:33:49 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:
Bug Depends On: 854800    
Bug Blocks: 804059, 816564    

Description Eric Sammons 2012-09-06 13:37:30 UTC
+++ This bug was initially created as a clone of Bug #854800 +++

Created attachment 610149 [details]
sosreport of SAM server

Customer Contact Name:
  Masahiro Imada
  
Description of Problem:
 On SAM WebUI, we have turned off auto-subscribe function for the system registered. However, the system registered to SAM can still auto-subscribe by following command.

  # subscription-manager subscribe --auto

 Please fix SAM so that we can turn off auto-subscribe.
 
Version-Release number of selected component:

  Red Hat Enterprise Linux Version Number: 6
  Release Number: 6.3
  Architecture: Intel64
  Kernel Version: 2.6.32-279.el6
  Related Package Version: 
    katello-glue-candlepin-0.3.3-1.el6_2.noarch
    katello-headpin-all-0.2.13-1.el6_2.noarch
    katello-common-0.3.3-1.el6_2.noarch
    katello-configure-0.3.7-1.el6_2.noarch
    katello-headpin-0.2.13-1.el6_2.noarch
    katello-candlepin-cert-key-pair-1.0-1.noarch
    katello-cli-common-0.3.5-2.el6_2.noarch
    katello-certs-tools-1.1.5-1.el6_2.noarch
    katello-selinux-0.2.4-1.el6_2.noarch
    katello-cli-headpin-0.2.2-1.el6_2.noarch
  
  Related Middleware/Application: None

Drivers or hardware or architecture dependency: 
  None

How reproducible: 
  Always

Step to Reproduce:
  [1]Build a SAM server.
  [2]Register a system to SAM.
  [3]Turn off "auto-subscribe" of the registered system through SAM WebUI.
  [4]Execute "subscription-manager subscribe --auto" on the registered client.
	
Actual Results:
  The registered system can still auto-subscribe even after it is turned off.

Expected Results:
  The registered system cannot auto-subscribe after it is turned off.

Summary of actions taken to resolve issue:
  None
 
Location of diagnostic data:
  None
 
Hardware configuration:
  Hypervisor: KVM
  Model: PRIMERGY RX200 S5
  CPU Info: Intel(R) Xeon(R) CPU X5570 @ 2.93GHz
  Memory Info: 8GB
  Hardware Component Information:
  Configuration Info:
  Guest Configuration Info:

Business Impact:
If it's impossible to stop auto-subscribe on SAM WebUI, our customers cannot prevent easily RHEL users from subscribing unexpected subscriptions they don't want to use. Thus, the customers will take much time to instruct the users not to use auto-subscribe.

  Target Release: Subscriptions Asset Manager 1.2

  Errata Request:

Additional Info:
  We attached the sosreport of the SAM server and the registered system.

--- Additional comment from moshiro on 2012-09-05 23:47:09 EDT ---

Hi Fujitsu,

I will monitor this ticket as a TAM.

Best Regards,
Moritoshi Oshiro

Comment 2 Tom McKay 2012-09-21 12:33:49 UTC
Mistaken clone

*** This bug has been marked as a duplicate of bug 854800 ***