Now the client can not initialise glance client,
give the warning msg like:
# murano environment-create test-env
Could not initialise glance client. Image creation will be unavailable.
Have two issue about this:
1. can not get the endpoint correctly, the get endpoint
are all murano's endpoint. This is due to when get the endpoint, if have
the endpoint, will return this endpoint directly.
2. Get the correctly endpoint, init the glance client, give the error:
TypeError: "__init__() got an unexpected keyword argument 'endpoint_type'"
This is due to 'endpoint_type' argument.
Change-Id: I87df369eecc9b79cb7173967729351f7e601edc0
Closes-bug: #1594731
(cherry picked from commit df7ecbc290ae61a56ff98413baa5b84625063911)
Reviewed: https:/ /review. openstack. org/367925 /git.openstack. org/cgit/ openstack/ python- muranoclient/ commit/ ?id=60073398aad 53f97381a5860f2 abdb665116e033
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 60073398aad53f9 7381a5860f2abdb 665116e033
Author: zhurong <email address hidden>
Date: Tue Jun 21 09:17:03 2016 +0000
Fix client could not init glance client
Now the client can not initialise glance client,
give the warning msg like:
# murano environment-create test-env
Could not initialise glance client. Image creation will be unavailable.
Have two issue about this:
1. can not get the endpoint correctly, the get endpoint
are all murano's endpoint. This is due to when get the endpoint, if have
the endpoint, will return this endpoint directly.
2. Get the correctly endpoint, init the glance client, give the error:
TypeError: "__init__() got an unexpected keyword argument 'endpoint_type'"
This is due to 'endpoint_type' argument.
Change-Id: I87df369eecc9b7 9cb717396772935 1f7e601edc0 56ff98413baa5b8 4625063911)
Closes-bug: #1594731
(cherry picked from commit df7ecbc290ae61a