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 openstackcli
39 Path to command line tools for openstack.
40
41 (optional, string, default "/usr/bin/openstack")
42
44 This resource agent supports the following actions (operations):
45
46 start
47 Starts the resource. Suggested minimum timeout: 20s.
48
49 stop
50 Stops the resource. Suggested minimum timeout: 20s.
51
52 monitor
53 Performs a detailed status check. Suggested minimum timeout: 20s.
54 Suggested interval: 60s.
55
56 meta-data
57 Retrieves resource agent metadata (internal use only). Suggested
58 minimum timeout: 5s.
59
60 validate-all
61 Performs a validation of the resource configuration. Suggested
62 minimum timeout: 20s.
63
65 The following is an example configuration for a openstack-info resource
66 using the crm(8) shell:
67
68 primitive p_openstack-info ocf:heartbeat:openstack-info \
69 params \
70 openrc=string \
71 op monitor timeout="20s" interval="60s"
72
74 The following is an example configuration for a openstack-info resource
75 using pcs(8)
76
77 pcs resource create p_openstack-info ocf:heartbeat:openstack-info \
78 openrc=string \
79 op monitor timeout="20s" interval="60s"
80
82 http://clusterlabs.org/
83
85 ClusterLabs contributors (see the resource agent source for information
86 about individual authors)
87
88
89
90resource-agents UNKNOWN 10/23/2019 OCF_HEARTBEAT_OPENST(7)