start ocp-server-ce failed

[admin@node74 soft]$ obd cluster start csocp
Get local repositories ok
Search plugins ok
Load cluster param plugin ok
Open ssh connection ok
Check before start ocp-server ok
Start ocp-server-ce ok
[ERROR] failed to start 10.10.1.73 ocp-server-ce
[ERROR] start ocp-server-ce failed
[ERROR] ocp-server-ce start failed
See https://www.oceanbase.com/product/ob-deployer/error-codes .
Trace ID: 85b30648-9209-11ef-ba79-000c29c252a7
If you want to view detailed obd logs, please run: obd display-trace 85b30648-9209-11ef-ba79-000c29c252a7
[admin@node74 soft]$

并且在10.10.1.73上没有任何日志。

1 个赞

obd display-trace 85b30648-9209-11ef-ba79-000c29c252a7

请见附件。
error.log (70.8 KB)

1 个赞

发下ocp下的ocp-server.log

[root@observer1 ~]# cd /home/admin/
[root@observer1 admin]# ll
total 0
drwxrwxr-x 2 admin admin 27 Oct 24 23:20 logs
drwxrwxr-x 3 admin admin 23 Oct 24 23:12 obcluster
drwxrwxr-x 7 admin admin 80 Oct 24 23:19 ocp
drwxrwxr-x 2 admin admin 178 Oct 24 23:20 software
[root@observer1 admin]# cd ocp/
[root@observer1 ocp]# ll
total 0
drwxrwxr-x 2 admin admin 6 Oct 24 23:19 bin
drwxrwxr-x 2 admin admin 28 Oct 24 23:20 lib
lrwxrwxrwx 1 admin admin 16 Oct 24 23:19 log → /home/admin/logs
drwxrwxr-x 3 admin admin 17 Oct 24 23:19 logs
drwxrwxr-x 3 admin admin 17 Oct 24 23:19 ocp-server
drwxrwxr-x 2 admin admin 28 Oct 24 23:20 run
[root@observer1 ocp]# cd ocp-server/
[root@observer1 ocp-server]# ll
total 0
drwxrwxr-x 2 admin admin 178 Oct 24 23:19 lib
[root@observer1 ocp-server]#
[root@observer1 ocp-server]#
[root@observer1 ocp-server]# cd …
[root@observer1 ocp]#
[root@observer1 ocp]#
[root@observer1 ocp]# ll
total 0
drwxrwxr-x 2 admin admin 6 Oct 24 23:19 bin
drwxrwxr-x 2 admin admin 28 Oct 24 23:20 lib
lrwxrwxrwx 1 admin admin 16 Oct 24 23:19 log → /home/admin/logs
drwxrwxr-x 3 admin admin 17 Oct 24 23:19 logs
drwxrwxr-x 3 admin admin 17 Oct 24 23:19 ocp-server
drwxrwxr-x 2 admin admin 28 Oct 24 23:20 run
[root@observer1 ocp]#
[root@observer1 ocp]#
[root@observer1 ocp]# cd log
[root@observer1 log]# ll
total 0
-rw-rw-r-- 1 admin admin 0 Oct 24 23:20 bootstrap.log
[root@observer1 log]#
[root@observer1 log]#
[root@observer1 log]# cat bootstrap.log
[root@observer1 log]#
[root@observer1 log]#
[root@observer1 log]# cd …
[root@observer1 ocp]# ll
total 0
drwxrwxr-x 2 admin admin 6 Oct 24 23:19 bin
drwxrwxr-x 2 admin admin 28 Oct 24 23:20 lib
lrwxrwxrwx 1 admin admin 16 Oct 24 23:19 log → /home/admin/logs
drwxrwxr-x 3 admin admin 17 Oct 24 23:19 logs
drwxrwxr-x 3 admin admin 17 Oct 24 23:19 ocp-server
drwxrwxr-x 2 admin admin 28 Oct 24 23:20 run
[root@observer1 ocp]# cd logs
[root@observer1 logs]# ll
total 0
drwxrwxr-x 2 admin admin 6 Oct 24 23:19 ocp
[root@observer1 logs]#
[root@observer1 logs]#
[root@observer1 logs]# cd ocp/
[root@observer1 ocp]# ll
total 0
[root@observer1 ocp]#
[root@observer1 ocp]#
[root@observer1 ocp]#

嘿嘿 , 没有日志。

~/.obd/app.log 发出来一份
~/ocp/log/ocp-server.log

[2024-10-24 21:40:54.540] [DEBUG] -- exited code 0
[2024-10-24 21:40:54.541] [DEBUG] -- failed to start 10.10.1.73 ocp-server-ce, remaining retries: 4
[2024-10-24 21:41:09.557] [DEBUG] -- 10.10.1.73 program health check
[2024-10-24 21:41:09.557] [DEBUG] -- admin@10.10.1.73 execute: ls /proc/5436 
[2024-10-24 21:41:09.612] [DEBUG] -- exited code 0
[2024-10-24 21:41:09.612] [DEBUG] -- admin@10.10.1.73 execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:1F90' | awk -F' ' '{print $2}' | uniq 
[2024-10-24 21:41:09.718] [DEBUG] -- exited code 0
[2024-10-24 21:41:09.719] [DEBUG] -- failed to start 10.10.1.73 ocp-server-ce, remaining retries: 3
[2024-10-24 21:41:24.735] [DEBUG] -- 10.10.1.73 program health check
[2024-10-24 21:41:24.735] [DEBUG] -- admin@10.10.1.73 execute: ls /proc/5436 
[2024-10-24 21:41:24.795] [DEBUG] -- exited code 0
[2024-10-24 21:41:24.796] [DEBUG] -- admin@10.10.1.73 execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:1F90' | awk -F' ' '{print $2}' | uniq 
[2024-10-24 21:41:24.904] [DEBUG] -- exited code 0
[2024-10-24 21:41:24.905] [DEBUG] -- failed to start 10.10.1.73 ocp-server-ce, remaining retries: 2
[2024-10-24 21:41:39.921] [DEBUG] -- 10.10.1.73 program health check
[2024-10-24 21:41:39.922] [DEBUG] -- admin@10.10.1.73 execute: ls /proc/5436 
[2024-10-24 21:41:39.982] [DEBUG] -- exited code 0
[2024-10-24 21:41:39.984] [DEBUG] -- admin@10.10.1.73 execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:1F90' | awk -F' ' '{print $2}' | uniq 
[2024-10-24 21:41:40.089] [DEBUG] -- exited code 0
[2024-10-24 21:41:40.090] [DEBUG] -- failed to start 10.10.1.73 ocp-server-ce, remaining retries: 1
[2024-10-24 21:41:55.105] [DEBUG] -- 10.10.1.73 program health check
[2024-10-24 21:41:55.106] [DEBUG] -- admin@10.10.1.73 execute: ls /proc/5436 
[2024-10-24 21:41:55.158] [DEBUG] -- exited code 0
[2024-10-24 21:41:55.159] [DEBUG] -- admin@10.10.1.73 execute: bash -c 'cat /proc/net/{tcp*,udp*}' | awk -F' ' '{print $2,$10}' | grep '00000000:1F90' | awk -F' ' '{print $2}' | uniq 
[2024-10-24 21:41:55.267] [DEBUG] -- exited code 0
[2024-10-24 21:41:55.394] [ERROR] failed to start 10.10.1.73 ocp-server-ce

[root@observer1 ~]# su - admin
Last login: Thu Oct 24 16:30:16 CST 2024 on pts/0
[admin@observer1 ~]$ bash -c ‘cat /proc/net/{tcp*,udp*}’ | awk -F’ ’ ‘{print $2,$10}’ | grep ‘00000000:1F90’ | awk -F’ ’ ‘{print $2}’ | uniq
[admin@observer1 ~]$
[admin@observer1 ~]$
[admin@observer1 ~]$

app.log (6.5 MB)

~/ocp/log/ocp-server.log没有么

没有
[admin@observer1 ~]$ ll
total 0
drwxrwxr-x 2 admin admin 27 Oct 25 10:57 logs
drwxrwxr-x 13 admin admin 169 Oct 25 10:44 oceanbase
drwxrwxr-x 7 admin admin 80 Oct 25 10:56 ocp
drwxrwxr-x 4 admin admin 30 Oct 25 09:57 ocp-server
drwxrwxr-x 2 admin admin 178 Oct 25 10:57 software
[admin@observer1 ~]$ cd ocp
[admin@observer1 ocp]$ ll
total 0
drwxrwxr-x 2 admin admin 6 Oct 25 10:56 bin
drwxrwxr-x 2 admin admin 28 Oct 25 10:57 lib
lrwxrwxrwx 1 admin admin 16 Oct 25 10:56 log → /home/admin/logs
drwxrwxr-x 3 admin admin 17 Oct 25 10:56 logs
drwxrwxr-x 3 admin admin 17 Oct 25 10:56 ocp-server
drwxrwxr-x 2 admin admin 28 Oct 25 10:57 run
[admin@observer1 ocp]$ cd log
[admin@observer1 log]$ ll
total 0
-rw-rw-r-- 1 admin admin 0 Oct 25 10:57 bootstrap.log
[admin@observer1 log]$
[admin@observer1 log]$

[admin@observer1 log]$ pwd
/home/admin/ocp-server/log
[admin@observer1 log]$
[admin@observer1 log]$
[admin@observer1 log]$
[admin@observer1 log]$
[admin@observer1 log]$
[admin@observer1 log]$ pwd
/home/admin/ocp-server/log
[admin@observer1 log]$
[admin@observer1 log]$
[admin@observer1 log]$ ll
total 12
-rw-rw-r-- 1 admin admin 3026 Oct 25 10:28 access.log
-rw-rw-r-- 1 admin admin 1530 Oct 25 10:24 bootstrap.log
-rw-rw-r-- 1 admin admin 3630 Oct 25 10:24 ocp.log
drwxrwxr-x 3 admin admin 22 Oct 25 10:04 task
[admin@observer1 log]$
[admin@observer1 log]$
[admin@observer1 log]$
[admin@observer1 log]$ cat bootstrap.log
[2024-10-25T09:59:23.721] dataSource BEGIN CONFIG_PROPERTIES - 3
[2024-10-25T09:59:23.729] dataSource BEGIN CONFIG_PROPERTIES property:ocp.log.download.tmp.dir /home/admin/ocp/logs/ocp
[2024-10-25T09:59:23.735] dataSource END CONFIG_PROPERTIES property:ocp.log.download.tmp.dir
[2024-10-25T09:59:23.736] dataSource BEGIN CONFIG_PROPERTIES property:ocp.file.local.dir /home/admin/software
[2024-10-25T09:59:23.748] dataSource END CONFIG_PROPERTIES property:ocp.file.local.dir
[2024-10-25T09:59:23.749] dataSource BEGIN CONFIG_PROPERTIES property:ocp.file.local.built-in.dir /home/admin/ocp/ocp-server/lib
[2024-10-25T09:59:23.765] dataSource END CONFIG_PROPERTIES property:ocp.file.local.built-in.dir
[2024-10-25T09:59:23.765] dataSource END CONFIG_PROPERTIES -
[2024-10-25T10:24:15.110] dataSource BEGIN CONFIG_PROPERTIES - 3
[2024-10-25T10:24:15.117] dataSource BEGIN CONFIG_PROPERTIES property:ocp.log.download.tmp.dir /home/admin/ocp/logs/ocp
[2024-10-25T10:24:15.139] dataSource END CONFIG_PROPERTIES property:ocp.log.download.tmp.dir
[2024-10-25T10:24:15.139] dataSource BEGIN CONFIG_PROPERTIES property:ocp.file.local.dir /home/admin/software
[2024-10-25T10:24:15.152] dataSource END CONFIG_PROPERTIES property:ocp.file.local.dir
[2024-10-25T10:24:15.152] dataSource BEGIN CONFIG_PROPERTIES property:ocp.file.local.built-in.dir /home/admin/ocp/ocp-server/lib
[2024-10-25T10:24:15.164] dataSource END CONFIG_PROPERTIES property:ocp.file.local.built-in.dir
[2024-10-25T10:24:15.164] dataSource END CONFIG_PROPERTIES -
[admin@observer1 log]$
[admin@observer1 log]$
[admin@observer1 log]$
[admin@observer1 log]$
[admin@observer1 log]$ cat ocp.log
2024-10-25 09:59:28.213 INFO 15127 — [main,] c.o.o.b.spring.BootstrapRunListener : environmentPrepared
2024-10-25 09:59:42.187 INFO 15127 — [main,] c.o.o.b.spring.BootstrapRunListener : contextPrepared
2024-10-25 09:59:42.188 INFO 15127 — [main,] c.o.o.b.spring.BootstrapRunListener : set internal properties as the first PropertySource
2024-10-25 09:59:42.250 INFO 15127 — [main,] c.o.o.b.spring.BootstrapRunListener : register bean ProgressHandler
2024-10-25 09:59:42.251 INFO 15127 — [main,] c.o.o.b.spring.BootstrapRunListener : set internal property ocp.version to 4.2.2
2024-10-25 09:59:42.251 INFO 15127 — [main,] c.o.o.b.spring.BootstrapRunListener : ocp.version in spring: 4.2.2
2024-10-25 09:59:42.583 INFO 15127 — [main,] c.o.o.b.spring.BootstrapRunListener : contextLoaded
2024-10-25 09:59:45.843 INFO 15127 — [main,] c.o.o.b.spring.DataSourceInterceptor : begin AfterDataSourceCreationHook
2024-10-25 09:59:45.850 INFO 15127 — [main,] c.o.o.b.spring.DataSourceInterceptor : end AfterDataSourceCreationHook
2024-10-25 09:59:47.822 INFO 15127 — [main,] c.o.o.b.spring.BootstrapRunListener : ready. time taken: PT21.020817059S
2024-10-25 09:59:48.031 INFO 15127 — [main,] c.o.o.b.spring.BootstrapRunListener : environmentPrepared
2024-10-25 09:59:48.318 INFO 15127 — [main,] o.s.c.c.s.e.NativeEnvironmentRepository : Adding property source: Config resource ‘class path resource [application.properties]’ via location ‘classpath:/’
2024-10-25 09:59:48.472 INFO 15127 — [main,] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name=‘bootstrapProperties-classpath:/application.properties’}, BootstrapPropertySource {name=‘bootstrapProperties-ocp-default’}]
2024-10-25 10:24:19.850 INFO 28551 — [main,] c.o.o.b.spring.BootstrapRunListener : environmentPrepared
2024-10-25 10:24:34.700 INFO 28551 — [main,] c.o.o.b.spring.BootstrapRunListener : contextPrepared
2024-10-25 10:24:34.701 INFO 28551 — [main,] c.o.o.b.spring.BootstrapRunListener : set internal properties as the first PropertySource
2024-10-25 10:24:34.824 INFO 28551 — [main,] c.o.o.b.spring.BootstrapRunListener : register bean ProgressHandler
2024-10-25 10:24:34.825 INFO 28551 — [main,] c.o.o.b.spring.BootstrapRunListener : set internal property ocp.version to 4.2.2
2024-10-25 10:24:34.826 INFO 28551 — [main,] c.o.o.b.spring.BootstrapRunListener : ocp.version in spring: 4.2.2
2024-10-25 10:24:35.626 INFO 28551 — [main,] c.o.o.b.spring.BootstrapRunListener : contextLoaded
2024-10-25 10:24:39.769 INFO 28551 — [main,] c.o.o.b.spring.DataSourceInterceptor : begin AfterDataSourceCreationHook
2024-10-25 10:24:39.786 INFO 28551 — [main,] c.o.o.b.spring.DataSourceInterceptor : end AfterDataSourceCreationHook
2024-10-25 10:24:41.970 INFO 28551 — [main,] c.o.o.b.spring.BootstrapRunListener : ready. time taken: PT23.644721191S
2024-10-25 10:24:42.205 INFO 28551 — [main,] c.o.o.b.spring.BootstrapRunListener : environmentPrepared
2024-10-25 10:24:42.617 INFO 28551 — [main,] o.s.c.c.s.e.NativeEnvironmentRepository : Adding property source: Config resource ‘class path resource [application.properties]’ via location ‘classpath:/’
2024-10-25 10:24:42.783 INFO 28551 — [main,] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name=‘bootstrapProperties-classpath:/application.properties’}, BootstrapPropertySource {name=‘bootstrapProperties-ocp-default’}]
[admin@observer1 log]$

你之前的机器是已经部署了ocp-server,然后stop后,执行的start,还是其他的情况呢?能说一下具体的情况吗?

image
正常情况只要启动ocp就会有日志,日志查询是在10.10.1.73上查的么
描述下你搭建的方法。是想使用白屏化搭建ocp么,把yaml文件也提供一份吧