docker network prune leaves the HNS networks in bad state

Bug #1803532 reported by Magda Zaremba
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Undecided
Unassigned
OpenContrail
Fix Committed
Undecided
Magda Zaremba

Bug Description

After docker is restarted RootHNSNetwork is synced and appears in both HNS and Docker. Then if user runs docker network prune it sometimes breaks HNS state causing "Element not found" error when trying to delete netowrks from HNS.

Tags: windows
Changed in opencontrail:
assignee: nobody → Magda Zaremba (mzaremba04)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

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

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

Reviewed: https://review.opencontrail.org/48383
Committed: http://github.com/Juniper/contrail-windows-docker-driver/commit/c963aa5e863da93a6db8b7a2a95984b514ea7745
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit c963aa5e863da93a6db8b7a2a95984b514ea7745
Author: Magda Zaremba <email address hidden>
Date: Thu Dec 27 13:02:52 2018 +0100

Prevent creating resources on deleting switch

- cnm-plugin should restart if vmswitch doesn't exist in order to enable
vmswitch extension
- hns network create request should fail if vmswitch is deleted or
in process of deleting

Change-Id: I32415c7ae283feecd4852f6977b965db06a6337f
Closes-Bug: #1803532

Changed in juniperopenstack:
status: New → Fix Committed
Changed in opencontrail:
status: New → Fix Committed
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.