Bug 1652883
Summary: | ancestry not set for ansible items part of a service bundle | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Felix Dewaleyne <fdewaley> |
Component: | API | Assignee: | Keenan Brock <kbrock> |
Status: | CLOSED NOTABUG | QA Contact: | Parthvi Vala <pvala> |
Severity: | medium | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> |
Priority: | medium | ||
Version: | 5.9.5 | CC: | dmetzger, fdewaley, jocarter, jprause, lavenel, obarenbo, pvala, vaclav.miller |
Target Milestone: | GA | ||
Target Release: | 5.10.6 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-11 18:35:43 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1704905 |
Description
Felix Dewaleyne
2018-11-23 11:43:21 UTC
*** Bug 1652880 has been marked as a duplicate of this bug. *** Not totally sure we should be looking at the ancestry field here. It is more of an internal thing. I'm currently looking into how the consumer of the api can best know about these relationships Services are related to other services in one of 2 ways: - For ServiceTemplates, service_resources is used (as seen by Ansible tower items) - For Services, ancestry is used (as seen by AWS Orchestration). I'm under the impression that a service template may be a "child" of multiple service templates, so service_resources is used instead. I suggest using parent_services instead of ancestry. It understands the nuances here and will tell you the relationship between these catalog items. Also, ancestry is more of an internal field and my possibly change in usage over time (though there are not immediate plans to do so) |