idrac 0.7.3 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/idrac/client.rb +5 -2
- data/lib/idrac/storage.rb +0 -1
- data/lib/idrac/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5d9f47c5b6977ccd41e8b66160b0ade16acfc79cd02f0f75d297debd907b8cc
|
4
|
+
data.tar.gz: d0315c204e73a98fbe72343d5f678d240edb39814cd9aecee1dec47485a7c4b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f53dca88f3bebdb95bee03a4447b73a72f6a9022eba6ef0c2db492f417a46812e17bd6f99580af080aefdc84960f2eaa84458ec7a978d16ee74bd6cb51121c69
|
7
|
+
data.tar.gz: 8e5e9cb9e157fb8f71f05f0efbcf02887c2b09bf7acdaa0cbd416d0acccb80f06b3170c931ec319a9aaf129ef7fadce36a53ee8ca7c52de565d21e891b143023
|
data/README.md
CHANGED
@@ -218,6 +218,9 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
218
218
|
|
219
219
|
## Changelog
|
220
220
|
|
221
|
+
### Version 0.7.4
|
222
|
+
- Added tolerance fol SSL Timeout errors during iDRAC operations.
|
223
|
+
|
221
224
|
### Version 0.7.3
|
222
225
|
- Improved error handling around SystemConfigurationProfile.
|
223
226
|
|
data/lib/idrac/client.rb
CHANGED
@@ -148,12 +148,16 @@ module IDRAC
|
|
148
148
|
end
|
149
149
|
|
150
150
|
return response
|
151
|
-
rescue Faraday::ConnectionFailed, Faraday::TimeoutError => e
|
151
|
+
rescue Faraday::ConnectionFailed, Faraday::TimeoutError, Faraday::SSLError => e
|
152
|
+
# Old iDRACs (e.g. R630s) can have occasional connection issues--even SSLError is common
|
152
153
|
debug "Connection error in direct mode: #{e.message}", 1, :red
|
153
154
|
sleep(retry_count + 1) # Add some delay before retry
|
154
155
|
return _perform_authenticated_request(method, path, options, retry_count + 1)
|
155
156
|
rescue => e
|
157
|
+
debugger
|
156
158
|
debug "Error during direct mode request: #{e.message}", 1, :red
|
159
|
+
# sleep(retry_count + 1) # Add some delay before retry
|
160
|
+
# return _perform_authenticated_request(method, path, options, retry_count + 1)
|
157
161
|
raise Error, "Error during authenticated request: #{e.message}"
|
158
162
|
end
|
159
163
|
# Use Redfish session token if available
|
@@ -395,7 +399,6 @@ module IDRAC
|
|
395
399
|
|
396
400
|
# Check final task state
|
397
401
|
if task["TaskState"] == "Completed" && task["TaskStatus"] == "OK"
|
398
|
-
debugger
|
399
402
|
return { status: :success }
|
400
403
|
elsif task["SystemConfiguration"] # SystemConfigurationProfile requests yield a 202 with a SystemConfiguration key
|
401
404
|
return task
|
data/lib/idrac/storage.rb
CHANGED
data/lib/idrac/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: idrac
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Siegel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-05-
|
11
|
+
date: 2025-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|