Skip to content

Commit

Permalink
fixes #37486: allow foreman to talk BMC using Redfish without reachin…
Browse files Browse the repository at this point in the history
…g sessions limit
  • Loading branch information
neomilium authored and ekohl committed Jul 15, 2024
1 parent fa4e8d0 commit d287e3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bundler.d/bmc.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
group :bmc do
gem 'rubyipmi', '>= 0.10.0'
gem 'redfish_client', '>= 0.5.1'
gem 'redfish_client', '>= 0.6.0'
end
2 changes: 1 addition & 1 deletion modules/bmc/redfish.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def initialize(args)
end

def connect(args = { })
connection = RedfishClient.new("https://#{args[:host]}/", verify: @redfish_verify_ssl)
connection = RedfishClient.new("https://#{args[:host]}/", verify: @redfish_verify_ssl, use_session: false)
connection.login(args[:username], args[:password])
connection
end
Expand Down

0 comments on commit d287e3c

Please sign in to comment.