File: shadow.exp

package info (click to toggle)
crmsh 5.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,980 kB
  • sloc: python: 50,399; sh: 1,207; makefile: 255; xml: 243; exp: 234; awk: 22
file content (26 lines) | stat: -rw-r--r-- 1,016 bytes parent folder | download | duplicates (2)
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
.TRY Shadow CIB management
.INP: cib
.INP: new regtest force
.EXT >/dev/null </dev/null crm_shadow -b -c 'regtest' --force
INFO: 2: cib.new: regtest shadow CIB created
.INP: reset regtest
.EXT >/dev/null </dev/null crm_shadow -b -r 'regtest' --force
INFO: 3: cib.reset: copied live CIB to regtest
.INP: use regtest
.INP: commit regtest
.EXT >/dev/null </dev/null crm_shadow -b -C 'regtest' --force
INFO: 5: cib.commit: committed 'regtest' shadow CIB to the cluster
.INP: delete regtest
ERROR: 6: cib.delete: regtest shadow CIB is in use
Traceback (most recent call last):
    rv = self.execute_command() is not False
    	 ~~~~~~~~~~~~~~~~~~~~^^
    rv = self.command_info.function(*arglist)
    context.fatal_error("%s shadow CIB is in use" % name)
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    raise ValueError(msg)
ValueError: regtest shadow CIB is in use
.INP: use
.INP: delete regtest
.EXT >/dev/null </dev/null crm_shadow -b -D 'regtest' --force
INFO: 8: cib.delete: regtest shadow CIB deleted