... | @@ -1078,6 +1078,27 @@ Another error that `gnt-cluster verify` can give you is, for example: |
... | @@ -1078,6 +1078,27 @@ Another error that `gnt-cluster verify` can give you is, for example: |
|
|
|
|
|
The solution is to [rebalance the cluster](#Rebalancing-a-cluster).
|
|
The solution is to [rebalance the cluster](#Rebalancing-a-cluster).
|
|
|
|
|
|
|
|
### Can't assemble device after creation
|
|
|
|
|
|
|
|
It's possible that Ganeti fails to create an instance with this error:
|
|
|
|
|
|
|
|
Thu Jan 14 20:01:00 2021 - WARNING: Device creation failed
|
|
|
|
Failure: command execution error:
|
|
|
|
Can't create block device <DRBD8(hosts=d1b54252-dd81-479b-a9dc-2ab1568659fa/0-3aa32c9d-c0a7-44bb-832d-851710d04765/0, port=11005, backend=<LogicalVolume(/dev/vg_ganeti/3f60a066-c957-4a86-9fae-65525fe3f3c7.disk0_data, not visible, size=10240m)>, metadev=<LogicalVolume(/dev/vg_ganeti/3f60a066-c957-4a86-9fae-65525fe3f3c7.disk0_meta, not visible, size=128m)>, visible as /dev/disk/0, size=10240m)> on node chi-node-03.torproject.org for instance build-x86-13.torproject.org: Can't assemble device after creation, unusual event: drbd0: timeout while configuring network
|
|
|
|
|
|
|
|
In this case, the problem was that `chi-node-03` had an incorrect
|
|
|
|
`secondary_ip` set. The immediate fix was to correctly set the
|
|
|
|
secondary address of the node:
|
|
|
|
|
|
|
|
gnt-node modify --secondary-ip=172.30.130.3 chi-node-03.torproject.org
|
|
|
|
|
|
|
|
Then `gnt-cluster verify` was complaining about the leftover DRBD
|
|
|
|
device:
|
|
|
|
|
|
|
|
- ERROR: node chi-node-03.torproject.org: unallocated drbd minor 0 is in use
|
|
|
|
|
|
|
|
For this, see [DRBD: deleting a stray device](howto/drbd#deleting-a-stray-device).
|
|
|
|
|
|
### Other troubleshooting
|
|
### Other troubleshooting
|
|
|
|
|
|
Riseup has [documentation on various failure scenarios](https://we.riseup.net/riseup+tech/ganeti#failure-scenarios) including
|
|
Riseup has [documentation on various failure scenarios](https://we.riseup.net/riseup+tech/ganeti#failure-scenarios) including
|
... | | ... | |