Description of problem: Clicking on a Host's Services raises nil error exception: [----] I, [2015-07-10T06:56:36.925329 #8086:679990] INFO -- : Started GET "/host/host_services/1000000000001?db=host" for 127.0.0.1 at 2015-07-10 06:56:36 -0700 [----] I, [2015-07-10T06:56:36.982263 #8086:679990] INFO -- : Processing by HostController#host_services as HTML [----] I, [2015-07-10T06:56:36.982472 #8086:679990] INFO -- : Parameters: {"db"=>"host", "id"=>"1000000000001"} [----] F, [2015-07-10T06:56:37.106173 #8086:679990] FATAL -- : Error caught: [NoMethodError] undefined method `num_cpu' for nil:NilClass /home/dclarizio/dev/manageiq/app/controllers/application_controller.rb:1528:in `set_config' /home/dclarizio/dev/manageiq/app/controllers/host_controller.rb:14:in `show_association' /home/dclarizio/dev/manageiq/app/controllers/host_controller.rb:208:in `host_services' Version-Release number of selected component (if applicable): 5.4.0 How reproducible: Click on the Services link for a Host Actual results: Exception raised Expected results: Show the Host's services Additional info:
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/0d14e223c91c681e1343319a5802f3236104754a commit 0d14e223c91c681e1343319a5802f3236104754a Author: Harpreet Kataria <hkataria> AuthorDate: Fri Jul 10 11:27:50 2015 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Fri Jul 10 11:46:46 2015 -0400 Fixed code to use local variable instead of @record. - Added spec test to verify fix. https://bugzilla.redhat.com/show_bug.cgi?id=1241972 https://bugzilla.redhat.com/show_bug.cgi?id=1241987 app/controllers/application_controller.rb | 2 +- spec/controllers/application_controller_spec.rb | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-)
New commit detected on cfme/5.4.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=d8f143cdfc4cb104829998b5220cf94ba703b346 commit d8f143cdfc4cb104829998b5220cf94ba703b346 Author: Harpreet Kataria <hkataria> AuthorDate: Fri Jul 10 13:02:38 2015 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Fri Jul 10 13:02:38 2015 -0400 Fixed code to use local variable instead of @record. - Added spec test to verify fix. https://bugzilla.redhat.com/show_bug.cgi?id=1241972 https://bugzilla.redhat.com/show_bug.cgi?id=1241987 vmdb/app/controllers/application_controller.rb | 2 +- vmdb/spec/controllers/application_controller_spec.rb | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-)
New commit detected on cfme/5.4.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=5e08de36fea012740e4153dbff41eade9007a463 commit 5e08de36fea012740e4153dbff41eade9007a463 Merge: 0d44f0b d8f143c Author: Dan Clarizio <dclarizi> AuthorDate: Fri Jul 10 14:07:28 2015 -0400 Commit: Dan Clarizio <dclarizi> CommitDate: Fri Jul 10 14:07:28 2015 -0400 Merge branch 'host_services_fix_cherry_pick' into '5.4.z' Fixed code to use local variable instead of @record. - Added spec test to verify fix. https://bugzilla.redhat.com/show_bug.cgi?id=1241972 https://bugzilla.redhat.com/show_bug.cgi?id=1241987 @dclarizio please review, successfully applied patches from upstream cleanly onto 5.4.z See merge request !172 vmdb/app/controllers/application_controller.rb | 2 +- vmdb/spec/controllers/application_controller_spec.rb | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-)
Created attachment 1065288 [details] Host/service upstream_verified on master.20150820103403_01c1acf
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/RHSA-2015:2551