28 Star 64 Fork 108

openEuler / cantian

 / 详情

使用python3脚本部署cantian报错:Error: The invalid IP address is 127.0.0.1. ret_code : 0, stdout : 0

待办的
任务
创建于  
2024-05-15 16:40

[root@master01 Cantian-DATABASE-CENTOS-64bit]# pwd
/home/regress/CantianKernel/Cantian-DATABASE-CENTOS-64bit
[root@master01 Cantian-DATABASE-CENTOS-64bit]# python3 install.py -U cantiandba:cantiandba -R /home/cantiandba/install -D /home/cantiandba/data -l /home/cantiandba/logs/install.log -Z _LOG_LEVEL=255 -g withoutroot -d -M cantiand -c -Z _SYS_PASSWORD=Huawei@123 -Z SESSIONS=1000
Checking runner.
Checking parameters.
End check parameters.
Checking old install.
End check old install.
Checking kernel parameters.
Error: The invalid IP address is 127.0.0.1. ret_code : 0, stdout : 0
Please refer to install log "/home/cantiandba/logs/install.log" for more detailed information.

网卡信息如下:
[root@master01 Cantian-DATABASE-CENTOS-64bit]# ifconfig
br-f55e81f40935: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.0.1 netmask 255.255.0.0 broadcast 192.168.255.255
inet6 fe80::42:caff:fe1c:8cb2 prefixlen 64 scopeid 0x20
ether 02:42:ca:1c:8c:b2 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3 bytes 206 (206.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

cni0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1450
inet 10.244.0.1 netmask 255.255.255.0 broadcast 10.244.0.255
inet6 fe80::d0ee:7cff:fe0c:272f prefixlen 64 scopeid 0x20
ether d2:ee:7c:0c:27:2f txqueuelen 1000 (Ethernet)
RX packets 21652266 bytes 3364942346 (3.1 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 21899308 bytes 2384586613 (2.2 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet6 fe80::42:21ff:fef4:f2b prefixlen 64 scopeid 0x20
ether 02:42:21:f4:0f:2b txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 652 (652.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.6.231 netmask 255.255.240.0 broadcast 192.168.15.255
inet6 fe80::f816:3eff:fec2:34f4 prefixlen 64 scopeid 0x20
ether fa:16:3e:c2:34:f4 txqueuelen 1000 (Ethernet)
RX packets 62297222 bytes 29484535792 (27.4 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 52173604 bytes 141848650740 (132.1 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.25.196 netmask 255.255.240.0 broadcast 192.168.31.255
inet6 fe80::f816:3eff:fead:c468 prefixlen 64 scopeid 0x20
ether fa:16:3e:ad:c4:68 txqueuelen 1000 (Ethernet)
RX packets 339 bytes 72152 (70.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 949 bytes 83010 (81.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

flannel.1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1450
inet 10.244.0.0 netmask 255.255.255.255 broadcast 0.0.0.0
inet6 fe80::64c8:a3ff:fe98:3a7f prefixlen 64 scopeid 0x20
ether 66:c8:a3:98:3a:7f txqueuelen 0 (Ethernet)
RX packets 15750844 bytes 1419835581 (1.3 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 15596239 bytes 2868043638 (2.6 GiB)
TX errors 0 dropped 708 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 400528704 bytes 204078835367 (190.0 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 400528704 bytes 204078835367 (190.0 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth7cf7c82e: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1450
inet6 fe80::904d:78ff:fe63:b05d prefixlen 64 scopeid 0x20
ether 92:4d:78:63:b0:5d txqueuelen 0 (Ethernet)
RX packets 10828509 bytes 1835192489 (1.7 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 10961400 bytes 1193307714 (1.1 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

vethc04e5a4e: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1450
inet6 fe80::e89d:9ff:fed2:4a24 prefixlen 64 scopeid 0x20
ether ea:9d:09:d2:4a:24 txqueuelen 0 (Ethernet)
RX packets 10823759 bytes 1832881665 (1.7 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 10937914 bytes 1191279163 (1.1 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

评论 (2)

lijiulong 创建了任务

Hi lijiulong1997, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: DB, and any of the maintainers: @陈棋德 , @ZhengZhenyu , @xicoding , @guopingjing , @shangj , @公子小伟 , @liangyuansheng , @zgqhope , @biaoqin , @monkeyli888 , @openeuler-ci-bot

openeuler-ci-bot 添加了
 
sig/DB
标签
lijiulong 修改了描述

[root@master01 cantian]# cat /proc/version
Linux version 5.10.0-182.0.0.95.oe2203sp3.aarch64 (root@dc-64g.compass-ci) (gcc_old (GCC) 10.3.1, GNU ld (GNU Binutils) 2.37) #1 SMP Sat Dec 30 13:16:24 CST 2023
[root@master01 cantian]# docker version
Client:
Version: 18.09.0
EulerVersion: 18.09.0.300
API version: 1.39
Go version: go1.17.3
Git commit: aa1eee8
Built: Wed Mar 30 05:48:47 2022
OS/Arch: linux/arm64
Experimental: false

Server:
Engine:
Version: 18.09.0
EulerVersion: 18.09.0.300
API version: 1.39 (minimum version 1.12)
Go version: go1.17.3
Git commit: aa1eee8
Built: Tue Mar 22 00:00:00 2022
OS/Arch: linux/arm64
Experimental: false

os和docker版本如上, 进入cantian_dev容器中, 发现没有ping命令

测试环境和基准环境不是很吻合, 准备更换环境后重试。

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/openeuler/cantian.git
git@gitee.com:openeuler/cantian.git
openeuler
cantian
cantian

搜索帮助