Openstack - auto_floating_ip

I’m have a playbook which creates an instance in openstack. I have used the auto_floating_ip = yes to get a public IP address created and assigned but this fails with “msg: Unable to create floating ip: Floating ip pool not found”.

I then thought that I needed to assign the floating_ip_pools setting but this then errors “msg: parameters are mutually exclusive: [‘auto_floating_ip’, ‘floating_ip_pools’]” which I’m assuming means you cannot use these two variables together. I cannot see how to state what pool to use even though in my setup I have only one pool:

nova floating-ip-pool-list

I have exactly the same problem…Did you already managed to solve this?

perjantai 12. joulukuuta 2014 13.41.37 UTC+2 Scott MacCormack kirjoitti:

Hey guys, for now I’d suggest using the modules currently in the pull request queue, the ones made by emonty. https://github.com/ansible/ansible-modules-core/pulls?utf8=✓&q=is%3Apr+is%3Aopen+openstack

Just download any or all of them into your $PLAYBOOK_ROOT/library directory and you should be able to use them.

Would also be awesome if you let us know via github if they work well for you.