Bug #19750
closed
Custom Subscriptions gone after remove the manifest
Added by Mario Gamboa almost 8 years ago.
Updated over 6 years ago.
Description
Hi Team
I was trying to update the manifest because we get 2 new licenses but doesn't work , for this reason i remove the manifest and upload a new on but now i got all the subscriptions from redhat but i lost all my custom products subscriptions like puppet or my own puppet modules subscriptions
i generate new content views but nothing happen the subscriptions doesn't appear i also restart the server but not luck
- Status changed from New to Need more information
What version are you seeing this on? This sounds very similar to an issue that Katello 3.4.0 RC2 was having that was subsequently fixed in 3.4.0 GA.
Hi eric
I trying to use the latest version 3.4 just to let you know this is happening when you upgrade from 3.1 to 3.4 or from 3.3 to 3.4 but if you make fresh install of 3.4 this issues is not happening
- Category set to Subscriptions
- Status changed from Need more information to Needs design
- Assignee set to John Mitsch
- Target version set to 196
- Target version changed from 196 to 202
Hi guy
I notice the issue happen if i try manually sync if the sync is running via sync plan goes ok
Sorry my comment was about other issue is present it now about get new packages from redhat repos give me forbidden this issue of the subscription was fix in 3.4.2
- Translation missing: en.field_release set to 267
- Difficulty set to trivial
Need to pull in a new candlepin build.
- Status changed from Needs design to Assigned
- Target version changed from 202 to 205
- Translation missing: en.field_release changed from 267 to 281
I believe the following should recover from this situation:
# foreman-rake console
User.current = User.anonymous_admin
Katello::Product.custom.each do |product|
if product.pools.empty?
::Katello::Resources::Candlepin::Product.create_unlimited_subscription(product.organization.label, product.cp_id)
end
end
Katello::Subscription.import_all
Katello::Pool.import_all
Justin Sherrill wrote:
I believe the following should recover from this situation:
[...]
yes works
- Translation missing: en.field_release changed from 281 to 286
- Target version changed from 205 to 208
- Assignee deleted (
John Mitsch)
unassigned myself as this is a candlepin issue and we just need to pull in the latest build
- Status changed from Assigned to Closed
Also available in: Atom
PDF