summaryrefslogtreecommitdiffstats
path: root/test/testcases/shadow.exp
blob: f5ec084cd4e462bc816b30b39d8fae40750713ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.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'
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