Script for checking containers readiness is buggy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Aleksandr Didenko |
Bug Description
My log:
rsync is ready.
checking container astute
checking with command "shell_container astute ps aux | grep -q 'astuted'"
checking with command "curl -f -L -u naily:naily -s http://
checking with command "curl -f -L -u naily:naily -s http://
try number 1
return code is
try number 2
return code is
try number 3
.....
try number 240
return code is
try number 241
return code is
checking with command "curl -f -L -u naily:naily -s http://
astute is ready.
Expected:
1) return code is shown, it is not space
2) astute obviously was not ready, as we exceeded all retries.
Issues are in checker code:
https:/
for first issue, and for second one - we run all following checks, and from following checks we receive failure=0, which overrides global variable.
Changed in fuel: | |
assignee: | Vladimir Kuklin (vkuklin) → Alexander Didenko (adidenko) |
Changed in fuel: | |
status: | New → In Progress |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
Initial issue with checks is being fixed by https:/ /review. openstack. org/#/c/ 93913/.