Project

General

Profile

Bug #14195

Activation Key Subscriptions Auto-Attach not working properly

Added by Greg Koch over 5 years ago. Updated over 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

When registering a host with an activation key that contains custom subscriptions and auto-attach=true, red hat subscriptions are not attached.
Our key contains the following Product Subscriptions: a proprietary product, EPEL, HP, Dell, VMware, Katello Client, Puppet. No Red Hat subs are added as auto-attach should find them automatically. When the host registers, it will add only the custom products. Manually running Auto-Attach, the appropriate RH subs are added.

Prior to Katello 2.4, this worked when we added custom subscriptions and all our Red Hat subscriptions to the key (both physical, and virtual datacenter guest subs). Now we are not able to add multiple VDC guest subs to a key.

Our current workaround is to use 2 keys, one for Red Hat subs, and one for custom.

Output in /var/log/candlepin/candlepin.log for the host's UUID during registration:

2016-03-14 17:54:20,324 [req=125416ef-d733-4bee-8d53-79c03b5e3770, org=] INFO  org.candlepin.resource.ConsumerResource - Consumer e9802fbe-5681-4e04-8627-45e31afbb140 created in org xxxxxxxx
2016-03-14 17:54:22,038 [req=a1d4bee2-7458-420f-9b65-9f54571886e1, org=] INFO  org.candlepin.common.filter.LoggingFilter - Request: verb=GET, uri=/candlepin/consumers/e9802fbe-5681-4e04-8627-45e31afbb140
2016-03-14 17:54:23,543 [req=0bdcdf92-c74a-4ec2-a480-023502aed6e4, org=] INFO  org.candlepin.common.filter.LoggingFilter - Request: verb=GET, uri=/candlepin/consumers/e9802fbe-5681-4e04-8627-45e31afbb140
2016-03-14 17:54:23,703 [req=1e8ddb2e-5ef1-4768-bcc9-477cf0a45e83, org=] INFO  org.candlepin.common.filter.LoggingFilter - Request: verb=GET, uri=/candlepin/consumers/e9802fbe-5681-4e04-8627-45e31afbb140/certificates/serials
2016-03-14 17:54:23,890 [req=2715201d-49c3-43d3-bd5b-e4123242e60c, org=] INFO  org.candlepin.common.filter.LoggingFilter - Request: verb=GET, uri=/candlepin/consumers/e9802fbe-5681-4e04-8627-45e31afbb140/certificates?serials=4955668654135756490,621368389686531243,260855579363853393,1109848999340993647,1578481197453257151,718351331378284847,6779464690069033033
2016-03-14 17:54:24,104 [req=1d495dce-699d-40bd-b1a6-36dc2b169a7f, org=] INFO  org.candlepin.common.filter.LoggingFilter - Request: verb=GET, uri=/candlepin/consumers/e9802fbe-5681-4e04-8627-45e31afbb140/content_overrides
2016-03-14 17:54:24,230 [req=615bf04a-f5b9-486c-beff-9e9c1e49c291, org=] INFO  org.candlepin.common.filter.LoggingFilter - Request: verb=GET, uri=/candlepin/consumers/e9802fbe-5681-4e04-8627-45e31afbb140/compliance
2016-03-14 17:54:24,365 [req=33462f77-14fa-4739-bfdc-5d9915a4d428, org=] INFO  org.candlepin.common.filter.LoggingFilter - Request: verb=GET, uri=/candlepin/consumers/e9802fbe-5681-4e04-8627-45e31afbb140

History

#1 Updated by Thomas McKay over 5 years ago

  • Bugzilla link set to 1317694

#2 Updated by Eric Helms over 5 years ago

  • Status changed from New to Need more information
  • Legacy Backlogs Release (now unused) set to 150

Does your activation key have a service level set on it?

#3 Updated by Greg Koch over 5 years ago

We have tried to use the activation keys with a service level and without, we get the same result.

#4 Updated by Justin Sherrill over 5 years ago

  • Legacy Backlogs Release (now unused) changed from 150 to 144

#5 Updated by Eric Helms over 5 years ago

  • Legacy Backlogs Release (now unused) changed from 144 to 168

#6 Updated by Eric Helms over 5 years ago

  • Legacy Backlogs Release (now unused) changed from 168 to 171

#7 Updated by Eric Helms over 5 years ago

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

#8 Updated by Justin Sherrill over 5 years ago

  • Status changed from Need more information to New

#9 Updated by Justin Sherrill over 5 years ago

  • Status changed from New to Rejected
  • Legacy Backlogs Release (now unused) set to 166

Chatted on IRC, and you said this was no longer an issue. Please reopen if you are still seeing it. Thanks!

#10 Updated by Klaas D over 4 years ago

I recently retested this with katello 3.3 and it's still not working, but the workaround to use a key for auto-attach (and nothing else) and then secondary keys for the other products is fine with me :)

Also available in: Atom PDF