ContainerSolutions / dcos-ansible-packet

Ansible playbook for installing DC/OS on Packet cloud
4 stars 3 forks source link

Packet VPN api tends to return an error, breaking the ipset script #37

Closed nervetattoo closed 6 years ago

nervetattoo commented 6 years ago

I've noticed that the user/vpn endpoint tend to return this error message

{"errors":["Oh snap, something went wrong! We've logged the error and will take a look - please reach out to us if you continue having trouble."]}

(You can test this out in the interactive API docs of Packet)

This in time makes the bash-fu end up with the following input to the vpn variable in ansible:

127.0.0.1
127.0.0.1

Apart from these IPs obviously not being the VPN ips, will break the script becase the second line will become its own line as the j2 template is compiled, and 127.0.0.1 is obviously not a recognisable command for bash :)

In our playbook we've just commented out this step of the whitelist for now

frankscholten commented 6 years ago

Ok I will remove it for now.