Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Create fails with Floating IP pool not found #26

Open
sjpb opened this issue Jan 20, 2021 · 2 comments
Open

Create fails with Floating IP pool not found #26

sjpb opened this issue Jan 20, 2021 · 2 comments
Labels
bug Something isn't working docs This issue/PR relates to or includes documentation.

Comments

@sjpb
Copy link

sjpb commented Jan 20, 2021

Working my way through the readme instructions.

I have a network which is apparently external - from Horizon:

Name	Subnets Associated	Shared	External
ilab	ilab 10.60.0.0/16     Yes	Yes

However if I try to run molecule create without specifying fip_pool I get an error:

"msg": "ResourceNotFound: 404: Client Error for url: http://10.60.253.1:8774/v2.1/os-floating-ips, Floating IP pool not found."}

This a Neutron-managed network so "floating IP pools" don't exist. I tried setting network name as the fip_pool but that fails with:

"msg": "Timeout waiting for the floating IP to be attached."
@sjpb
Copy link
Author

sjpb commented Jan 20, 2021

Ok sorted, sort of. I was using the default molecule.yml. This sets fip_pool from MOLECULE_OPENSTACK_FIP_POOL, which if thats not set, fails (ends up as empty string?). Commenting out the fip_pool key under platform makes it work.

@nikParasyr
Copy link
Collaborator

Hi @sjpb.

Thank you for reporting this. As you found out commenting out fip_pool from molecule.yml solves it due to this.

In any case I think that either:

  • this needs to be documented for other users hitting this problem or
  • create.yml needs to be updated so that if fip_pool is empty or the env_var passed to it is undefined then floating_ip_pools should be omitted

The second approach is better as it will work out of the box for both external and non-external networks. I'll have a look later this week

@nikParasyr nikParasyr added bug Something isn't working docs This issue/PR relates to or includes documentation. labels Jan 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working docs This issue/PR relates to or includes documentation.
Projects
None yet
Development

No branches or pull requests

2 participants