Foreman and Proxy plugin versions:
katello vesion 3.7.0
Hi All,
we are unable to update the client server with latest patches through foreman,But i could list the all available packages from
yum repolist and yum update , while downloading using yum commands install|update throws below error message.
few packages are able to download from foreman, but most of packages failed with
404 error.we have the same kind of issue for all content view which are created in foreman.
2019-09-27T22:48:23 [I|app|] Started GET â/rhsm/â for 10.20.18.49 at 2019-09-27 22:48:23 +1000
2019-09-27T22:48:23 [I|app|9dcba] Processing by Katello::Api::V2::RootController#rhsm_resource_list as JSON
2019-09-27T22:48:23 [I|app|9dcba] Parameters: {ârootâ=>{}}
2019-09-27T22:48:23 [I|app|9dcba] Rendering /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0/app/views/katello/api/v2/root/resource_list.json.rabl within katello/api/v2/layouts/collection
2019-09-27T22:48:23 [I|app|9dcba] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0/app/views/katello/api/v2/root/resource_list.json.rabl within katello/api/v2/layouts/collection (1.4ms)
2019-09-27T22:48:23 [I|app|9dcba] Completed 200 OK in 16ms (Views: 2.3ms | ActiveRecord: 3.5ms)
2019-09-27T22:48:23 [I|app|] Started GET â/rhsm/consumers/04fe5c42-c985-4afb-9ff3-68d6814ebcb2/content_overridesâ for 10.20.18.49 at 2019-09-27 22:48:23 +1000
2019-09-27T22:48:23 [I|app|c1054] Processing by Katello::Api::Rhsm::CandlepinProxiesController#get as JSON
2019-09-27T22:48:23 [I|app|c1054] Parameters: {âidâ=>â04fe5c42-c985-4afb-9ff3-68d6814ebcb2â}
2019-09-27T22:48:24 [I|app|c1054] Current user: 04fe5c42-c985-4afb-9ff3-68d6814ebcb2 (regular user)
2019-09-27T22:48:24 [I|app|c1054] Completed 200 OK in 27ms (Views: 0.2ms | ActiveRecord: 2.4ms)
2019-09-27T22:48:24 [I|app|] Started GET â/rhsm/consumers/04fe5c42-c985-4afb-9ff3-68d6814ebcb2/releaseâ for 10.20.18.49 at 2019-09-27 22:48:24 +1000
2019-09-27T22:48:24 [I|app|19ec1] Processing by Katello::Api::Rhsm::CandlepinProxiesController#get as JSON
2019-09-27T22:48:24 [I|app|19ec1] Parameters: {âidâ=>â04fe5c42-c985-4afb-9ff3-68d6814ebcb2â}
2019-09-27T22:48:24 [I|app|19ec1] Current user: 04fe5c42-c985-4afb-9ff3-68d6814ebcb2 (regular user)
2019-09-27T22:48:24 [I|app|19ec1] Completed 200 OK in 36ms (Views: 0.3ms | ActiveRecord: 2.4ms)
2019-09-27T22:48:27 [I|app|] Started GET â/rhsm/â for 10.20.18.49 at 2019-09-27 22:48:27 +1000
2019-09-27T22:48:27 [I|app|299d1] Processing by Katello::Api::V2::RootController#rhsm_resource_list as JSON
2019-09-27T22:48:27 [I|app|299d1] Parameters: {ârootâ=>{}}
2019-09-27T22:48:27 [I|app|299d1] Rendering /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0/app/views/katello/api/v2/root/resource_list.json.rabl within katello/api/v2/layouts/collection
2019-09-27T22:48:27 [I|app|299d1] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0/app/views/katello/api/v2/root/resource_list.json.rabl within katello/api/v2/layouts/collection (2.3ms)
2019-09-27T22:48:27 [I|app|299d1] Completed 200 OK in 18ms (Views: 3.4ms | ActiveRecord: 1.8ms)
2019-09-27T22:48:27 [I|app|] Started GET â/rhsm/consumers/04fe5c42-c985-4afb-9ff3-68d6814ebcb2/content_overridesâ for 10.20.18.49 at 2019-09-27 22:48:27 +1000
2019-09-27T22:48:27 [I|app|b03b3] Processing by Katello::Api::Rhsm::CandlepinProxiesController#get as JSON
2019-09-27T22:48:27 [I|app|b03b3] Parameters: {âidâ=>â04fe5c42-c985-4afb-9ff3-68d6814ebcb2â}
2019-09-27T22:48:27 [I|app|b03b3] Current user: 04fe5c42-c985-4afb-9ff3-68d6814ebcb2 (regular user)
2019-09-27T22:48:27 [I|app|b03b3] Completed 200 OK in 35ms (Views: 0.2ms | ActiveRecord: 4.6ms)
2019-09-27T22:48:27 [I|app|] Started GET â/rhsm/consumers/04fe5c42-c985-4afb-9ff3-68d6814ebcb2/releaseâ for 10.20.18.49 at 2019-09-27 22:48:27 +1000
2019-09-27T22:48:27 [I|app|9006f] Processing by Katello::Api::Rhsm::CandlepinProxiesController#get as JSON
2019-09-27T22:48:27 [I|app|9006f] Parameters: {âidâ=>â04fe5c42-c985-4afb-9ff3-68d6814ebcb2â}
2019-09-27T22:48:27 [I|app|9006f] Current user: 04fe5c42-c985-4afb-9ff3-68d6814ebcb2 (regular user)
2019-09-27T22:48:27 [I|app|9006f] Completed 200 OK in 38ms (Views: 0.2ms | ActiveRecord: 3.3ms)
2019-09-27T22:48:28 [I|app|] Started POST â/api/config_reportsâ for 10.20.18.45 at 2019-09-27 22:48:28 +1000
2019-09-27T22:48:28 [I|app|f967d] Processing by Api::V2::ConfigReportsController#create as JSON
2019-09-27T22:48:28 [I|app|f967d] Parameters: {âconfig_reportâ=>"[FILTERED]", âapivâ=>âv2â}
2019-09-27T22:48:28 [I|app|f967d] Current user: foreman_api_admin (administrator)
2019-09-27T22:48:28 [I|app|f967d] Scanning report with: Foreman::PuppetReportScanner
2019-09-27T22:48:28 [I|app|f967d] Imported report for nex-for-vmi-001.crestone.local in 0.05 seconds, status refreshed in 0.02 seconds
2019-09-27T22:48:28 [I|app|f967d] Rendering api/v2/config_reports/create.json.rabl
2019-09-27T22:48:28 [I|app|f967d] Rendered api/v2/config_reports/create.json.rabl (12.6ms)
If you browse the repo on the server, do you see the packages itâs trying to install? Do you have any filters on the content view excluding these packages?
If these look fine, try re-syncing the package, ensure there are no filters on the content view, re-publish and promote to the environment the hosts/capsule are in, run subscription-manager clean and subscription-manager refresh on your host and try downloading again. Also, get the foreman-debug and pulp logs for when you do these if you see any issues.
we are able to resolve the dependencies using repo, but we facing issue while installing packages.
we donât have any filters on the content view, republished and cleaned , refreshed using subscription-manager command, still issue is appeared again.
Could you please help me where can we get foreman-debug and pulp logs on server.
Dependencies Resolved
========================================================================================================================================================================
Package Arch Version Repository Size
Installing:
java-1.8.0-openjdk x86_64 1:1.8.0.222.b10-0.el6_10 rhel-6-server-rpms 231 k
java-1.8.0-openjdk-debug x86_64 1:1.8.0.222.b10-0.el6_10 rhel-6-server-optional-rpms 234 k
java-1.8.0-openjdk-demo x86_64 1:1.8.0.222.b10-0.el6_10 rhel-6-server-optional-rpms 1.9 M
java-1.8.0-openjdk-demo-debug x86_64 1:1.8.0.222.b10-0.el6_10 rhel-6-server-optional-rpms 2.0 M
java-1.8.0-openjdk-devel x86_64 1:1.8.0.222.b10-0.el6_10 rhel-6-server-rpms 10 M
java-1.8.0-openjdk-devel-debug x86_64 1:1.8.0.222.b10-0.el6_10 rhel-6-server-optional-rpms 10 M
java-1.8.0-openjdk-headless x86_64 1:1.8.0.222.b10-0.el6_10 rhel-6-server-rpms 32 M
java-1.8.0-openjdk-headless-debug x86_64 1:1.8.0.222.b10-0.el6_10 rhel-6-server-optional-rpms 33 M
java-1.8.0-openjdk-javadoc noarch 1:1.8.0.222.b10-0.el6_10 rhel-6-server-optional-rpms 17 M
java-1.8.0-openjdk-javadoc-debug noarch 1:1.8.0.222.b10-0.el6_10 rhel-6-server-optional-rpms 17 M
java-1.8.0-openjdk-src x86_64 1:1.8.0.222.b10-0.el6_10 rhel-6-server-optional-rpms 45 M
java-1.8.0-openjdk-src-debug x86_64 1:1.8.0.222.b10-0.el6_10 rhel-6-server-optional-rpms 45 M
@sreenivas : Thanks for the update. Could you check the repo you are trying to consume and check if itâs on-demand. You could set it to immediate in that case, sync the repo and try again.