提问参考模版:
- nebula 版本:2.0.1 升级到 3.0.0
- 部署方式:分布式
- 安装方式:RPM
- 是否为线上版本: N
- 硬件信息
- 磁盘( 推荐使用 SSD)
- CPU、内存信息
- 问题的具体描述
- 相关的 meta / storage / graph info 日志信息(尽量使用文本形式方便检索)
安装文档操作到第四部就启动失败,
/usr/local/nebula/scripts/nebula.service stop all
tar -xf nebula-graph-3.0.0.el7.x86_64.tar.gz
cp nebula-graph-3.0.0.el7.x86_64/bin/* /usr/local/nebula/bin/
vim /usr/local/nebula/etc/nebula-graphd.conf
/usr/local/nebula/scripts/nebula-metad.service start
/usr/local/nebula/scripts/nebula.service status all
[root@cnsz22pl0272 nebula]# /usr/local/nebula/scripts/nebula-metad.service start
[INFO] Starting nebula-metad...
[INFO] Done
[root@cnsz22pl0272 nebula]# /usr/local/nebula/scripts/nebula.service status all
[INFO] nebula-metad: Running as 231434, Listening on 9559
[INFO] nebula-graphd: Exited
[INFO] nebula-storaged: Exited
[root@cnsz22pl0272 nebula]# cat logs/metad/nebula-metad.ERROR
Log file created at: 2022/02/21 14:42:10
Running on machine: cnsz22pl0272
Running duration (h:mm:ss): 0:00:00
Log line format: [IWEF]yyyymmdd hh:mm:ss.uuuuuu threadid file:line] msg
E20220221 14:42:10.628567 228796 MetaDaemon.cpp:202] Invalid timezone file `share/resources/date_time_zonespec.csv', exception: `Unable to locate or access the required datafile. Filespec: share/resources/date_time_zonespec.csv'.
E20220221 14:42:10.633497 230376 JobDescription.cpp:181] Loading Job Description FailedE_KEY_NOT_FOUND
E20220221 14:42:10.633533 230376 JobManager.cpp:129] [JobManager] load an invalid job from queue 0
logs/metad/nebula-metad.INFO
I20220221 14:58:34.992241 231434 MetaDaemonInit.cpp:116] Leader has not been elected, sleep 1s
I20220221 14:58:35.393018 231481 RaftPart.cpp:1184] [Port: 9560, Space: 0, Part: 0] Sending out an election request (space = 0, part = 0, term = 30, lastLogId = 11713796, lastLogTerm = 29, candidateIP = 10.202.77.197, candidatePort = 9560), isPreVote = 1
I20220221 14:58:35.393393 231475 RaftPart.cpp:1150] [Port: 9560, Space: 0, Part: 0] Did not get enough votes from election of term 30, isPreVote = 1
I20220221 14:58:35.992329 231434 MetaDaemonInit.cpp:116] Leader has not been elected, sleep 1s
I20220221 14:58:36.939888 231482 RaftPart.cpp:1184] [Port: 9560, Space: 0, Part: 0] Sending out an election request (space = 0, part = 0, term = 30, lastLogId = 11713796, lastLogTerm = 29, candidateIP = 10.202.77.197, candidatePort = 9560), isPreVote = 1
I20220221 14:58:36.940265 231475 RaftPart.cpp:1150] [Port: 9560, Space: 0, Part: 0] Did not get enough votes from election of term 30, isPreVote = 1
I20220221 14:58:36.992424 231434 MetaDaemonInit.cpp:116] Leader has not been elected, sleep 1s
I20220221 14:58:37.478935 231479 RaftPart.cpp:1184] [Port: 9560, Space: 0, Part: 0] Sending out an election request (space = 0, part = 0, term = 30, lastLogId = 11713796, lastLogTerm = 29, candidateIP = 10.202.77.197, candidatePort = 9560), isPreVote = 1
I20220221 14:58:37.482247 231475 RaftPart.cpp:1150] [Port: 9560, Space: 0, Part: 0] Did not get enough votes from election of term 30, isPreVote = 1
I20220221 14:58:37.992512 231434 MetaDaemonInit.cpp:116] Leader has not been elected, sleep 1s
I20220221 14:58:38.212052 231480 RaftPart.cpp:1184] [Port: 9560, Space: 0, Part: 0] Sending out an election request (space = 0, part = 0, term = 30, lastLogId = 11713796, lastLogTerm = 29, candidateIP = 10.202.77.197, candidatePort = 9560), isPreVote = 1
I20220221 14:58:38.212435 231475 RaftPart.cpp:1150] [Port: 9560, Space: 0, Part: 0] Did not get enough votes from election of term 30, isPreVote = 1
I20220221 14:58:38.945796 231475 RaftPart.cpp:1326] [Port: 9560, Space: 0, Part: 0] Received a VOTING request: space = 0, partition = 0, candidateAddr = 10.202.77.198:9560, term = 31, lastLogId = 11713797, lastLogTerm = 30, isPreVote = 1
I20220221 14:58:38.945832 231475 RaftPart.cpp:1355] [Port: 9560, Space: 0, Part: 0] The partition currently is a Candidate, lastLogId 11713796, lastLogTerm 29, committedLogId 11713796, term 29
I20220221 14:58:38.945843 231475 RaftPart.cpp:1434] [Port: 9560, Space: 0, Part: 0] The partition will vote for the candidate "10.202.77.198":9560, isPreVote = 1
I20220221 14:58:38.946451 231475 RaftPart.cpp:1326] [Port: 9560, Space: 0, Part: 0] Received a VOTING request: space = 0, partition = 0, candidateAddr = 10.202.77.198:9560, term = 31, lastLogId = 11713797, lastLogTerm = 30, isPreVote = 0
I20220221 14:58:38.946470 231475 RaftPart.cpp:1355] [Port: 9560, Space: 0, Part: 0] The partition currently is a Follower, lastLogId 11713796, lastLogTerm 29, committedLogId 11713796, term 30
I20220221 14:58:38.946481 231475 RaftPart.cpp:1434] [Port: 9560, Space: 0, Part: 0] The partition will vote for the candidate "10.202.77.198":9560, isPreVote = 0
I20220221 14:58:38.947038 231492 RaftPart.cpp:1683] [Port: 9560, Space: 0, Part: 0] The current role is Follower. Will follow the new leader "10.202.77.198":9560 on term 31
I20220221 14:58:38.947089 231482 Part.cpp:206] [Port: 9560, Space: 0, Part: 0] Find the new leader "10.202.77.198":9560
I20220221 14:58:38.992688 231434 MetaDaemonInit.cpp:143] Get meta version is 3
I20220221 14:58:38.992707 231434 MetaDaemonInit.cpp:160] Nebula store init succeeded, clusterId 703487425170647513
I20220221 14:58:38.992727 231434 MetaDaemon.cpp:151] Start http service
I20220221 14:58:38.992952 231434 MetaDaemonInit.cpp:168] Starting Meta HTTP Service
I20220221 14:58:38.994654 247755 WebService.cpp:128] Web service started on HTTP[19559], HTTP2[19560]
I20220221 14:58:38.994704 231434 JobManager.cpp:73] Not leader, skip reading remaining jobs
I20220221 14:58:38.994771 231434 JobManager.cpp:61] JobManager initialized
I20220221 14:58:38.994776 247761 JobManager.cpp:116] JobManager::runJobBackground() enter
E20220221 14:58:38.994954 231434 MetaDaemon.cpp:202] Invalid timezone file `share/resources/date_time_zonespec.csv', exception: `Unable to locate or access the required datafile. Filespec: share/resources/date_time_zonespec.csv'.
I20220221 14:58:38.995843 231434 JobManager.cpp:104] JobManager::shutDown() begin
I20220221 14:58:38.999858 247761 JobManager.cpp:121] [JobManager] detect shutdown called, exit
E20220221 14:58:38.999903 247761 JobDescription.cpp:181] Loading Job Description FailedE_LEADER_CHANGED
E20220221 14:58:38.999938 247761 JobManager.cpp:129] [JobManager] load an invalid job from queue 0
I20220221 14:58:38.999986 231434 JobManager.cpp:112] JobManager::shutDown() end