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 cloud
24 Openstack cloud (from ~/.config/openstack/clouds.yaml or
25 /etc/openstack/clouds.yaml).
26
27 (optional, string, no default)
28
29 openrc
30 Openstack credentials as openrc file from api_access/openrc.
31
32 (optional, string, no default)
33
34 auth_url
35 Keystone Auth URL
36
37 (optional, string, no default)
38
39 username
40 Username.
41
42 (optional, string, no default)
43
44 password
45 Password.
46
47 (optional, string, no default)
48
49 project_name
50 Keystone Project.
51
52 (optional, string, no default)
53
54 user_domain_name
55 Keystone User Domain Name.
56
57 (optional, string, no default)
58
59 project_domain_name
60 Keystone Project Domain Name.
61
62 (optional, string, no default)
63
64 openstackcli
65 Path to command line tools for openstack.
66
67 (optional, string, default "/usr/bin/openstack")
68
69 insecure
70 Allow insecure connections
71
72 (optional, boolean, default false)
73
74 pidfile
75 PID file
76
77 (optional, string, default "/run/resource-agents/OSInfo-")
78
79 delay
80 Interval to allow values to stabilize
81
82 (optional, string, default "0")
83
84 curlcli
85 Path to command line cURL binary.
86
87 (optional, string, default "/usr/bin/curl")
88
89 pythoncli
90 Path to command line Python interpreter.
91
92 (optional, string, default "/usr/bin/python3")
93
95 This resource agent supports the following actions (operations):
96
97 start
98 Starts the resource. Suggested minimum timeout: 180s.
99
100 stop
101 Stops the resource. Suggested minimum timeout: 180s.
102
103 monitor
104 Performs a detailed status check. Suggested minimum timeout: 180s.
105 Suggested interval: 60s.
106
107 meta-data
108 Retrieves resource agent metadata (internal use only). Suggested
109 minimum timeout: 5s.
110
111 validate-all
112 Performs a validation of the resource configuration. Suggested
113 minimum timeout: 20s.
114
116 The following is an example configuration for a openstack-info resource
117 using the crm(8) shell:
118
119 primitive p_openstack-info ocf:heartbeat:openstack-info \
120 op monitor timeout="180s" interval="60s"
121
123 The following is an example configuration for a openstack-info resource
124 using pcs(8)
125
126 pcs resource create p_openstack-info ocf:heartbeat:openstack-info \
127 op monitor timeout="180s" interval="60s"
128
130 http://clusterlabs.org/
131
133 ClusterLabs contributors (see the resource agent source for information
134 about individual authors)
135
136
137
138resource-agents UNKNOWN 04/06/2022 OCF_HEARTBEAT_OPENST(7)