anthos-samples icon indicating copy to clipboard operation
anthos-samples copied to clipboard

Persist vxlan interface after gce vm reboot

Open antoniordz96 opened this issue 4 years ago • 4 comments

Issue

With the current setup if we run the ABM on GCE TF and reboot one of the gce vms, the vxlan interface used by the VM is wiped.

What should happen:

VXLAN interface created by terraform should persist after reboot.

Potential fix:

If you use ifconfig to configure network interfaces, the changes will be lost after reboot. To make your changes persistent, you need to modify configuration files like /etc/network/interfaces.

antoniordz96 avatar May 24 '21 01:05 antoniordz96

Refer (Optional) section of this step in go/anthos-bm-gce-vxlan [internal] doc

This can be addressed by adding the vxlan specific information in the startup script. The vxlan setup is installed via a init.sh script. If we move these steps to a startup script as explained here we should be able to overcome this!

Shabirmean avatar Oct 04 '21 17:10 Shabirmean

@Shabirmean is this issue still relevant?

bourgeoisor avatar May 06 '22 21:05 bourgeoisor

Yes this is still relevant.

Shabirmean avatar May 30 '22 18:05 Shabirmean

@Shabirmean please select one type for this issue.

minherz avatar Feb 10 '23 21:02 minherz