[5.0 VRO]Add port tuple to service instance is failinng

Bug #1760773 reported by aswani kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Released
Critical
Magda Zaremba
Trunk
Fix Committed
Critical
Magda Zaremba

Bug Description

Add port tuple to service Instance workflow got broken.

I tried following workaround and it is working after that

1)Added port tuple from contrail-ui to the service instance
2)Removed the port tuple from contrail-ui
3)Ran again the same failed workflow Add port tuple to service instance and it got worked

Adding port tuple throwing following error with out the above workaround

[2018-04-03 01:45:57.740] [E] Error in (Workflow:Add port tuple to service instance / Scriptable task (item1)#30) TypeError: Cannot read property "serviceInterfaceType" from null
[2018-04-03 01:45:57.752] [E] Workflow execution stack:
***
item: 'Add port tuple to service instance/item1', state: 'failed', business state: 'null', exception: 'TypeError: Cannot read property "serviceInterfaceType" from null (Workflow:Add port tuple to service instance / Scriptable task (item1)#30)'
workflow: 'Add port tuple to service instance' (02dfcd0ce7f561bc5eb07573b9fb30bf)
| 'input': name=name type=string value=tuple0
| 'input': name=parent type=Contrail:ServiceInstance value=dunes://service.dunes.ch/CustomSDKObject?id='ondea34%2CProject:ff8ae367-49eb-4eb2-bbaf-219743b26c44%2CServiceInstance:31176bd5-b2ab-4dbf-b9e3-ed1882561c0e'&dunesName='Contrail:ServiceInstance'
| 'input': name=port0 type=Contrail:Port value=dunes://service.dunes.ch/CustomSDKObject?id='ondea34%2CPort:be4bd29a-fdfd-4009-8f29-8d35dce588d4%2CProject:ff8ae367-49eb-4eb2-bbaf-219743b26c44%2CServiceInstance:31176bd5-b2ab-4dbf-b9e3-ed1882561c0e%2CVirtualNetwork:3376c90c-56f7-4f34-9c2f-8193abb5ca36'&dunesName='Contrail:Port'
| 'input': name=port1 type=Contrail:Port value=dunes://service.dunes.ch/CustomSDKObject?id='ondea34%2CPort:d4a6c709-4939-4a26-8b29-63bbe506d4b5%2CProject:ff8ae367-49eb-4eb2-bbaf-219743b26c44%2CServiceInstance:31176bd5-b2ab-4dbf-b9e3-ed1882561c0e%2CVirtualNetwork:0e3b0a61-e0a3-467b-a17d-cb23d5c5560d'&dunesName='Contrail:Port'
| 'input': name=port2 type=Contrail:Port value=dunes://service.dunes.ch/CustomSDKObject?id='ondea34%2CPort:5ed372ec-103b-4beb-b689-7a6c00e278be%2CProject:ff8ae367-49eb-4eb2-bbaf-219743b26c44%2CServiceInstance:31176bd5-b2ab-4dbf-b9e3-ed1882561c0e%2CVirtualNetwork:4493cd1d-4b80-4943-9c29-1efc8d3ab47f'&dunesName='Contrail:Port'
| 'input': name=port3 type=Contrail:Port value=null
| 'input': name=port4 type=Contrail:Port value=null
| 'input': name=port5 type=Contrail:Port value=null
| 'input': name=port6 type=Contrail:Port value=null
| 'input': name=port7 type=Contrail:Port value=null
| 'input': name=port8 type=Contrail:Port value=null
| 'input': name=port9 type=Contrail:Port value=null
| 'input': name=port10 type=Contrail:Port value=null
| 'no outputs'
| 'no attributes'
*** End of execution stack.

Tags: blocker vmware
tags: added: vmware
Jeba Paulaiyan (jebap)
tags: added: blocker
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/41395
Submitter: Magda (<email address hidden>)

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

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

commit ef10bad84dd9f52a7dce8b321e94d4036ea5f753
Author: Magda Zaremba <email address hidden>
Date: Wed Apr 4 13:17:50 2018 +0200

Allow for portObject properties to be nullable.

Change-Id: Ib9258a887687a62dae2790e668650ed2afa3bb35
Closes-Bug: #1760773

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

Review in progress for https://review.opencontrail.org/41404
Submitter: Daniel Jasinski (<email address hidden>)

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

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

commit f6b9c0c1ea4ddc94ffbe7acde56a63743c8bb2f6
Author: Magda Zaremba <email address hidden>
Date: Wed Apr 4 13:17:50 2018 +0200

Allow for portObject properties to be nullable.

Change-Id: Ib9258a887687a62dae2790e668650ed2afa3bb35
Closes-Bug: #1760773

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.