Foreman centos7 errata processing

So yeah seems that the issue is preciding with hammer in this case.

Those 2 hosts mentioned on the previous comment are identical in every even with every installed packages.

#hammer host errata list --host-id 71
---|------------|------|-------|------------
ID | ERRATUM ID | TYPE | TITLE | INSTALLABLE
---|------------|------|-------|------------
#hammer host errata list --host-id 72
------|-----------------|----------|------------------------------------------|------------
ID    | ERRATUM ID      | TYPE     | TITLE                                    | INSTALLABLE
------|-----------------|----------|------------------------------------------|------------
15211 | CEBA_2022__1193 | bugfix   | CentOS microcode_ctl Update              | true
15209 | CEBA_2022__1201 | bugfix   | CentOS libpcap Update                    | true
15208 | CEBA_2022__1203 | bugfix   | CentOS rsyslog Update                    | true
15206 | CEBA_2022__1202 | bugfix   | CentOS net-snmp Update                   | true
15205 | CESA_2022__1198 | security | Important CentOS kernel Update           | true
15123 | CESA_2022__1066 | security | Important CentOS openssl Security Update | true
15122 | CESA_2022__1069 | security | Important CentOS expat Security Update   | true
15103 | CEBA_2022__1032 | bugfix   | CentOS tzdata Update                     | true
------|-----------------|----------|------------------------------------------|------------
#hammer host errata recalculate --host-id 71
Could not recalculate errata:
  Error: Please mention appropriate attribute value

  See: 'hammer host errata recalculate --help'.
#hammer host errata recalculate --host-id 71 --async
Errata recalculated with task %{id}.
#hammer host errata list --host-id 71
---|------------|------|-------|------------
ID | ERRATUM ID | TYPE | TITLE | INSTALLABLE
---|------------|------|-------|------------


The logs even say that the task was successfully executed.

2022-04-20T16:37:23 [I|bac|215288c9] Task {label: Actions::Katello::Applicability::Hosts::BulkGenerate, id: 0b1a2c58-c14a-4c04-ba92-dc47ab2ea337, execution_plan_id: 89ed4d0e-3c0e-46cc-8065-0de20341961e} state changed: stopped  result: success
2022-04-20T16:37:23 [I|bac|215288c9] Task {label: Actions::Katello::Applicability::Hosts::BulkGenerate, id: 0b1a2c58-c14a-4c04-ba92-dc47ab2ea337, execution_plan_id: 89ed4d0e-3c0e-46cc-8065-0de20341961e} state changed: stopped  result: success

Also this bug is atleast affecting here where hammer command doesn’t return the task id. Also the task does nothing here.

I recently updated my foreman installation but that didn’t help. Next i’m going to try to upgrade this to a 3.1 maybe that will solve this issue. Currently installed packages.


Installed Packages

    candlepin-4.1.7-1.el8.noarch
    candlepin-selinux-4.1.7-1.el8.noarch
    foreman-3.0.2-1.el8.noarch
    foreman-cli-3.0.2-1.el8.noarch
    foreman-debug-3.0.2-1.el8.noarch
    foreman-dynflow-sidekiq-3.0.2-1.el8.noarch
    foreman-installer-3.0.2-2.el8.noarch
    foreman-installer-katello-3.0.2-2.el8.noarch
    foreman-postgresql-3.0.2-1.el8.noarch
    foreman-proxy-3.0.2-1.el8.noarch
    foreman-release-3.0.2-1.el8.noarch
    foreman-selinux-3.0.2-1.el8.noarch
    foreman-service-3.0.2-1.el8.noarch
    foreman.palvelu.local-apache-1.0-2.noarch
    foreman.palvelu.local-foreman-client-1.0-1.noarch
    foreman.palvelu.local-foreman-proxy-1.0-2.noarch
    foreman.palvelu.local-foreman-proxy-client-1.0-1.noarch
    foreman.palvelu.local-puppet-client-1.0-1.noarch
    katello-4.2.2-1.el8.noarch
    katello-ca-consumer-foreman.palvelu.local-1.0-2.noarch
    katello-certs-tools-2.8.2-1.el8.noarch
    katello-client-bootstrap-1.7.7-1.el8.noarch
    katello-common-4.2.2-1.el8.noarch
    katello-debug-4.2.2-1.el8.noarch
    katello-default-ca-1.0-1.noarch
    katello-repos-4.2.2-1.el8.noarch
    katello-selinux-4.0.2-1.el8.noarch
    katello-server-ca-1.0-2.noarch
    pulp-client-1.0-1.noarch
    pulpcore-selinux-1.2.7-1.el8.x86_64
    python3-pulp-ansible-0.9.0-2.el8.noarch
    python3-pulp-certguard-1.4.0-3.el8.noarch
    python3-pulp-container-2.8.4-0.1.el8.noarch
    python3-pulp-deb-2.14.1-2.el8.noarch
    python3-pulp-file-1.8.2-2.el8.noarch
    python3-pulp-rpm-3.14.12-1.el8.noarch
    python3-pulpcore-3.14.15-1.el8.noarch
    qpid-proton-c-0.32.0-3.el8.x86_64
    rubygem-foreman-tasks-5.1.1-1.fm3_0.el8.noarch
    rubygem-foreman_maintain-0.8.21-1.el8.noarch
    rubygem-foreman_puppet-1.0.5-1.fm3_0.el8.noarch
    rubygem-foreman_remote_execution-4.8.0-1.fm3_0.el8.noarch
    rubygem-hammer_cli-3.0.2-1.el8.noarch
    rubygem-hammer_cli_foreman-3.0.0-1.el8.noarch
    rubygem-hammer_cli_foreman_puppet-0.0.3-1.fm3_0.el8.noarch
    rubygem-hammer_cli_foreman_remote_execution-0.2.2-1.fm3_0.el8.noarch
    rubygem-hammer_cli_foreman_tasks-0.0.16-1.fm3_0.el8.noarch
    rubygem-hammer_cli_katello-1.1.1-0.1.pre.master.20210804141838gitece0b63.el8.noarch
    rubygem-katello-4.2.2-1.el8.noarch
    rubygem-pulp_ansible_client-0.8.0-1.el8.noarch
    rubygem-pulp_certguard_client-1.4.0-1.el8.noarch
    rubygem-pulp_container_client-2.7.0-1.el8.noarch
    rubygem-pulp_deb_client-2.13.0-1.el8.noarch
    rubygem-pulp_file_client-1.8.1-1.el8.noarch
    rubygem-pulp_python_client-3.4.0-1.el8.noarch
    rubygem-pulp_rpm_client-3.13.3-1.el8.noarch
    rubygem-pulpcore_client-3.14.1-1.el8.noarch
    rubygem-qpid_proton-0.32.0-3.el8.x86_64
    rubygem-smart_proxy_pulp-3.1.0-1.fm2_6.el8.noarch