【环境信息】
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信息、图片等
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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
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 验收通过
登录 后才可以发表评论