Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1713971

Summary: mistral permission error prevents running any validation
Product: Red Hat OpenStack Reporter: Amit Ugol <augol>
Component: openstack-tripleo-commonAssignee: Adriano Petrich <apetrich>
Status: CLOSED DUPLICATE QA Contact: Alexander Chuzhoy <sasha>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15.0 (Stein)CC: gchamoul, jjoyce, jschluet, mburns, slinaber, tvignaud
Target Milestone: ---   
Target Release: ---   
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: 2019-05-27 08:29:34 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:
Embargoed:

Description Amit Ugol 2019-05-26 10:01:19 UTC
Description of problem:
Can't run openstack validations due to mistral validation error (calling for sudo without tty).

Version-Release number of selected component (if applicable):
openstack-tripleo-validations-10.4.1-0.20190505180357.9a2732d.el8ost.noarch
puppet-mistral-14.4.1-0.20190420123026.2394250.el8ost.noarch

How reproducible:100%


Steps to Reproduce:
1. . stackrc
2. openstack tripleo validator run --group prep

Actual results:

Output: Exception running validations: [{'result': 'Failure caused by error in tasks: send_message\n\n  send_message [task_ex_id=033f1019-a50a-46cf-b3a6-e145fa0416ff] -> Workflow failed due to message status. Status:FAILED Message:None\n    [wf_ex_id=e87379de-e6fc-4138-847d-f85c7937efd1, idx=0]: Workflow failed due to message status. Status:FAILED Message:None\n', 'status': 'FAILED', 'validation': '512e', 'stdout': '', 'stderr': 'sudo: unable to open /run/sudo/ts/mistral: Permission denied\n\nWe trust you have received the usual lecture from the local System\nAdministrator. It usually boils down to these three things:\n\n    #1) Respect the privacy of others.\n    #2) Think before you type.\n    #3) With great power comes great responsibility.\n\nsudo: no tty present and no askpass program specified\n'}, {'result': 'Failure caused by error in tasks: send_message\n\n  send_message [task_ex_id=45c5f846-15d2-42fa-8fb1-f08a7581ab2b] -> Workflow failed due to message status. Status:FAILED Message:None\n    [wf_ex_id=06b8ebd4-9f7c-46dd-baf2-e18ad8ef30be, idx=0]: Workflow failed due to message status. Status:FAILED Message:None\n', 'status': 'FAILED', 'validation': 'undercloud-cpu', 'stdout': '', 'stderr': 'sudo: unable to open /run/sudo/ts/mistral: Permission denied\n\nWe trust you have received the usual lecture from the local System\nAdministrator. It usually boils down to these three things:\n\n    #1) Respect the privacy of others.\n    #2) Think before you type.\n    #3) With great power comes great responsibility.\n\nsudo: no tty present and no askpass program specified\n'}, {'result': 'Failure caused by error in tasks: send_message\n\n  send_message [task_ex_id=d2cc4a07-23a7-4dea-8767-5b1630679804] -> Workflow failed due to message status. Status:FAILED Message:None\n    [wf_ex_id=fa598ae5-fcd5-452d-b20c-a2d45a950a66, idx=0]: Workflow failed due to message status. Status:FAILED Message:None\n', 'status': 'FAILED', 'validation': 'undercloud-disk-space', 'stdout': '', 'stderr': 'sudo: unable to open /run/sudo/ts/mistral: Permission denied\n\nWe trust you have received the usual lecture from the local System\nAdministrator. It usually boils down to these three things:\n\n    #1) Respect the privacy of others.\n    #2) Think before you type.\n    #3) With great power comes great responsibility.\n\nsudo: no tty present and no askpass program specified\n'}, {'result': 'Failure caused by error in tasks: send_message\n\n  send_message [task_ex_id=54d2beb2-f43c-4b27-8653-4ed1bd81bfca] -> Workflow failed due to message status. Status:FAILED Message:None\n    [wf_ex_id=0f0233ac-92ae-4b77-8884-c92ac0079a83, idx=0]: Workflow failed due to message status. Status:FAILED Message:None\n', 'status': 'FAILED', 'validation': 'undercloud-ram', 'stdout': '', 'stderr': 'sudo: unable to open /run/sudo/ts/mistral: Permission denied\n\nWe trust you have received the usual lecture from the local System\nAdministrator. It usually boils down to these three things:\n\n    #1) Respect the privacy of others.\n    #2) Think before you type.\n    #3) With great power comes great responsibility.\n\nsudo: no tty present and no askpass program specified\n'}, {'result': 'Failure caused by error in tasks: send_message\n\n  send_message [task_ex_id=27093f9d-6f62-45b7-8ecf-6abf6f6ef56e] -> Workflow failed due to message status. Status:FAILED Message:None\n    [wf_ex_id=de316eee-2c03-4a35-a23f-342b875af2a5, idx=0]: Workflow failed due to message status. Status:FAILED Message:None\n', 'status': 'FAILED', 'validation': 'undercloud-selinux-mode', 'stdout': '', 'stderr': 'sudo: unable to open /run/sudo/ts/mistral: Permission denied\n\nWe trust you have received the usual lecture from the local System\nAdministrator. It usually boils down to these three things:\n\n    #1) Respect the privacy of others.\n    #2) Think before you type.\n    #3) With great power comes great responsibility.\n\nsudo: no tty present and no askpass program specified\n'}]


Expected results:
Validations can be executed.

Additional info:

Comment 1 Gaƫl Chamoulaud 2019-05-27 08:29:34 UTC

*** This bug has been marked as a duplicate of bug 1710324 ***