Bug 1595259
| Summary: | [RFE] Have the ability to export a generic object definition as well as namespace to be able to import | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Cyril Coupel <ccoupel> |
| Component: | UI - OPS | Assignee: | Patrik Kománek <pkomanek> |
| Status: | CLOSED ERRATA | QA Contact: | John Dupuy <jdupuy> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.9.0 | CC: | cpelland, gmccullo, hkataria, jdupuy, lavenel, mfeifer, mpovolny, obarenbo, simaishi, smallamp |
| Target Milestone: | GA | Keywords: | FutureFeature |
| Target Release: | 5.11.0 | Flags: | mfeifer:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 5.11.0.3 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-12-12 13:33:51 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | CFME Core | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Cyril Coupel
2018-06-26 12:46:02 UTC
There is a pattern setup that you can follow based on the work by Brant Evans. See https://github.com/ManageIQ/manageiq/pulls?utf8=%E2%9C%93&q=is%3Apr+author%3Abranic+ fixed in PR: https://github.com/ManageIQ/manageiq/pull/18688 Marking this as verified after testing on 5.11.0.6.20190528170806_83cadf2 Steps of verification: 1) Create a generic object class via UI 2) ssh into appliance 3) navigate to "/var/www/miq/vmdb" 4) Run "mkdir tmp/generic_object_definitions" 5) Run "bin/rake evm:export:generic_object_definitions -- --directory tmp/generic_object_definitions" 6) Verified that the exported yaml file was created with the correct details/properties. 7) Delete the generic object class via the UI 8) Run "bin/rake evm:import:generic_object_definitions -- --source tmp/generic_object_definitions" 9) Verified that the generic object was present in the UI and the details were correct. 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 |