1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
|
.TRY Configuration bugs
.INP: options
.INP: sort-elements false
.INP: up
.INP: configure
.INP: erase
.INP: property stonith-enabled=false
.INP: primitive p4 Dummy
.EXT crm_resource --show-metadata ocf:heartbeat:Dummy
.INP: primitive p3 Dummy
.INP: primitive p2 Dummy
.INP: primitive p1 Dummy
.INP: colocation c1 inf: p1 p2
.INP: filter "sed 's/p1 p2/& p3/'" c1
.INP: show c1
colocation c1 inf: p1 p2 p3
.INP: delete c1
.INP: colocation c2 inf: [ p1 p2 ] p3 p4
.INP: filter "sed 's/\[/\(/;s/\]/\)/'" c2
.INP: show c2
colocation c2 inf: ( p1 p2 ) p3 p4
.INP: primitive p5 Dummy
.INP: primitive p6 Dummy
.INP: clone cl-p5 p5
.INP: show
node node1
primitive p4 Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
op stop timeout=20s interval=0s
primitive p3 Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
op stop timeout=20s interval=0s
primitive p2 Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
op stop timeout=20s interval=0s
primitive p1 Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
op stop timeout=20s interval=0s
primitive p5 Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
op stop timeout=20s interval=0s
primitive p6 Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
op stop timeout=20s interval=0s
clone cl-p5 p5 \
meta interleave=true
colocation c2 inf: ( p1 p2 ) p3 p4
property cib-bootstrap-options: \
stonith-enabled=false
.INP: commit
.EXT crm_attribute --list-options=cluster --all --output-as=xml
.EXT crm_resource --list-options=primitive --all --output-as=xml
.INP: _test
.INP: verify
.INP: show
node node1
primitive p4 Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
op stop timeout=20s interval=0s
primitive p3 Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
op stop timeout=20s interval=0s
primitive p2 Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
op stop timeout=20s interval=0s
primitive p1 Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
op stop timeout=20s interval=0s
primitive p6 Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
op stop timeout=20s interval=0s
primitive p5 Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
op stop timeout=20s interval=0s
clone cl-p5 p5 \
meta interleave=true
colocation c2 inf: ( p1 p2 ) p3 p4
property cib-bootstrap-options: \
stonith-enabled=false
.TRY Unordered load file
.INP: options
.INP: sort-elements false
.INP: up
.INP: configure
.INP: load update bugs-test.txt
.EXT crm_resource --show-metadata ocf:heartbeat:Dummy
.INP: show
node node1
primitive p4 Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
op stop timeout=20s interval=0s
primitive p3 Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
op stop timeout=20s interval=0s
primitive p2 Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
op stop timeout=20s interval=0s
primitive p1 Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
op stop timeout=20s interval=0s
primitive p6 Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
op stop timeout=20s interval=0s
primitive p5 Dummy \
op monitor timeout=20s interval=10s \
op start timeout=20s interval=0s \
op stop timeout=20s interval=0s
primitive gr1 Dummy
primitive gr2 Dummy
primitive gr3 Dummy
primitive gr4 Dummy
group g1 gr1 gr2
group g2 gr3
group g3 gr4
clone cl-p5 p5 \
meta interleave=true
colocation c2 inf: ( p1 p2 ) p3 p4
location loc1 g1 \
rule 200: #uname eq node1
property cib-bootstrap-options: \
stonith-enabled=false
op_defaults op-options: \
timeout=60s
.INP: commit
.EXT crm_resource --list-options=primitive --all --output-as=xml
.INP: _test
.INP: verify
.EXT crm_attribute --list-options=cluster --all --output-as=xml
.TRY Unknown properties
.INP: configure
.INP: erase
INFO: 2: constraint colocation:c2 updated
INFO: 2: constraint colocation:c2 updated
INFO: 2: modified location:loc1 from g1 to gr2
.INP: property stonith-enabled=false
.INP: property SAPHanaSR: hana_ha1_site_lss_WDF1=4
.INP: show
node node1
property SAPHanaSR: \
hana_ha1_site_lss_WDF1=4
property cib-bootstrap-options: \
stonith-enabled=false
.INP: commit
.EXT crm_attribute --list-options=cluster --all --output-as=xml
.INP: _test
.INP: verify
.INP: property SAPHanaSR_2: hana_ha1_site_iss_WDF1=cde hana_ha1_site_bss_WDF1=abc
.INP: show
node node1
property SAPHanaSR: \
hana_ha1_site_lss_WDF1=4
property SAPHanaSR_2: \
hana_ha1_site_iss_WDF1=cde \
hana_ha1_site_bss_WDF1=abc
property cib-bootstrap-options: \
stonith-enabled=false
.INP: commit
.INP: _test
.INP: verify
.TRY template
.INP: configure
.INP: erase
.INP: property stonith-enabled=false
.INP: node node1
.INP: template
.INP: new vip virtual-ip params ip=10.10.10.123
INFO: 6: pulling in template virtual-ip
.INP: load vip
.INP: apply update
.EXT crm_resource --show-metadata ocf:heartbeat:IPaddr2
.EXT crm_resource --list-ocf-alternatives IPaddr2
.INP: up
.INP: commit
.EXT crm_attribute --list-options=cluster --all --output-as=xml
.EXT crm_resource --list-options=primitive --all --output-as=xml
.INP: _test
.INP: verify
|