← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1447004] [NEW] LBaaS- Unclear error message when edit Healthmonitor "delay" value to be smaller than "Timeout"

 

Public bug reported:

When I trying to edit an exist "Healthmonitor"   with Delay value to be
smailler than timeout value I get unclear error message .

reproduce :
1.neutron lb-healthmonitor-create --delay 3 --type HTTP --max-retries 3 --timeout 3
2. try to edit it with delay value  lower than  timeout value
# neutron lb-healthmonitor-list 
+--------------------------------------+------+----------------+
| id                                   | type | admin_state_up |
+--------------------------------------+------+----------------+
| 6b52d5f0-a1a2-4a37-a3dd-df740277f3a2 | HTTP | True           |
+--------------------------------------+------+----------------+

# neutron lb-healthmonitor-show  6b52d5f0-a1a2-4a37-a3dd-df740277f3a2
+----------------+-----------------------------------------------------------------------------------------------------+
| Field          | Value                                                                                               |
+----------------+-----------------------------------------------------------------------------------------------------+
| admin_state_up | True                                                                                                |
| delay          | 3                                                                                                   |
| expected_codes | 200                                                                                                 |
| http_method    | GET                                                                                                 |
| id             | 6b52d5f0-a1a2-4a37-a3dd-df740277f3a2                                                                |
| max_retries    | 3                                                                                                   |
| pools          | {"status": "ACTIVE", "status_description": null, "pool_id": "8c576c3a-75a0-4579-b908-7060df1ee01c"} |
| tenant_id      | 597cc04c77ee44eeb7b878f63a24eac9                                                                    |
| timeout        | 3                                                                                                   |
| type           | HTTP                                                                                                |
| url_path       | /                                                                                                   |
+----------------+-----------------------------------------------------------------------------------------------------+

# neutron lb-healthmonitor-update   6b52d5f0-a1a2-4a37-a3dd-df740277f3a2 --delay 1
Bad Request (HTTP 400) (Request-ID: req-34ddb573-b0ef-43de-ba92-dc446f612add)

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1447004

Title:
  LBaaS- Unclear error message when edit Healthmonitor "delay" value to
  be smaller than "Timeout"

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  When I trying to edit an exist "Healthmonitor"   with Delay value to
  be smailler than timeout value I get unclear error message .

  reproduce :
  1.neutron lb-healthmonitor-create --delay 3 --type HTTP --max-retries 3 --timeout 3
  2. try to edit it with delay value  lower than  timeout value
  # neutron lb-healthmonitor-list 
  +--------------------------------------+------+----------------+
  | id                                   | type | admin_state_up |
  +--------------------------------------+------+----------------+
  | 6b52d5f0-a1a2-4a37-a3dd-df740277f3a2 | HTTP | True           |
  +--------------------------------------+------+----------------+

  # neutron lb-healthmonitor-show  6b52d5f0-a1a2-4a37-a3dd-df740277f3a2
  +----------------+-----------------------------------------------------------------------------------------------------+
  | Field          | Value                                                                                               |
  +----------------+-----------------------------------------------------------------------------------------------------+
  | admin_state_up | True                                                                                                |
  | delay          | 3                                                                                                   |
  | expected_codes | 200                                                                                                 |
  | http_method    | GET                                                                                                 |
  | id             | 6b52d5f0-a1a2-4a37-a3dd-df740277f3a2                                                                |
  | max_retries    | 3                                                                                                   |
  | pools          | {"status": "ACTIVE", "status_description": null, "pool_id": "8c576c3a-75a0-4579-b908-7060df1ee01c"} |
  | tenant_id      | 597cc04c77ee44eeb7b878f63a24eac9                                                                    |
  | timeout        | 3                                                                                                   |
  | type           | HTTP                                                                                                |
  | url_path       | /                                                                                                   |
  +----------------+-----------------------------------------------------------------------------------------------------+

  # neutron lb-healthmonitor-update   6b52d5f0-a1a2-4a37-a3dd-df740277f3a2 --delay 1
  Bad Request (HTTP 400) (Request-ID: req-34ddb573-b0ef-43de-ba92-dc446f612add)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1447004/+subscriptions


Follow ups

References