Description of problem: Error message when going to Reconfigure of Instance dialog page. Version-Release number of selected component (if applicable): master branch of upstream repos of manageiq, manageiq-ui-classic, manageiq-providers-openstack How reproducible: Always Steps to Reproduce: 1. Have a VM in OpenStack 2. Go to detail page of that VM 3. Click on "Configuration" in toolbar, then "Reconfigure this instance" Actual results: Page with error message "undefined method `find_by' for "admin":String [vm/resize]" Expected results: Page with dialog for reconfiguring of VM. Additional info: The same page (and error) can be accessed via list of VMs, selecting VM and clicking on "Configuration" in toolbar, then "Reconfigure selected instance" Solved by https://github.com/ManageIQ/manageiq-ui-classic/pull/1139 Comments of upstream PR contains screenshots.
Same here as see alsos, osp only or something we are missing?
This is OSP only.
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/52c029d8999a5859c92b57efedff57bdfe171a18 commit 52c029d8999a5859c92b57efedff57bdfe171a18 Author: Petr Blaho <pblaho> AuthorDate: Mon Apr 24 15:19:06 2017 +0200 Commit: Petr Blaho <pblaho> CommitDate: Mon Apr 24 20:09:23 2017 +0200 Use correct params for find_record_with_rbac in resize method find_record_with_rbac expects ActiveRecord like class as first parameter. During previous refactoring a mistake was introduced and session[:userid] was passed as first parameter and that caused "undefined method `find_by' for "admin":String [vm/resize]" when trying to go to reconfigure a VM dialog page. This corrects that. https://bugzilla.redhat.com/show_bug.cgi?id=1445005 app/controllers/application_controller/ci_processing.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Verified ======== 5.9.0.16