Bug 1805979 - Use eligible storage methods in placement methods.
Summary: Use eligible storage methods in placement methods.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.11.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.11.4
Assignee: Tina Fitzgerald
QA Contact: Ganesh Hubale
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On: 1791390
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-21 18:48 UTC by Satoe Imaishi
Modified: 2020-03-25 04:06 UTC (History)
8 users (show)

Fixed In Version: 5.11.4.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1791390
Environment:
Last Closed: 2020-03-17 13:11:39 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:
pm-rhel: cfme-5.11.z+
simaishi: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:0867 0 None None None 2020-03-17 13:11:49 UTC

Comment 2 CFME Bot 2020-02-21 21:30:51 UTC
New commit detected on ManageIQ/manageiq-content/ivanchuk:

https://github.com/ManageIQ/manageiq-content/commit/267b4786c5231afd17a445ba4aafa0f0670de38f
commit 267b4786c5231afd17a445ba4aafa0f0670de38f
Author:     Greg McCullough <gmccullo>
AuthorDate: Thu Oct 10 14:08:17 2019 +0000
Commit:     Greg McCullough <gmccullo>
CommitDate: Thu Oct 10 14:08:17 2019 +0000

    Merge pull request #578 from pkomanek/eligible_storages_for_vmware_best_fit_least_utilized

    Eligible storages for placement methods

    (cherry picked from commit 957bbd973e3d0856c426004b8adb99eeb3d82659)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1805979

 content/automate/ManageIQ/Infrastructure/VM/Provisioning/Placement.class/__methods__/microsoft_best_fit_least_utilized.rb | 12 +-
 content/automate/ManageIQ/Infrastructure/VM/Provisioning/Placement.class/__methods__/vmware_best_fit_least_utilized.rb | 12 +-
 spec/automation/unit/method_validation/scvmm_microsoft_best_fit_least_utilized_spec.rb | 19 +-
 spec/content/automate/ManageIQ/Infrastructure/VM/Provisioning/Placement.class/__methods__/vmware_best_fit_least_utilized_spec.rb | 67 +-
 4 files changed, 46 insertions(+), 64 deletions(-)

Comment 3 Ganesh Hubale 2020-02-27 13:20:11 UTC
@Tina

Please help me to verify this BZ by providing testSteps and expectedResults.

Comment 5 Tina Fitzgerald 2020-02-27 17:48:21 UTC
Hi Jaroslav,

Patrik is working with Ganesh on validation steps for this issue.

Thanks,
Tina

Comment 8 Ganesh Hubale 2020-03-04 12:44:26 UTC
Discussed offline :)

With updates from Patrik, I can able to reproduce the issue and got this error in automation logs:

[----] E, [2020-03-04T06:56:11.019909 #7259:2b1b21c6f090] ERROR -- : Q-task_id([r4_miq_provision_4]) MiqAeServiceModelBase.ar_method raised: <RuntimeError>: <Resource <Storage> <8:env-esxi67-ims-h02_localdisk> is not an eligible resource for this provisioning instance.>


Hence verifying this BZ.

Thank you so much for help @Patrik

Comment 11 errata-xmlrpc 2020-03-17 13:11:39 UTC
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-2020:0867


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