Comment 6 for bug 1856152

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Hello zhangyuhe:

The problem is not exactly in this method but in in the upper one [1]. You stated that you are using Pike, quite old version. But this method is missing [2]; this patch is adding the integration bridge name configured in OVS.integration_bridge (default value "br-int") in the vif details.

There is the problem you are facing: the vif details passed to Nova do not have the overwritten value you manually defined.

Please, try to import to your code this patch or update to a newer version. [2] is present in master, Train and Stein.

Regards.

[1]https://github.com/openstack/neutron/blob/6b524de73aa1738ca888b10a5e1411b307a3a485/neutron/plugins/ml2/drivers/openvswitch/mech_driver/mech_openvswitch.py#L117
[2]https://review.opendev.org/#/c/596896/