In masakari.py file, there is no source code to resolve openstack

Bug #1874205 reported by Priyatosh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
masakari-monitors
Invalid
Undecided
Unassigned

Bug Description

After installation of masakarimonitors at compute node, we get the file /usr/local/lib/python2.7/dist-packages/masakarimonitors/ha/masakari.py.
In this file the "class SendNotification" is having a function _get_connection(), which is calling connection.Connection().

This "connection" is defined as:
"from openstack import connection" in masakari.py file.

But there is no code to resolve "openstack" at compute node.

Kindly suggest how can we resolve this connection.

Priyatosh (priyotoshtsp)
information type: Private Security → Public
Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

Dear Priyatosh, this module comes with the openstacksdk package. It's one of the requirements (as seen in requirements.txt). pip should have installed it automatically (unless --no-deps was given).

Changed in masakari-monitors:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.