Comment 3 for bug 1669074

Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

I looked at this a bit. Perhaps we can keep things relatively contained if we put a check() method at the beginning of the try block [1] and raise an exception if we spot the misconfiguration. Then we log and put the trunk in error state. I believe the VM will still boot (as of today), but at least we have a warning sent to the user to further investigate.

Thoughts?

[1] https://github.com/openstack/neutron/blob/master/neutron/services/trunk/drivers/openvswitch/agent/ovsdb_handler.py#L366-L377