Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
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
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... 2022-05-16 11:32:56 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.