For neutron-l3-agent, after the execution of the linux command fails, it is not displayed which command failed to execute
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Wishlist
|
boluan ace |
Bug Description
For neutron-l3-agent, there are many scenarios where linux commands must be executed. When a linux command execution fails and an exception occurs, the exception information only shows the reason for the error, but it does not show which command was executed incorrectly, so it is difficult to locate the cause of the error.
For example, neutron-l3-agent fails to set floating ip, the error message is as follows:
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
2020-08-28 11:06:50.090 13 ERROR neutron.
But it is impossible to know which command execution error is, so it is difficult to troubleshoot the problem
Our expectation is similar to ProcessExecutio
summary: |
- Command detail is lost when command execution fails + For neutron-l3-agent, after the execution of the linux command fails, it + is not displayed which command failed to execute |
Changed in neutron: | |
assignee: | nobody → boluan ace (boluanace) |
Changed in neutron: | |
importance: | Undecided → Wishlist |
tags: | added: low-hanging-fruit |
Fix proposed to branch: master /review. opendev. org/749076
Review: https:/