avoid showing harmless neutron exception while deleting a VN

Bug #1718104 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
Medium
Vedamurthy Joshi
R4.1
Fix Committed
Medium
Vedamurthy Joshi
Trunk
Fix Committed
Medium
Vedamurthy Joshi

Bug Description

Avoid showing harmless exception in test logs while deleting a VN

The VN eventually gets deleted anyway on a later retry

2017-09-19 11:14:37,390 - INFO - Deleting VN ctest-trans_right_vn-83194027
2017-09-19 11:14:37,463 - ERROR - Neutron exception while deleting a VN b483907d-66ed-430d-9d13-51c85c9a8bf7
Traceback (most recent call last):
  File "/contrail-test-local/fixtures/quantum_test.py", line 281, in delete_vn
    net_rsp = self.obj.delete_network(vn_id)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 788, in delete_network
    return self.delete(self.network_path % (network))
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 356, in delete
    headers=headers, params=params)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 337, in retry_request
    headers=headers, params=params)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 300, in do_request
    self._handle_fault_response(status_code, replybody, resp)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 275, in _handle_fault_response
    exception_handler_v20(status_code, error_body)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20
    request_ids=request_ids)
NetworkInUseClient: Unable to complete operation on network b483907d-66ed-430d-9d13-51c85c9a8bf7. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f02754ca-25fa-4eee-ab41-e8b5c587b244']
2017-09-19 11:14:37,465 - WARNING - Deleting VN ctest-trans_right_vn-83194027 failed..Will retry

Tags: automation
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/35711
Submitter: Vedamurthy Joshi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/35712
Submitter: Vedamurthy Joshi (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/35711
Submitter: Vedamurthy Joshi (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/35711
Committed: http://github.com/Juniper/contrail-test-ci/commit/543c376eef81c96f109f2261903cb22d207728f5
Submitter: Zuul (<email address hidden>)
Branch: master

commit 543c376eef81c96f109f2261903cb22d207728f5
Author: Vedu Joshi <email address hidden>
Date: Tue Sep 19 11:31:40 2017 +0530

Avoid showing harmless neutron exception

avoid showing harmless neutron exception while deleting a VN Edit
Closes-Bug: 1718104

Change-Id: Ifeeebb9001779c0dfd1868fc5ac3c05624de4ea6

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/35712
Submitter: Vedamurthy Joshi (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/35712
Committed: http://github.com/Juniper/contrail-test-ci/commit/f8acf2def502c4fd7c7d529fcab7c8ade0c8ca6a
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit f8acf2def502c4fd7c7d529fcab7c8ade0c8ca6a
Author: Vedu Joshi <email address hidden>
Date: Tue Sep 19 11:31:40 2017 +0530

Avoid showing harmless neutron exception

avoid showing harmless neutron exception while deleting a VN Edit
Closes-Bug: 1718104

Change-Id: Ifeea8a7d886b08bcda3ae33931711be55f11023f

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/36699
Submitter: Vedamurthy Joshi (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/36699
Committed: http://github.com/Juniper/contrail-test-ci/commit/ef844557313dbed368ef023b67c7729df0d34d94
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit ef844557313dbed368ef023b67c7729df0d34d94
Author: Vedu Joshi <email address hidden>
Date: Tue Sep 19 11:31:40 2017 +0530

Avoid showing harmless neutron exception

avoid showing harmless neutron exception while deleting a VN Edit
Closes-Bug: 1718104

Change-Id: Ifeeebb9001779c0dfd1868fc5ac3c05624de4ea6
(cherry picked from commit 543c376eef81c96f109f2261903cb22d207728f5)

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

Review in progress for https://review.opencontrail.org/40095
Submitter: Ankit Jain (<email address hidden>)

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.