Lbass health monitor status missing

asked 2016-11-02 11:57:43 -0500

satish.lx gravatar image

updated 2016-11-04 15:52:35 -0500

rbowen gravatar image

We have mikata Openstack version running and i have setup lbaasV2 and everything looks good but question is how i am not able to find member health status column in following output, I am missing something ?

[root@ostack]# neutron lbaas-healthmonitor-list
+--------------------------------------+------+------+----------------+ | id                                   | name | type | admin_state_up |
+--------------------------------------+------+------+----------------+ | adcaf4d3-1db0-4a60-b1ae-da192b83768a |      | PING | True           |
+--------------------------------------+------+------+----------------+

Here is the monitor

[root@ostack]# neutron lbaas-healthmonitor-show adcaf4d3-1db0-4a60-b1ae-da192b83768a
+----------------+------------------------------------------------+ | Field          | Value               |
+----------------+------------------------------------------------+ | admin_state_up | True                | | delay          | 10                | | id             | adcaf4d3-1db0-4a60-b1ae-da192b83768a   | | max_retries    | 3                 | | name           |                   | | pools          | {"id": "618ba0e4-4715-4b19-997a-b0c994c6148c"} | | tenant_id      | 01b16b2aaaff42ea9e96f82d0351f9c1       | | timeout        | 20                | | type           | PING              |
+----------------+------------------------------------------------+

Where is the status of health? its just showing "true" even i tried to shutdown system too

[root@ostack]# neutron lbaas-member-list 618ba0e4-4715-4b19-997a-b0c994c6148c
+--------------------------------------+------+--------------+---------------+--------+--------------------------------------+----------------+
| id                                   | name | address      | protocol_port | weight | subnet_id                            | admin_state_up |
+--------------------------------------+------+--------------+---------------+--------+--------------------------------------+----------------+
| 329407a8-c116-4e1e-b1ea-8953f9aa3004 |      | 192.168.10.3 |          8140 |      1 | 17f7b5e9-e32e-4399-bf5d-6c49e0b0d6ef | True           |
| 4b2ecd8e-5cd4-4eb6-b5f2-3555ec8c1ef8 |      | 192.168.10.4 |          8140 |      1 | 17f7b5e9-e32e-4399-bf5d-6c49e0b0d6ef | True           |
+--------------------------------------+------+--------------+---------------+--------+--------------------------------------+----------------+
edit retag flag offensive close merge delete

Comments

I've observed the same. admin_state_up I believe is a flag to toggle whether it's enabled or not, unrelated to health status. Potentially allow you to manually disable a member.

I've deleted an instance, it's completely gone, but every API I can find documented does not show anything different.

jshumaker gravatar imagejshumaker ( 2017-04-12 16:34:02 -0500 )edit

I created a blueprint to add this functionality: https://blueprints.launchpad.net/searchlight/+spec/lbaas-pool-member-health-status (https://blueprints.launchpad.net/sear...)

jshumaker gravatar imagejshumaker ( 2017-04-12 16:44:04 -0500 )edit

neutraon lbaas-loadbalancer-status seems to be closest to giving this, as members list there has "operating_status": "ONLINE" but that value does not change when the instnace has been down for several minutes and health monitor should have triggered it as offline.

jshumaker gravatar imagejshumaker ( 2017-04-12 16:49:04 -0500 )edit