Bug 1352011

Summary: Cannot specify security_protocol when creating a cloud provider via the API
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: APIAssignee: Šimon Lukašík <slukasik>
Status: CLOSED ERRATA QA Contact: Martin Kourim <mkourim>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: arubin, cpelland, gtanzill, jhardy, jmatthew, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: provider:add:rest
Fixed In Version: 5.6.1.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1351253 Environment:
Last Closed: 2016-08-18 17:53:57 UTC Type: ---
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: 1351253    
Bug Blocks: 1282895    

Comment 3 Šimon Lukašík 2016-07-14 13:05:06 UTC
This has been darga/backported (https://github.com/ManageIQ/manageiq/pull/9570) moving to POST.

Comment 6 Martin Kourim 2016-07-28 14:01:57 UTC
Verified by successfully creating a cloud provider via the API while specifying the security_protocol:

{
  "name" : "openstack test",
  "type" : "ManageIQ::Providers::Openstack::CloudManager",
  "hostname" : "x.x.x.x",
  "ipaddress" : "x.x.x.x",
  "security_protocol" : "ssl",
  "credentials" :  {
    "userid" : "id",
    "password" : "password"
  }
}

Comment 8 errata-xmlrpc 2016-08-18 17:53:57 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, 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://rhn.redhat.com/errata/RHSA-2016-1634.html