Skip to main content
NetApp Knowledge Base

admin node upgrade failed with unable to stop container error string

Views:
60
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

Applies to

NetApp StorageGRID SG6060
NetApp StorageGRID SG5760

Issue

During the admin node upgrade, an error occurred with the following message: "Unable to stop container."

The provided example output can be found in the update.log file.

admin@adminnode:/var/local/log $ tail -25 upgrade.log
I,
[2023-09-17T14:29:09.734139 #16147]  INFO -- : Skipping admin IP lookup for primary Admin Node.
I, [2023-09-17T14:29:09.734156
#16147]  INFO -- : Executing command `run-host-command test -e /var/local/dkr/0/install/upgrade-stage/base-os/upgrade.sh 2>&1` on
localhost
I, [2023-09-17T14:29:10.047591 #16147]  INFO -- : Starting base-os upgrade.
I, [2023-09-17T14:29:10.047640 #16147]  INFO
-- : Executing command `run-host-command '( /var/local/dkr/0/install/upgrade-stage/base-os/upgrade.sh 2>&1 & disown )' 2>&1` on
localhost
I, [2023-09-17T14:29:10.345055 #16147]  INFO -- : Triggering storagegrid service container stop.
E,
[2023-09-17T14:39:10.346006 #16147] ERROR -- : Unable to stop container. Stop the container manually.
E,
[2023-09-17T14:39:10.346140 #16147] ERROR -- : execution expired (Timeout::Error)
E, [2023-09-17T14:39:10.346158 #16147] ERROR -- :
    /var/local/install/upgrade-stage/swupdate/lib/upgrade/base-os.rb:144:in `recv'
E, [2023-09-17T14:39:10.346168 #16147] ERROR --
:     /var/local/install/upgrade-stage/swupdate/lib/upgrade/base-os.rb:144:in `block in stop_container!'
E,
[2023-09-17T14:39:10.346177 #16147] ERROR -- :     /usr/lib/ruby/2.5.0/timeout.rb:108:in `timeout'
E, [2023-09-17T14:39:10.349880
#10115] ERROR -- : Error running upgrade-node.rb (return code: 1)
E, [2023-09-17T14:39:10.349963 #10115] ERROR -- : This platform
base-os is owned by storagegrid. Updating base-os packages
Unable to stop container. Stop the container manually.

E,
[2023-09-17T14:39:10.349993 #10115] ERROR -- : Error while running pre-upgrade hook.
E, [2023-09-17T14:39:10.350022 #10115] ERROR
-- : Error when running upgrade-node.rb. This platform base-os is owned by storagegrid. Updating base-os packages
Unable to stop
container. Stop the container manually.
 (RuntimeError)
E, [2023-09-17T14:39:10.350048 #10115] ERROR -- :
/var/local/install/upgrade-stage/hooks/upgrade_start.rb:71:in `upgrade_primary_admin_software'
E, [2023-09-17T14:39:10.350068
#10115] ERROR -- :     /var/local/install/upgrade-stage/hooks/upgrade_start.rb:170:in `main'
E, [2023-09-17T14:39:10.350079 #10115]
ERROR -- :     /var/local/install/upgrade-stage/hooks/upgrade_start.rb:183:in `<main>'
I, [2023-09-17T14:39:10.350153 #10115]  INFO
-- : {
  "passed": false,
  "failure": "Error when running upgrade-node.rb. This platform base-os is owned by storagegrid. Updating
base-os packages\nUnable to stop container. Stop the container manually.\n"

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.