Project

General

Profile

Actions

Bug #14195

closed

Activation Key Subscriptions Auto-Attach not working properly

Added by Greg Koch about 9 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
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

Actions #1

Updated by Thomas McKay about 9 years ago

  • Bugzilla link set to 1317694
Actions #2

Updated by Eric Helms about 9 years ago

  • Status changed from New to Need more information
  • Translation missing: en.field_release set to 150

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

Actions #3

Updated by Greg Koch about 9 years ago

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

Actions #4

Updated by Justin Sherrill almost 9 years ago

  • Translation missing: en.field_release changed from 150 to 144
Actions #5

Updated by Eric Helms almost 9 years ago

  • Translation missing: en.field_release changed from 144 to 168
Actions #6

Updated by Eric Helms almost 9 years ago

  • Translation missing: en.field_release changed from 168 to 171
Actions #7

Updated by Eric Helms almost 9 years ago

  • Translation missing: en.field_release deleted (171)
Actions #8

Updated by Justin Sherrill over 8 years ago

  • Status changed from Need more information to New
Actions #9

Updated by Justin Sherrill over 8 years ago

  • Status changed from New to Rejected
  • Translation missing: en.field_release set to 166

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

Actions #10

Updated by Klaas D almost 8 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 :)

Actions

Also available in: Atom PDF