Bug 1568384 - Unable to run ansible playbook method via Simulate
Summary: Unable to run ansible playbook method via Simulate
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.9.0
Hardware: All
OS: All
Target Milestone: GA
: 5.10.0
Assignee: Lucy Fu
QA Contact: Dmitry Misharov
Whiteboard: automate:ansible
Depends On:
Blocks: 1562782 1570821
TreeView+ depends on / blocked
Reported: 2018-04-17 11:57 UTC by Dmitry Misharov
Modified: 2019-02-11 14:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1570821 (view as bug list)
Last Closed: 2019-02-11 14:00:29 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:

Attachments (Terms of Use)

Description Dmitry Misharov 2018-04-17 11:57:47 UTC
Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Enable Embedded Ansible role.
2. Add an ansible repository.
3. Create an Automate Domain, namespace, class, instance.
4. Add an ansible playbook method.
5. Run the instance via Simulate.

Actual results:
An error is occurred "Automation Error: Couldn't find Authentication with 'id'="

Expected results:
The instance should run successfully.

Comment 4 CFME Bot 2018-04-18 21:16:28 UTC
New commit detected on ManageIQ/manageiq/master:

commit 236806fed3381bdd5e784349edac1bb51aee2bc3
Author:     Lucy Fu <lufu@redhat.com>
AuthorDate: Wed Apr 18 11:58:14 2018 -0400
Commit:     Lucy Fu <lufu@redhat.com>
CommitDate: Wed Apr 18 11:58:14 2018 -0400

    Check for the existence of credentials.


 app/models/manageiq/providers/embedded_ansible/automation_manager/playbook.rb | 2 +-
 spec/models/manageiq/providers/embedded_ansible/automation_manager/playbook_spec.rb | 16 +
 2 files changed, 17 insertions(+), 1 deletion(-)

Comment 6 Dmitry Misharov 2018-06-26 08:53:46 UTC
Fixed and verified in Ansible playbook can be run via Simulation.

Note You need to log in before you can comment on or make changes to this bug.