floating-ip

Reuse detached floating IPs in OpenStack

≡放荡痞女 提交于 2021-01-28 06:47:59
问题 Is there any command to get already created floating IPs from a pool and which aren't assigned anymore to any VM instance ? That's my use case: I create a floating IP and assign it to a VM with these commands: nova floating-ip create [MyPool] nova add-floating-ip [MyVM] [created_ip] I shutdown MyVM and delete it I do 1 and 2 in a loop and at a given time I use up all the available floating IPs in the pool and get the following error message: No more floating ips in pool MyPool Question: how

DevStack instances can't be reached outside devstack node

99封情书 提交于 2020-02-28 01:38:21
问题 Following official documentation, I'm trying to deploy a Devstack on an Ubuntu 18.04 Server OS on a virtual machine. The devstack node has only one network card (ens160) connected to a network with the following CIDR 10.20.30.40/24 . I need my instances accessible publicly on this network (from 10.20.30.240 to 10.20.30.250). So again the following the official floating-IP documentation I managed to form this local.conf file: [[local|localrc]] ADMIN_PASSWORD=secret DATABASE_PASSWORD=$ADMIN

How to create Floating IP and use it to configure HAProxy

醉酒当歌 提交于 2019-11-29 10:02:15
问题 I have recently tried to load balance my application using HAProxy and was able to do it successfully. Later, I have come across a concept called Floating IP, which can be used along with keepalived to make the load balancer highly available. I wasn't able to understand how to create the floating Ip though. How can I create Floating IP and use it to configure HAProxy? Thanks. 回答1: Assumptions: This works on Ubuntu 14.04 haproxy-primary IP: 198.51.100.10 haproxy-secondary IP: 198.51.100.20