AT
Size: a a a
AT
AT
NP
Sun Apr 19 00:11:24 2020 [Z0][VM][I]: New LCM state is MIGRATE
Sun Apr 19 00:11:30 2020 [Z0][VMM][I]: Successfully execute transfer manager driver operation: tm_premigrate.
Sun Apr 19 00:11:31 2020 [Z0][VMM][I]: ExitCode: 0
.
. ****вырезан кусок лога переключения сети****
.
Sun Apr 19 00:12:00 2020 [Z0][VMM][I]: Successfully execute network driver operation: post.
Sun Apr 19 00:12:03 2020 [Z0][VMM][I]: Command execution failed (exit code: 1): /var/lib/one/remotes/tm/linstor_un/postmigrate csshv-93 csshv-90 /var/lib/one//datastores/129/100 100 129
Sun Apr 19 00:12:03 2020 [Z0][VMM][I]: /var/lib/one/remotes/tm/linstor_un/../../datastore/xpath.rb:66:in `block in <main>': undefined method `elements' for nil:NilClass (NoMethodError)
Sun Apr 19 00:12:03 2020 [Z0][VMM][I]: from /var/lib/one/remotes/tm/linstor_un/../../datastore/xpath.rb:60:in `each'
Sun Apr 19 00:12:03 2020 [Z0][VMM][I]: from /var/lib/one/remotes/tm/linstor_un/../../datastore/xpath.rb:60:in `<main>'
Sun Apr 19 00:12:03 2020 [Z0][VMM][E]: Command "linstor resource delete csshv-93 one-vm-100-disk-0 --async" failed: (Node: 'csshv-93') Shutdown of the DRBD resource 'one-vm-100-disk-0 failed Error reports: [ 5E8A3C41-2EF7A-000017 ]
Sun Apr 19 00:12:03 2020 [Z0][VMM][I]: Failed to execute transfer manager driver operation: tm_postmigrate.
Sun Apr 19 00:12:03 2020 [Z0][VM][I]: New LCM state is RUNNING
NP
# linstor r list |grep 100-disk-
| one-vm-100-disk-0 | csshv-90 | 7035 | Unused | Ok | UpToDate |
| one-vm-100-disk-0 | csshv-91 | 7035 | Unused | Ok | UpToDate |
| one-vm-100-disk-0 | csshv-92 | 7035 | Unused | Ok | UpToDate |
| one-vm-100-disk-0 | csshv-93 | 7035 | InUse | Ok | Diskless |
| one-vm-100-disk-1 | csshv-90 | 7036 | InUse | Ok | UpToDate |
| one-vm-100-disk-1 | csshv-91 | 7036 | Unused | Ok | UpToDate |
| one-vm-100-disk-1 | csshv-92 | 7036 | Unused | Ok | UpToDate |
| one-vm-100-disk-1 | csshv-93 | 7036 | Unused | Ok | Diskless |
NP
# linstor r list |grep 100-disk-
| one-vm-100-disk-0 | csshv-90 | 7035 | InUse | Ok | UpToDate |
| one-vm-100-disk-0 | csshv-91 | 7035 | Unused | Ok | UpToDate |
| one-vm-100-disk-0 | csshv-92 | 7035 | Unused | Ok | UpToDate |
| one-vm-100-disk-1 | csshv-90 | 7036 | InUse | Ok | UpToDate |
| one-vm-100-disk-1 | csshv-91 | 7036 | Unused | Ok | UpToDate |
| one-vm-100-disk-1 | csshv-92 | 7036 | Unused | Ok | UpToDate |
| one-vm-100-disk-1 | csshv-93 | 7036 | Unused | Ok | Diskless |
NP
csshv-90
- там, куда тачка и переехалаNP
Reported error:
===============
Description:
Operations on resource 'one-vm-100-disk-0' were aborted
Cause:
The external command for stopping the DRBD resource failed
Correction:
- Check whether the required software is installed
- Check whether the application's search path includes the location
of the external software
- Check whether the application has execute permission for the external command
Category: LinStorException
Class name: StorageException
Class canonical name: com.linbit.linstor.storage.StorageException
Generated at: Method 'deleteDrbd', Source file 'DrbdLayer.java', Line #493
Error message: Shutdown of the DRBD resource 'one-vm-100-disk-0 failed
Error context:
An error occurred while processing resource 'Node: 'csshv-93', Rsc: 'one-vm-100-disk-0''
Additional information:
The full command line executed was:
drbdsetup down one-vm-100-disk-0
The external command sent the following output data:
The external command sent the following error information:
one-vm-100-disk-0: State change failed: (-10) State change was refused by peer node
additional info from kernel:
Declined by peer csshv-90 (id: 0), see the kernel log there
Category: LinStorException
Class name: ExtCmdFailedException
Class canonical name: com.linbit.extproc.ExtCmdFailedException
Generated at: Method 'execute', Source file 'DrbdAdm.java', Line #536
Error message: The external command 'drbdsetup' exited with error code 11
NP
NP
k
Reported error:
===============
Description:
Operations on resource 'one-vm-100-disk-0' were aborted
Cause:
The external command for stopping the DRBD resource failed
Correction:
- Check whether the required software is installed
- Check whether the application's search path includes the location
of the external software
- Check whether the application has execute permission for the external command
Category: LinStorException
Class name: StorageException
Class canonical name: com.linbit.linstor.storage.StorageException
Generated at: Method 'deleteDrbd', Source file 'DrbdLayer.java', Line #493
Error message: Shutdown of the DRBD resource 'one-vm-100-disk-0 failed
Error context:
An error occurred while processing resource 'Node: 'csshv-93', Rsc: 'one-vm-100-disk-0''
Additional information:
The full command line executed was:
drbdsetup down one-vm-100-disk-0
The external command sent the following output data:
The external command sent the following error information:
one-vm-100-disk-0: State change failed: (-10) State change was refused by peer node
additional info from kernel:
Declined by peer csshv-90 (id: 0), see the kernel log there
Category: LinStorException
Class name: ExtCmdFailedException
Class canonical name: com.linbit.extproc.ExtCmdFailedException
Generated at: Method 'execute', Source file 'DrbdAdm.java', Line #536
Error message: The external command 'drbdsetup' exited with error code 11
k
Sun Apr 19 00:11:24 2020 [Z0][VM][I]: New LCM state is MIGRATE
Sun Apr 19 00:11:30 2020 [Z0][VMM][I]: Successfully execute transfer manager driver operation: tm_premigrate.
Sun Apr 19 00:11:31 2020 [Z0][VMM][I]: ExitCode: 0
.
. ****вырезан кусок лога переключения сети****
.
Sun Apr 19 00:12:00 2020 [Z0][VMM][I]: Successfully execute network driver operation: post.
Sun Apr 19 00:12:03 2020 [Z0][VMM][I]: Command execution failed (exit code: 1): /var/lib/one/remotes/tm/linstor_un/postmigrate csshv-93 csshv-90 /var/lib/one//datastores/129/100 100 129
Sun Apr 19 00:12:03 2020 [Z0][VMM][I]: /var/lib/one/remotes/tm/linstor_un/../../datastore/xpath.rb:66:in `block in <main>': undefined method `elements' for nil:NilClass (NoMethodError)
Sun Apr 19 00:12:03 2020 [Z0][VMM][I]: from /var/lib/one/remotes/tm/linstor_un/../../datastore/xpath.rb:60:in `each'
Sun Apr 19 00:12:03 2020 [Z0][VMM][I]: from /var/lib/one/remotes/tm/linstor_un/../../datastore/xpath.rb:60:in `<main>'
Sun Apr 19 00:12:03 2020 [Z0][VMM][E]: Command "linstor resource delete csshv-93 one-vm-100-disk-0 --async" failed: (Node: 'csshv-93') Shutdown of the DRBD resource 'one-vm-100-disk-0 failed Error reports: [ 5E8A3C41-2EF7A-000017 ]
Sun Apr 19 00:12:03 2020 [Z0][VMM][I]: Failed to execute transfer manager driver operation: tm_postmigrate.
Sun Apr 19 00:12:03 2020 [Z0][VM][I]: New LCM state is RUNNING
drbdadm down
k
Reported error:
===============
Description:
Operations on resource 'one-vm-100-disk-0' were aborted
Cause:
The external command for stopping the DRBD resource failed
Correction:
- Check whether the required software is installed
- Check whether the application's search path includes the location
of the external software
- Check whether the application has execute permission for the external command
Category: LinStorException
Class name: StorageException
Class canonical name: com.linbit.linstor.storage.StorageException
Generated at: Method 'deleteDrbd', Source file 'DrbdLayer.java', Line #493
Error message: Shutdown of the DRBD resource 'one-vm-100-disk-0 failed
Error context:
An error occurred while processing resource 'Node: 'csshv-93', Rsc: 'one-vm-100-disk-0''
Additional information:
The full command line executed was:
drbdsetup down one-vm-100-disk-0
The external command sent the following output data:
The external command sent the following error information:
one-vm-100-disk-0: State change failed: (-10) State change was refused by peer node
additional info from kernel:
Declined by peer csshv-90 (id: 0), see the kernel log there
Category: LinStorException
Class name: ExtCmdFailedException
Class canonical name: com.linbit.extproc.ExtCmdFailedException
Generated at: Method 'execute', Source file 'DrbdAdm.java', Line #536
Error message: The external command 'drbdsetup' exited with error code 11
k
NP
[Sun Apr 19 00:11:15 2020] drbd one-vm-100-disk-0: Preparing cluster-wide state change 2595806047 (0->-1 3/1)
[Sun Apr 19 00:11:15 2020] drbd one-vm-100-disk-0: State change 2595806047: primary_nodes=9, weak_nodes=FFFFFFFFFFFFFFF0
[Sun Apr 19 00:11:15 2020] drbd one-vm-100-disk-0: Committing cluster-wide state change 2595806047 (0ms)
[Sun Apr 19 00:11:15 2020] drbd one-vm-100-disk-0: role( Secondary -> Primary )
[Sun Apr 19 00:11:38 2020] drbd one-vm-100-disk-0 csshv-93: peer( Primary -> Secondary )
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0 csshv-93: Preparing remote state change 1779374693
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0: State change failed: Intentional diskless peer may not attach a disk
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0 csshv-93: Aborting remote state change 1779374693
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0: Preparing cluster-wide state change 2545462789 (0->3 123376/49168)
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0: State change 2545462789: primary_nodes=1, weak_nodes=FFFFFFFFFFFFFFF8
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0: Committing cluster-wide state change 2545462789 (0ms)
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0 csshv-93: conn( Connected -> Disconnecting ) peer( Secondary -> Unknown )
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0/0 drbd1035 csshv-93: pdsk( Diskless -> DUnknown ) repl( Established -> Off )
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0 csshv-93: ack_receiver terminated
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0 csshv-93: Terminating ack_recv thread
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0 csshv-92: Preparing remote state change 3762558587
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0 csshv-92: Committing remote state change 3762558587 (primary_nodes=1)
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0 csshv-91: Preparing remote state change 1492002167
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0 csshv-91: Committing remote state change 1492002167 (primary_nodes=1)
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0 csshv-93: Restarting sender thread
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0 csshv-93: Connection closed
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0 csshv-93: conn( Disconnecting -> StandAlone )
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0 csshv-93: Terminating receiver thread
[Sun Apr 19 00:11:44 2020] drbd one-vm-100-disk-0 csshv-93: Terminating sender thread
NP
[Sun Apr 19 00:11:47 2020] drbd one-vm-100-disk-0 csshv-92: Connection closed
[Sun Apr 19 00:11:47 2020] drbd one-vm-100-disk-0 csshv-92: conn( TearDown -> Unconnected )
[Sun Apr 19 00:11:47 2020] drbd one-vm-100-disk-0 csshv-92: Restarting receiver thread
[Sun Apr 19 00:11:47 2020] drbd one-vm-100-disk-0 csshv-92: conn( Unconnected -> Connecting )
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-90: conn( Connecting -> Disconnecting )
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-90: Aborting remote state change 0 commit not possible
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-90: Restarting sender thread
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-90: Connection closed
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-90: conn( Disconnecting -> StandAlone )
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-90: Terminating receiver thread
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-90: Terminating sender thread
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-91: conn( Connecting -> Disconnecting )
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-91: Aborting remote state change 0 commit not possible
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-91: Restarting sender thread
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-91: Connection closed
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-91: conn( Disconnecting -> StandAlone )
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-91: Terminating receiver thread
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-91: Terminating sender thread
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-92: conn( Connecting -> Disconnecting )
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-92: Aborting remote state change 0 commit not possible
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-92: Restarting sender thread
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-92: Connection closed
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-92: conn( Disconnecting -> StandAlone )
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-92: Terminating receiver thread
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0 csshv-92: Terminating sender thread
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0/0 drbd1035: drbd_bm_resize called with capacity == 0
[Sun Apr 19 00:12:05 2020] drbd one-vm-100-disk-0: Terminating worker thread
NP
k
NP
k
sleep 5
вставить в начало postmigrate скриптаk