Status: New
Owner: ----
New issue 457 by [email protected]: gnt-cluster verify does not detect
StandAlone DRBD resources.
http://code.google.com/p/ganeti/issues/detail?id=457
What software version are you running? Please provide the output of "gnt-
cluster --version" and "gnt-cluster version".
# gnt-cluster --version
gnt-cluster (ganeti v2.7.0beta3) 2.7.0~beta3
# gnt-cluster version
Software version: 2.7.0~beta3
Internode protocol: 2070000
Configuration format: 2070000
OS api version: 20
Export interface: 0
What distribution are you using?
Debian Wheezy
What steps will reproduce the problem?
1. Intentionally put the cluster into a split-brain state.
2. Fix (to the extent possible) the split-brain issue.
3. Run 'gnt-cluster verify'
What is the expected output? What do you see instead?
gnt-cluster verify should complain about the StandAlone DRBD resources. And
in fact any attempt to migrate or failover instances does not work.
gnt-instance info also detects the situation. But gnt-cluster verify does
not complain. Neither does gnt-cluster verify-disks
Please provide any additional information below.
# gnt-cluster verify
Submitted jobs 4843, 4844
Waiting for job 4843 ...
Wed May 8 11:32:32 2013 * Verifying cluster config
Wed May 8 11:32:32 2013 * Verifying cluster certificate files
Wed May 8 11:32:32 2013 * Verifying hypervisor parameters
Wed May 8 11:32:32 2013 * Verifying all nodes belong to an existing group
Waiting for job 4844 ...
Wed May 8 11:32:32 2013 * Verifying group 'default'
Wed May 8 11:32:32 2013 * Gathering data (2 nodes)
Wed May 8 11:32:32 2013 * Gathering disk information (2 nodes)
Wed May 8 11:32:32 2013 * Verifying configuration file consistency
Wed May 8 11:32:32 2013 * Verifying node status
Wed May 8 11:32:32 2013 * Verifying instance status
Wed May 8 11:32:32 2013 * Verifying orphan volumes
Wed May 8 11:32:32 2013 * Verifying N+1 Memory redundancy
Wed May 8 11:32:32 2013 * Other Notes
Wed May 8 11:32:33 2013 * Hooks Results
# gnt-cluster verify-disks
Submitted jobs 4846
Waiting for job 4846 ...
No disks need to be activated.
l# drbd-overview
0:??not-found?? StandAlone Primary/Unknown UpToDate/DUnknown r-----
# cat /proc/drbd
version: 8.3.11 (api:88/proto:86-96)
srcversion: 41C52C8CD882E47FB5AF767
0: cs:StandAlone ro:Primary/Unknown ds:UpToDate/DUnknown r-----
ns:0 nr:0 dw:8240 dr:163136 al:63 bm:18 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f
oos:1160
# gnt-instance info netdot
Instance name: netdot.nets.ucar.edu
UUID: 48406361-8d16-4e01-b453-f029e7762534
Serial number: 87
Creation time: 2013-04-15 15:19:00
Modification time: 2013-05-07 15:51:32
State: configured to be up, actual state is up
<SNIP>
Disk template: drbd
Disks:
- disk/0: drbd8, size 22.0G
access mode: rw
nodeA: vhip1.nets.ucar.edu, minor=0
nodeB: vhip2.nets.ucar.edu, minor=0
port: 11001
auth key: 6285a5d4cabed0d201d9ca5674a7588555e60b13
on primary: /dev/drbd0 (147:0) in sync, status *DEGRADED*
on secondary: /dev/drbd0 (147:0) in sync, status *DEGRADED*
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings