Got it

Updating Task Suspended

82 0 0 0 0

Problem Symptom

No progress is displayed on the microservice updating page of DeployManager for more than 30 minutes.


Problem Diagnosis

  1. Log in to the active node of DeployManager as user dfvmanager using SSH, and then switch to user root.

  2. Continuously observe the scheduled task logs of celery to check whether Sending due task query_doing_task_result is updated. Example:

    tailf /var/log/servicetool/CloudAutoDeploy/sdk/celerybeat.log

    2_en-us_image_0162754606.png

  3. If Sending due task query_doing_task_result is not updated for five minutes, the updating task is suspended. Otherwise, no further action is required.


Causes

Time hopping occurs on the node.


Solution

  1. Log in to the active node of DeployManager as user dfvmanager using SSH, and then switch to user root.

  2. Delete the celerybeat-schedule file.

    rm /var/log/servicetool/CloudAutoDeploy/sdk/celerybeat-schedule
  3. Restart the celery process.

    sh /opt/admin/CloudAutoDeploy/deploy/sdk/deployscripts/clyservice stopsh /opt/admin/CloudAutoDeploy/deploy/sdk/deployscripts/clyservice start


Check After Recovery

  1. Log in to DeployManager again.

  2. Go to the updating page and check whether the updating task is recovered.


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.