10 Star 3 Fork 46

src-openEuler / openvswitch

 / 详情

【20.03-LTS-SP3】【arm/x86】openvswitch-ipsec.service启动失败;ovn-controller-vtep.service停止有错误日志ovn-ctl[12958]: [FAILED]

已验收
缺陷
创建于  
2021-11-30 10:02

【环境信息】
cat /etc/openEuler-latest
openeulerversion=openEuler-20.03-LTS-SP3
compiletime=2021-11-22-21-37-44
gccversion=7.3.0-20210628.42.oe1
kernelversion=4.19.194-2106.1.0.0088.oe1
openjdkversion=1.8.0.312.b07-5.oe1
【问题复现步骤】
1.openvswitch-ipsec.service:
systemctl start openvswitch-ipsec.service
systemctl status openvswitch-ipsec.service
2.ovn-controller-vtep.service:
systemctl start ovn-controller-vtep.service
systemctl status ovn-controller-vtep.service
systemctl stop ovn-controller-vtep.service
systemctl status ovn-controller-vtep.service
【预期结果】
1.openvswitch-ipsec.service:启动成功,且无错误信息
2.ovn-controller-vtep.service:停止成功,且无错误信息
【实际结果】
1.openvswitch-ipsec.service:启动失败: ImportError: No module named ovs.daemon
输入图片说明
2.ovn-controller-vtep.service:停止失败:ovn-ctl[12958]: [FAILED]
输入图片说明
【附件信息】
比如系统message日志/组件日志、dump信息、图片等

评论 (3)

erin_dan 创建了缺陷

Hi erin_dan, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at
https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md.
If you have any questions, please contact the SIG: Networking, and any of the maintainers: @Randy.Wang, @seuzw, @luzhihao, @Apricity.

openeuler-ci-bot 添加了
 
sig/Networking
标签
erin_dan 关联分支设置为openEuler-20.03-LTS-SP3
erin_dan 负责人设置为small_leek

openvswitch-ipsec.service启动失败:ImportError: No module named ovs.daemon,失败原因是ovs-moniter-ipsec import ovs.daemon时找不到ovs模块,查看该文件发现该文件指定python解释器为python2,在/usr/lib/python2.7/site-packages/下面不存在ovs模块,ovs模块由openvswitch子包提供,存在与/usr/share/openvswitch/python/路径下。新增补丁,在ovs-moniter-ipsec文件指定ovs模块导入路径。

ovn-controller-vtep.service:停止失败:ovn-ctl[12958]: [FAILED]
这里失败是因为是在root用户下启动停止服务,但是ovn-controller-vtep.service服务应该在普通用户下操作。
http://www.openvswitch.org/support/dist-docs-2.5/ovn-ctl.8.html

1.openvswitch-ipsec.service 验收通过
输入图片说明
2.ovn-controller-vtep.service 验收通过
输入图片说明

erin_dan 任务状态已完成 修改为已验收

登录 后才可以发表评论

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

搜索帮助