← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1400941] [NEW] [LBaaS V2] Report information on session_persistence on GET calls for /pools/<id> not working

 

Public bug reported:

When I make a GET call on the ../pools/<id> , I get back the information
on all the attributes as shown below. However the information on
session_persistence is missing.

When I originally created the pool, I did not set the
session_persistence. However the parameter should still be returned with
an empty or null value , as is happening for (description,members) etc

DEBUG: neutronclient.client
REQ: curl -i http://10.0.1.9:9696/v2.0/lbaas/pools/b4b5a5ae-f098-4173-97ec-bd5682b4df6a.json -X GET -H "X-Auth-Token: bb744f089159 4ffcb3b7267b76ffaf44" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient"

DEBUG: neutronclient.client RESP:200 CaseInsensitiveDict({'date': 'Tue, 09 Dec 2014 21:35:32 GMT', 'content-length': '279', 'conte
nt-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-7d792980-5df5-4380-889f-05c418698d93'}) {"pool": {"lb_
algorithm": "ROUND_ROBIN", "status": "DEFERRED", "protocol": "HTTP", "description": "", "admin_state_up": true, "tenant_id": "b952 fe0f90a24ddba97f5872fa0f42e8", "healthmonitor_id": null, "members": [], "id": "b4b5a5ae-f098-4173-97ec-bd5682b4df6a", "name": "poo l1"}}

+------------------+--------------------------------------+
| Field            | Value                                |
+------------------+--------------------------------------+
| admin_state_up   | True                                 |
| description      |                                      |
| healthmonitor_id |                                      |
| id               | b4b5a5ae-f098-4173-97ec-bd5682b4df6a |
| lb_algorithm     | ROUND_ROBIN                          |
| members          |                                      |
| name             | pool1                                |
| protocol         | HTTP                                 |
| status           | DEFERRED                             |
| tenant_id        | b952fe0f90a24ddba97f5872fa0f42e8     |
+------------------+--------------------------------------+

** Affects: neutron
     Importance: Undecided
     Assignee: German Eichberger (german-eichberger)
         Status: New

** Description changed:

  When I make a GET call on the ../pools/<id> , I get back the information
  on all the attributes as shown below. However the information on
  session_persistence is missing.
  
  When I originally created the pool, I did not set the
  session_persistence. However the parameter should still be returned with
  an empty or null value , as is happening for (description,members) etc
  
  DEBUG: neutronclient.client
  REQ: curl -i http://10.0.1.9:9696/v2.0/lbaas/pools/b4b5a5ae-f098-4173-97ec-bd5682b4df6a.json -X GET -H "X-Auth-Token: bb744f089159 4ffcb3b7267b76ffaf44" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient"
  
  DEBUG: neutronclient.client RESP:200 CaseInsensitiveDict({'date': 'Tue, 09 Dec 2014 21:35:32 GMT', 'content-length': '279', 'conte
  nt-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-7d792980-5df5-4380-889f-05c418698d93'}) {"pool": {"lb_
  algorithm": "ROUND_ROBIN", "status": "DEFERRED", "protocol": "HTTP", "description": "", "admin_state_up": true, "tenant_id": "b952 fe0f90a24ddba97f5872fa0f42e8", "healthmonitor_id": null, "members": [], "id": "b4b5a5ae-f098-4173-97ec-bd5682b4df6a", "name": "poo l1"}}
  
  +------------------+--------------------------------------+
  | Field            | Value                                |
  +------------------+--------------------------------------+
  | admin_state_up   | True                                 |
  | description      |                                      |
  | healthmonitor_id |                                      |
  | id               | b4b5a5ae-f098-4173-97ec-bd5682b4df6a |
  | lb_algorithm     | ROUND_ROBIN                          |
  | members          |                                      |
  | name             | pool1                                |
  | protocol         | HTTP                                 |
  | status           | DEFERRED                             |
  | tenant_id        | b952fe0f90a24ddba97f5872fa0f42e8     |
  +------------------+--------------------------------------+
- 
-   was:
- 
- When I make a GET call on the ../pools/<id> , I get back the information
- on all the attributes as shown below. However the information on
- session_persistence is missing.
- 
- When I originally created the pool, I did not set the
- session_persistence. However the parameter should still be returned with
- an empty or null value , as is happening for (description,members) etc
- 
- DEBUG: neutronclient.client
- REQ: curl -i http://10.0.1.9:9696/v2.0/lbaas/pools/b4b5a5ae-f098-4173-97ec-bd5682b4df6a.json -X GET -H "X-Auth-Token: bb744f089159 4ffcb3b7267b76ffaf44" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient"
- 
- DEBUG: neutronclient.client RESP:200 CaseInsensitiveDict({'date': 'Tue, 09 Dec 2014 21:35:32 GMT', 'content-length': '279', 'conte
- nt-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-7d792980-5df5-4380-889f-05c418698d93'}) {"pool": {"lb_
- algorithm": "ROUND_ROBIN", "status": "DEFERRED", "protocol": "HTTP", "description": "", "admin_state_up": true, "tenant_id": "b952 fe0f90a24ddba97f5872fa0f42e8", "healthmonitor_id": null, "members": [], "id": "b4b5a5ae-f098-4173-97ec-bd5682b4df6a", "name": "poo l1"}}
- 
- +------------------+--------------------------------------+
- | Field            | Value                                |
- +------------------+--------------------------------------+
- | admin_state_up   | True                                 |
- | description      |                                      |
- | healthmonitor_id |                                      |
- | id               | b4b5a5ae-f098-4173-97ec-bd5682b4df6a |
- | lb_algorithm     | ROUND_ROBIN                          |
- | members          |                                      |
- | name             | pool1                                |
- | protocol         | HTTP                                 |
- | status           | DEFERRED                             |
- | tenant_id        | b952fe0f90a24ddba97f5872fa0f42e8     |
- +------------------+--------------------------------------+

** Changed in: neutron
     Assignee: (unassigned) => German Eichberger (german-eichberger)

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

Title:
  [LBaaS V2] Report information on session_persistence on GET calls for
  /pools/<id> not working

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  When I make a GET call on the ../pools/<id> , I get back the
  information on all the attributes as shown below. However the
  information on session_persistence is missing.

  When I originally created the pool, I did not set the
  session_persistence. However the parameter should still be returned
  with an empty or null value , as is happening for
  (description,members) etc

  DEBUG: neutronclient.client
  REQ: curl -i http://10.0.1.9:9696/v2.0/lbaas/pools/b4b5a5ae-f098-4173-97ec-bd5682b4df6a.json -X GET -H "X-Auth-Token: bb744f089159 4ffcb3b7267b76ffaf44" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient"

  DEBUG: neutronclient.client RESP:200 CaseInsensitiveDict({'date': 'Tue, 09 Dec 2014 21:35:32 GMT', 'content-length': '279', 'conte
  nt-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-7d792980-5df5-4380-889f-05c418698d93'}) {"pool": {"lb_
  algorithm": "ROUND_ROBIN", "status": "DEFERRED", "protocol": "HTTP", "description": "", "admin_state_up": true, "tenant_id": "b952 fe0f90a24ddba97f5872fa0f42e8", "healthmonitor_id": null, "members": [], "id": "b4b5a5ae-f098-4173-97ec-bd5682b4df6a", "name": "poo l1"}}

  +------------------+--------------------------------------+
  | Field            | Value                                |
  +------------------+--------------------------------------+
  | admin_state_up   | True                                 |
  | description      |                                      |
  | healthmonitor_id |                                      |
  | id               | b4b5a5ae-f098-4173-97ec-bd5682b4df6a |
  | lb_algorithm     | ROUND_ROBIN                          |
  | members          |                                      |
  | name             | pool1                                |
  | protocol         | HTTP                                 |
  | status           | DEFERRED                             |
  | tenant_id        | b952fe0f90a24ddba97f5872fa0f42e8     |
  +------------------+--------------------------------------+

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


Follow ups

References