Unable to push package install/update

I have a fresh install of Foreman 1.19 and Katello 3.8 on Centos 7.

I have two content hosts subscribed to it to test and noticed I can’t install new applications or update available packages.
I get the error “Values instance has no attribute ‘tsflags’”
image

The log on the Foreman server shows:

Sep 21 14:34:42 foreman pulp: kombu.transport.qpid:INFO: Connected to qpid with SASL mechanism ANONYMOUS
Sep 21 14:34:42 foreman pulp: gofer.messaging.adapter.connect:INFO: connecting: qpid+ssl://localhost:5671
Sep 21 14:34:42 foreman pulp: gofer.messaging.adapter.qpid.connection:INFO: open: URL: ssl://localhost|SSL: ca: /etc/pki/katello/certs/katello-default-ca.crt|key: None|certificate: /etc/pki/katello/qpid_c      lient_striped.crt|host-validation: False
Sep 21 14:34:42 foreman pulp: gofer.messaging.adapter.qpid.connection:INFO: opened: qpid+ssl://localhost:5671
Sep 21 14:34:42 foreman pulp: gofer.messaging.adapter.connect:INFO: connected: qpid+ssl://localhost:5671
Sep 21 14:34:42 foreman pulp: gofer.messaging.adapter.connect:INFO: connecting: qpid+ssl://localhost:5671
Sep 21 14:34:42 foreman pulp: gofer.messaging.adapter.connect:INFO: connected: qpid+ssl://localhost:5671
Sep 21 14:34:42 foreman pulp: gofer.messaging.adapter.qpid.connection:INFO: closed: qpid+ssl://localhost:5671
Sep 21 14:34:43 foreman qdrouterd: 2018-09-21 14:34:43.779630 +0200 SERVER (info) Accepted connection to 0.0.0.0:5647 from 10.3.8.103:36436
Sep 21 14:34:44 foreman pulp: pulp.server.agent.direct.services:INFO: (1304-15072) Task RMI (succeeded): Succeeded
Sep 21 14:34:44 foreman pulp: pulp.server.agent.direct.services:INFO: (1304-15072)   sn : b220f39e-edd9-43a3-9534-0791e0f8ffd7
Sep 21 14:34:44 foreman pulp: pulp.server.agent.direct.services:INFO: (1304-15072)   origin : None
Sep 21 14:34:44 foreman pulp: pulp.server.agent.direct.services:INFO: (1304-15072)   timestamp : 2018-09-21T12:34:44Z
Sep 21 14:34:44 foreman pulp: pulp.server.agent.direct.services:INFO: (1304-15072)   user data : {'task_id': '8a43948c-fd77-4923-b948-b1adec8b1be8', 'consumer_id': 'f8b53e24-bd3e-401b-9515-4d177a2835f1'}
Sep 21 14:34:44 foreman pulp: pulp.server.agent.direct.services:INFO: (1304-15072)   retval:
Sep 21 14:34:44 foreman pulp: pulp.server.agent.direct.services:INFO: (1304-15072) {'reboot': {'scheduled': False, 'details': {}}, 'details': {'rpm': {'details': {'message': "Values instance has no attrib      ute 'tsflags'", 'trace': 'Traceback (most recent call last):\n\n  File "/usr/lib/python2.7/site-packages/katello/agent/pulp/dispatcher.py", line 108, in update\n    _report = handler.update(units, dict(op      tions))\n\n  File "/usr/lib/python2.7/site-packages/katello/agent/pulp/handler.py", line 157, in update\n    details = package.update(patterns)\n\n  File "/usr/lib/python2.7/site-packages/katello/agent/pu      lp/libyum.py", line 300, in update\n    lib.update(pattern=str(pattern))\n\n  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 5226, in update\n    m = self.pkgSack.returnNewestByNameArch(pat      terns=pats)\n\n  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1074, in <lambda>\n    pkgSack = property(fget=lambda self: self._getSacks(),\n\n  File "/usr/lib/python2.7/site-packages/yum      /__init__.py", line 778, in _getSacks\n    self.repos.populateSack(which=repos)\n\n  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 347, in populateSack\n    self.doSetup()\n\n  File "/usr/lib      /python2.7/site-packages/yum/repos.py", line 158, in doSetup\n    self.ayum.plugins.run(\'postreposetup\')\n\n  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run\n    func(conduitcl      s(self, self.base, conf, **kwargs))\n\n  File "/usr/lib/yum-plugins/tsflags.py", line 29, in postreposetup_hook\n    if opts.tsflags:\n\nAttributeError: Values instance has no attribute \'tsflags\'\n'}, '      succeeded': False}}, 'succeeded': False, 'num_changes': 0}

On the target machine, the log /var/log/rhsm/rhsm.log shows:

2018-09-21 12:34:44,180 [INFO] goferd:4005 @connection.py:815 - Connection built: host=foreman.pgzaoffice.local port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ verify=False
2018-09-21 12:34:44,282 [INFO] goferd:4005 @repolib.py:303 - repos updated: Repo updates

Total repo updates: 1
Updated
[id:paygate_Amazon_2_amzn2-core amzn2-core]
Added (new)

Deleted

2018-09-21 13:00:05,647 [INFO] goferd:4148 @connection.py:815 - Connection built: host=foreman.pgzaoffice.local port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ verify=False
2018-09-21 13:00:05,649 [INFO] goferd:4148 @connection.py:815 - Connection built: host=foreman.pgzaoffice.local port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ verify=False
2018-09-21 13:00:05,934 [INFO] goferd:4148 @repolib.py:303 - repos updated: Repo updates

Total repo updates: 1
Updated
[id:paygate_Amazon_2_amzn2-core amzn2-core]
Added (new)

Deleted

Where else can I look to see why this isn’t installing anything?
The target machine is Amazon Linux 2 (same thing happens on Amazon Linux 2018.03). Katello-agent is installed on the target machines and goferd is running.

Doing a yum install seems to work from the repository that is made available in Pulp (katello). So it doesn’t seem to be a problem reaching the repo.

So it appears I was able to resolve it by uninstalling yum-plugin-tsflags on the client machine.
I haven’t yet looked to see what the purpose of that plugin is, but so far everything seems to be working fine.

Can you provide some documentation?