Octavia v2 API members always come up in OFFLINE operating status
Bug #1678330 reported by
Michael Johnson
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
Fix Released
|
High
|
Adam Harwell |
Bug Description
In the Octavia v2 API members always come up in "OFFLINE" operating status. It should be "NO_MONITOR" if there is no health monitor assigned to the pool and "OFFLINE" if there is a health monitor.
octavia/
Changed in octavia: | |
assignee: | nobody → Adam Harwell (adam-harwell) |
status: | Triaged → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/405932 /git.openstack. org/cgit/ openstack/ octavia/ commit/ ?id=8b2f89b87a7 8958013c994d459 c459d49459752d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8b2f89b87a78958 013c994d459c459 d49459752d
Author: Sindhu Devale <email address hidden>
Date: Fri Dec 2 05:57:55 2016 +0000
Introduce Octavia v2 API for Members
This patch aligns Octavia v2 API for members with
lbaasv2.
GET all - /v2.0/lbaas/ pools/< pool-id> /members pools/< pool-id> /members/ <member- id> pools/< pool-id> /members {<body>} pools/< pool-id> /members/ <member- id> {<body>} pools/< pool-id> /members/ <member- id>
GET one - /v2.0/lbaas/
POST - /v2.0/lbaas/
PUT - /v2.0/lbaas/
DELETE - /v2.0/lbaas/
Also fixes a few bugs from previous API commits and refactors
some test code / adds missing tests.
Note: This changes the default operating_status of Members from OFFLINE
to NO_MONITOR in the *v1* API, if the pool has no Health Monitor.
I see this as a bug fix.
Co-Authored-By: Nakul Dahiwade <email address hidden>
Co-Authored-By: Adam Harwell <email address hidden>
Partially- Implements: #1616642 bc8b94db0dc9e64 f13146003e8
Closes-Bug: #1678330
Closes-Bug: #1678336
Closes-Bug: #1678337
Change-Id: I0e15ab70afd5bb