已关闭
[Bug]: 7.0.0 在main分支容器部署报错 #28
zhangxubo创建于  14 天前关闭于  4 天前
zhangxubo
zhangxubo成员
14 天前 创建

测试类型

工具功能

测试版本

7.0.0LTS

问题描述

[Bug]: 7.0.0 在main分支容器部署报错

操作系统和硬件信息

all

测试环境

轻量版容器化

被测功能

容器+CM组件部署

预置条件

操作步骤

基于main分支,构建700包+CM,部署1主2备容器

预期输出

实际输出

容器启动失败

日志信息

有3个错误:

  1. 700部分三方库日落,需要容器安装依赖 yum install -y bzip2 curl libaio shadow tar jemalloc-devel libcgroup-devel libcurl-devel libedit-devel libxml2-devel lz4-devel numactl-devel unixODBC-devel zstd java-1.8.0-openjdk-devel openssl-devel wget unzip openblas-devel
  2. 可能存在ulimit不足,需要指定 docker run -d -it -P --sysctl kernel.sem="250 6400000 1000 25600" --ulimit nofile=1000000:1000000
  3. 备机build失败,pghba.conf需要添加replication认证
    gs_guc reload -D /var/lib/opengauss/data -h 'host replication omm 20.20.20.224/32 trust'

提单组织

测试团队

测试代码

likedislike
zhangxubozhangxubo成员
14 天前 添加了label:bug
opengauss_bot
opengauss_bot成员
14 天前 评论:

This issue requires an assignee. Since you haven't specified one, we've assigned TestManager as the default assignee for this issue.

likedislike
opengauss_botopengauss_bot成员
14 天前 将 TestManager 设为负责人
opengauss_botopengauss_bot成员
14 天前 添加了label:sig/Community
opengauss_bot
opengauss_bot成员
14 天前 评论:

Welcome To openGauss Community

Hey @zhangxubo , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.

Contact Guide

If you have any questions, please contact the SIG: Community ,
and any of the maintainers: @CarrotGo, @chendong76, @chenxiaobin19, @congzhou2603, @dodders, @hwworkholic, @jemappellehc, @libiao2024, @muyulinzhong, @quemingjian, @shenzheng4, @shirley_zhengx, @superlchf, @totaj, @wlff234, @wofanzheng, @ywzq1161327784 ,
and any of the committers: @libiao2024, @zhangxubo .

likedislike
zhangxubozhangxubo成员
14 天前 将 zhangxubo 设为负责人
zhangxubozhangxubo成员
14 天前 移除了负责人 TestManager
sungang14sungang14成员
13 天前 关联了看板:openGauss 7.0.0-LTS
zhangxubozhangxubo成员
11 天前 关联了pull request:适配7.0.0带CM容器构建安装
zhangxubozhangxubo成员
11 天前 关联了pull request:适配7.0.0安装
zhangxubo
zhangxubo成员
7 天前 评论:

20260909 自测:

编译后运行:
sh buildDockerImage.sh -i -v 7.0.0

primary_nodeip="20.20.20.54"
standby1_nodeip="20.20.20.56"
primary_nodename=primary
standby1_nodename=standby1

OG_NETWORK=host
GS_PASSWORD=test@123

docker run -d -it -P  --sysctl kernel.sem="250 6400000 1000 25600" --ulimit nofile=1000000:1000000 --security-opt seccomp=unconfined  --name opengauss-01 --net ${OG_NETWORK}  -h=$primary_nodename -e primaryhost="$primary_nodeip" -e primaryname="$primary_nodename" -e standbyhosts="$standby1_nodeip" -e standbynames="$standby1_nodename" -e GS_PASSWORD=$GS_PASSWORD -v /usr2/zxb/cmtest:/var/lib/opengauss -e dbport=22100 -e cmport=22200 opengauss-cm:7.0.0

primary_nodeip="20.20.20.54"
standby1_nodeip="20.20.20.56"
primary_nodename=primary
standby1_nodename=standby1

OG_NETWORK=host
GS_PASSWORD=test@123

docker run -d -it -P  --sysctl kernel.sem="250 6400000 1000 25600" --ulimit nofile=1000000:1000000 --security-opt seccomp=unconfined  --name opengauss-02 --net ${OG_NETWORK}  -h=$standby1_nodename -e primaryhost="$primary_nodeip" -e primaryname="$primary_nodename" -e standbyhosts="$standby1_nodeip" -e standbynames="$standby1_nodename" -e GS_PASSWORD=$GS_PASSWORD -v /usr2/zxb/cmtest:/var/lib/opengauss  -e dbport=22100 -e cmport=22200 opengauss-cm:7.0.0


image.png

likedislike
zhangxubozhangxubo成员
7 天前 issue状态由 待办的 改变为 待回归
sungang14
sungang14成员
4 天前 评论:

【回归人员】sungang14
【回归日期】2026.9.12
【回归版本】openGauss 7.0.0B023
【回归结论】通过
【回归步骤】
7.0.0 在main分支带cm三节点容器部署成功
image.png
image.png
image.png

image.png

likedislike
sungang14sungang14成员
4 天前 issue状态由 待回归 改变为 已验收
sungang14sungang14成员
4 天前 关闭了 issue