Description of problem: Using the Automate Import / Export if there is another domain available we're unable to import into a new empty domain. See attached screenshots, we would like to be able to import as an identically named domain (like what happens if no domains are available). Version-Release number of selected component (if applicable): 5.4.0 How reproducible: Steps to Reproduce: 1. import a new automate model with the ui and a custom domain is created based on the models name 2. if a second model is imported you have to select a domain then ui will not create another domain based on that models name. 3. Actual results: Expected results: Additional info:
Erik -
Let's try that again. Erik - For command line importing if you only specify the "domain you wish to import from" it will import into that same domain. Optionally, you can specify the IMPORT_AS to import into a different domain. See https://access.redhat.com/solutions/1225383 DOMAIN = Name of the exported domain (name of domain created will be the same). Specify "*" to import all exported domains. IMPORT_AS = (Optional) Name of the domain to create in the Automate database, the domain name can only be set when importing a single domain. The enhancement here would be to add (and I think default to) a new drop-down item like "<Same as import from>" for the "Select existing domain to import into:" field.
https://github.com/ManageIQ/manageiq/pull/3812
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/c0f3abcc8a07365913377cb8fe067a1889ba7137 commit c0f3abcc8a07365913377cb8fe067a1889ba7137 Author: Erik Clarizio <eclarizi> AuthorDate: Tue Aug 11 12:26:43 2015 -0700 Commit: Erik Clarizio <eclarizi> CommitDate: Tue Aug 11 13:22:59 2015 -0700 Allow importing into a new domain with the same name as import from https://bugzilla.redhat.com/show_bug.cgi?id=1248039 app/controllers/miq_ae_tools_controller.rb | 5 ++++- app/services/automate_import_service.rb | 2 +- spec/controllers/miq_ae_tools_controller_spec.rb | 20 ++++++++++++++++++++ spec/services/automate_import_service_spec.rb | 12 ++++++++++++ 4 files changed, 37 insertions(+), 2 deletions(-)
Good, verified in 0911 upstream build then.
Checked in 5.5.0.2-alpha1.1
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/RHSA-2015:2551