Activation Keys lost after upgrade to 6.2.x
I performed an upgrade from 6.1.9 to 6.2.1 yesterday, it went relatively well, though postgresql ran out of connections, but I digress.
Post upgrade the activation keys for my organization are still there (I can use them to subscribe a system) however, I am unable to view them via hammer or the web UI. When attempting to deal with host groups which reference the activation keys, an error is displayed saying the activation keys can't be obtained from katello.
Anyone have a similar experience, RH support doesn't seem to know at this point,
-Erinn
Responses
All my activation keys are also missing post 6.1.9 -> 6.2.x upgrade. I have had a support case open for about a month now with still no resolution. The last update from support was that my issue is related to a bug. If I get this fixed up, I will update my response here.
Do you get the following:
# hammer activation-key list --organization=<Your Org>
undefined method `products' for nil:NilClass
Also:
# foreman-rake console
irb(main):001:0> User.current = User.first
irb(main):002:0> Katello::Subscription.import_all
irb(main):003:0> Katello::Pool.import_all
irb(main):004:0> Katello::Pool.where(:subscription => nil)
The last console command above should not return anything. (you should not have any pools with subscription = nil)
Have you done any customization to manifests/subscriptions with Virtual Data Center Subscription Stacking/Derived SKU's? Have you already resolved this issue?
Ah, yes, I found reports of this fixing the issue for other customers as well. Unfortunately I still receive an error regarding a nil reference in my db (See previous comment) I will continue to wait for updates to my support case. Thanks for the quick reply.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
