Bug 1677575 - [RFE] Support Export/Import of Domain with Ansible Method
Summary: [RFE] Support Export/Import of Domain with Ansible Method
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.11.0
Assignee: Patrik Kománek
QA Contact: Ganesh Hubale
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On: 1677548
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-15 09:34 UTC by Loic Avenel
Modified: 2019-12-12 13:35 UTC (History)
8 users (show)

Fixed In Version: 5.11.0.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-12 13:35:26 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:
mfeifer: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:4199 0 None None None 2019-12-12 13:35:51 UTC

Description Loic Avenel 2019-02-15 09:34:21 UTC
[RFE] Support Export/Import of Domain with Ansible Method

Comment 1 Tina Fitzgerald 2019-02-15 15:31:06 UTC
Hi Patrik,

This is what we discussed the other day.
 
We decided to implement this by modifying the UI code to capture unique values for these fields:

repository
playbook
credentials
vault credentials

Please let me know if you have any questions.

Thanks,
Tina

Comment 3 Patrik Kománek 2019-05-22 12:21:49 UTC
fixed in PR: https://github.com/ManageIQ/manageiq-automation_engine/pull/303

Comment 5 Ganesh Hubale 2019-05-25 03:48:37 UTC
Hi Patrik and Tina,

Please provide test steps for verifying this RFE. It will be very helpful to verify this BZ.

Thanks, 
Ganesh

Comment 6 Patrik Kománek 2019-05-27 11:37:11 UTC
Steps for QE:
1) Go to Automation -> Automate -> Explorer ... and create a new automate method wit playbook type. 
2) Fill the required fields, for instance repository and playbook. You can create these fields by using the UI or rails console (before step 1).
   (there are 5 fields, which will be converted: repository, playbook, credentials, vault credentials, cloud credentials)
3) Go to Automation -> Automate -> Import/Export .... and click on the datastore export.
   -> You can check, that these 5 playbook method fields are stored as a names insted of IDs.
4) Go to Automation -> Automate -> Import/Export .... and select the exported file and import it.
   -> In case where you have all linked objects with the same name the import will be successful. 
   -> In other case(you can remove the linked object) you will get the error with specific error message for every invalid attribute. 
   -> You can also modify the exported file and change these name fields to something else to be able to produce the error messages.

Comment 7 Ganesh Hubale 2019-05-27 14:28:47 UTC
Embedded Ansible role is not getting enabled on 5.11.0.5
Waiting for this BZ to get fixed: https://bugzilla.redhat.com/show_bug.cgi?id=1677548

Comment 9 Ganesh Hubale 2019-07-22 12:29:13 UTC
Fixed!

Verified on version: 5.11.0.15.20190718144823_3d0108f

Comment 12 errata-xmlrpc 2019-12-12 13:35:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:4199


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