[VRO]Updating firewall rule is getting failed

Bug #1782985 reported by aswani kumar on 2018-07-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Released
High
Filip Chmielewski
Trunk
Fix Released
High
Filip Chmielewski

Bug Description

Updating firewall rule from address group as endpoint to other endpoints like tag and virtualnetwork is failing

2018-07-22 18:12:17.980] [E] Error in (Workflow:Edit firewall rule / Scriptable task (item1)#31) Update failed: Bad Request
[2018-07-22 18:12:17.992] [E] Workflow execution stack:
***
item: 'Edit firewall rule/item1', state: 'failed', business state: 'null', exception: 'Update failed: Bad Request (Workflow:Edit firewall rule / Scriptable task (item1)#31)'
workflow: 'Edit firewall rule' (2869b27a51997ca4e36571bf20bed004)
| 'input': name=rule type=Contrail:FirewallRule value=dunes://service.dunes.ch/CustomSDKObject?id='Controller%2CFirewallRule:47196112-b490-40e9-9507-02de096e2b8d%2CProject:816e3780-cd10-49c9-9b2b-bd51c521e0c4'&dunesName='Contrail:FirewallRule'
| 'input': name=endpoint1Type type=string value=virtual network
| 'input': name=endpoint1Tags type=Array/Contrail:Tag value=#{##}#
| 'input': name=endpoint1VirtualNetwork type=Contrail:VirtualNetwork value=dunes://service.dunes.ch/CustomSDKObject?id='Controller%2CProject:816e3780-cd10-49c9-9b2b-bd51c521e0c4%2CVirtualNetwork:9c002f15-3fe4-4d76-ba71-61b53d1a2754'&dunesName='Contrail:VirtualNetwork'
| 'input': name=endpoint1AddressGroup type=Contrail:AddressGroup value=dunes://service.dunes.ch/CustomSDKObject?id='Controller%2CAddressGroup:de1ba794-d964-47af-86c1-518aaf7d1c4d%2CFirewallRule:47196112-b490-40e9-9507-02de096e2b8d%2CProject:816e3780-cd10-49c9-9b2b-bd51c521e0c4'&dunesName='Contrail:AddressGroup'
| 'input': name=endpoint2Type type=string value=tag
| 'input': name=endpoint2Tags type=Array/Contrail:Tag value=#{#Contrail:Tag#dunes://service.dunes.ch/CustomSDKObject?id='Controller%2CFirewallRule:47196112-b490-40e9-9507-02de096e2b8d%2CProject:816e3780-cd10-49c9-9b2b-bd51c521e0c4%2CTag:0bc96cdf-2298-4c48-8af8-31d69ec52c3a'&dunesName='Contrail:Tag'#}#
| 'input': name=endpoint2VirtualNetwork type=Contrail:VirtualNetwork value=null
| 'input': name=endpoint2AddressGroup type=Contrail:AddressGroup value=null
| 'input': name=action type=string value=pass
| 'input': name=direction type=string value=<>
| 'input': name=serviceType type=string value=reference
| 'input': name=serviceProtocol type=string value=any
| 'input': name=serviceSrcPorts type=string value=any
| 'input': name=serviceDstPorts type=string value=any
| 'input': name=serviceReference type=Contrail:ServiceGroup value=dunes://service.dunes.ch/CustomSDKObject?id='Controller%2CProject:816e3780-cd10-49c9-9b2b-bd51c521e0c4%2CServiceGroup:a383ccaf-1432-45d0-8262-f6f1a5e640f2'&dunesName='Contrail:ServiceGroup'
| 'input': name=matchTags type=Array/string value=#{#string#application#}#
| 'no outputs'
| 'no attributes'
*** End of execution stack.

tags: added: vmware
description: updated

Review in progress for https://review.opencontrail.org/44848
Submitter: Filip Chmielewski (<email address hidden>)

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

commit ba80f1c654af53d5285364f34c80a39ce561e8da
Author: Filip Chmielewski <email address hidden>
Date: Mon Jul 23 13:24:50 2018 +0200

Allow changing endpoint type when editing firewall rule

Change-Id: I555c8358496732b09f908ff467900ca1318d5761
Closes-Bug: #1782985

Review in progress for https://review.opencontrail.org/44907
Submitter: Filip Chmielewski (<email address hidden>)

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

commit fba436c3937b0c9a70ea9bb597497537082f68a3
Author: Filip Chmielewski <email address hidden>
Date: Mon Jul 23 13:24:50 2018 +0200

Allow changing endpoint type when editing firewall rule

Change-Id: I555c8358496732b09f908ff467900ca1318d5761
Closes-Bug: #1782985
(cherry picked from commit ba80f1c654af53d5285364f34c80a39ce561e8da)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers