[Bug 853345] New: Hawk crash - "undefined method `[]=' for nil:NilClass" for Cluster attributes
https://bugzilla.novell.com/show_bug.cgi?id=853345 https://bugzilla.novell.com/show_bug.cgi?id=853345#c0 Summary: Hawk crash - "undefined method `[]=' for nil:NilClass" for Cluster attributes Classification: openSUSE Product: openSUSE Factory Version: 13.2 Milestone 0 Platform: x86-64 OS/Version: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: High Availability AssignedTo: lmb@suse.com ReportedBy: philipp.marek@linbit.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 Iceweasel/25.0 # rpm -qa | grep hawk hawk-0.6.1+git.1376993239.ab692f7-3.1.x86_64 hawk-templates-0.6.1+git.1376993239.ab692f7-3.1.x86_64 Clicking on cluster attributes gives me this crash log: Started GET "/cib/hawk-hacluster/crm_config/cib-bootstrap-options" for ... Processing by CrmConfigController#show as HTML Parameters: {"cib_id"=>"hawk-hacluster", "id"=>"cib-bootstrap-options"} Redirected to https://...:7630/cib/hawk-hacluster/crm_config/cib-bootstrap-options/edit Completed 302 Found in 1421ms Started GET "/cib/hawk-hacluster/crm_config/cib-bootstrap-options/edit" for ... Processing by CrmConfigController#edit as HTML Parameters: {"cib_id"=>"hawk-hacluster", "id"=>"cib-bootstrap-options"} Rendered crm_config/edit.html.erb within layouts/main (281.5ms) Completed 500 Internal Server Error in 1819ms ActionView::Template::Error (undefined method `[]=' for nil:NilClass): 14: $(function() { 15: $("#crm_config").panel({ label: "<%=h escape_javascript _('CRM Configuration') %>", menu_icon: url_root + "/assets/tran 16: $("#crm_config").panel("body_element").attrlist({ 17: all_attrs: <%= @crm_config.all_props["crm_config"].to_json.html_safe %>, 18: set_attrs: <%= Hash[@crm_config.props["crm_config"].select{|n,v| 19: # Don't include unknown, readonly or advanced properties 20: @crm_config.all_props["crm_config"][n] && !@crm_config.all_props["crm_config"][n][:readonly] && !@crm_config.all_ app/models/crm_config.rb:197:in `block in all_props' app/models/crm_config.rb:196:in `each' app/models/crm_config.rb:196:in `all_props' app/views/crm_config/edit.html.erb:17:in `_app_views_crm_config_edit_html_erb__3360018238315591323_23290800' app/controllers/application_controller.rb:105:in `inject_current_user_into_invoker' lib/per_request_cache.rb:26:in `call' Reproducible: Always Steps to Reproduce: 1. Click on "Cluster Attributes" 2. See error message. Actual Results: error message Expected Results: GUI OpenSuSE Factory installtion. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853345 https://bugzilla.novell.com/show_bug.cgi?id=853345#c Lars Marowsky-Bree <lmb@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium CC| |lmb@suse.com AssignedTo|lmb@suse.com |tserong@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853345 https://bugzilla.novell.com/show_bug.cgi?id=853345#c Tim Serong <tserong@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853345 https://bugzilla.novell.com/show_bug.cgi?id=853345#c1 Tim Serong <tserong@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #1 from Tim Serong <tserong@suse.com> 2013-12-03 12:34:01 UTC --- This is fixed in hawk-0.6.1+git.1384513700.b11f8c7, but that version was only accepted into openSUSE:Factory some time in the last day or so, and I don't know when it'll hit the regular Factory download repo. It's up-to-date in network:ha-clustering:Factory now though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853345 https://bugzilla.novell.com/show_bug.cgi?id=853345#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:57861:low -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853345 https://bugzilla.novell.com/show_bug.cgi?id=853345#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:57861:low |maint:running:57861:low | |maint:released:sle11-sp3:58 | |114 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853345 https://bugzilla.novell.com/show_bug.cgi?id=853345#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:57861:low |maint:released:sle11-sp3:58 |maint:released:sle11-sp3:58 |114 |114 | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853345 https://bugzilla.novell.com/show_bug.cgi?id=853345#c4 --- Comment #4 from Swamp Workflow Management <swamp@suse.de> 2014-08-13 12:44:17 UTC --- SUSE-RU-2014:0995-1: An update that has 48 recommended fixes can now be installed. Category: recommended (low) Bug References: 695440,804763,821124,845525,846449,847005,850589,851990,853345,854039,854050,854172,854423,856135,856353,858721,859683,860169,862319,862383,862572,863071,863527,865260,866618,867039,867048,868986,870696,871098,871175,872287,872290,872655,873970,877484,877640,878128,878362,878597,878662,879034,879934,880258,880520,881321,881884,884079 CVE References: Sources used: SUSE Linux Enterprise Software Development Kit 11 SP3 (src): libqb-0.17.0-0.7.6 SUSE Linux Enterprise High Availability Extension 11 SP3 (src): cluster-glue-1.0.11-0.23.1, corosync-1.4.7-0.19.6, crmsh-1.2.6-0.35.11, hawk-0.6.3-0.18.10, libqb-0.17.0-0.7.6, openais-1.1.4-5.19.7, pacemaker-1.1.11-0.7.53, pacemaker-mgmt-2.1.2-0.15.12, resource-agents-3.9.5-0.34.57, sleha-bootstrap-0.3-0.28.6 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com