ggiamarchi / vagrant-openstack-provider

Use Vagrant to manage OpenStack Cloud instances.
MIT License
245 stars 102 forks source link

Error/Warning: multi-machine config with only one floating ip #381

Closed heversonbr closed 5 years ago

heversonbr commented 5 years ago

From my localhost (myhost) I'm deploying 2 vms (e.g., k8s-head and k8s-node-1), and I set only only one of them (k8s-head) with a floating IP. The other host(s) will be access from (k8s-head). Typical master/slave configuration (e.g., k8s). Therefore only k8s-head is configured to have a floating IP. As the second machine does not have the floating IP configured, when the machine gets ready vagrant tries to ssh/connect to the machine and gets "Host unreachable" 3 times and fails. Although we get the error/warning all the time, the configuration goes well and I can access the master machine normally. How could we avoid these errors/warnings ?

Config and outpus: https://gist.github.com/heversonbr/8f638a08725443263ce250b33d310457

heversonbr commented 5 years ago

Just found this open issue [https://github.com/ggiamarchi/vagrant-openstack-provider/issues/60] Number of VM is limited by the number of public IP available "Make the plugin able to work with more than one VM with a single floating IP"

which answers my question!