Project

General

Profile

Bug #6578

auto-attach control does not work from client in CLI

Added by Christine Fouant over 5 years ago. Updated over 1 year ago.

Status:
Duplicate
Priority:
Normal
Category:
Web UI
Target version:
Difficulty:
medium
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1019227
Description of problem:
auto-attach control does not work from client in CLI

Version-Release number of selected component (if applicable):
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-certs-tools-1.4.2-2.el6sat.noarch
katello-cli-1.4.3-11.el6sat.noarch
katello-cli-common-1.4.3-11.el6sat.noarch
katello-common-1.4.3.19-1.el6sam_splice.noarch
katello-configure-1.4.4-5.el6sam.noarch
katello-glue-candlepin-1.4.3.19-1.el6sam_splice.noarch
katello-glue-elasticsearch-1.4.3.19-1.el6sam_splice.noarch
katello-headpin-1.4.3.19-1.el6sam_splice.noarch
katello-headpin-all-1.4.3.19-1.el6sam_splice.noarch
katello-selinux-1.4.4-2.el6sat.noarch
candlepin-0.8.26-1.el6sam.noarch
candlepin-scl-1-5.el6_4.noarch
candlepin-scl-quartz-2.1.5-5.el6_4.noarch
candlepin-scl-rhino-1.7R3-1.el6_4.noarch
candlepin-scl-runtime-1-5.el6_4.noarch
candlepin-selinux-0.8.26-1.el6sam.noarch
candlepin-tomcat6-0.8.26-1.el6sam.noarch
thumbslug-0.0.34-1.el6sam.noarch
thumbslug-selinux-0.0.34-1.el6sam.noarch
subscription-manager: 1.9.9-1.el6

How reproducible:
always

Steps to Reproduce:
1. Register to SAM
[root@qianqian ~]# subscription-manager register
Username: admin
Password:
The system has been registered with ID: 1f2b4183-4ece-42d0-9049-27c60a4e51bb

2. Examine the 'Enable auto-attach preference' checkbox:
subscription-manager-gui > Systme > Preferences: the checkbox is checked by debault.

3. Log in the SAM web UI and disable the auto-attach, see attachment 'disable auto-attach from SAM web UI.png'

4. Examine the auto-attach control from SAM server:
(1)The 'Enable auto-attach preference' checkbox from subscription-manager-gui: the checkbox is unchecked.
(2)Show the current auto-attach preference in CLI
[root@qianqian ~]# subscription-manager auto-attach --show
Auto-attach preference: disabled

5. Enable auto-attach both from SAM web UI and subscription-manager-gui, disable auto-attach in CLI and examine the auto-attach control from client:
(1) Disable auto-attach in CLI:
[root@qianqian ~]# subscription-manager auto-attach --disable
Auto-attach preference: disabled

(2)The checkbox is checked when disable auto-attach in CLI, see attachment 'disable auto-attach in CLI and the GUI does not work.png'

(3)Show the current auto-attach preference in CLI
[root@qianqian ~]# subscription-manager auto-attach --show
Auto-attach preference: enabled

Actual results:
As step 5.

Expected results:
When control auto-attach from client, the CLI and GUI should both work.

Additional info:
I have examined that the issue does not exist on stage candlepin.

Associated revisions

Revision b8bdd239 (diff)
Added by Christine Fouant over 5 years ago

fixes #6578 - Fixes auto-attach subscriptions button, BZ 1019227

Revision 400deafb
Added by Thomas McKay over 5 years ago

Merge pull request #4397 from cfouant/fixes-6012-new

fixes #6578 - Fixes auto-attach subscriptions button in UI, BZ 1019227

Revision 367752a7 (diff)
Added by Christine Fouant over 5 years ago

fixes #6652, #6578, #6738 - Enables setting auto-attach and triggers auto-attach and shows service level, BZ 1113879, BZ 1019227, BZ 999122

Revision 8c6c44b6
Added by Thomas McKay over 5 years ago

Merge pull request #4444 from cfouant/auto-attach

fixes #6652, #6578, #6738 - Enables setting auto-attach and triggers auto-attach and shows service level, BZ 1113879, BZ 1019227, BZ 999122

History

#1 Updated by Christine Fouant over 5 years ago

  • Status changed from New to Duplicate

dupicate of redmine 6652

#2 Updated by Eric Helms over 5 years ago

  • Category set to Web UI
  • Target version set to 49
  • Difficulty set to medium
  • Triaged changed from No to Yes
  • Pull request https://github.com/Katello/katello/pull/4397 added
  • Pull request deleted ()

#3 Updated by Eric Helms over 5 years ago

  • Legacy Backlogs Release (now unused) set to 13

#4 Updated by Eric Helms about 5 years ago

  • Legacy Backlogs Release (now unused) deleted (13)

#5 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 166

Also available in: Atom PDF