Create Openstack Cloud Provider with Keystone v3

providers

#1

Good day!

The documentation here (http://manageiq.org/docs/reference/latest/api/reference/providers#creating-providers) is not explicit. Following it, is difficult to create a provider via API. Some attributes are not mentioned there either. How can keystone_v3_domain be specified in API call?

{
“type” : “ManageIQ::Providers::Openstack::CloudManager”,
“name” : “test”,
“hostname” : “host”,
“api_version”: “v3”,
“security_protocol”: “ssl”,
“port”: “5000”,
“provider_region”:“RegionOne”,
“keystone_v3_domain”:“default”,
“credentials” : {
“userid” : “user”,
“password” : “password”
}
}

gives:

{
“error”: {
“kind”: “bad_request”,
“message”: “Could not create the new provider - Invalid Provider attributes keystone_v3_domain specified”,
“klass”: “Api::BadRequestError”
}
}


#2

looking into this file (https://github.com/ManageIQ/manageiq-providers-openstack/blob/master/app/models/manageiq/providers/openstack/cloud_manager.rb) I found out that proper attribute name for keystone v3 domain id is uid_ems.