[vRO] Objects with non-null read-only fields can't be updated

Bug #1786972 reported by Filip Chmielewski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
High
Filip Chmielewski
Trunk
Fix Committed
High
Filip Chmielewski

Bug Description

Contrail server API does not allow including any values for read-only fields when updating objects, but Contrail Java API does it anyway

( https://bugs.launchpad.net/juniperopenstack/+bug/1786022 )

This causes our update workflows to fail (e.g. for application policy set). As a temporary workaround, we should set these fields to null before sending an update request.

Tags: vmware
information type: Proprietary → Public
summary: - [vRO] objects with non-null read-only fields can't be updated
+ [vRO] Objects with non-null read-only fields can't be updated
Jeba Paulaiyan (jebap)
tags: added: vmware
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/45527
Submitter: Lukasz Piotrak (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/45608
Submitter: Lukasz Piotrak (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/45527
Committed: http://github.com/Juniper/contrail-vro-plugin/commit/ae5458bc70dcd8a5636744967866ef060cfed106
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit ae5458bc70dcd8a5636744967866ef060cfed106
Author: Lukasz Piotrak <email address hidden>
Date: Mon Aug 13 17:20:37 2018 +0200

Change values of read-only properties to null before update

Change-Id: Ia51c7d35d70e80e9087c8785b0a9ef2a5343026b
Closes-bug: #1786972

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

Reviewed: https://review.opencontrail.org/45608
Committed: http://github.com/Juniper/contrail-vro-plugin/commit/9bce5f3ff3ee42ffd1643e3db2196033a4ebe507
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit 9bce5f3ff3ee42ffd1643e3db2196033a4ebe507
Author: Lukasz Piotrak <email address hidden>
Date: Mon Aug 13 17:20:37 2018 +0200

Change values of read-only properties to null before update

Change-Id: Ia51c7d35d70e80e9087c8785b0a9ef2a5343026b
Closes-bug: #1786972

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.