R5.0:Tempest-test-Neutron-Lbaas-statuses need to support

Bug #1806138 reported by shajuvk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
New
Medium
Nagendra Prasath
Trunk
New
Medium
Nagendra Prasath

Bug Description

test case: neutron_lbaas.tests.tempest.v2.api.test_pools_admin.TestPools.test_create_pool_using_empty_tenant_field

Part of code:
========

71 url = 'v2.0/lbaas/loadbalancers/{0}/statuses'.format(load_balancer_id)
 72 if params:
 73 url = '{0}?{1}'.format(url, parse.urlencode(params))
 74 resp, body = self.get(url)
 75 body = jsonutils.loads(body)
 76 -> self.expected_success(200, resp.status)
 77 return rest_client.ResponseBody(resp, body['statuses'])

======

Pdb) resp, body = self.get(url)
(Pdb) resp
{'status': '200', u'content-length': '4', 'content-location': 'http://172.20.3.29:9696/v2.0/lbaas/loadbalancers/4372daae-a47e-4771-bb15-9c4f106fb740/statuses', u'connection': 'close', u'date': 'Fri, 30 Nov 2018 20:18:10 GMT', u'content-type': 'application/json', u'x-openstack-request-id': 'req-fbb4c049-82d8-4742-8d5f-e52192561537'}
(Pdb) body
'null'
(Pdb) resp.status
200
(Pdb) self.get(url)
({'status': '200', u'content-length': '4', 'content-location': 'http://172.20.3.29:9696/v2.0/lbaas/loadbalancers/4372daae-a47e-4771-bb15-9c4f106fb740/statuses', u'connection': 'close', u'date': 'Fri, 30 Nov 2018 22:26:59 GMT', u'content-type': 'application/json', u'x-openstack-request-id': 'req-eff3d5ed-7176-4a78-8f54-4d19e49048a9'}, 'null')
(Pdb) resp, body = self.get(url)
(Pdb) resp
{'status': '200', u'content-length': '4', 'content-location': 'http://172.20.3.29:9696/v2.0/lbaas/loadbalancers/4372daae-a47e-4771-bb15-9c4f106fb740/statuses', u'connection': 'close', u'date': 'Fri, 30 Nov 2018 22:27:38 GMT', u'content-type': 'application/json', u'x-openstack-request-id': 'req-668c0be7-2132-4f7d-bf44-3c78ca1acf45'}
(Pdb) body
'null'
===

API Operations
This section explains specific API operations. For ideas relevant to all API operations, see the "General API Information" chapter.

From documentation: https://wiki.openstack.org/wiki/Neutron/LBaaS/API_2.0

Load Balancers
Use the following APIs to manage Load Balancer resources

Verb URI
GET /lbaas/loadbalancers/
GET /lbaas/loadbalancers/loadbalancer_id
POST /lbaas/loadbalancers
PUT /lbaas/loadbalancers/loadbalancer_id
DELETE /lbaas/loadbalancers/loadbalancer_id
GET /lbaas/loadbalancers/loadbalancer_id/statuses . =====> This needs to support
GET /lbaas/loadbalancers/loadbalancer_id/stats

Tags: config tempest
shajuvk (shajuvk)
summary: - R5.0:Tempest-test case failed-Lbaas-statuses need to support
+ R5.0:Tempest-test-Neutron-Lbaas-statuses need to support
information type: Proprietary → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.