Comment 9 for bug 1779752

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to masakari-monitors (stable/queens)

Reviewed: https://review.openstack.org/590735
Committed: https://git.openstack.org/cgit/openstack/masakari-monitors/commit/?id=3ffd576b7959a90fcebabd5471ff4d6f5a619b3c
Submitter: Zuul
Branch: stable/queens

commit 3ffd576b7959a90fcebabd5471ff4d6f5a619b3c
Author: shilpa.devharakar <email address hidden>
Date: Fri Aug 3 10:16:23 2018 +0530

    Fix masakari-monitor connection issue

    From openstacksdk version 0.11.1 onwards, there is no way
    you can add service to the connection. Hence we need to monkey
    _find_service_filter_class method from sdk to allow
    to point to thee correct service filter class from masakariclient.

    Solution provided here is not going to work in sdk 0.9.19 and
    0.10.0 versions. Because service descriptor is not supported
    in 0.9.19 and 0.10.0 sdk versions and profile parameter doesn't
    work correctly during connection initialization.

    Also solution provided here is not going to work in sdk 0.13.0
    and above, it will still fails with below error
    "'Connection' object has no attribute 'ha'"
    this is because 'Connection' object expecting instance_ha not ha

    Co-Author: tpatil <email address hidden>
    Change-Id: Ic10d1b380abc8b3b6cc38015c9c3bf4ab7705a0c
    Depends-On: I24ec493f3333a5b3f6bfed9395c921fb28500065
    Closes-Bug: #1779752