Installing it with tox instead of pip seems to have precisely the same effect. 
Is there a config file for the masakari client that I am not aware of? Nothing 
seems to be provided with it, and documentation is nonexistant.

Torin Woltjer

Grand Dial Communications - A ZK Tech Inc. Company

616.776.1066 ext. 2006
www.granddial.com

----------------------------------------
From: "Torin Woltjer" <torin.wolt...@granddial.com>
Sent: 7/2/18 11:45 AM
To: <openstack@lists.openstack.org>
Subject: Re: [Openstack] masakari client (cannot list/add segment)
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.wolt...@granddial.com>
Sent: 7/2/18 8:43 AM
To: "openstack@lists.openstack.org" <openstack@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


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to