Apply StorageGRID hotfix completes with errors due to connection failure
Applies to
Issue
- Applying hotfix completes with the following message:
StorageGRID hotfix deployment completed with errors: Failed to apply the update to one or more nodes
- All nodes are up and running with the applied hotfix version
- Error message is displayed in MAINTENANCE > Software update
An error occurred during the most recent StorageGRID hotfix. You must retry the StorageGRID hotfix before you can upgrade to a new StorageGRID release or upgrade SANtricity OS. If you cannot apply the hotfix, contact technical support.
- Particular storage node is in
Error
stage with the following message:
Error: Unable to connect to <STORAGE_NODE> on port 22: Connection refused - connect(2) for <STORAGE_NODE_IP>:22
gdu-server.log
in primary admin node indicates thatConnection refused
is detected while removing temporary files from the storage node
INFO -- gdu-server: Setting the administrative status of <STORAGE_NODE> to down
INFO -- gdu-server: Executing command `/usr/local/bin/set-administrative-status --down 2>&1` on <STORAGE_NODE>
INFO -- gdu-server: Executing command `/usr/sbin/execute-hotfix.py -src /var/local/install/hotfix-install-11.8.0.12 -destDir /var/local/tmp/hotfix-stage -cleanup -persistFile -- --apply 2>&1` on <STORAGE_NODE>
INFO -- gdu-server: Stopping services on <STORAGE_NODE>
INFO -- gdu-server: Stopping services on <STORAGE_NODE>
INFO -- gdu-server: Upgrading packages on <STORAGE_NODE>
INFO -- gdu-server: Starting services on <STORAGE_NODE>
INFO -- gdu-server: Starting services on <STORAGE_NODE>
INFO -- gdu-server: Setting the administrative status of <STORAGE_NODE> to up
INFO -- gdu-server: Executing command `/usr/local/bin/set-administrative-status --up 2>&1` on <STORAGE_NODE>
INFO -- gdu-server: Removing temporary files from <STORAGE_NODE>
ERROR -- gdu-server: Connection refused - connect(2) for <STORAGE_NODE_IP>:22 (Errno::ECONNREFUSED)
ERROR -- gdu-server: /usr/lib/ruby/2.7.0/socket.rb:64:in `connect'
ERROR -- gdu-server: /usr/lib/ruby/2.7.0/socket.rb:64:in `connect_internal'
ERROR -- gdu-server: /usr/lib/ruby/2.7.0/socket.rb:137:in `connect'
ERROR -- gdu-server: Unable to connect to <STORAGE_NODE> on port 22: Connection refused - connect(2) for <STORAGE_NODE_IP>:22 (Bycast::Commands::Sh::Remote::Error)
ERROR -- gdu-server: /usr/local/lib/site_ruby/bycast/commands/sh.rb:134:in `rescue in block in call'
ERROR -- gdu-server: /usr/local/lib/site_ruby/bycast/commands/sh.rb:109:in `block in call'
ERROR -- gdu-server: /usr/local/lib/site_ruby/bycast/commands/sh.rb:108:in `synchronize'
ERROR -- gdu-server: Failed to apply StorageGRID hotfix to <STORAGE_NODE>: Unable to connect to <STORAGE_NODE> on port 22: Connection refused - connect(2) for <STORAGE_NODE_IP>:22