[openstack-dev] [python-masakariclient] Installation issues

Kwan, Louie Louie.Kwan at windriver.com
Fri Mar 9 19:16:35 UTC 2018


It may be related to the profile changes?

> /usr/local/lib/python2.7/dist-packages/masakariclient/sdk/ha/connection.py(49)create_connection()
-> LOG.debug('Connection: %s', conn)
(Pdb) n
> /usr/local/lib/python2.7/dist-packages/masakariclient/sdk/ha/connection.py(50)create_connection()
-> 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/connection.py(50)create_connection()
-> LOG.debug('masakari client initialized: %s', conn.ha)
(Pdb) n
> /usr/local/lib/python2.7/dist-packages/masakariclient/sdk/ha/connection.py(51)create_connection()
-> 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/connection.py(52)create_connection()
-> raise e
(Pdb) print e
Problem with auth parameters
(Pdb)
________________________________
From: Kwan, Louie
Sent: Friday, March 09, 2018 1:37 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: [openstack-dev] [python-masakariclient] Installation issues

Two issues:

1.       Just download the latest and got some issues, cannot  ?

ubuntu at yow-tic-demo1:~$ masakari segment-list
('Problem with auth parameters', <open file '<stderr>', mode 'w' at 0x7fe5188681e0>)


2.      Documentation: http://docs.openstack.org/developer/python-masakariclient

·        Not Found

·        The documentation is no long valid
Checked the bug list, it seems new issues? Any info will be much appreciated.

Thanks.

Louie

Note:
sudo su - stack
cd /home/stack
git clone https://github.com/openstack/python-masakariclient.git
cd python-masakariclient/
sudo python setup.py install
source ~/admin-openrc.sh
# To check the cli is working or not
masakari segment-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180309/ced3b4b4/attachment.html>


More information about the OpenStack-dev mailing list