Bug 1698183
Summary: | [RFE] RedHat Domain vmware_best_placement_with_scope Automate method error "not an eligible resource for this provisioning instance". | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Tina Fitzgerald <tfitzger> | |
Component: | Provisioning | Assignee: | Patrik Kománek <pkomanek> | |
Status: | CLOSED NOTABUG | QA Contact: | Jaroslav Henner <jhenner> | |
Severity: | high | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> | |
Priority: | high | |||
Version: | 5.10.0 | CC: | dmetzger, gekis, jhardy, jhenner, jocarter, mshriver, obarenbo, pkomanek, sigbjorn, smallamp | |
Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
Target Release: | 5.12.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1784535 (view as bug list) | Environment: | ||
Last Closed: | 2020-03-20 15:38:00 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | Bug | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | CFME Core | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1784535 |
Description
Tina Fitzgerald
2019-04-09 18:29:09 UTC
This ticket opened as a result of discussions here: https://bugzilla.redhat.com/show_bug.cgi?id=1684472 Automate methods are not RBAC enabled by default. The Redhat domain vmware_best_placement_with_scope placement method iterates through the hosts and storages and could potentially select a host and/or storage that is not available due to RBAC filtering. The method does a prov.set_storage on the selected storage, and an error is issued if the storage is not eligible due to the RBAC filtering. The workaround is to enable/disable RBAC in the placement method as shown in this example: https://github.com/ManageIQ/manageiq-content/issues/297#issuecomment-389914285 Please assess the impact of this issue and update the severity accordingly. Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition. If it's something like a tracker bug where it doesn't matter, please set the severity to Low. Based on comment #3 should this ticket be closed "working as designed" and/or converted into an RFE? Hi Dennis, Converting the ticket to an RFE. Thanks, Tina Thank you Jaroslav for working with Patrik to validate this issue. |