Problem:
“Content Host Errata Management” is empty/unusable but works with hammer cli
Expected outcome:
Applying errata via web GUI
Foreman and Proxy versions:
foreman-1.17.3-1.el7.noarch
foreman-proxy-1.17.3-1.el7.noarch
Foreman and Proxy plugin versions:
bastion 6.1.8
foreman-tasks 0.11.2
foreman_ansible 2.0.1
foreman_docker 4.0.0
foreman_remote_execution 1.4.5
foreman_virt_who_configure 0.1.1
katello 3.6.0
Other relevant data:
Hello everybody,
we’ve a foreman 1.17.3 + katello 3.6 installation on a RHEL7.x server and we manage only RHEL 6.x/7.x servers (subscription is working fine).
We’ve a problem during the errata installation trough “Host Collections”, the errata page is empty and we’re not able to recalculate/apply the errata (and a ban signal appear in the button of GUI)
We synced the RH repos (all servers can access to all repos - 6 or 7), all errata are present and visible and we’re able to apply the errata trough “Content Hosts”, via “Content->Errata” and with hammer:
hammer host-collection erratum install --organization="TEST" --name "TESTCOLLECTION" --errata=RHSA-2018:2390
[app] [I] Started GET "/katello/api/organizations?search=name+%3D+%22TEST%22" for 10.xx.xx.xxx at 2018-08-27 15:14:11 +0100
[app] [I] Processing by Katello::Api::V2::OrganizationsController#index as JSON
[app] [I] Parameters: {"search"=>"name = \"TEST\"", "api_version"=>"v2", "organization"=>{}}
[app] [I] Current user: foreman_admin (administrator)
[app] [I] Authorized user admin(Admin User)
[app] [I] Current user: admin (administrator)
[app] [I] Rendering /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.6.0/app/views/katello/api/v2/organizations/index.json.rabl within api/v2/layouts/index_layout
[app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.6.0/app/views/katello/api/v2/organizations/index.json.rabl within api/v2/layouts/index_layout (6.6ms)
[app] [I] Completed 200 OK in 76ms (Views: 14.6ms | ActiveRecord: 17.8ms)
[app] [I] Started GET "/katello/api/organizations/4/host_collections?name=TESTCOLLECTION" for 10.140.16.230 at 2018-08-27 15:14:11 +0100
[app] [I] Processing by Katello::Api::V2::HostCollectionsController#index as JSON
[app] [I] Parameters: {"name"=>"TESTCOLLECTION", "api_version"=>"v2", "organization_id"=>"4", "host_collection"=>{}}
[app] [I] Current user: foreman_admin (administrator)
[app] [I] Authorized user admin(Admin User)
[app] [I] Current user: admin (administrator)
[app] [I] Rendering /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.6.0/app/views/katello/api/v2/host_collections/index.json.rabl within katello/api/v2/layouts/collection
[app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.6.0/app/views/katello/api/v2/host_collections/index.json.rabl within katello/api/v2/layouts/collection (50.1ms)
[app] [I] Completed 200 OK....
but we’re not able to install the errata via Host Collections and packages installation/removal via Host Collection works fine, not the “Update All”.
We don’t known how to check now, we tried different CV, different env…
Thanks in advance for your help.
Matteo