1OCF_HEARTBEAT_OPENST(7) OCF resource agents OCF_HEARTBEAT_OPENST(7)
2
3
4
6 ocf_heartbeat_openstack-info - Records various node attributes in the
7 CIB
8
10 openstack-info [start | stop | monitor | meta-data | validate-all]
11
13 OCF resource agent to set attributes from Openstack instance details.
14 It records (in the CIB) various attributes of a node. Sample output:
15 openstack_az : nova openstack_flavor : c1.small openstack_id :
16 60ac4343-5828-49b1-8aac-7c69b1417f31 openstack_ports :
17 7960d889-9750-4160-bf41-c69a41ad72d9:96530d18-57a3-4718-af32-30f2a74c22a2,b0e55a06-bd75-468d-8baa-22cfeb65799f:a55ae917-8016-4b1e-8ffa-04311b9dc7d6
18
19 The layout of openstack_ports is a comma-separated list of tuples
20 "subnet_id:port_id".
21
23 pidfile
24 PID file
25
26 (optional, string, default "/run/resource-agents/OSInfo-")
27
28 delay
29 Interval to allow values to stabilize
30
31 (optional, string, default "0")
32
33 openrc
34 Valid Openstack credentials as openrc file from api_access/openrc.
35
36 (required, string, no default)
37
38 curlcli
39 Path to command line cURL binary.
40
41 (optional, string, default "/usr/bin/curl")
42
43 openstackcli
44 Path to command line tools for openstack.
45
46 (optional, string, default "/usr/bin/openstack")
47
48 pythoncli
49 Path to command line Python interpreter.
50
51 (optional, string, default "/usr/bin/python3")
52
54 This resource agent supports the following actions (operations):
55
56 start
57 Starts the resource. Suggested minimum timeout: 20s.
58
59 stop
60 Stops the resource. Suggested minimum timeout: 20s.
61
62 monitor
63 Performs a detailed status check. Suggested minimum timeout: 20s.
64 Suggested interval: 60s.
65
66 meta-data
67 Retrieves resource agent metadata (internal use only). Suggested
68 minimum timeout: 5s.
69
70 validate-all
71 Performs a validation of the resource configuration. Suggested
72 minimum timeout: 20s.
73
75 The following is an example configuration for a openstack-info resource
76 using the crm(8) shell:
77
78 primitive p_openstack-info ocf:heartbeat:openstack-info \
79 params \
80 openrc=string \
81 op monitor timeout="20s" interval="60s"
82
84 The following is an example configuration for a openstack-info resource
85 using pcs(8)
86
87 pcs resource create p_openstack-info ocf:heartbeat:openstack-info \
88 openrc=string \
89 op monitor timeout="20s" interval="60s"
90
92 http://clusterlabs.org/
93
95 ClusterLabs contributors (see the resource agent source for information
96 about individual authors)
97
98
99
100resource-agents UNKNOWN 11/03/2021 OCF_HEARTBEAT_OPENST(7)