jenkinsci / openstack-cloud-plugin

Provision nodes from OpenStack on demand
https://plugins.jenkins.io/openstack-cloud
MIT License
47 stars 83 forks source link

Getting floating IP with floating IP pool #311

Open ghost opened 3 years ago

ghost commented 3 years ago

How it is possible go get a floating IP configured when floating IP pool is not part of neutron network ? We use a private network connected to a public network with the help of a openstack router, we can get the instances up and running with a private IP but no floating IP is associated with the instances so the SSH connection from the master cannot be done.

olivergondza commented 3 years ago

@tsr-caubry, a setup like that should offer you the public network as "Floating IP pool". The IP will be allocated there when you select the pool.

ghost commented 3 years ago

The problem is that functionality is no more supported in openstack :

openstack floating ip pool list Floating ip pool operations are only available for Compute v2 network.

You need to create a floating IP by specifying a subnet and then attach it to the instance.

olivergondza commented 3 years ago

@tsr-caubry, Controlling networking through compute/nova is long deprecated (and maybe even removed by now), but plugin is not relying on that since https://github.com/jenkinsci/openstack-cloud-plugin/releases/tag/openstack-cloud-2.52.

Please describe what do you expect to happen and what in fact happens to make this issue actionable. Thanks