Bug 1395784

Summary: The undercloud-tokenflush validation passes with a commented-out entry
Product: Red Hat OpenStack Reporter: Tomas Sedovic <tsedovic>
Component: openstack-tripleo-validationsAssignee: Florian Fuchs <flfuchs>
Status: CLOSED CURRENTRELEASE QA Contact: Ola Pavlenko <opavlenk>
Severity: low Docs Contact:
Priority: low    
Version: 10.0 (Newton)CC: jjoyce, jschluet, opavlenk, slinaber, tvignaud
Target Milestone: ---   
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-05 13:15:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tomas Sedovic 2016-11-16 16:16:46 UTC
Description of problem:

When the keystone crontab value contains `keystone-manage token_flush`, but it's commented out, the validation is still passing.

Version-Release number of selected component (if applicable):


How reproducible:

always

Steps to Reproduce:
1. Run: `sudo crontab -e -u keystone`
2. Find the line with `keystone-manage token_flush` or add this if it doesn't exist: `1 0 * * * keystone-manage token_flush >>/dev/null 2>&1`
3. Comment the token_flush line out

Actual results:

The validation passes.


Expected results:

The validation should fail as the value is commented out.


Additional info:

Comment 1 Ola Pavlenko 2017-06-05 13:15:32 UTC
Fixed in RHOS11