Page MenuHomePhabricator

Request for a virtual IP address (non-public) for data-engineering Cloud VPS project
Closed, ResolvedPublic

Description

Hello. I would like to be able to make use of a virtual IP address in our WMCS project please.

Project Name: data-engineering
Type of quota increase requested: Pre-allocated Virtual IP
Reason: Testing of a high-availability service using corosync/pacemaker

This is not a floating IP quota request, because it's not a request for a public IP, but a pre-allocated VM instance IP address that can be active on either of two existing VMs.
It's similar to this Keepalived setup, but instead of keepalived I'm intending to use corosync/pacemaker and the IPaddr2 resource manager to provide high-availability.

I believe that this Neutron configuration element would be the same under this corosync setup as with keepalived.

The two VMs that I would like to be able to host the IP address are:

  • db-01 - uuid: a77e4538-fdb6-4412-9d9b-0f03f855bb2a
  • db-02 - uuid: d1f04f3d-f4e9-42ec-b8ee-7784498ee17b

There is a ticket relating to the Corosync/Pacemaker proof-of-concept that I'm working on: T287967: Use corosync and pacemaker for presto coordinator active/standby configuration, but it potentially crosses over with several tickets.
I'm only at the stage of trying to demonstrate the benefit to my team of implementing corosync and pacemaker for some analytics and data engineering systems management purposes.

Please feel free to get back to me with any queries or concerns. I'm more than happy to go through where I am with this PoC/demo at the moment.
Thanks.

Event Timeline

root@cloudcontrol1003:~# wmcs-openstack --os-project-id=data-engineering port create --network 7425e328-560c-4f00-8e99-706f3fb90bb4 T296284
+-------------------------+----------------------------------------------------------------------------+
| Field                   | Value                                                                      |
+-------------------------+----------------------------------------------------------------------------+
| admin_state_up          | UP                                                                         |
| allowed_address_pairs   |                                                                            |
| binding_host_id         |                                                                            |
| binding_profile         |                                                                            |
| binding_vif_details     |                                                                            |
| binding_vif_type        | unbound                                                                    |
| binding_vnic_type       | normal                                                                     |
| created_at              | 2021-11-23T14:09:07Z                                                       |
| data_plane_status       | None                                                                       |
| description             |                                                                            |
| device_id               |                                                                            |
| device_owner            |                                                                            |
| dns_assignment          | None                                                                       |
| dns_domain              | None                                                                       |
| dns_name                | None                                                                       |
| extra_dhcp_opts         |                                                                            |
| fixed_ips               | ip_address='172.16.7.56', subnet_id='a69bdfad-d7d2-4cfa-8231-3d6d3e0074c9' |
| id                      | 9f666b28-a0b6-4cbc-b808-a3f02f5c275d                                       |
| ip_allocation           | None                                                                       |
| mac_address             | fa:16:3e:c3:6b:9c                                                          |
| name                    | T296284                                                                    |
| network_id              | 7425e328-560c-4f00-8e99-706f3fb90bb4                                       |
| numa_affinity_policy    | None                                                                       |
| port_security_enabled   | True                                                                       |
| project_id              | data-engineering                                                           |
| propagate_uplink_status | None                                                                       |
| qos_network_policy_id   | None                                                                       |
| qos_policy_id           | None                                                                       |
| resource_request        | None                                                                       |
| revision_number         | 1                                                                          |
| security_group_ids      | 15ebc229-6ab6-4c4a-b487-000774da1d59                                       |
| status                  | DOWN                                                                       |
| tags                    |                                                                            |
| trunk_details           | None                                                                       |
| updated_at              | 2021-11-23T14:09:07Z                                                       |
+-------------------------+----------------------------------------------------------------------------+
root@cloudcontrol1003:~# wmcs-openstack port set --allowed-address ip-address=172.16.7.56 721625aa-520f-4e63-8d2e-b8e277c1123d
root@cloudcontrol1003:~# wmcs-openstack port set --allowed-address ip-address=172.16.7.56 98777792-6475-4274-adeb-e3f023f1b921

Many thanks @mdipietro for the super-quick turnaround.