Bug 1660559

Summary: add python-jmespath as dependency of rhel-system-roles
Product: Red Hat Enterprise Linux 8 Reporter: Pavel Cahyna <pcahyna>
Component: rhel-system-rolesAssignee: Pavel Cahyna <pcahyna>
Status: CLOSED CURRENTRELEASE QA Contact: David Jež <djez>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: bperkins, ovasik, tbowling, till, wchadwic, yselkowi
Target Milestone: rcFlags: rule-engine: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhel-system-roles-1.0-5.el8 python-jmespath-0.9.0-11.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-23 11:52:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavel Cahyna 2018-12-18 15:51:09 UTC
Description of problem:

RHEL System Roles need the json_query Ansible plugin, but Ansible for RHEL 8 will not ship the python-jmespath dependency, so the plugin will be broken (see also bz1484910 for the original addition of python-jmespath). We need to depend on the python-jmespath package to enforce it being present (currently it is in buildroot).

At the same time we may consider rebasing it to the latest release (0.9.3, see bz1588131) and add Supplements: or Enhances: ansible to it.

Comment 1 Pavel Cahyna 2019-01-02 15:10:59 UTC
Asking for exception, as the lack of python-jmespath will break some functionality of system-roles and this will have to be solved in this or another way.

Comment 3 Till Maas 2019-01-03 11:06:22 UTC
IMHO Supplements: ansible would be better than Enhances since it is stronger and Enhances might just be ignored.

Comment 4 Pavel Cahyna 2019-01-03 12:03:46 UTC
(In reply to Till Maas from comment #3)
> IMHO Supplements: ansible would be better than Enhances since it is stronger
> and Enhances might just be ignored.

I was also thinking about this yesterday. Is it allowed to Supplement: something not present in the distribution? (Also, we could just convince the Ansible package maintainers to Require python-jmespath.)