[R5.0-50]- NoIdError: Unknown id Error while reading the project with fqname

Bug #1761139 reported by alok kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
High
Suresh Vinapamula
R4.0
Fix Committed
High
Suresh Vinapamula
R4.1
Fix Committed
High
Suresh Vinapamula
R5.0
Fix Committed
High
Suresh Vinapamula
Trunk
Fix Committed
High
Suresh Vinapamula

Bug Description

sanity report:

http://zephyrine.englab.juniper.net/Docs/logs/5.0.0-50_2018_04_03_12_12_47_1522775147.07/junit-noframes.html

Failed test case : TestBasicPolicyIpv4v6.test_policy_to_deny

while reading the project using fq-name below error is seen.

Traceback (most recent call last): File "tcutils/wrappers.py", line 78, in wrapper result = function(self, *args, **kwargs) File "scripts/policy/test_policy_basic.py", line 162, in test_policy_to_deny connections=self.connections)) File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 675, in useFixture reraise(*exc_info) File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 662, in useFixture fixture.setUp() File "/contrail-test/fixtures/policy_test.py", line 79, in setUp self.policy_fq_name = self._set_policy_api(self.policy_name, self.rules_list) File "/contrail-test/fixtures/policy_test.py", line 541, in _set_policy_api proj = self.vnc_lib.project_read(self.project_fq_name) File "/usr/lib/python2.7/site-packages/vnc_api/vnc_api.py", line 48, in wrapper return func(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/vnc_api/vnc_api.py", line 571, in _object_read res_type, fq_name, fq_name_str, id, ifmap_id) File "/usr/lib/python2.7/site-packages/vnc_api/vnc_api.py", line 929, in _read_args_to_id return (True, self.fq_name_to_id(res_type, fq_name)) File "/usr/lib/python2.7/site-packages/vnc_api/vnc_api.py", line 48, in wrapper return func(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/vnc_api/vnc_api.py", line 1188, in fq_name_to_id content = self._request_server(OP_POST, uri, data=json_body) File "/usr/lib/python2.7/site-packages/vnc_api/vnc_api.py", line 943, in _request_server retry_after_authn=retry_after_authn, retry_count=retry_count) File "/usr/lib/python2.7/site-packages/vnc_api/vnc_api.py", line 1027, in _request % (op, url, data, content)) NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"fq_name": ["default-domain", "ctest-TestBasicPolicyIpv4v6-07948970"], "type": "project"} response Name ['default-domain', 'ctest-TestBasicPolicyIpv4v6-07948970'] not found

alok kumar (kalok)
tags: added: sanityblocker
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/41680
Submitter: Suresh Vinapamula (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/41680
Committed: http://github.com/Juniper/contrail-controller/commit/80dd55716a30dc6c724d1fe1fba696dadde77391
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 80dd55716a30dc6c724d1fe1fba696dadde77391
Author: Suresh Venkata <email address hidden>
Date: Tue Apr 10 10:38:53 2018 -0700

keystone v3 python client doesn't support getByName of project

Description: Keystone v3 python client doesn't support getByName
of project. Repeating the same functionality that we did for v2.

Change-Id: Iaf4c105044fe91fb1712a5c05f9f20b8867943ce
Closes-Bug: #1761139

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

Review in progress for https://review.opencontrail.org/41701
Submitter: Suresh Vinapamula (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/41702
Submitter: Suresh Vinapamula (<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/41703
Submitter: Suresh Vinapamula (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/41704
Submitter: Suresh Vinapamula (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/41701
Committed: http://github.com/Juniper/contrail-controller/commit/b28c1efac8bd9661a3caff6bb4ea35abce2e0cc6
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit b28c1efac8bd9661a3caff6bb4ea35abce2e0cc6
Author: Suresh Venkata <email address hidden>
Date: Tue Apr 10 10:38:53 2018 -0700

keystone v3 python client doesn't support getByName of project

Description: Keystone v3 python client doesn't support getByName
of project. Repeating the same functionality that we did for v2.

Change-Id: Iaf4c105044fe91fb1712a5c05f9f20b8867943ce
Closes-Bug: #1761139
(cherry picked from commit 80dd55716a30dc6c724d1fe1fba696dadde77391)

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

Reviewed: https://review.opencontrail.org/41702
Committed: http://github.com/Juniper/contrail-controller/commit/86964fc1282b3d4cb051b0b4a4d0615b8e95472a
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 86964fc1282b3d4cb051b0b4a4d0615b8e95472a
Author: Suresh Venkata <email address hidden>
Date: Tue Apr 10 10:38:53 2018 -0700

keystone v3 python client doesn't support getByName of project

Description: Keystone v3 python client doesn't support getByName
of project. Repeating the same functionality that we did for v2.

Change-Id: Iaf4c105044fe91fb1712a5c05f9f20b8867943ce
Closes-Bug: #1761139
(cherry picked from commit 80dd55716a30dc6c724d1fe1fba696dadde77391)

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

Reviewed: https://review.opencontrail.org/41703
Committed: http://github.com/Juniper/contrail-controller/commit/1491e920f5f0c3884ff320a4741dde1f01d22ac5
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 1491e920f5f0c3884ff320a4741dde1f01d22ac5
Author: Suresh Venkata <email address hidden>
Date: Tue Apr 10 10:38:53 2018 -0700

keystone v3 python client doesn't support getByName of project

Description: Keystone v3 python client doesn't support getByName
of project. Repeating the same functionality that we did for v2.

Change-Id: Iaf4c105044fe91fb1712a5c05f9f20b8867943ce
Closes-Bug: #1761139
(cherry picked from commit 80dd55716a30dc6c724d1fe1fba696dadde77391)

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

Reviewed: https://review.opencontrail.org/41704
Committed: http://github.com/Juniper/contrail-controller/commit/18b4bf67d5236a9e356153299555aedf660d6d27
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 18b4bf67d5236a9e356153299555aedf660d6d27
Author: Suresh Venkata <email address hidden>
Date: Tue Apr 10 10:38:53 2018 -0700

keystone v3 python client doesn't support getByName of project

Description: Keystone v3 python client doesn't support getByName
of project. Repeating the same functionality that we did for v2.

Change-Id: Iaf4c105044fe91fb1712a5c05f9f20b8867943ce
Closes-Bug: #1761139
(cherry picked from commit 80dd55716a30dc6c724d1fe1fba696dadde77391)

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.