Bug 1605210

Summary: Unable to create an operational RHV provider using the REST API.
Product: Red Hat CloudForms Management Engine Reporter: Andy MacMurray <amacmurr>
Component: APIAssignee: Julian Cheal <jcheal>
Status: CLOSED ERRATA QA Contact: Parthvi Vala <pvala>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.2CC: cpelland, obarenbo, psavage, pvala, simaishi, smallamp
Target Milestone: GA   
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.17 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-07 23:03:30 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:

Comment 3 Julian Cheal 2018-09-20 10:59:39 UTC
PR for this BZ https://github.com/ManageIQ/manageiq/pull/18001

Comment 4 Parthvi Vala 2018-10-31 09:12:28 UTC
FIXED. Verified on 5.10.0.21.20181023151612_4c11b0d.
Request:
POST https://<ip_address>/api/providers
{
	"name": "rhv41",
	"ipaddress": "{{ip_address}}",
	"hostname": "{{hostname}}",
	"connection_configurations": [
		{
			"endpoint": {
				"verify_ssl": 0,
				"role": "default"
                        }
		}
	],
	"credentials": [
		{
			"password": "{{password}}",
			"userid": "{{userid}}"
		}
	],
	"type": "ManageIQ::Providers::Redhat::InfraManager"
}

Comment 5 errata-xmlrpc 2019-02-07 23:03:30 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://access.redhat.com/errata/RHSA-2019:0212