> 'When an IPv6 subnet is created in a Simple or EVPN zone, the setup code > runs 'ip route get 2001:4860:4860::8888' to determine the outgoing > interface. If the host has no IPv6 address configured, this command > fails and aborts the loop that iterates over the plugin's subnets. This > means that the current and subsequent bridges required for the VNETs are > not instantiated, even though they still appear in the GUI. Starting a > VM connected to such a VNET then fails with: 'TASK ERROR: bridge > '<vnet>' does not exist'. > > Wrap the function that performs the route lookup in an eval block. If > the lookup fails, use 'log_warn' to write the error to the system log > and to the GUI and continue processing the remaining subnets in the > loop. > > Signed-off-by: Lukas Sichert <[email protected]>
LGTM Reviewed-by: Gabriel Goller <[email protected]> Tested-by: Gabriel Goller <[email protected]> -- Gabriel Goller <[email protected]>
