ContrailSecurity: Unable to set local scoped tags to project object

Bug #1732308 reported by Senthilnathan Murugappan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.1
Fix Committed
Undecided
Édouard Thuleau
Trunk
Fix Committed
Undecided
Édouard Thuleau

Bug Description

(Pdb) self.set_tag(self.project, self.tags[SCOPE1]['deployment']['dev'])
*** NoIdError: Unknown id: Error: oper 1 url /set-tag body {"obj_type": "project", "obj_uuid": "73f82679-d26b-4f20-8bbc-2ecb02d276a0", "deployment": {"is_global": false, "value": "dev"}} response Tag with FQName ['default-domain', 'deployment=dev'] not found

It seems the fqname is not properly calculated.

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

Review in progress for https://review.opencontrail.org/37549
Submitter: ?douard Thuleau (<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/37550
Submitter: ?douard Thuleau (<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/37549
Submitter: ?douard Thuleau (<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/37550
Submitter: ?douard Thuleau (<email address hidden>)

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

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

commit e999dc27421b1c748e45397359042f533ad6114d
Author: Édouard Thuleau <email address hidden>
Date: Wed Nov 15 22:27:39 2017 +0100

[config] Associate scoped tag to a project

Fix code to compute a scoped tag fq_name when it is associated to a
resource.

Change-Id: Ife04b3d23e9869fef5781b0dc5c86544fc2d36ce
Closes-Bug: #1732308
(cherry picked from commit a614f1905731e853d1871df27849e14187d08343)

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

Review in progress for https://review.opencontrail.org/37549
Submitter: ?douard Thuleau (<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/37733
Submitter: ?douard Thuleau (<email address hidden>)

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

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

commit 1e568bf2be1cf983d9e61e2b37ea7209f511e72f
Author: Édouard Thuleau <email address hidden>
Date: Tue Nov 21 18:18:52 2017 +0100

[config] Get a copy of the fq_name list

The VNC Cassandra library cached a mapping from UUID resource to FQ name
in a python dict. This patch ensureq to provide a copy of the FQ name
python list to not corrupt the cache.

Change-Id: I45b0253169b29af23877ba7078cbb12225188edd
Partial-Bug: #1732308

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

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

commit e2011f1453cacfd2858be3e842251af7d98ecc53
Author: Édouard Thuleau <email address hidden>
Date: Wed Nov 15 22:27:39 2017 +0100

[config] Associate scoped tag to a project

Fix code to compute a scoped tag fq_name when it is associated to a
resource.

Change-Id: Ife04b3d23e9869fef5781b0dc5c86544fc2d36ce
Closes-Bug: #1732308

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.