Hello,
Can anyone comment on if ManageIQ supports OpenStack environments with multi-domains?
From what I can tell, the domain section is configurable when setting up the Cloud Provider, however authentication always fails.
Now if I select the v2 option, authenticate passes however I don’t get any information on instances, projects / tenants, etc. I only end up with images, flavors and such.
In my OpenStack Liberty environment I have 4 domains, the default, cloud_admins, cloud_dev and cloud_qa.
The evm.log:
[----] I, [2016-06-22T17:27:19.158418 #12112:7f47ac] INFO – : MIQ(ManageIQ::Providers::Openstack::CloudManager#with_provider_connection) Connecting through ManageIQ::Providers::Openstack::CloudManager: [DEV QA OpenStack]
[----] E, [2016-06-22T17:27:19.320510 #12112:7f47ac] ERROR – : excon.error #<Excon::Errors::Unauthorized: Expected([201]) <=> Actual(401 Unauthorized)
excon.error.response
:body => “{“error”: {“message”: “The request you have made requires authentication.”, “code”: 401, “title”: “Unauthorized”}}”
:cookies => [
]
:headers => {
“Content-Length” => "114"
“Content-Type” => “application/json”
“Date” => “Wed, 22 Jun 2016 21:27:19 GMT”
“Server” => “Apache”
“Vary” => “X-Auth-Token”
“WWW-Authenticate” => "Keystone uri=“https://cloudqa.ppc.mydns.com:5000"”
“x-openstack-request-id” => “req-68211259-2eb9-4f90-94ae-18c51cd82206”
}
:host => “cloudqa.ppc.mydns.com”
:local_address => “10.96.206.214”
:local_port => 49113
:path => “/v3/auth/tokens”
:port => 5000
:reason_phrase => “Unauthorized”
:remote_ip => “10.96.1.21”
:status => 401
:status_line => “HTTP/1.1 401 Unauthorized\r\n”
[----] E, [2016-06-22T17:27:19.320763 #12112:7f47ac] ERROR – : MIQ(ManageIQ::Providers::Openstack::CloudManager#verify_api_credentials) Error Class=Excon::Errors::Unauthorized, Message=Expected([201]) <=> Actual(401 Unauthorized)
excon.error.response
:body => “{“error”: {“message”: “The request you have made requires authentication.”, “code”: 401, “title”: “Unauthorized”}}”
:cookies => [
]
:headers => {
“Content-Length” => "114"
“Content-Type” => “application/json”
“Date” => “Wed, 22 Jun 2016 21:27:19 GMT”
“Server” => “Apache”
“Vary” => “X-Auth-Token”
“WWW-Authenticate” => "Keystone uri=“https://cloudqa.ppc.mydns.com:5000"”
“x-openstack-request-id” => “req-68211259-2eb9-4f90-94ae-18c51cd82206”
}
:host => “cloudqa.ppc.mydns.com”
:local_address => “10.96.206.214”
:local_port => 49113
:path => “/v3/auth/tokens”
:port => 5000
:reason_phrase => “Unauthorized”
:remote_ip => “10.96.1.21”
:status => 401
:status_line => “HTTP/1.1 401 Unauthorized\r\n”
[----] W, [2016-06-22T17:27:19.320852 #12112:7f47ac] WARN – : MIQ(ManageIQ::Providers::Openstack::CloudManager#authentication_check_no_validation) type: [“default”] for [1] [DEV QA OpenStack] Validation failed: invalid, Login failed due to a bad username or password.
[----] E, [2016-06-22T17:27:19.321036 #12112:7f47ac] ERROR – : MIQ(ems_cloud_controller-update): Credential validation was not successful: Login failed due to a bad username or password.
[----] I, [2016-06-22T17:27:20.369397 #11906:445980] INFO – : MIQ(MiqServer#heartbeat) Heartbeat [2016-06-22 21:27:20 UTC]…
[----] I, [2016-06-22T17:27:20.381208 #11906:445980] INFO – : MIQ(MiqServer#heartbeat) Heartbeat [2016-06-22 21:27:20 UTC]…Complete