← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1832574] [NEW] Able to update the http-method-type for ICMP type healthmonoitor

 

Public bug reported:

root@vioshim-xq8tkdtlk7-vioshim-848fb94d98-blrm5 /]# neutron --insecure lbaas-healthmonitor-create  --type PING --pool pool-1 --name hm-1 --delay 10 --timeout 10 --max-retries 10
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:851: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:851: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
Created a new healthmonitor:
+------------------+------------------------------------------------+
| Field            | Value                                          |
+------------------+------------------------------------------------+
| admin_state_up   | True                                           |
| delay            | 10                                             |
| id               | 126634b2-b475-4361-a284-3b998040eb54           |
| max_retries      | 10                                             |
| max_retries_down | 3                                              |
| name             | hm-1                                           |
| pools            | {"id": "8179c1fb-4010-44e4-9345-fc0e65fe0a9c"} |
| tenant_id        | 3d37a5df145b442e98ef7c11b3164f08               |
| timeout          | 10                                             |
| type             | PING                                           |
+------------------+------------------------------------------------+
[root@vioshim-xq8tkdtlk7-vioshim-848fb94d98-blrm5 /]# neutron --insecure lbaas-healthmonitor-update --http-method POST hm-1
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:851: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:851: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
Updated healthmonitor: hm-1


which should not be allowed since ICMP type doesnt require
HTTP_METHOD_TYPE

** 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/1832574

Title:
  Able to update the http-method-type for ICMP type healthmonoitor

Status in neutron:
  New

Bug description:
  root@vioshim-xq8tkdtlk7-vioshim-848fb94d98-blrm5 /]# neutron --insecure lbaas-healthmonitor-create  --type PING --pool pool-1 --name hm-1 --delay 10 --timeout 10 --max-retries 10
  neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
  /usr/lib/python2.7/site-packages/urllib3/connectionpool.py:851: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
    InsecureRequestWarning)
  /usr/lib/python2.7/site-packages/urllib3/connectionpool.py:851: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
    InsecureRequestWarning)
  Created a new healthmonitor:
  +------------------+------------------------------------------------+
  | Field            | Value                                          |
  +------------------+------------------------------------------------+
  | admin_state_up   | True                                           |
  | delay            | 10                                             |
  | id               | 126634b2-b475-4361-a284-3b998040eb54           |
  | max_retries      | 10                                             |
  | max_retries_down | 3                                              |
  | name             | hm-1                                           |
  | pools            | {"id": "8179c1fb-4010-44e4-9345-fc0e65fe0a9c"} |
  | tenant_id        | 3d37a5df145b442e98ef7c11b3164f08               |
  | timeout          | 10                                             |
  | type             | PING                                           |
  +------------------+------------------------------------------------+
  [root@vioshim-xq8tkdtlk7-vioshim-848fb94d98-blrm5 /]# neutron --insecure lbaas-healthmonitor-update --http-method POST hm-1
  neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
  /usr/lib/python2.7/site-packages/urllib3/connectionpool.py:851: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
    InsecureRequestWarning)
  /usr/lib/python2.7/site-packages/urllib3/connectionpool.py:851: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
    InsecureRequestWarning)
  Updated healthmonitor: hm-1


  which should not be allowed since ICMP type doesnt require
  HTTP_METHOD_TYPE

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


Follow ups