Hello again, I am not using the git version of masakari anymore, I am using the version installed from python pip. I am using Pike and not Queens so the openstacksdk version 13 is not available in the repository. Should openstacksdk version 0.13 still work with Pike, and should this version of masakari still work with Pike?
Thanks, Torin Woltjer Grand Dial Communications - A ZK Tech Inc. Company 616.776.1066 ext. 2006 www.granddial.com ---------------------------------------- From: "Patil, Tushar" <tushar.pa...@nttdata.com> Sent: 5/16/18 12:29 AM To: "openstack@lists.openstack.org" <openstack@lists.openstack.org>, "torin.wolt...@granddial.com" <torin.wolt...@granddial.com> Subject: Re: [Openstack] Masakari client error Hi Torin, Few days back, this patch [1] got merged in which the service type is changed from "ha" to "instance_ha". We have tried reproducing the issue you are facing but we are not getting the exact same error. With different versions of openstacksdk, we got different errors. Masakariclient/masakari-monitors requires openstacksdk version 0.13.0. Today we have fixed LP bug [2] in patch [3] which should also fix the issue you are facing. We will release another version of python-masakariclient soon. Are you installing masakari using devstack? If yes, please install masakari from scratch. After installing latest masakari, you should be able to run segment-list and host-list using openstack commands. If you want to run same commands using masakariclient, then you will need to wait until new version of masakariclient is released or you can apply patch [3] in your environment. If you need any help in applying patches, please ask for help on #openstack-masakari IRC. Simple way to install latest masakariclient from code: 1. git clone https://github.com/openstack/python-masakariclient.git 2. Go to folder python-masakariclient 3. sudo python setup.py install If you find any issues in Masakari, you can also report bugs in launchpad against below respective projects. http://launchpad.net/python-masakariclient https://launchpad.net/masakari-monitors https://launchpad.net/masakari Hope this helps!!! [1] : https://review.openstack.org/#/c/536653/ [2] : https://bugs.launchpad.net/python-masakariclient/+bug/1756047 [3] : https://review.openstack.org/#/c/557634/ Regards, Tushar Patil ________________________________________ From: Torin Woltjer Sent: Tuesday, May 15, 2018 11:36:11 PM To: openstack@lists.openstack.org Subject: [Openstack] Masakari client error I am using the masakari client version 5.0.0 installed from python pip. I keep getting the following error: ("'Connection' object has no attribute 'ha'", ', mode 'w' at 0x7f6ee88791e0>) when I try to run any commands with it: segment-list host-list etc. It's entirely possible that I'm missing some peice of configuration, or have something improperly configured, but there isn't sufficient documentation for me to figure out if or what. Anybody have a working example that I can see, or know if this an issue? Disclaimer: This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged,confidential, and proprietary data. If you are not the intended recipient,please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding.
_______________________________________________ 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