[Openstack] masakari client (cannot list/add segment)
Torin Woltjer
torin.woltjer at granddial.com
Mon Jul 2 15:39:52 UTC 2018
Running the command with the -d debug option provides this python traceback:
Traceback (most recent call last):
File "/usr/local/bin/masakari", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/masakariclient/shell.py", line 189, in main
MasakariShell().main(args)
File "/usr/local/lib/python2.7/dist-packages/masakariclient/shell.py", line 160, in main
sc = self._setup_masakari_client(api_ver, args)
File "/usr/local/lib/python2.7/dist-packages/masakariclient/shell.py", line 116, in _setup_masakari_client
return masakari_client.Client(api_ver, user_agent=USER_AGENT, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/masakariclient/client.py", line 28, in Client
return cls(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/masakariclient/v1/client.py", line 22, in __init__
prof=prof, user_agent=user_agent, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/masakariclient/sdk/ha/connection.py", line 48, in create_connection
raise e
AttributeError: 'NoneType' object has no attribute 'auth_url'
Specifying --os-auth-url http://controller:5000 doesn't change this. Is python-masakariclient incorrectly installed?
Torin Woltjer
Grand Dial Communications - A ZK Tech Inc. Company
616.776.1066 ext. 2006
www.granddial.com
----------------------------------------
From: "Torin Woltjer" <torin.woltjer at granddial.com>
Sent: 7/2/18 8:43 AM
To: "openstack at lists.openstack.org" <openstack at lists.openstack.org>
Subject: masakari client (cannot list/add segment)
Installed masakari 4.0.0 on queens. Hostmonitor, instancemonitor, and processmonitor all running on compute nodes. API and engine running on controller nodes. I've tried using the masakari client to list/add segments, any of those commands does nothing and returns:
("'NoneType' object has no attribute 'auth_url'", <open file '<stderr>', mode 'w' at 0x7f26bb4b71e0>)
I cannot find any log file for the masakari client to troubleshoot this further.
Torin Woltjer
Grand Dial Communications - A ZK Tech Inc. Company
616.776.1066 ext. 2006
www.granddial.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20180702/12f935f1/attachment.html>
More information about the Openstack
mailing list