Problem with masakari segment-list (auth parameter)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-masakariclient |
Fix Released
|
Undecided
|
Louie Kwan |
Bug Description
ubuntu@
DEBUG (connection) Connection: <openstack.
Traceback (most recent call last):
File "/usr/local/
sys.
File "/usr/local/
n
MasakariShe
File "/usr/local/
n
sc = self._setup_
File "/usr/local/
tup_masakari_client
return masakari_
File "/usr/local/
ent
return cls(*args, **kwargs)
File "/usr/local/
__init__
prof=prof, user_agent=
File "/usr/local/
48, in create_connection
raise e
openstack.
***
It may be related to the profile changes?
> /usr/local/
-> LOG.debug(
(Pdb) n
> /usr/local/
-> LOG.debug('masakari client initialized: %s', conn.ha)
(Pdb) print LOG
<logging.Logger object at 0x7f44dbc47350>
(Pdb) n
ConfigException: ConfigEx.
> /usr/local/
-> LOG.debug('masakari client initialized: %s', conn.ha)
(Pdb) n
> /usr/local/
-> except Exception as e:
(Pdb) print e
*** NameError: name 'e' is not defined
(Pdb) n
> /usr/local/
-> raise e
(Pdb) print e
Problem with auth parameters
(Pdb)
***
Steps to reproduce
1) Install latest devstack with masakari
2) git clone https:/
cd python-
sudo python setup.py install
source ~/admin-openrc.sh
# To check the cli is working or not
masakari segment-list
Changed in python-masakariclient: | |
status: | Fix Committed → Fix Released |
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] : https:/ /review. openstack. org/#/c/ 544221/ 3 /bugs.launchpad .net/python- masakariclient/ +bug/1756047
[2] : https:/