Bug #30548
openVMWare compute profile is providing wrong information when using hammer and api.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1784816
Description of problem:
Hammer compute profile info shows error >> undefined method `resource_pools' for nil:NilClass also we are getting Fog::Vsphere::Compute::NotFound error.
Due to compute resource cache compute profile is loading the old configurations irrespective of the missing or new configuration.
Disabling the compute resource cache fixed the issue and provide us correct information.
Version-Release number of selected component (if applicable):
satellite-6.6.0-7.el7sat.noarch
Actual results:
Hammer compute profile info failed with error >> undefined method `resource_pools' for nil:NilClass also we are getting Fog::Vsphere::Compute::NotFound error.
Expected results:
Hammer compute profile info should show the correct information.
Additional info:
Updated by Tomer Brisker almost 4 years ago
- Has duplicate Bug #32332: undefined method `resource_pools' for nil:NilClass when reading compute-profile added
Updated by Tomer Brisker almost 4 years ago
- Has duplicate Bug #28055: ActionView::Template::Error: undefined method `resource_pools' for nil:NilClass added