[OSTF] Test 'Check Keystone SSL certificate' always pass
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Fuel QA Team | ||
8.0.x |
Fix Released
|
High
|
Fuel QA Team |
Bug Description
Health check 'Check Keystone SSL certificate' always passes, because it tries to parse non-existing log file on controllers:
I added debug logging to the '_run_ssh_cmd' method, here is result:
2015-12-30 12:50:54 INFO (test_mixins) STEP:1, verify action: 'check ssl certificate on host'
2015-12-30 12:50:54 DEBUG (cloudvalidation) Executing "grep -E "Signing error: Error opening signer certificate (.+)signing_
2015-12-30 12:50:54 DEBUG (cloudvalidation) Done: ('', 'grep: /var/log/
2015-12-30 12:50:54 INFO (test_mixins) STEP:1, verify action: 'check ssl certificate on host'
2015-12-30 12:50:54 DEBUG (cloudvalidation) Executing "grep -E "Signing error: Error opening signer certificate (.+)signing_
2015-12-30 12:50:54 DEBUG (cloudvalidation) Done: ('', 'grep: /var/log/
2015-12-30 12:50:54 INFO (test_mixins) STEP:1, verify action: 'check ssl certificate on host'
2015-12-30 12:50:54 DEBUG (cloudvalidation) Executing "grep -E "Signing error: Error opening signer certificate (.+)signing_
2015-12-30 12:50:55 DEBUG (cloudvalidation) Done: ('', 'grep: /var/log/
2015-12-30 12:50:55 INFO (test_mixins) STEP:1, verify action: 'check ssl certificate on host'
2015-12-30 12:50:55 DEBUG (cloudvalidation) Executing "grep -E "Signing error: Error opening signer certificate (.+)signing_
2015-12-30 12:50:55 DEBUG (cloudvalidation) Done: ('', 'grep: /var/log/
...
2015-12-30 12:50:55 SUCCESS Check Keystone SSL certificate (fuel_health.
Also 'Check Keystone SSL certificate' must be at least renamed to something like 'Check there are no error in Keystone logs related SSL' or removed/disabled at all, because in current state it's totally useless and will make customers to think that Keystone is under SSL even when SSL is disabled (no certificate related errors in logs).
Changed in fuel: | |
milestone: | none → 9.0 |
assignee: | nobody → Fuel QA Team (fuel-qa) |
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
tags: |
added: area-ostf removed: module-ostf ostf |
Fix proposed to branch: master /review. openstack. org/262506
Review: https:/