[2.11 53] LB pool creation failed during sanity

Bug #1445441 reported by Vedamurthy Joshi
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.1
Fix Committed
High
Ignatious Johnson Christopher
R2.20
Fix Committed
High
Ignatious Johnson Christopher
Trunk
Fix Committed
High
Ignatious Johnson Christopher

Bug Description

R2.11 Build 53 "Ubuntu 12.04.3 LTS" 2.11-53~havana] Single Node Sanity

Debug logs Location : /cs-shared/test_runs/nodeb8/2015_04_16_21_17_53/logs-nodeb8/ on noded1.englab.juniper.net( Login with juniper id)

cores : {}
LogsLocation : http://10.204.216.50/Docs/logs/2.11-53_2015_04_16_21_17_53/logs/
Report : http://10.204.216.50/Docs/logs/2.11-53_2015_04_16_21_17_53/junit-noframes.html
Topology :
Config Nodes : [u'nodeb8']
Control Nodes : [u'nodeb8']
Compute Nodes : [u'nodeb8']
Openstack Node : nodeb8
WebUI Node : nodeb8
Analytics Nodes : [u'nodeb8']

Error during pool creation :

2015-04-16 21:51:16,463 - INFO - creating lb pool:mypool
2015-04-16 21:51:16,630 - ERROR - Network Exception while creating LB Pool mypool
Traceback (most recent call last):
  File "/root/contrail-test/fixtures/quantum_test.py", line 637, in create_lb_pool
    {'pool': pool_dict})
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 108, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 803, in create_pool
    return self.post(self.pools_path, body=body)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1334, in post
    headers=headers, params=params)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1257, in do_request
    self._handle_fault_response(status_code, replybody)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 1227, in _handle_fault_response
    exception_handler_v20(status_code, des_error_body)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 81, in exception_handler_v20
    message=error_dict)
NeutronClientException: Request Failed: internal server error while processing your request.

neutron/server.log :
==================

2015-04-16 21:51:16.483 ERROR [neutron.api.v2.resource] create failed
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/neutron/api/v2/resource.py", line 84, in resource
    result = method(request=request, **args)
  File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 405, in create
    obj = obj_creator(request.context, **kwargs)
  File "/usr/lib/python2.7/dist-packages/neutron_plugin_contrail/plugins/opencontrail/loadbalancer/plugin.py", line 57, in create_pool
    p = super(LoadBalancerPlugin, self).create_pool(context, pool)
  File "/usr/lib/python2.7/dist-packages/neutron_plugin_contrail/plugins/opencontrail/loadbalancer/loadbalancer_db.py", line 112, in create_pool
    return self._pool_manager.create(context, pool)
  File "/usr/lib/python2.7/dist-packages/neutron_plugin_contrail/plugins/opencontrail/loadbalancer/loadbalancer_pool.py", line 118, in create
    project = self._project_read(project_id=tenant_id)
  File "/usr/lib/python2.7/dist-packages/neutron_plugin_contrail/plugins/opencontrail/loadbalancer/resource_manager.py", line 142, in _project_read
    return self._api.project_read(id=str(uuid.UUID(project_id)))
  File "/usr/lib/python2.7/dist-packages/vnc_api/gen/vnc_api_client_gen.py", line 3929, in project_read
    uri = vnc_api.gen.resource_client.Project.resource_uri_base['project'] + '/' + id
KeyError: 'project'

Revision history for this message
Rudra Rugge (rrugge) wrote :

Looks like api-server project read has failed. Does this happen on every run or did you just see it once? Will check with Ajay on the logs.

Rudra Rugge (rrugge)
Changed in juniperopenstack:
assignee: Rudra Rugge (rudrarugge) → nobody
assignee: nobody → Ignatious Johnson Christopher (ijohnson-x)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.1

Review in progress for https://review.opencontrail.org/9348
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/9350
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.20

Review in progress for https://review.opencontrail.org/9351
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/9352
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/9353
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.20

Review in progress for https://review.opencontrail.org/9354
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/9351
Committed: http://github.org/Juniper/contrail-controller/commit/2ae7a81f0d5753d49a795489d2850b842f948245
Submitter: Zuul
Branch: R2.20

commit 2ae7a81f0d5753d49a795489d2850b842f948245
Author: Ignatious Johnson Christopher <email address hidden>
Date: Tue Apr 21 16:12:38 2015 -0700

When api-server service unavialblae http.retcode 503,
Retry to connect to api-server infinetly,while wait_for_connect is set to True by the clients.
Retries six times by default.

Closes-Bug: 1445441

Change-Id: Ic75e54d055372274aa5fa93b40150da8f7311842

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.20

Review in progress for https://review.opencontrail.org/9354
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/9348
Committed: http://github.org/Juniper/contrail-controller/commit/c50fd34da3edc63778d0c2eadd229723c9201c0d
Submitter: Zuul
Branch: R2.1

commit c50fd34da3edc63778d0c2eadd229723c9201c0d
Author: Ignatious Johnson Christopher <email address hidden>
Date: Tue Apr 21 15:52:18 2015 -0700

When api-server service unavialble,
Retry to connect to api-server infinetly,while wait_for_connect is set to True by the clients.
Retries six times by default.

Change-Id: I1e00c843aca177cf775b1d1bdba58ad4f49a1089
Closes-Bug: 1445441

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.1

Review in progress for https://review.opencontrail.org/9350
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/9352
Committed: http://github.org/Juniper/contrail-controller/commit/775660f305ea953133e8b47e1dc4e3ebf7cf71fb
Submitter: Zuul
Branch: master

commit 775660f305ea953133e8b47e1dc4e3ebf7cf71fb
Author: Ignatious Johnson Christopher <email address hidden>
Date: Tue Apr 21 16:17:59 2015 -0700

When api-server service unavialblae http.retcode 503,
Retry to connect to api-server infinetly,while wait_for_connect is set to True by the clients.
Retries six times by default.

Change-Id: I5b817a17d61ad2c68951361917fdfcaec705495e
Closes-Bug: 1445441

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/9350
Committed: http://github.org/Juniper/contrail-neutron-plugin/commit/de9da5d7b7aeff897246e3b2c794b9e3e749255d
Submitter: Zuul
Branch: R2.1

commit de9da5d7b7aeff897246e3b2c794b9e3e749255d
Author: Ignatious Johnson Christopher <email address hidden>
Date: Tue Apr 21 16:09:21 2015 -0700

Pass wait_for_connect to VncApi, to retry connection infinitely
in case of503 ServiceUnavailable

Change-Id: Ic808979b4d4e8718177e2d9458df525f147a2917
Closed-Bug: 1445441

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/9354
Committed: http://github.org/Juniper/contrail-neutron-plugin/commit/c782697b2bdb072f8456bdef883a8f229e341179
Submitter: Zuul
Branch: R2.20

commit c782697b2bdb072f8456bdef883a8f229e341179
Author: Ignatious Johnson Christopher <email address hidden>
Date: Tue Apr 21 16:31:48 2015 -0700

Pass wait_for_connect to VncApi, to retry connection infinitely
in case of503 ServiceUnavailable.

Change-Id: I5fdb83b1046b9dc229a4fb1864dfe8e6341aa706
Closed-Bug: 1445441

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : master

Review in progress for https://review.opencontrail.org/9353
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/9353
Committed: http://github.org/Juniper/contrail-neutron-plugin/commit/02d540fa4978c860c06896b873088f293b3c2dd0
Submitter: Zuul
Branch: master

commit 02d540fa4978c860c06896b873088f293b3c2dd0
Author: Ignatious Johnson Christopher <email address hidden>
Date: Tue Apr 21 16:20:47 2015 -0700

Pass wait_for_connect to VncApi, to retry connection infinetly in case of
503 ServiceUnavailable.

Change-Id: I5d36e6df998659d537e83d9291286c73b5be4b64
Closed-Bug: 1445441

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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