Check whether cce-agent on the current node is of the latest version.
cce-agent does not need to be updated but is not restarted. In this case, log in to the node and manually restart cce-agent.
Solution: Log in to the node and run the following command:
systemctl restart cce-agent
Perform the pre-upgrade check again.
cce-agent is not of the latest version, and the automatic update failed. This issue is typically caused by an invalid OBS path or the component version is outdated.
Solution
cat `ps aux | grep cce-agent | grep -v grep | awk -F '-f ' '{print $2}'`
The OBS configuration address field in the configuration file is packageFrom.addr.
curl -k "https://{OBS address you have obtained}/cluster-versions/base/cce-agent" > /tmp/cce-agent
curl -k "https://{OBS address you have obtained}/cluster-versions/base/cce-agent-arm" > /tmp/cce-agent-arm
mv -f /tmp/cce-agent /usr/local/bin/cce-agent chmod 750 /usr/local/bin/cce-agent chown root:root /usr/local/bin/cce-agent
mv -f /tmp/cce-agent-arm /usr/local/bin/cce-agent-arm chmod 750 /usr/local/bin/cce-agent-arm chown root:root /usr/local/bin/cce-agent-arm
systemctl restart cce-agent
If you have any questions about the preceding operations, contact technical support.