Description of problem: Katello shows available ERRATAs for RHEL7 systems in Content Hosts. When I click to apply on ERRATA (for example RHEA-2015:0141 - tzdata), task ends with: "0:tzdata-2015a-1.el6.noarch: No package(s) available to install". Same result with ALL ERRATAs on ANY systems with RHEL7. Problem is that Katello tries to apply packages for EL6 on EL7... Version-Release number of selected component (if applicable): Katello server: katello-2.1.0-2.el6.noarch pulp-server-2.5.1-1.el6.noarch RHEL7 katello Client: katello-agent-1.5.3-7.el7sat.noarch python-gofer-1.3.0-1.el7sat.noarch gofer-1.3.0-1.el7sat.noarch subscription-manager-1.10.14-13.el7_0.x86_64 How reproducible: Steps to Reproduce: 1. Install clean Katello 2.1 2. Import RH manifest and sync RHEL6 and RHEL7 repositories 3. Register some EL7 hosts 4. Wait for an ERRATA will be available 5. Click Apply for ERRATA and see result of task Actual results: Task ends with "No package(s) available to install" Expected results: Task install selected ERRATA. Additional info: Function "Install/Remove package" works fine on affected systems. RHEL7 client log in time of errata apply: Mar 3 14:22:42 ast2-test.wpt2.rw.***.cz goferd: [INFO][worker-0] gofer.rmi.dispatcher:612 - call: Content.install() sn=6cb7abcd-df10-4b01-97c7-9f2852b28160 info={u'task_id': u'fe1a9ec8-5957-4486-b1fb-7c1baf8221e2', u'consumer_id': u'ad01a671-0785-4d8a-8ce0-4fb23927f739'} Mar 3 14:22:42 ast2-test.wpt2.rw.***.cz goferd: [ERROR][worker-0] pulp.agent.lib.container:303 - handler "bind", import failed Mar 3 14:22:42 ast2-test.wpt2.rw.***.cz goferd: [ERROR][worker-0] pulp.agent.lib.container:303 - Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pulp/agent/lib/container.py", line 297, in __load mod = self.__import_module(path) File "/usr/lib/python2.7/site-packages/pulp/agent/lib/container.py", line 326, in __import_module mod = __import__(path[0], globals(), locals(), [path[-1]]) File "/usr/lib/python2.7/site-packages/pulp_rpm/handlers/bind.py", line 9, in <module> from pulp_rpm.handlers import repolib File "/usr/lib/python2.7/site-packages/pulp_rpm/handlers/repolib.py", line 12, in <module> from pulp.bindings.server import DEFAULT_CA_PATH ImportError: No module named bindings.server Mar 3 14:22:43 ast2-test.wpt2.rw.***.cz goferd: [ERROR][worker-0] pulp.agent.lib.dispatcher:80 - handler failed Mar 3 14:22:43 ast2-test.wpt2.rw.***.cz goferd: [ERROR][worker-0] pulp.agent.lib.dispatcher:80 - Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 76, in install report = handler.install(conduit, units, dict(options)) File "/usr/lib/python2.7/site-packages/pulp_rpm/handlers/rpm.py", line 100, in install details = pkg.install(names) File "/usr/lib/python2.7/site-packages/pulp_rpm/handlers/rpmtools.py", line 136, in install raise caught InstallError: 0:tzdata-2015a-1.el6.noarch: No package(s) available to install Mar 3 14:22:43 ast2-test.wpt2.rw.***.cz goferd: [INFO][worker-0] gofer.agent.rmi:149 - sn=6cb7abcd-df10-4b01-97c7-9f2852b28160 processed in: 583 (ms)
I've sucessfully reproduced this behaviour in LAB environment with clean install of Katello and clean RHEL7 server (exactly by Steps to Reproduce). Situation is the same with last version of katello-agent from katello 2.1 repository (not from EL7sat)... [root@c7-01 ~]# rpm -qa|grep katello katello-repos-2.1.3-1.el7.noarch katello-agent-2.1.4-1.el7.noarch [root@c7-01 ~]# rpm -qa|grep pulp python-isodate-0.5.0-4.pulp.el7.noarch pulp-rpm-handlers-2.5.1-1.el7.noarch python-pulp-common-2.5.1-1.el7.noarch python-pulp-rpm-common-2.5.1-1.el7.noarch python-pulp-agent-lib-2.5.1-1.el7.noarch Behaviour is the same. Some ERRATAs installed sucessfully (for example RHEA-2014:1980), but some ERRATAs (for example RHSA-2014:1948, RHEA-2015:0141) failed with: Mar 4 12:38:53 c7-01 goferd: [ERROR][worker-0] pulp.agent.lib.dispatcher:80 - Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 76, in install report = handler.install(conduit, units, dict(options)) File "/usr/lib/python2.7/site-packages/pulp_rpm/handlers/rpm.py", line 100, in install details = pkg.install(names) File "/usr/lib/python2.7/site-packages/pulp_rpm/handlers/rpmtools.py", line 136, in install raise caught InstallError: 0:nss-util-3.16.2.3-2.el6_6.x86_64: No package(s) available to install