Skip to content

Commit

Permalink
Fix bsc#1163381
Browse files Browse the repository at this point in the history
Hawk2 returns "Low level server error occurred" after authentication if a resource has the same name as a node"
  • Loading branch information
MalloZup committed Jul 30, 2020
1 parent fadd1ef commit 1c81761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hawk/app/models/cib.rb
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ def initialize(id, user, use_file = false, stonithwarning = false)
end

# check for guest nodes
if state == :master || state == :started
if lrm_resource.attributes['container'].nil? && (state == :master || state == :started)
on_node = op.attributes['on_node']
@nodes.select { |n| n[:uname] == rsc_id }.each do |guest|
guest[:host] = node[:uname]
Expand Down

0 comments on commit 1c81761

Please sign in to comment.