scaleway / docker-machine-driver-scaleway

:whale: Scaleway driver for Docker Machine
MIT License
249 stars 34 forks source link

Flag for IPv6 not available #50

Closed jthomaschewski closed 8 years ago

jthomaschewski commented 8 years ago

It would be great to be able to enable IPv6 for the created scaleway instance.

Some ipv6 code seems to be in the code but commented out: https://github.com/scaleway/docker-machine-driver-scaleway/blob/master/driver/scaleway.go#L169

moul commented 8 years ago

What do you think about enabling ipv6 by default and add an option for disabling it instead ?

jthomaschewski commented 8 years ago

Sounds good. But unfortunately I have some issues after enabling IPv6 for scaleway-VM's deployed with docker-machine.

Might be due to issues in the scaleway IPv6 bootstrap script or just a fault on my side - but before enabling it by default, it might be wise to test it first. Hopefully no issues occur when IPv6 is enabled on first boot.

jthomaschewski commented 8 years ago

Okay, this seems to be a bug in scaleway bootstrapping.

Enabling ipv6 from the beginning will probably work.

I will report this bug to scaleway.

Reproduce:

Workaround:

QuentinPerez commented 8 years ago

Hi @jbbr, thanks you for your feedback,

To enable IPV6 on VCS instances, the reboot is the normal way https://blog.scaleway.com/2016/03/31/introducing-native-ipv6-connectivity-on-scaleway/ On the VPS, a reboot of the server from the console is mandatory to enable IPv6.

jthomaschewski commented 8 years ago

Hi @QuentinPerez , unfortunately a reboot is not sufficient. As I wrote in my reproducing steps ("Enable IPv6 in scaleway panel and restart server"). Tested with default VCS1 and Ubuntu Xenial setup. I already opened a ticket for this and got a reply that they sent this to the network team.

As I don't know if others are experiencing this problem too, I would recommend to add an option for IPv6 to the scaleway driver and don't enable it by default yet.