Troubleshooting 6.8.0 upgrades
The following procedures can be used to correct issues with your Resource Manager 6.8.0 upgrade.
Docker image tags
Early versions of the zenoss/resmgr_6.8
Docker image shipped with an error in
one of the upgrade migration scripts. Specifically, the migrate-services.txt
file contains references to pre-release versions of Resource Manager Docker images.
During the execution of the upgrade-resmgr.sh
script, the migrate-services.txt
script is called to pass the tagged image names to Docker for import. When the Docker
service can't find images matching these tags, it may show the following error
message:
pull access denied for zenoss/resmgr_6.8, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
These errors can be found on lines 34 and 37 of the migrate-services.txt
file:
/root/6.8.x/migrate-services.txt | |
---|---|
28 29 30 31 32 33 34 35 36 37 38 39 40 |
|
The zenoss/resmgr_6.8
and zenoss/mariadb-resmgr
images are followed with the
6.8.0_1834_unstable
tag. The should be followed with the latest
tag, as shown
in the following example:
/root/6.8.x/migrate-services.txt | |
---|---|
28 29 30 31 32 33 34 35 36 37 38 39 40 |
|
You can edit these lines manually or use the following procedure.
-
Make a backup copy of the
migrate-services.txt
file.cp /root/6.8.x/migrate-services.txt /root/6.8.x/migrate-services.txt.orig
-
Run the following
sed
commands to edit the file.sed -i 's/SVC_USE zenoss\/resmgr_6\.8:6\.8\.0_1834_unstable/SVC_USE zenoss\/resmgr_6\.8:latest/' /root/6.8.x/migrate-services.txt sed -i 's/SVC_USE zenoss\/mariadb-resmgr:6\.8\.0_1834_unstable/SVC_USE zenoss\/mariadb-resmgr:latest/' /root/6.8.x/migrate-services.txt
-
Restart the upgrade script.
/root/6.8.x/upgrade-resmgr.sh