client could not initialise glance client correctly

Bug #1594731 reported by zhurong
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-muranoclient
Fix Released
High
zhurong
Mitaka
Fix Committed
High
Kirill Zaitsev
Newton
Fix Released
High
zhurong
Ocata
Fix Released
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'"

Tags: cli glance
zhurong (zhu-rong)
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)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-muranoclient (master)

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

Changed in python-muranoclient:
status: New → In Progress
zhurong (zhu-rong)
description: updated
Changed in python-muranoclient:
importance: Undecided → High
milestone: none → 0.9.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-muranoclient (master)

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
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-muranoclient 0.9.0

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

tags: added: cli glance
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-muranoclient (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/367925

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-muranoclient (stable/mitaka)

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  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.