Bug 1470738

Summary: Not possible to refresh automate from GIT using API call
Product: Red Hat CloudForms Management Engine Reporter: vaclav.miller
Component: AutomateAssignee: mkanoor
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: high Docs Contact:
Priority: medium    
Version: 5.7.0CC: cpelland, gmccullo, jhardy, mkanoor, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1471204 1478554 (view as bug list) Environment:
Last Closed: 2018-03-06 15:20:35 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:
Bug Depends On:    
Bug Blocks: 1471204, 1478554    

Description vaclav.miller 2017-07-13 14:31:01 UTC
Description of problem:

At 5.7.3:
We create a GIT repo for custom atutomate model from the CFME UI.
First time automate import from GIT goes well.

Later, when there is update of code we like to refresh in CFME using API (API refresh domain).
Refresh fails, there are issues with ssl verification.

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


How reproducible:
follow description

Steps to Reproduce:
1. create automate domain
2. import code to automate from GIT using UI
3. make update in GIT autoamte code
4. trigger API refresh domain

Actual results:


Expected results:


Additional info: disccused at https://github.com/ManageIQ/manageiq-automation_engine/pull/42

Comment 3 CFME Bot 2017-07-13 17:08:48 UTC
New commit detected on ManageIQ/manageiq-automation_engine/master:
https://github.com/ManageIQ/manageiq-automation_engine/commit/0f7a2db667c38456d03c595de1c2992e5411bb39

commit 0f7a2db667c38456d03c595de1c2992e5411bb39
Author:     mkanoor <mkanoor>
AuthorDate: Thu Jul 13 11:45:47 2017 -0400
Commit:     mkanoor <mkanoor>
CommitDate: Thu Jul 13 11:45:47 2017 -0400

    Don't unconditionally update verify_ssl
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1470738

 app/models/miq_ae_git_import.rb       |  2 +-
 spec/models/miq_ae_git_import_spec.rb | 11 ++++++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

Comment 6 Milan Falešník 2017-11-03 10:17:18 UTC
Verified in 5.9.0.5 using https://bugzilla.redhat.com/show_bug.cgi?id=1478554#c3