Exception not raised when install script failed in kubernetes_mgmt
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| tacker |
Fix Released
|
Low
|
LiangLu | ||
Bug Description
While running install script in kubernetes_mgmt, it will find 'Install Failed!\n' full match in stdout
https:/
elif type == 'install':
err = result.get_stderr()
if 'Install Failed!\n' in result.
return result.get_stdout()
However, we fixed error message in script at last minutes of merge that changed error message:
if [[ "$INSTALL_MODE" =~ "master" ]]; then
result=
if [[ -z "$result" ]];then
echo "Install Failed! The node does not in Kubernetes cluster."
exit 255
else
Thus a fix that fits both sides is needed
| Changed in tacker: | |
| importance: | Undecided → Low |
| assignee: | nobody → LiangLu (lianglu) |
I'm not sure importance of the bug actually because it's just a sample. However, It should be fixed anyway soon or later. I assigned you to the owner of the issue because you proposed the original change and reported it then. Please fix it when convenient. Thanks!