nfvlabs / openmano

Openmano is an open source project that provides a practical implementation of the reference architecture for Management & Orchestration under standardization at ETSI’s NFV ISG
Apache License 2.0
180 stars 74 forks source link

openvim does not remove openflow rules when deleting networks #25

Open alf-tierno opened 9 years ago

alf-tierno commented 9 years ago

Some unknown circunstances makes that openvim leave undeleted some openflow rules in the controller, though it deletes from database. This causes undesirable connections over the new deployment. The work arount is to clear all the rules and insert them again with "openvim openflow-clear-all" and "openvim openflow-net-reinstall"

alogracia commented 9 years ago

Wouldn't this workaround potentially break other scenarios running in the VIM? El 31/07/2015 18:08, "Alfonso Tierno" notifications@github.com escribió:

Some unknown circunstances makes that openvim leave undeleted some openflow rules in the controller, though it deletes from database. This causes undesirable connections over the new deployment. The work arount is to clear all the rules and insert them again with "openvim openflow-clear-all" and "openvim openflow-net-reinstall"

— Reply to this email directly or view it on GitHub https://github.com/nfvlabs/openmano/issues/25.

alf-tierno commented 9 years ago

Yes, it is very harmfull. The old rules prevails over the new ones (same priority but inserted before) spoling the new instance-scenario. Unfortunately the logs where losed and I cannot determine the reasons. I suspect that the limit of 50 in the openflow task queue can be the problem when a large scenario is deployed/deleted. Enlarged to 2000 in the git branch openflow. To be tested and waiting to see the logs when it happens again before closing this issue

alf-tierno commented 9 years ago

@alogracia: answering your specific question: yes this workaround makes a network break in all running scenarios, so both commands must be launch one immediate after the other