[4.0~20] UI: Policy deletion issues when multiple policies are attached to a VN
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.2 |
Fix Committed
|
Medium
|
Akhil | |||
R4.0 |
Fix Committed
|
Medium
|
Akhil | |||
Trunk |
Fix Committed
|
Medium
|
Akhil |
Bug Description
1. Go to Configure > Networking > Networks and create VNs
2. Go to Configure > Networking > Policies and create policies
3. Go to networks page again and attach the configured policies to VNs and make sure that atleast one VN has more than one policy attached to it
4. Go to policy page and select all policies using the checkbox on top
5. Click on delete and then click on 'Confirm'
You will see that the policies don't get deleted since they are still referenced by the VN.
Internal server error is seen on the console -
POST https:/
send @ jquery.
ajax @ jquery.
Contrail.
deletePolicy @ policyModel.
onSave @ policyEditView.
onclick @ core.bundle.
performFooterBt
(anonymous) @ core.bundle.
dispatch @ jquery.
$event.dispatch @ thirdparty.
r.handle @ jquery.
policyModel.
The same continues happening on clicking on 'Confirm' button again.
Once you click on cancel and refresh the page, most policies would have gotten deleted actually.
Review in progress for https:/ /review. opencontrail. org/34085
Submitter: Akhil (<email address hidden>)