Got it

DeployManager Fails to Be Upgraded During Continuous Upgrades

106 0 0 0 0

Problem Symptom

After a cluster upgrade is complete, the next upgrade starts immediately. During the new upgrade, DeployManager fails to be upgraded. Displayed information:

[checkRemoteRepos][[Line:1816][INF0] Beggin to compare repos package in remote node with local size 143][checkRemoteRepos][[Line:1816][Error] Failed to check remote repos in remote node!][precheck][[Line:2186][Error] failed to check repo packages in remote nade]

1_en-us_image_0250338591.png


Problem Diagnosis

Check whether [Error] Failed to check remote repos in remote node! is recorded in the log printed during the DeployManager upgrade.


Causes

Microservice packages in the software repository of the active and standby nodes are synchronized periodically using ha_client_tool. For a cluster that has just been upgraded, the upgrade package information in the software repository of the active node has not been synchronized to the standby node. During the pre-upgrade check for the DeployManager upgrade, the package information in the software repository of the active and standby nodes is inconsistent. As a result, DeployManager fails to be upgraded.


Solution

  1. Run the /opt/dfv/oam/oam-u/ha/ha/module/hacom/tools/ha_client_tool --syncallfile command on the active node. ha_client_tool tool is triggered to synchronize files.

    1_en-us_image_0250343270.png

  2. Run the find /opt/fusionstorage/repository/data/repos/ -name "*.tar.gz" -type f|wc -l command repeatedly on the active and standby nodes. If the numbers displayed in the command output are the same on the active and standby nodes, ha_client_tool has synchronized the software packages.

    1_en-us_image_0250345013.png1_en-us_image_0250345032.png

  3. Run the sh upgrade.sh command on the original standby node to perform the upgrade again.


Check After Recovery

Check whether DeployManager is upgraded successfully.


Suggestion and Summary

N/A


Applicable Versions

All


Comment

You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.