OCF_HEARTBEAT_OPENST(7)
π¦ ocf_heartbeat_openstack-cinder-volume β it's giving "attach a cinder volume" β¨
okay bestie, sit down, hydrate, and let me tell you about ocf_heartbeat_openstack-cinder-volume, which lives in section OCF_HEARTBEAT_OPENST(7) of the manual. this one is a resource agent (not a command you just type at your shell, bestie, it's for your cluster manager) and it is lowkey iconic at one job: attaching a cinder volume to an instance. periodt. π
πΈ NAME πΈ
ocf_heartbeat_openstack-cinder-volume β attach a cinder volume. that's it. that's the whole personality. π
β¨ SYNOPSIS β¨
openstack-cinder-volume [start | stop | monitor | meta-data |
validate-all]
five moves. no notes. π«Ά
π DESCRIPTION π
so this resource agent attaches a cinder volume to an instance. it's a team player tho β it doesn't do the identity work itself, it relies on attributes given by the openstack-info resource agent, specifically the openstack_id attribute. so make sure your openstack-info bestie showed up first, or this whole thing is just standing there like π§
π SUPPORTED PARAMETERS π
every single one, no gatekeeping. these are the options you can pass:
cloudβ which Openstack cloud you're on, read from~/.config/openstack/clouds.yamlor/etc/openstack/clouds.yaml. (optional, string, no default) βοΈopenrcβ your Openstack credentials as an openrc file fromapi_access/openrc. (optional, string, no default)auth_urlβ the Keystone Auth URL. (optional, string, no default)usernameβ username. who are you bestie. (optional, string, no default)passwordβ password. keep it secret, keep it safe π (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. π (optional, boolean, defaultfalse)volume_local_checkβ this one lets the cluster monitor whether the cinder volume is present without calling the API. so chill, so efficient, we love a low-effort queen. (optional, boolean, defaulttrue)volume_idβ the Cinder volume identifier used to attach the block storage. this one is REQUIRED, no default, no vibes-based guessing. (required, string, no default) π¨
π₯ SUPPORTED ACTIONS π₯
this resource agent supports these actions (aka operations), and each one comes with a suggested minimum timeout, so respect the clock bestie β°:
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, don't touch it, it's not for you π). suggested minimum timeout: 5s.
π EXAMPLE CRM SHELL π
here's what it looks like as a config for an openstack-cinder-volume resource using the crm(8) shell. copy it exactly, no typos, the shell will notice:
primitive p_openstack-cinder-volume ocf:heartbeat:openstack-cinder-volume \
params \
volume_id=string \
op monitor depth="0" timeout="180s" interval="60s"
π EXAMPLE PCS π
and here's the same energy using pcs(8):
pcs resource create p_openstack-cinder-volume ocf:heartbeat:openstack-cinder-volume \
volume_id=string \
op monitor OCF_CHECK_LEVEL="0" timeout="180s" interval="60s"
π SEE ALSO π
go touch grass on the internet bestie: http://clusterlabs.org/
π AUTHOR π
ClusterLabs contributors (see the resource agent source for information about individual authors). they ate. π
no cap, that's the whole page β every param, every action, every example, untouched, just with better vibes. iykyk. π¦
okay so that's a wrap, my love π this was OCF_HEARTBEAT_OPENST(7) from resource-agents, version UNKNOWN, dated 04/08/2026. slay, go attach that volume, and remember: volume_id is required, so no skipping. periodt. β¨π
π¦ 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