Problem with masakari segment-list (auth parameter)

Bug #1755195 reported by Louie Kwan
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Louie Kwan

Bug Description

ubuntu@yow-tic-demo1:~$ masakari --debug segment-list
DEBUG (connection) Connection: <openstack.connection.Connection object at 0x7f84245fe5d0>

Traceback (most recent call last):
  File "/usr/local/bin/masakari", line 10, in <module>
  File "/usr/local/lib/python2.7/dist-packages/masakariclient/", line 189, in mai
  File "/usr/local/lib/python2.7/dist-packages/masakariclient/", line 160, in mai
    sc = self._setup_masakari_client(api_ver, args)
  File "/usr/local/lib/python2.7/dist-packages/masakariclient/", line 116, in _se
    return masakari_client.Client(api_ver, user_agent=USER_AGENT, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/masakariclient/", line 28, in Cli
    return cls(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/masakariclient/v1/", line 22, in
    prof=prof, user_agent=user_agent, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/masakariclient/sdk/ha/", line
 48, in create_connection
    raise e
openstack.exceptions.ConfigException: Problem with auth parameters

It may be related to the profile changes?

> /usr/local/lib/python2.7/dist-packages/masakariclient/sdk/ha/
-> LOG.debug('Connection: %s', conn)
(Pdb) n
> /usr/local/lib/python2.7/dist-packages/masakariclient/sdk/ha/
-> LOG.debug('masakari client initialized: %s', conn.ha)
(Pdb) print LOG
<logging.Logger object at 0x7f44dbc47350>
(Pdb) n
ConfigException: ConfigEx...meters',)
> /usr/local/lib/python2.7/dist-packages/masakariclient/sdk/ha/
-> LOG.debug('masakari client initialized: %s', conn.ha)
(Pdb) n
> /usr/local/lib/python2.7/dist-packages/masakariclient/sdk/ha/
-> except Exception as e:
(Pdb) print e
*** NameError: name 'e' is not defined
(Pdb) n
> /usr/local/lib/python2.7/dist-packages/masakariclient/sdk/ha/
-> raise e
(Pdb) print e
Problem with auth parameters

Steps to reproduce
1) Install latest devstack with masakari
2) git clone

cd python-masakariclient/

sudo python install

source ~/

# To check the cli is working or not

masakari segment-list

Revision history for this message
Tushar Patil (tpatil) wrote :

Louie: This patch [1] was merged on 14th March which bumps the openstacksdk version from 0.9.19 to 0.11.2. When we installed latest masakari code using devstack, we are hitting this bug [2] and not the one you are getting.

[1] :
[2] :

Revision history for this message
Louie Kwan (lkwan) wrote :

I see that and the following should address the issue.

Having said that, openstacksdk 12 is still have issue but I see another bug is filed last week.

Marked this as done for now.

Changed in python-masakariclient:
status: New → Fix Committed
assignee: nobody → Louie Kwan (lkwan)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers