schema-transformer slow to init SGs

Bug #1804002 reported by eon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
Undecided
Unassigned
Trunk
Fix Committed
Undecided
Unassigned
OpenContrail
New
Undecided
Unassigned

Bug Description

Using R3.2

With a DB containing ~1500 SGs it takes ~60s for the schema to initialize them (on my laptop).

The problem is that the ACL hashes are always different between runs so all ACLs are updated.

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

Review in progress for https://review.opencontrail.org/47728
Submitter: Jean-Philippe Braun (<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/47946
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/47728
Committed: http://github.com/Juniper/contrail-generateDS/commit/cab29a0bb22005019cd10ba4b9a8ed59ee988b27
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit cab29a0bb22005019cd10ba4b9a8ed59ee988b27
Author: Jean-Philippe Braun <email address hidden>
Date: Mon Nov 19 14:26:44 2018 +0100

Make hashes stable

None hash is not the same between python runs when address
randomization is enabled.

Change-Id: I9f684a2063bf5d6736006967c0448a4108b9099d
Closes-Bug: #1804002

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

Reviewed: https://review.opencontrail.org/47946
Committed: http://github.com/Juniper/contrail-api-client/commit/93697f17227e5b90aabacfbaf13115a6b29963f1
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 93697f17227e5b90aabacfbaf13115a6b29963f1
Author: Jean-Philippe Braun <email address hidden>
Date: Mon Nov 19 14:26:44 2018 +0100

Make hashes stable

None hash is not the same between python runs when address
randomization is enabled.

Change-Id: I9f684a2063bf5d6736006967c0448a4108b9099d
Closes-Bug: #1804002
(cherry picked from commit cab29a0bb22005019cd10ba4b9a8ed59ee988b27)

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

Review in progress for https://review.opencontrail.org/48376
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/48377
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/48377
Committed: http://github.com/Juniper/contrail-generateDS/commit/1ea401a49f5eff118ece742282c290063de98ec2
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 1ea401a49f5eff118ece742282c290063de98ec2
Author: Jean-Philippe Braun <email address hidden>
Date: Mon Nov 19 14:26:44 2018 +0100

Make hashes stable

None hash is not the same between python runs when address
randomization is enabled.

Change-Id: I9f684a2063bf5d6736006967c0448a4108b9099d
Closes-Bug: #1804002
(cherry picked from commit cab29a0bb22005019cd10ba4b9a8ed59ee988b27)

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

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

commit a3e3462a6207239e23221b214c353a20b415da2e
Author: Jean-Philippe Braun <email address hidden>
Date: Mon Nov 19 14:26:44 2018 +0100

Make hashes stable

None hash is not the same between python runs when address
randomization is enabled.

Change-Id: I9f684a2063bf5d6736006967c0448a4108b9099d
Closes-Bug: #1804002
(cherry picked from commit cab29a0bb22005019cd10ba4b9a8ed59ee988b27)
(cherry picked from commit 93697f17227e5b90aabacfbaf13115a6b29963f1)

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.