Description of problem: When accessing "cloud_tenants" or "flavors" subcollection on infrastructure provider the request fails with internal server error: { "error": { "kind": "internal_server_error", "message": "undefined method `cloud_tenants' for #<ManageIQ::Providers::Vmware::InfraManager:0x0000001162c120>\nDid you mean? cloud_subnets", "klass": "NoMethodError" } } and { "error": { "kind": "internal_server_error", "message": "undefined method `flavors' for #<ManageIQ::Providers::Vmware::InfraManager:0x00000010d40c78>", "klass": "NoMethodError" } } Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. add infrastructure provider 2. request the "cloud_tenants" or "flavors" subcollection GET /api/providers/:id/cloud_tenants GET /api/providers/:id/flavors
https://github.com/ManageIQ/manageiq-api/pull/321
New commit detected on ManageIQ/manageiq-api/master: https://github.com/ManageIQ/manageiq-api/commit/6fc044ede5c14688eb12b2436880f292f9e32486 commit 6fc044ede5c14688eb12b2436880f292f9e32486 Author: Jillian Tullo <jtullo> AuthorDate: Wed Feb 14 09:02:08 2018 -0500 Commit: Jillian Tullo <jtullo> CommitDate: Wed Feb 14 09:02:08 2018 -0500 Infra providers do not have cloud_tenants or flavors, causing a 500 error to be returned when they are requested. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1545240 app/controllers/api/subcollections/cloud_tenants.rb | 2 +- app/controllers/api/subcollections/flavors.rb | 2 +- spec/requests/cloud_tenants_spec.rb | 12 ++++++++++++ spec/requests/flavors_spec.rb | 10 ++++++++++ 4 files changed, 24 insertions(+), 2 deletions(-)
Is this bug going to be fixed in 5.9? I have 5.9.4.0 installed and the bug is still present in there.
FIXED. Verified on 5.10.0.22.20181030184024_26956a0.