Bug 2232391 - kdump role: "Write new authorized_keys if needed" task idempotency issues [NEEDINFO]
Summary: kdump role: "Write new authorized_keys if needed" task idempotency issues
Keywords:
Status: POST
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rhel-system-roles
Version: 8.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.9
Assignee: Rich Megginson
QA Contact: CS System Management SST QE
URL:
Whiteboard: role:kdump
Depends On: 2232241
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-16 16:03 UTC by Rich Megginson
Modified: 2023-08-16 17:38 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: The new key content had an extra newline at the end. Consequence: The test to see if the new key content was in the current authorized_key list failed, so the key was added every time, and the task was not idempotent. Fix: Ensure the new key value has no extra newline. Use a simple list `in` test to see if the new value is in the existing list. Result: The task to write authorized_keys is idempotent.
Clone Of: 2232241
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:
rmeggins: needinfo? (djez)
rmeggins: needinfo? (jharuda)
rmeggins: needinfo? (vdanek)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-165917 0 None None None 2023-08-16 17:38:03 UTC


Note You need to log in before you can comment on or make changes to this bug.