RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1218438 - [RFE] RHEL 6: make --auto-attach the default behavior for subscription-manager, and register without attaching if no matching subs found
Summary: [RFE] RHEL 6: make --auto-attach the default behavior for subscription-manage...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel72 1275344
TreeView+ depends on / blocked
 
Reported: 2015-05-04 22:14 UTC by Xixi
Modified: 2016-01-05 16:04 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: 1214829
Environment:
Last Closed: 2016-01-05 16:04:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1214829 0 medium CLOSED [RFE] RHEL 7: make --auto-attach the default behavior for subscription-manager, and register without attaching if no mat... 2021-02-22 00:41:40 UTC

Internal Links: 1214829

Description Xixi 2015-05-04 22:14:06 UTC
(cloning for RHEL 6)

+++ This bug was initially created as a clone of Bug #1214829 +++

Description of problem:
RFE to make the RHSM registration process one-step by default - i.e. system registration *and* subscription attachment, i.e. set --auto-attach to be the default behavior, and just register the systeam without descriptions if no matching subs are found.

It would help ease a lot of customer use if Red Hat Subscription Management registration process was closer to RHN Classic registration (one step
instead of two). rhnreg_ks and rhn_register for example tries to find and subscribe the most appropriate base Software Channel in addition to system registration.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
by default subscription-manager does not try to attach subscriptions, have to manually specify --auto-attach

Expected results:
subscription-manager tries to attach subscriptions as part of system registration (make --auto-attach the default behavior) so customer needs to run only a single command once for registration and subscription

Additional info:

--- Additional comment from Xixi on 2015-04-23 11:43:18 EDT ---

filing bz as usability improvement per discussion with brianh (thanks for the suggestion!) and bk

--- Additional comment from John Sefler on 2015-04-23 11:47:04 EDT ---

Although this is not exactly what you are asking for, starting with subscription-manager-1.14, the subscribe module has been updated to default to --auto attach subscriptions...

[root@qe-blade-13 ~]# subscription-manager subscribe --help | grep -A1 -- --auto
  --auto                Automatically attach compatible subscriptions to this
                        system. This is the default action.

--- Additional comment from John Sefler on 2015-04-23 11:56:39 EDT ---

If this RFE is accepted and the --auto-attach/--autosubscribe options are set as default options on the register module, then I'd suggest that a new --no-auto option also be added to the register module.

--- Additional comment from Adrian Likins on 2015-04-29 12:52:04 EDT ---

I would be in favor of making 'register --auto-attach' the default behaviour or register.

--- Additional comment from Adrian Likins on 2015-04-29 12:53:42 EDT ---

However, that changes the default behaviour to be 'opt-out' on consuming a subscription, which is probably not acceptable.

--- Additional comment from Xixi on 2015-05-04 18:11:05 EDT ---

(In reply to Adrian Likins from comment #5)
> However, that changes the default behaviour to be 'opt-out' on consuming a
> subscription, which is probably not acceptable.

Hi Adrian, could you clarify?   thanks,

Comment 4 John Sefler 2015-11-05 13:46:49 UTC
Review the source RFE Bug 1214829 where recent comments that vote for/against this feature have been added.

Comment 5 John Sefler 2015-11-30 15:06:47 UTC
Once again, please review the source RFE Bug 1214829 comments where there are some strong objections against implementing this feature.

Comment 6 Barnaby Court 2016-01-05 16:04:34 UTC
Based on the discussion in 1214829 I am NACKing this for 6.8. Auto attach can be enabled today using the --auto-attach command line. This would be too big a change in behavior for customers that are fully accustomed to the 6.x behavior of not auto attaching by default.


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