Bug 1893014

Summary: Issue when using ansible-runner to run a playbook with an ssh_key generated on rhel8
Product: Red Hat CloudForms Management Engine Reporter: Tuan <tuado>
Component: Embedded AnsibleAssignee: Nick LaMuro <nlamuro>
Status: CLOSED ERRATA QA Contact: Gaurav Talreja <gtalreja>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.11.8CC: dmetzger, juwatts, simaishi, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.11.10Flags: simaishi: cfme-5.11.z+
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.10.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 21:17:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:

Comment 6 CFME Bot 2020-11-09 21:00:14 UTC
New commit detected on ManageIQ/manageiq/ivanchuk:

https://github.com/ManageIQ/manageiq/commit/1f6a3bacf60fa9b7d756678aad3355d532305f23
commit 1f6a3bacf60fa9b7d756678aad3355d532305f23
Author:     Keenan Brock <keenan>
AuthorDate: Mon Nov  2 20:33:43 2020 +0000
Commit:     Satoe Imaishi <simaishi>
CommitDate: Mon Nov  9 20:45:38 2020 +0000

    Merge pull request #20771 from NickLaMuro/embedded_ansible_scm_cred_ensure_newline

    [EmbeddedAnsible] Ensure newline for :ssh_key_data

    (cherry picked from commit 1895a653cbb81f0c472fd816f899dbc6f95265e5)

    https://bugzilla.redhat.com/show_bug.cgi?id=1893014

 app/models/manageiq/providers/embedded_ansible/automation_manager/scm_credential.rb | 8 +
 spec/models/manageiq/providers/embedded_ansible/automation_manager/credential_spec.rb | 133 +-
 2 files changed, 87 insertions(+), 54 deletions(-)

Comment 11 CFME Bot 2020-12-01 17:20:18 UTC
New commit detected on ManageIQ/manageiq/ivanchuk:

https://github.com/ManageIQ/manageiq/commit/a4a3403be1e59789f2c0febb5d8af0c2f1175e0d
commit a4a3403be1e59789f2c0febb5d8af0c2f1175e0d
Author:     Jason Frey <fryguy9>
AuthorDate: Tue Dec  1 17:09:36 2020 +0000
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Dec  1 17:16:11 2020 +0000

    Merge pull request #20845 from NickLaMuro/embedded_ansible_machine_credential_newline

    [EmbeddedAnsible] Ensure newline for auth_key in MachineCredential

    (cherry picked from commit 3dad9196d0099e0f263e145404ee13319b325a6f)

    https://bugzilla.redhat.com/show_bug.cgi?id=1893014

 app/models/manageiq/providers/embedded_ansible/automation_manager/credential.rb | 6 +
 app/models/manageiq/providers/embedded_ansible/automation_manager/machine_credential.rb | 2 +
 app/models/manageiq/providers/embedded_ansible/automation_manager/scm_credential.rb | 6 -
 spec/lib/ansible/runner/credential/machine_credential_spec.rb | 2 +-
 spec/models/manageiq/providers/embedded_ansible/automation_manager/credential_spec.rb | 165 +-
 5 files changed, 104 insertions(+), 77 deletions(-)

Comment 17 errata-xmlrpc 2020-12-15 21:17:35 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 (Important: CloudForms 5.0.10 security, 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/RHSA-2020:5554