Bug 1438803 - create_provision_request method result : Multiple parents found
Summary: create_provision_request method result : Multiple parents found
Keywords:
Status: CLOSED DUPLICATE of bug 1379464
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: cfme-future
Assignee: Adam Grare
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks: 1485278
TreeView+ depends on / blocked
 
Reported: 2017-04-04 12:58 UTC by Gellert Kis
Modified: 2021-12-10 14:59 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1485278 (view as bug list)
Environment:
5.7.1.3
Last Closed: 2017-04-17 12:55:58 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 Greg McCullough 2017-04-04 13:24:30 UTC
This is actually a known issue in the providers area.

The resolution, as far as I am aware, is to run the following script on the appliance: tools/delete_ems_metadata_relationships.rb followed by a refresh of the providers.

There was a recent fix that should address this issue in the future: https://github.com/ManageIQ/manageiq/pull/14060

Sending to the Providers team to review and update.

Comment 5 Adam Grare 2017-04-17 12:55:58 UTC
Gellert there is a hotfix attached to https://bugzilla.redhat.com/show_bug.cgi?id=1428079#c6
I'm going to close this as a duplicate, can you try applying that hotfix and see if it resolves the issue?

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

Comment 9 Gellert Kis 2017-05-23 12:50:19 UTC
Hi Adam ,

This is different because bug 1379464 is appear when 
"When clicking on instances there is an error page displayed that states: Multiple parents found. [vm_cloud/explorer]"

but this bug is during service_template_provision_task .

Yes we run the script to cleanup multiple parents :
Customer have to run periodically the delete_ems_metadata_relationships.rb. 
 
- delete_ems_metadata_relationships.rb was run by a colleague on multiple occasions.

- Performed automate reset  : The automate domain of ManageIQ and 'Red Hat' are up to date.

- Running tools/delete_ems_metadata_relationships.rb : this script temporary give workaround ? yes .

Comment 10 Adam Grare 2017-05-23 13:40:32 UTC
Right you hit the error on a different page but the root cause is still the same as https://bugzilla.redhat.com/show_bug.cgi?id=1379464

You would have to have run the delete_ems_metadata_relationships.rb script after upgrading to 5.7.2.  The idea being that fix would prevent new multiple parent relationships from being created and running the script cleans up all the old ones.

If you did that and still hit an error please re-open https://bugzilla.redhat.com/show_bug.cgi?id=1379464 and attach logs and ideally a database dump.


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