【标题描述】【20.03-LTS-SP2】【arm/x86】pushgateway服务stop有错误日志
【环境信息】
源:http://121.36.84.172/repo.openeuler.org/openEuler-20.03-LTS-SP2/EPOL/update_test_sp2/main/$basearch/
http://121.36.84.172/repo.openeuler.org/openEuler-20.03-LTS-SP2/update_test_sp2/$basearch/
如果有特殊组网,请提供网络拓扑图
【问题复现步骤】
具体操作步骤
dnf -y install pushgateway
systemctl start pushgateway
systemctl stop pushgateway
systemctl status pushgateway
出现概率(是否必现,概率性错误):必现
【预期结果】
stop不会出现错误日志
描述预期结果,可以通过对比新老版本获取
【实际结果】
描述出问题的结果
【附件信息】
比如系统message日志/组件日志、dump信息、图片等
Hi street_dust, 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: sig-CloudNative, and any of the maintainers: @yangzhao_kl, @Jianmin, @weibaohui, @biannm, @pixiake, @haomintsai, @haozi007.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
根据日志,可以知道打印的是main.go的196行的执行结果
194 go closeListenerOnQuit(l, quitCh, logger)
195 err = (&http.Server{Addr: *listenAddress, Handler: mux}).Serve(l)
196 level.Error(logger).Log("msg", "HTTP server stopped", "err", err)
日志级别为error,err为195行返回的字符串,没有什么报错,非问题
验证通过
登录 后才可以发表评论