LB-Healthmonitor: Same default values gets assigned for different health monitor type

Bug #1374116 reported by Shweta Naik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
High
Rudra Rugge
R1.1
Won't Fix
High
Rudra Rugge
R2.20
Fix Committed
High
Rudra Rugge

Bug Description

R1.10 build 41

Created health monitors of different type, TCP, PING, HTTP and HTTPS.
See the same default values gets assigned for all.

neutron lb-healthmonitor-create --delay 20 --timeout 10 --max-retries 3 --type HTTPS
root@a5s311:/opt/contrail/utils# neutron lb-healthmonitor-show 0872bc32-1f62-42bf-97cc-2e2ee285cd6a
+----------------+--------------------------------------+
| Field | Value |
+----------------+--------------------------------------+
| admin_state_up | True |
| delay | 20 |
| expected_codes | 200 |
| http_method | GET |
| id | 0872bc32-1f62-42bf-97cc-2e2ee285cd6a |
| max_retries | 3 |
| status | ACTIVE |
| tenant_id | 6dfb22b204a84006b161a137149e7e9c |
| timeout | 10 |
| type | HTTPS |
| url_path | / |
+----------------+--------------------------------------+

neutron lb-healthmonitor-create --delay 20 --timeout 10 --max-retries 3 --type HTTP
root@a5s311:/opt/contrail/utils# neutron lb-healthmonitor-show 9ad51053-0253-4694-b79a-1b6a0a79f715
+----------------+--------------------------------------+
| Field | Value |
+----------------+--------------------------------------+
| admin_state_up | True |
| delay | 20 |
| expected_codes | 200 |
| http_method | GET |
| id | 9ad51053-0253-4694-b79a-1b6a0a79f715 |
| max_retries | 3 |
| status | ACTIVE |
| tenant_id | 6dfb22b204a84006b161a137149e7e9c |
| timeout | 10 |
| type | HTTP |
| url_path | / |
+----------------+--------------------------------------+

neutron lb-healthmonitor-create --delay 20 --timeout 10 --max-retries 3 --type TCP
root@a5s311:/opt/contrail/utils# neutron lb-healthmonitor-show 9ae8a016-42d8-4fa0-b7be-adf3f6ba2da8
+----------------+--------------------------------------+
| Field | Value |
+----------------+--------------------------------------+
| admin_state_up | True |
| delay | 20 |
| expected_codes | 200 |
| http_method | GET |
| id | 9ae8a016-42d8-4fa0-b7be-adf3f6ba2da8 |
| max_retries | 3 |
| status | ACTIVE |
| tenant_id | 6dfb22b204a84006b161a137149e7e9c |
| timeout | 10 |
| type | TCP |
| url_path | / |
+----------------+--------------------------------------+

neutron lb-healthmonitor-create --delay 20 --timeout 10 --max-retries 3 --type PING
root@a5s311:/opt/contrail/utils# neutron lb-healthmonitor-show cbbae2b4-759b-4496-a593-3a52e5675106
+----------------+--------------------------------------+
| Field | Value |
+----------------+--------------------------------------+
| admin_state_up | True |
| delay | 20 |
| expected_codes | 200 |
| http_method | GET |
| id | cbbae2b4-759b-4496-a593-3a52e5675106 |
| max_retries | 3 |
| status | ACTIVE |
| tenant_id | 6dfb22b204a84006b161a137149e7e9c |
| timeout | 10 |
| type | PING |
| url_path | / |
+----------------+--------------------------------------+

information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/9356
Submitter: Rudra Rugge (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.20

Review in progress for https://review.opencontrail.org/9357
Submitter: Rudra Rugge (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/9356
Committed: http://github.org/Juniper/contrail-neutron-plugin/commit/f140be8b7728078f9b409b67ff58d87bb7943ca7
Submitter: Zuul
Branch: master

commit f140be8b7728078f9b409b67ff58d87bb7943ca7
Author: Rudra Rugge <email address hidden>
Date: Tue Apr 21 16:42:50 2015 -0700

Return health monitor values based on type

Neutron CLI queries for health monitor show returns all
the HTTP/HTTPS specific default values even if the type
is PING or TCP. Return values based on the type of the
healthmonitor

Change-Id: I7e7ccc65d26130b79cccbc16f180c0c298195dda
Partial-Bug: #1374116

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/9357
Committed: http://github.org/Juniper/contrail-neutron-plugin/commit/dbbff7bbcd92a256c8ac6657766a92cee6e2f6b7
Submitter: Zuul
Branch: R2.20

commit dbbff7bbcd92a256c8ac6657766a92cee6e2f6b7
Author: Rudra Rugge <email address hidden>
Date: Tue Apr 21 16:42:50 2015 -0700

Return health monitor values based on type

Neutron CLI queries for health monitor show returns all
the HTTP/HTTPS specific default values even if the type
is PING or TCP. Return values based on the type of the
healthmonitor

Change-Id: I7e7ccc65d26130b79cccbc16f180c0c298195dda
Partial-Bug: #1374116

Rudra Rugge (rrugge)
Changed in juniperopenstack:
status: New → Fix Committed
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.