Project

General

Profile

Actions

Bug #19750

closed

Custom Subscriptions gone after remove the manifest

Added by Mario Gamboa over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Subscriptions
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by Eric Helms over 7 years ago

  • 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.

Actions #2

Updated by Mario Gamboa over 7 years ago

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

Actions #3

Updated by Justin Sherrill over 7 years ago

  • Category set to Subscriptions
  • Status changed from Need more information to Needs design
  • Assignee set to John Mitsch
  • Target version set to 196
Actions #4

Updated by Brad Buckingham over 7 years ago

  • Target version changed from 196 to 202
Actions #5

Updated by Mario Gamboa over 7 years ago

Hi guy

I notice the issue happen if i try manually sync if the sync is running via sync plan goes ok

Actions #6

Updated by Mario Gamboa over 7 years ago

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

Actions #8

Updated by Justin Sherrill over 7 years ago

  • Translation missing: en.field_release set to 267
  • Difficulty set to trivial

Need to pull in a new candlepin build.

Actions #9

Updated by Justin Sherrill over 7 years ago

  • Status changed from Needs design to Assigned
Actions #10

Updated by Brad Buckingham over 7 years ago

  • Target version changed from 202 to 205
Actions #11

Updated by Justin Sherrill over 7 years ago

  • Translation missing: en.field_release changed from 267 to 281
Actions #12

Updated by Justin Sherrill over 7 years ago

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

Actions #13

Updated by Mario Gamboa over 7 years ago

Justin Sherrill wrote:

I believe the following should recover from this situation:
[...]

yes works

Actions #14

Updated by Eric Helms over 7 years ago

  • Translation missing: en.field_release changed from 281 to 286
Actions #15

Updated by Brad Buckingham over 7 years ago

  • Target version changed from 205 to 208
Actions #16

Updated by John Mitsch over 7 years ago

  • Assignee deleted (John Mitsch)

unassigned myself as this is a candlepin issue and we just need to pull in the latest build

Actions #17

Updated by Eric Helms over 7 years ago

  • Status changed from Assigned to Closed
Actions

Also available in: Atom PDF