129 Star 0 Fork 36

src-openEuler/podman

 / 详情

【openEuler-23.09 rc1 】【arm/x86 】podman-restart.service stop 失败

已取消
缺陷
创建于  
2023-08-28 10:23

【环境信息】
openeulerversion=openEuler-23.09
compiletime=2023-08-23-17-31-23
gccversion=12.3.1-7.oe2309
kernelversion=6.4.0-1.0.1.5.oe2309
openjdkversion=1.8.0.382.b05-0.oe2309
软件信息:
podman-1:4.5.1-1.oe2309
【问题复现步骤】
dnf install -y podman
systemctl start podman-restart.service
systemctl status podman-restart.service
systemctl stop podman-restart.service
systemctl status podman-restart.service
出现概率(是否必现,概率性错误):必现
【预期结果】
服务stop成功,并且没有报错
【实际结果】
服务stop失败
输入图片说明

评论 (6)

zhangpanting 创建了缺陷

Hi zhangpanting, 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: sig-CloudNative, and any of the maintainers: @weibaohui , @biannm , @pixiake , @haozi007 , @haomintsai , @yangzhao_kl , @Jianmin , @jiangxinyu , @leon wang

openeuler-ci-bot 添加了
 
sig/sig-CloudNative
标签
zhangpanting 负责人设置为yangzhao_kl
zhangpanting 计划截止日期设置为2023-08-29
zhangpanting 计划开始日期设置为2023-08-28
zhangpanting 计划截止日期2023-08-29 修改为2023-08-30
zhangpanting 优先级设置为主要

此issue与#I7WCXI:【openEuler-23.09 rc1 】【arm/x86 】podman.service 启动后状态为inactive相同,图中错误的原因是当前并没有运行中的容器。

此issue与#I7WCXI:【openEuler-23.09 rc1 】【arm/x86 】podman.service 启动后状态为inactive相同,图中错误的原因是当前并没有运行中的容器。

同样的操作 在22.03 lts sp2 版本 systemctl stop podman-restart.service 是正常的
输入图片说明
输入图片说明
@lijian

经测试,当存在启动容器为--restart=always时,可以正常停止podman-restart服务。
上游社区设计如此,建议保持一致。

输入图片说明
输入图片说明
输入图片说明

启动容器为--restart=always时,服务启停成功,与上游保持一致
输入图片说明
输入图片说明
输入图片说明

zhangpanting 任务状态待办的 修改为已取消

dnf install -y podman podman-docker
echo -e "[registries.search]
registries = ['docker.io']

[registries.insecure]
registries = []

[registries.block]
registries = []
" >/etc/containers/registries.conf
podman run --restart=always --name mynginx -d nginx:latest

登录 后才可以发表评论

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

搜索帮助

Cb406eda 1850385 E526c682 1850385