client could not initialise glance client correctly

Bug #1594731 reported by zhurong on 2016-06-21
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-muranoclient
High
zhurong
Mitaka
High
Kirill Zaitsev
Newton
High
zhurong
Ocata
High
zhurong

Bug Description

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.
+----------------------------------+----------+--------+---------------------+---------------------+
| ID | Name | Status | Created | Updated |
+----------------------------------+----------+--------+---------------------+---------------------+
| 7f6c49e220fa43c7b9fd3b90ba879da4 | test-env | ready | 2016-06-21T12:26:30 | 2016-06-21T12:26:30 |
+----------------------------------+----------+--------+---------------------+---------------------+

Have two issue about this:
1. can not get the endpoint correctly, the get endpoint are all murano's endpoint.
2. Get the correctly endpoint, init the glance client, give the error:
TypeError: "__init__() got an unexpected keyword argument 'endpoint_type'"

zhurong (zhu-rong) on 2016-06-21
summary: - client can not get the endpoint correctly and glance_client can not init
+ client could not initialise glance client correctly
Changed in python-muranoclient:
assignee: nobody → zhurong (zhu-rong)
zhurong (zhu-rong) on 2016-06-21
description: updated

Fix proposed to branch: master
Review: https://review.openstack.org/332028

Changed in python-muranoclient:
status: New → In Progress
zhurong (zhu-rong) on 2016-06-21
description: updated
Changed in python-muranoclient:
importance: Undecided → High
milestone: none → 0.9.0

Reviewed: https://review.openstack.org/332028
Committed: https://git.openstack.org/cgit/openstack/python-muranoclient/commit/?id=df7ecbc290ae61a56ff98413baa5b84625063911
Submitter: Jenkins
Branch: master

commit df7ecbc290ae61a56ff98413baa5b84625063911
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: I87df369eecc9b79cb7173967729351f7e601edc0
    Closes-bug: #1594731

Changed in python-muranoclient:
status: In Progress → Fix Released

This issue was fixed in the openstack/python-muranoclient 0.9.0 release.

tags: added: cli glance

Reviewed: https://review.openstack.org/367925
Committed: https://git.openstack.org/cgit/openstack/python-muranoclient/commit/?id=60073398aad53f97381a5860f2abdb665116e033
Submitter: Jenkins
Branch: stable/mitaka

commit 60073398aad53f97381a5860f2abdb665116e033
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: I87df369eecc9b79cb7173967729351f7e601edc0
    Closes-bug: #1594731
    (cherry picked from commit df7ecbc290ae61a56ff98413baa5b84625063911)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers