Project

General

Profile

Bug #21943

qa/standalone/mon/misc.sh:TEST_mon_features failed

Added by huang jun over 6 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Monitor
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Test failed in line 171.

155     local dir=$1
156     setup $dir || return 1
157      
158     fsid=$(uuidgen)
159     MONA=127.0.0.1:7127 # git grep '\<7127\>' ; there must be only one
160     MONB=127.0.0.1:7128 # git grep '\<7128\>' ; there must be only one
161     MONC=127.0.0.1:7129 # git grep '\<7129\>' ; there must be only one
162     CEPH_ARGS_orig=$CEPH_ARGS
163     CEPH_ARGS="--fsid=$fsid --auth-supported=none " 
164     CEPH_ARGS+="--mon-initial-members=a,b,c " 
165     CEPH_ARGS+="--mon-host=$MONA,$MONB,$MONC " 
166     CEPH_ARGS+="--mon-debug-no-initial-persistent-features " 
167     CEPH_ARGS+="--mon-debug-no-require-luminous " 
168      
169     run_mon $dir a --public-addr $MONA || return 1
170     run_mon $dir b --public-addr $MONB || return 1
171     timeout 120 ceph -s > /dev/null || return 1

from the log;
mon.a send election message to mon.b, but mon.b in probing state, and just ignore the mon.a's election msg.
mon.b send election message to mon.a, but mon.a in electing state, and found mon.b's rank is smaller, so it also ignore it.
so mon.a and mon.b always in electing and probing state.
the mon cluster is not available.
so timedout test case.

History

#1 Updated by huang jun over 6 years ago

@Joao Luis please take a look at this.

#2 Updated by huang jun over 6 years ago

we set mon_election_timeout = 2

#3 Updated by Sage Weil almost 3 years ago

  • Status changed from New to Closed

Also available in: Atom PDF