Bug 1851557

Summary: kernel_settings updates - change of format for scalar parameter removal, Invalid format for input parameters using ansible 2.7
Product: Red Hat Enterprise Linux 8 Reporter: Rich Megginson <rmeggins>
Component: rhel-system-rolesAssignee: Pavel Cahyna <pcahyna>
Status: CLOSED ERRATA QA Contact: David Jež <djez>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.3CC: djez, pcahyna
Target Milestone: rcKeywords: Rebase
Target Release: 8.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:kernel_settings
Fixed In Version: rhel-system-roles-1.0-19.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 04:03:31 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 Rich Megginson 2020-06-26 23:35:40 UTC
Description of problem:
Using ansible 2.7 the kernel_settings role test gives errors like this:

TASK [linux-system-roles.kernel_settings : Apply kernel settings] **************
task path: /home/rmeggins/linux-system-roles/kernel_settings/tasks/main.yml:36
 [WARNING]: Error: section [systemd] item name [cpu_affinity] must have only
one of 'value' or 'state'
 [WARNING]: Error: section [vm] item name [transparent_hugepages] must have
only one of 'value' or 'state'
 [WARNING]: Error: section [vm] item name [transparent_hugepage.defrag] must
have only one of 'value' or 'state'
fatal: [/var/lib/libvirt/images/rhel8.qcow2]: FAILED! => {
    "changed": false, 
    "message": ""
}

MSG:

Invalid format for input parameters


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Rich Megginson 2020-06-30 20:51:27 UTC
PR was merged upstream

Comment 11 errata-xmlrpc 2020-11-04 04:03:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (rhel-system-roles bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:4809