Failed to prepare a jvm experiment if the process creator‘s name is too long #236
Labels
chaosblade-cli
chaosblade project
chaosblade-exec-jvm
chaosblade-exec-jvm project
type/bug
Something isn't working
Milestone
Issue Description
Type: bug report
Describe what happened (or what feature you want)
When preparing a jvm experiment, if the java process creator's name is too long, then the jvm-sandbox injection failed and return:
{"code":604,"success":false,"error":"sudo: unknown user: testlongus+\nsudo: unable to initialize policy plugin\n exit status 1","result":"8590462124aae6f6"}"
such as,
![image](https://user-images.githubusercontent.com/35329229/69134362-55702e00-0af2-11ea-9fdd-86e1be5943f2.png)
![image](https://user-images.githubusercontent.com/35329229/69134377-5a34e200-0af2-11ea-8f67-8e9ebc19b07e.png)
Describe what you expected to happen
prepare successful
How to reproduce it (as minimally and precisely as possible)
2.Use blade to prepare with this java process.
Tell us your environment
Cent OS 7.x
Anything else we need to know?
The text was updated successfully, but these errors were encountered: