Bug 1451326

Summary: [Ansible Embedded] - SCM credentials cannot be added
Product: Red Hat CloudForms Management Engine Reporter: Pavol Kotvan <pakotvan>
Component: ProvidersAssignee: James Wong <jwong>
Status: CLOSED CURRENTRELEASE QA Contact: Pavol Kotvan <pakotvan>
Severity: high Docs Contact:
Priority: urgent    
Version: 5.8.0CC: cpelland, jfrey, jhardy, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ansible_embed
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1451780 (view as bug list) Environment:
Last Closed: 2018-03-06 14:45:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Ansible Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1451780    

Comment 2 James Wong 2017-05-16 16:02:50 UTC
UI is trimming the newline characters in the private key before sending to backend. The private key becomes invalid without the newline chars.

Comment 4 CFME Bot 2017-05-16 22:26:28 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/f7f5b4234d4629b7cb0f5fd85fdbb001ddc8d955

commit f7f5b4234d4629b7cb0f5fd85fdbb001ddc8d955
Author:     James Wong <jwong>
AuthorDate: Tue May 16 12:24:23 2017 -0400
Commit:     James Wong <jwong>
CommitDate: Tue May 16 12:29:08 2017 -0400

    scm_credential private_key field to have multiple line
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1451326

 .../ansible_tower/shared/automation_manager/scm_credential.rb    | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)