← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1481666] [NEW] [LBaaS V2] neutron lbaas-healthmonitor-create/update needs to be validated

 

Public bug reported:

In the option of lbaasv2 command
(neutron lbaas-healthmonitor-create),
"delay" must be greater than or equal to "timeout".

Since the lbaasv2 validation check that has not been performed,
it is not an error.
The lbaas command is an exception occurs properly.

e.g.
$ neutron lbaas-healthmonitor-create --delay 3 --max-retries 10 --timeout 5 --type HTTP --pool pool1
Created a new healthmonitor:
+----------------+------------------------------------------------+
| Field          | Value                                          |
+----------------+------------------------------------------------+
| admin_state_up | True                                           |
| delay          | 3                                              |
| expected_codes | 200                                            |
| http_method    | GET                                            |
| id             | e6d5d998-cd50-4f97-9b41-3461fcb9c6fc           |
| max_retries    | 10                                             |
| pools          | {"id": "32f660f5-8e6c-4998-9f95-94f457ab858a"} |
| tenant_id      | 06523097274b4bf2bae201f8a34c357f               |
| timeout        | 5                                              |
| type           | HTTP                                           |
| url_path       | /                                              |
+----------------+------------------------------------------------+

** Affects: neutron
     Importance: Undecided
     Assignee: Kawaguchi (ken-kawaguchi)
         Status: In Progress


** Tags: lbaas

** Changed in: neutron
     Assignee: (unassigned) => Kawaguchi (ken-kawaguchi)

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

Title:
  [LBaaS V2] neutron lbaas-healthmonitor-create/update needs to be
  validated

Status in neutron:
  In Progress

Bug description:
  In the option of lbaasv2 command
  (neutron lbaas-healthmonitor-create),
  "delay" must be greater than or equal to "timeout".

  Since the lbaasv2 validation check that has not been performed,
  it is not an error.
  The lbaas command is an exception occurs properly.

  e.g.
  $ neutron lbaas-healthmonitor-create --delay 3 --max-retries 10 --timeout 5 --type HTTP --pool pool1
  Created a new healthmonitor:
  +----------------+------------------------------------------------+
  | Field          | Value                                          |
  +----------------+------------------------------------------------+
  | admin_state_up | True                                           |
  | delay          | 3                                              |
  | expected_codes | 200                                            |
  | http_method    | GET                                            |
  | id             | e6d5d998-cd50-4f97-9b41-3461fcb9c6fc           |
  | max_retries    | 10                                             |
  | pools          | {"id": "32f660f5-8e6c-4998-9f95-94f457ab858a"} |
  | tenant_id      | 06523097274b4bf2bae201f8a34c357f               |
  | timeout        | 5                                              |
  | type           | HTTP                                           |
  | url_path       | /                                              |
  +----------------+------------------------------------------------+

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


Follow ups