Error with Red Hat Repositories

Hi,

With Katello 3.4.2, there is an error with access to Red Hat Repositories
page :

2017-07-10 12:15:59 575301bc [app] [I] Processing by
Katello::ProvidersController#redhat_provider_tab as /
2017-07-10 12:15:59 575301bc [app] [I] Parameters: {"tab"=>"rpms"}
2017-07-10 12:15:59 575301bc [app] [I] Current user: admin (administrator)
2017-07-10 12:16:00 575301bc [app] [I] Rendered
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.2/app/views/katello/providers/redhat/_tab.html.erb
(1146.6ms)
2017-07-10 12:16:00 575301bc [app] [I] Completed 500 Internal Server Error
in 1281ms (ActiveRecord: 4.0ms)
2017-07-10 12:16:00 575301bc [app] [F]
> RestClient::ResourceNotFound (Katello::Resources::Candlepin::Product:
404 Resource Not Found {"displayMessage":"Product with ID '179' could not
be found.","requestUuid":"3dedd070-2fd4-4e22-a0f6-4d672dcdb622"} (GET
/candlepin/owners/Geodis_RT/products/179/?include=name&include=attributes.name&include=attributes.value&include=productContent.content.contentUrl&include=productContent.content.label&include=productContent.content.modifiedProductIds&include=productContent.content.type&include=productContent.content.id&include=productContent.content.name)):
> katello (3.4.2) app/lib/katello/http_resource.rb:84:in get' > katello (3.4.2) app/lib/katello/resources/candlepin.rb:660:inget'
> katello (3.4.2) app/models/katello/glue/candlepin/product.rb:19:in
block (2 levels) in included' > katello (3.4.2) app/lib/katello/lazy_accessor.rb:160:ininstance_eval'
> katello (3.4.2) app/lib/katello/lazy_accessor.rb:160:in
run_initializer' > katello (3.4.2) app/lib/katello/lazy_accessor.rb:139:inlazy_attribute_get'
> katello (3.4.2) app/lib/katello/lazy_accessor.rb:60:in block (2 levels) in lazy_accessor' > katello (3.4.2) app/models/katello/glue/candlepin/product.rb:81:indisplayable_product_contents'
> katello (3.4.2) app/helpers/katello/providers_helper.rb:24:in block in redhat_repo_tab' > katello (3.4.2) app/helpers/katello/providers_helper.rb:23:inredhat_repo_tab'
> katello (3.4.2) app/views/katello/providers/redhat/_tab.html.erb:1:in
_41ea9beb3ddf17094c0928f9a41367ee' > katello (3.4.2) app/controllers/katello/providers_controller.rb:33:inredhat_provider_tab'
> app/controllers/concerns/application_shared.rb:15:in set_timezone' > app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:inset_topbar_sweeper_controller'
> katello (3.4.2) lib/katello/params_parser_wrapper.rb:12:in call' > lib/middleware/catch_json_parse_errors.rb:8:incall'
> lib/middleware/tagged_logging.rb:18:in `call'
>
>

There is several repos concerned :

checking - Red Hat Developer Toolset for RHEL Workstation - PRODUCT ID: 14
(hammer repository-set list --product-id 14)
Katello::Resources::Candlepin::Product: 404 Resource Not Found
{"displayMessage":"Product with ID '179' could not be
found.","requestUuid":"551d803d-898d-44cd-9d1e-41331bbc8944"} (GET
/candlepin/owners/Geodis_RT/products/179/?include=name&include=attributes.name&include=attributes.value&include=productContent.content.contentUrl&include=productContent.content.label&include=productContent.content.modifiedProductIds&include=productContent.content.type&include=productContent.content.id&include=productContent.content.name)

checking - Red Hat Software Collections Beta for RHEL Client - PRODUCT ID:
11
(hammer repository-set list --product-id 11)
Katello::Resources::Candlepin::Product: 404 Resource Not Found
{"displayMessage":"Product with ID '206' could not be
found.","requestUuid":"447b1473-4972-455a-a4ac-cf327c44de43"} (GET
/candlepin/owners/Geodis_RT/products/206/?include=name&include=attributes.name&include=attributes.value&include=productContent.content.contentUrl&include=productContent.content.label&include=productContent.content.modifiedProductIds&include=productContent.content.type&include=productContent.content.id&include=productContent.content.name)

checking - Red Hat Software Collections Beta for RHEL Workstation - PRODUCT
ID: 8
(hammer repository-set list --product-id 8)
Katello::Resources::Candlepin::Product: 404 Resource Not Found
{"displayMessage":"Product with ID '207' could not be
found.","requestUuid":"17007730-71d8-44d9-b37e-65178ab2aa70"} (GET
/candlepin/owners/Geodis_RT/products/207/?include=name&include=attributes.name&include=attributes.value&include=productContent.content.contentUrl&include=productContent.content.label&include=productContent.content.modifiedProductIds&include=productContent.content.type&include=productContent.content.id&include=productContent.content.name)

checking - Red Hat Software Collections for RHEL Client - PRODUCT ID: 12
(hammer repository-set list --product-id 12)
Katello::Resources::Candlepin::Product: 404 Resource Not Found
{"displayMessage":"Product with ID '202' could not be
found.","requestUuid":"30569996-b026-4582-b19e-1467c76965a6"} (GET
/candlepin/owners/Geodis_RT/products/202/?include=name&include=attributes.name&include=attributes.value&include=productContent.content.contentUrl&include=productContent.content.label&include=productContent.content.modifiedProductIds&include=productContent.content.type&include=productContent.content.id&include=productContent.content.name)

checking - Red Hat Software Collections for RHEL Workstation - PRODUCT ID: 9
(hammer repository-set list --product-id 9)
Katello::Resources::Candlepin::Product: 404 Resource Not Found
{"displayMessage":"Product with ID '203' could not be
found.","requestUuid":"6b04d3df-8e1f-4022-b2b1-478e83a4de94"} (GET
/candlepin/owners/Geodis_RT/products/203/?include=name&include=attributes.name&include=attributes.value&include=productContent.content.contentUrl&include=productContent.content.label&include=productContent.content.modifiedProductIds&include=productContent.content.type&include=productContent.content.id&include=productContent.content.name)

Problem with Red Hat manifest or other ?

Thx

We see occasional issues similar to this (difficult to say if its exact or
not). We tend to refresh the manifest and that seems to straighten things
out.

··· On Monday, July 10, 2017 at 6:18:42 AM UTC-4, nd_dut...@yahoo.fr wrote: > > Hi, > > With Katello 3.4.2, there is an error with access to Red Hat Repositories > page : > > 2017-07-10 12:15:59 575301bc [app] [I] Processing by > Katello::ProvidersController#redhat_provider_tab as */* > 2017-07-10 12:15:59 575301bc [app] [I] Parameters: {"tab"=>"rpms"} > 2017-07-10 12:15:59 575301bc [app] [I] Current user: admin (administrator) > 2017-07-10 12:16:00 575301bc [app] [I] Rendered > /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.2/app/views/katello/providers/redhat/_tab.html.erb > (1146.6ms) > 2017-07-10 12:16:00 575301bc [app] [I] Completed 500 Internal Server Error > in 1281ms (ActiveRecord: 4.0ms) > 2017-07-10 12:16:00 575301bc [app] [F] > > RestClient::ResourceNotFound (Katello::Resources::Candlepin::Product: > 404 Resource Not Found {"displayMessage":"Product with ID '179' could not > be found.","requestUuid":"3dedd070-2fd4-4e22-a0f6-4d672dcdb622"} (GET > /candlepin/owners/Geodis_RT/products/179/?include=name&include= > attributes.name > &include=attributes.value&include=productContent.content.contentUrl&include=productContent.content.label&include=productContent.content.modifiedProductIds&include=productContent.content.type&include= > productContent.content.id&include=productContent.content.name)): > > katello (3.4.2) app/lib/katello/http_resource.rb:84:in `get' > > katello (3.4.2) app/lib/katello/resources/candlepin.rb:660:in `get' > > katello (3.4.2) app/models/katello/glue/candlepin/product.rb:19:in > `block (2 levels) in included' > > katello (3.4.2) app/lib/katello/lazy_accessor.rb:160:in > `instance_eval' > > katello (3.4.2) app/lib/katello/lazy_accessor.rb:160:in > `run_initializer' > > katello (3.4.2) app/lib/katello/lazy_accessor.rb:139:in > `lazy_attribute_get' > > katello (3.4.2) app/lib/katello/lazy_accessor.rb:60:in `block (2 > levels) in lazy_accessor' > > katello (3.4.2) app/models/katello/glue/candlepin/product.rb:81:in > `displayable_product_contents' > > katello (3.4.2) app/helpers/katello/providers_helper.rb:24:in `block > in redhat_repo_tab' > > katello (3.4.2) app/helpers/katello/providers_helper.rb:23:in > `redhat_repo_tab' > > katello (3.4.2) app/views/katello/providers/redhat/_tab.html.erb:1:in > `_41ea9beb3ddf17094c0928f9a41367ee' > > katello (3.4.2) app/controllers/katello/providers_controller.rb:33:in > `redhat_provider_tab' > > app/controllers/concerns/application_shared.rb:15:in `set_timezone' > > app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in > `set_topbar_sweeper_controller' > > katello (3.4.2) lib/katello/params_parser_wrapper.rb:12:in `call' > > lib/middleware/catch_json_parse_errors.rb:8:in `call' > > lib/middleware/tagged_logging.rb:18:in `call' > > > > > > > There is several repos concerned : > > checking - Red Hat Developer Toolset for RHEL Workstation - PRODUCT ID: 14 > (hammer repository-set list --product-id 14) > Katello::Resources::Candlepin::Product: 404 Resource Not Found > {"displayMessage":"Product with ID '179' could not be > found.","requestUuid":"551d803d-898d-44cd-9d1e-41331bbc8944"} (GET > /candlepin/owners/Geodis_RT/products/179/?include=name&include= > attributes.name > &include=attributes.value&include=productContent.content.contentUrl&include=productContent.content.label&include=productContent.content.modifiedProductIds&include=productContent.content.type&include= > productContent.content.id&include=productContent.content.name) > > checking - Red Hat Software Collections Beta for RHEL Client - PRODUCT ID: > 11 > (hammer repository-set list --product-id 11) > Katello::Resources::Candlepin::Product: 404 Resource Not Found > {"displayMessage":"Product with ID '206' could not be > found.","requestUuid":"447b1473-4972-455a-a4ac-cf327c44de43"} (GET > /candlepin/owners/Geodis_RT/products/206/?include=name&include= > attributes.name > &include=attributes.value&include=productContent.content.contentUrl&include=productContent.content.label&include=productContent.content.modifiedProductIds&include=productContent.content.type&include= > productContent.content.id&include=productContent.content.name) > > checking - Red Hat Software Collections Beta for RHEL Workstation - > PRODUCT ID: 8 > (hammer repository-set list --product-id 8) > Katello::Resources::Candlepin::Product: 404 Resource Not Found > {"displayMessage":"Product with ID '207' could not be > found.","requestUuid":"17007730-71d8-44d9-b37e-65178ab2aa70"} (GET > /candlepin/owners/Geodis_RT/products/207/?include=name&include= > attributes.name > &include=attributes.value&include=productContent.content.contentUrl&include=productContent.content.label&include=productContent.content.modifiedProductIds&include=productContent.content.type&include= > productContent.content.id&include=productContent.content.name) > > checking - Red Hat Software Collections for RHEL Client - PRODUCT ID: 12 > (hammer repository-set list --product-id 12) > Katello::Resources::Candlepin::Product: 404 Resource Not Found > {"displayMessage":"Product with ID '202' could not be > found.","requestUuid":"30569996-b026-4582-b19e-1467c76965a6"} (GET > /candlepin/owners/Geodis_RT/products/202/?include=name&include= > attributes.name > &include=attributes.value&include=productContent.content.contentUrl&include=productContent.content.label&include=productContent.content.modifiedProductIds&include=productContent.content.type&include= > productContent.content.id&include=productContent.content.name) > > checking - Red Hat Software Collections for RHEL Workstation - PRODUCT ID: > 9 > (hammer repository-set list --product-id 9) > Katello::Resources::Candlepin::Product: 404 Resource Not Found > {"displayMessage":"Product with ID '203' could not be > found.","requestUuid":"6b04d3df-8e1f-4022-b2b1-478e83a4de94"} (GET > /candlepin/owners/Geodis_RT/products/203/?include=name&include= > attributes.name > &include=attributes.value&include=productContent.content.contentUrl&include=productContent.content.label&include=productContent.content.modifiedProductIds&include=productContent.content.type&include= > productContent.content.id&include=productContent.content.name) > > > Problem with Red Hat manifest or other ? > > Thx >

With manifest refresh, same result.

Hi,
I've seen those errors when you have a product that is no longer supported by a red hat license (ie the license has expired).

Greetings
Klaas Demter

ATIX - The Linux & Open Source Company
www.atix.de

----- Ursprüngliche Mail -----

··· Von: "nd_dutyd2005 via Foreman users" An: "Foreman users" Gesendet: Mittwoch, 12. Juli 2017 16:58:11 Betreff: [foreman-users] Re: Error with Red Hat Repositories

With manifest refresh, same result.


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.