Mailing List Archive

masakari instance monitor sending notification error
Hi all,

I'm going to setup masakari environment on Neutron. I've installed masakari
api & engine on Controller and masakari-monitors & python-masakariclient on
two Compute nodes.
When an instance goes down masakari instance monitor encounter following
error:

2018-09-09 05:56:41.230 25262 ERROR
masakarimonitors.instancemonitor.libvirt_handler.callback AttributeError:
'Connection' object has no attribute 'sdk'

I've also applied this patch with same error: object has no attribute 'vmha

https://review.openstack.org/#/c/395433/3/masakarimonitors/instancemonitor/libvirt_handler/callback.py

Do you have any idea what I'm missing?

Regards,
Reza
Re: masakari instance monitor sending notification error [ In reply to ]
Hi Reza,

Sorry for the inconveniences you had.
Are you try to install masakari with OpenStack stable/newton?
In that case, what masakari release you used?
Because, masakari released from stable/Ocata and no official release for
Newton.
If you need to work it with Newton, then you have to isolate the masakari
services by using containers.

--- Regards,
Sampath



On Sun, Sep 9, 2018 at 11:21 PM Reza Bakhshayeshi <reza.b2008@gmail.com>
wrote:

> Hi all,
>
> I'm going to setup masakari environment on Neutron. I've installed
> masakari api & engine on Controller and masakari-monitors &
> python-masakariclient on two Compute nodes.
> When an instance goes down masakari instance monitor encounter following
> error:
>
> 2018-09-09 05:56:41.230 25262 ERROR
> masakarimonitors.instancemonitor.libvirt_handler.callback AttributeError:
> 'Connection' object has no attribute 'sdk'
>
> I've also applied this patch with same error: object has no attribute 'vmha
>
>
> https://review.openstack.org/#/c/395433/3/masakarimonitors/instancemonitor/libvirt_handler/callback.py
>
> Do you have any idea what I'm missing?
>
> Regards,
> Reza
> _______________________________________________
> 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
>
Re: masakari instance monitor sending notification error [ In reply to ]
Hi Sam,

Sorry about misspelling, Yes, I'm sure about stable/newton. I've cloned it
by this command:

git clone https://github.com/openstack/masakari -b newton-eol

and my version is masakari==2.0.0
Do you mean that installing stable/Ocata inside a container, while I'm
using Newton controller and compute?
Do you have any example documentation for this purpose or any of these
configuration files:
/etc/masakari/masakari.conf
/etc/masakarimonitors/masakarimonitors.conf

Regards,
Reza


On Mon, 10 Sep 2018 at 19:16, Sam P <sam47priya@gmail.com> wrote:

> Hi Reza,
>
> Sorry for the inconveniences you had.
> Are you try to install masakari with OpenStack stable/newton?
> In that case, what masakari release you used?
> Because, masakari released from stable/Ocata and no official release for
> Newton.
> If you need to work it with Newton, then you have to isolate the masakari
> services by using containers.
>
> --- Regards,
> Sampath
>
>
>
> On Sun, Sep 9, 2018 at 11:21 PM Reza Bakhshayeshi <reza.b2008@gmail.com>
> wrote:
>
>> Hi all,
>>
>> I'm going to setup masakari environment on Neutron. I've installed
>> masakari api & engine on Controller and masakari-monitors &
>> python-masakariclient on two Compute nodes.
>> When an instance goes down masakari instance monitor encounter following
>> error:
>>
>> 2018-09-09 05:56:41.230 25262 ERROR
>> masakarimonitors.instancemonitor.libvirt_handler.callback AttributeError:
>> 'Connection' object has no attribute 'sdk'
>>
>> I've also applied this patch with same error: object has no attribute
>> 'vmha
>>
>>
>> https://review.openstack.org/#/c/395433/3/masakarimonitors/instancemonitor/libvirt_handler/callback.py
>>
>> Do you have any idea what I'm missing?
>>
>> Regards,
>> Reza
>> _______________________________________________
>> 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
>>
>