OCF_HEARTBEAT_OPENST(7)
π ocf_heartbeat_openstack-floating-ip β like, the whole vibe π
okay bestie, so this page lives in section 7 of the manual (that's the OCF_HEARTBEAT_OPENST(7) bit, if you were wondering what that shouty string up top was) and it's all about the ocf_heartbeat_openstack-floating-ip resource agent. Pull up a chair, grab a strawberry π, and let's get into it.
β¨ NAME β¨
ocf_heartbeat_openstack-floating-ip β it moves a floating IP. that's it, that's the whole job. π
πΈ SYNOPSIS πΈ
openstack-floating-ip [start | stop | monitor | meta-data |
validate-all]
π¦ DESCRIPTION π¦
So this resource agent is a whole little matchmaker: it takes a floating IP address and moves it from one instance to another. iconic behaviour, honestly.
Here's the tea though β it doesn't figure out all that stuff by itself. It relies on attributes handed over by the openstack-info resource agent, specifically the openstack_ports and openstack_id attributes. And then the attribute called "openstack_floating_ip" gets updated. so yeah, that's the one getting its moment. β¨
π SUPPORTED PARAMETERS π
cloudβ the Openstack cloud. it'll look for this in~/.config/openstack/clouds.yamlor/etc/openstack/clouds.yaml. (optional, string, no default)openrcβ Openstack credentials, given as an openrc file fromapi_access/openrc. (optional, string, no default)auth_urlβ the Keystone Auth URL. π (optional, string, no default)usernameβ username. yes, just username. no notes. (optional, string, no default)passwordβ password. π€« (optional, string, no default)project_nameβ Keystone Project. (optional, string, no default)user_domain_nameβ Keystone User Domain Name. (optional, string, default"Default")project_domain_nameβ Keystone Project Domain Name. (optional, string, default"Default")openstackcliβ path to the command line tools for openstack. (optional, string, default"/usr/bin/openstack")insecureβ allow insecure connections. π¨ lowkey risky, just saying, but it's there if you need it. (optional, boolean, default false)ip_idβ Floating IP Identifier. this one is required, bestie, no skipping. (required, string, no default)subnet_idβ Subnet Identifier to use to attach the address. also required. π (required, string, no default)
π SUPPORTED ACTIONS π
this resource agent supports these actions (operations):
startβ starts the resource. suggested minimum timeout: 180s. β°stopβ stops the resource. suggested minimum timeout: 180s. β°monitorβ performs a detailed status check. suggested minimum timeout: 180s. suggested interval: 60s. πvalidate-allβ performs a validation of the resource configuration. suggested minimum timeout: 5s.meta-dataβ retrieves resource agent metadata (internal use only, so like, don't touch). suggested minimum timeout: 5s.
π§ EXAMPLE CRM SHELL π§
here's what a openstack-floating-ip resource looks like configured with the crm(8) shell β copy it, don't improvise:
primitive p_openstack-floating-ip ocf:heartbeat:openstack-floating-ip \
params \
ip_id=string \
subnet_id=string \
op monitor depth="0" timeout="180s" interval="60s"
π EXAMPLE PCS π
and here's the same energy but with pcs(8):
pcs resource create p_openstack-floating-ip ocf:heartbeat:openstack-floating-ip \
ip_id=string \
subnet_id=string \
op monitor OCF_CHECK_LEVEL="0" timeout="180s" interval="60s"
π₯ SEE ALSO π₯
π AUTHOR π
ClusterLabs contributors β and if you wanna know which specific human wrote which bit, the resource agent source has all that deets.
fr fr, that's the whole page. no cap. π«Ά
this was brought to you by resource-agents UNKNOWN, dated 04/08/2026 β mwah, bye bestie πβ¨π
π¦ where this page comes from
- fedora 43: resource-agents 4.18.0-1.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: resource-agents 4.18.0-1.fc44 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms