[OpenStack-Infra] [nodepool] unable to get a floating IP
Alex Burmashev
alexander.burmashev at oracle.com
Mon Apr 3 13:02:53 UTC 2017
Hello!
I am setting up a CI instance and currently face a problem with
auto-assigning floating IPs.
Instances are started, no error in /var/log/nodepool/debug.log, but
floating ip is not assigned and nodepool tries to access instance via
private ip, and it fails obviously.
Manual IP assigning both from cli and horizon works without any problems.
I am using nodepool 0.4.0 + zookeeper.
Here is my nodepool provider config:
username: '***'
password: '***'
auth-url: 'http://****:5000/v2.0'
project-name: 'openstackci'
max-servers: 4
pool: public-net
clean-floating-ips: true
networks:
- name: net2
images:
- name: oracle7
min-ram: 8192
diskimage: oracle7
username: jenkins
private-key: '/home/nodepool/.ssh/id_rsa'
targets:
- name: jenkins1
net2 - is a private network, public-net is a pool of floating ips on
public network,
net2 is connected to public network through router. Manual VM creation
on net2 and assigning a floating IP works without any problems.
docker-ostk neutron net-list
+--------------------------------------+------------+------------------------------------------------------+
| id | name |
subnets |
+--------------------------------------+------------+------------------------------------------------------+
| 38a6b5c4-fb04-47fd-bc4e-8cc9e341bbd2 | public-net |
ebf6fb2e-f423-47ef-9f09-3e007c15817f |
| 632ed77c-f913-4576-90c3-4404a7e2fbc6 | net2 |
6ad037cf-2177-4159-9676-99e01ca0b15b 8.8.8.0/24 |
+--------------------------------------+------------+------------------------------------------------------+
docker-ostk nova floating-ip-pool-list
+------------+
| name |
+------------+
| public-net |
+------------+
More information about the OpenStack-Infra
mailing list