OCF_HEARTBEAT_OPENST(7)
π ocf_heartbeat_openstack-info β a.k.a. OCF_HEARTBEAT_OPENST(7) π
okay so quick vibe check first: this whole page lives under the OCF resource agents manual, and we're about to make the openstack-info agent make sense. grab a drink, bestie, we're going in π«Ά
β¨ NAME β¨
ocf_heartbeat_openstack-info β literally just records various node attributes in the CIB. that's the whole job. icon behaviour, honestly π
β¨ SYNOPSIS β¨
openstack-info [start | stop | monitor | meta-data | validate-all]
β¨ DESCRIPTION β¨
so this OCF resource agent sets attributes from Openstack instance details, and it records (in the CIB) various attributes of a node. that's it, that's the assignment π
sample output, look at her go:
openstack_az : nova
openstack_flavor : c1.small
openstack_id : 60ac4343-5828-49b1-8aac-7c69b1417f31
openstack_ports : 7960d889-9750-4160-bf41-c69a41ad72d9:96530d18-57a3-4718-af32-30f2a74c22a2,b0e55a06-bd75-468d-8baa-22cfeb65799f:a55ae917-8016-4b1e-8ffa-04311b9dc7d6
and the layout of openstack_ports?? it's a comma-separated list of tuples that look like "subnet_id:port_id". no cap, that's the whole shape of it π
β¨ SUPPORTED PARAMETERS β¨
every single one, bestie, nobody gets left behind:
cloudβ the Openstack cloud, pulled from~/.config/openstack/clouds.yamlor/etc/openstack/clouds.yaml. (optional, string, no default)openrcβ 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. (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 π¬ (optional, boolean, defaultfalse)pidfileβ the PID file. (optional, string, default"/run/resource-agents/OSInfo-")delayβ interval to allow values to stabilize. (optional, string, default"0")curlcliβ path to the command line cURL binary. (optional, string, default"/usr/bin/curl")pythoncliβ path to the command line Python interpreter. (optional, string, default"/usr/bin/python3.13")
β¨ SUPPORTED ACTIONS β¨
this resource agent supports the following actions (operations), and yes she ate:
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.meta-dataβ retrieves resource agent metadata (internal use only π). suggested minimum timeout:5s.validate-allβ performs a validation of the resource configuration. suggested minimum timeout:20s.
β¨ EXAMPLE CRM SHELL β¨
here's an example configuration for an openstack-info resource using the crm(8) shell:
primitive p_openstack-info ocf:heartbeat:openstack-info \
op monitor timeout="180s" interval="60s"
β¨ EXAMPLE PCS β¨
and the same energy for an openstack-info resource using pcs(8):
pcs resource create p_openstack-info ocf:heartbeat:openstack-info \
op monitor timeout="180s" interval="60s"
β¨ SEE ALSO β¨
http://clusterlabs.org/β go say hi π
β¨ AUTHOR β¨
ClusterLabs contributors β see the resource agent source if you want the tea on individual authors π
lowkey important: all facts above are exactly as the page says them, no invented lore, no extra tips. i would never π
and that's the whole page!! mwah π this edition came from resource-agents with version UNKNOWN, dated 10/01/2026 β screenshot it, frame it, send it to the group chat ππ
π¦ where this page comes from
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- opensuse-leap 16.0: resource-agents 4.18.0+git105.9ea1183-160000.1.1 Β· GPL-2.0-only AND LGPL-2.1-or-later AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms