Bug 1448483 - Ansible Repository SCM Credential cannot be cleared after being set
Summary: Ansible Repository SCM Credential cannot be cleared after being set
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.9.0
Assignee: James Wong
QA Contact: Dmitry Misharov
URL:
Whiteboard: ansible:ui:automate
Depends On:
Blocks: 1460304
TreeView+ depends on / blocked
 
Reported: 2017-05-05 14:10 UTC by lgalis
Modified: 2018-03-06 15:46 UTC (History)
8 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1460304 (view as bug list)
Environment:
Last Closed: 2018-03-06 15:46:14 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description lgalis 2017-05-05 14:10:22 UTC
Description of problem:

Ansible Repository SCM Credential cannot be cleared after being set

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


How reproducible:


Steps to Reproduce:
1.Create an Ansible Repository and select an SCM credential
2.Edit the repository and set the credential to none, then save.
3.

Actual results:

The credential is not cleared.

Expected results:


Additional info:

Comment 3 CFME Bot 2017-05-23 13:47:47 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6d35f13657e82711046ff902c9ce6cef51e6d76d

commit 6d35f13657e82711046ff902c9ce6cef51e6d76d
Author:     James Wong <jwong>
AuthorDate: Mon May 8 19:11:57 2017 -0400
Commit:     James Wong <jwong>
CommitDate: Mon May 8 21:42:06 2017 -0400

    Allow Tower Project to reset credential
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1448483

 .../configuration_script_source.rb                 |  6 ++++--
 .../shared/automation_manager/tower_api.rb         |  1 +
 .../configuration_script_source.rb                 | 25 +++++++++++++++++++---
 3 files changed, 27 insertions(+), 5 deletions(-)

Comment 5 Dmitry Misharov 2017-10-18 07:04:20 UTC
Verified in 5.9.0.2.20171010190026_0413a0. Credentials can be successfully removed from a repository.


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