Got it

A message is displayed indicating that a major operation is being performed during patch installation or upgrade.

242 0 1 0 0

 

Symptom

A message is displayed indicating that a system backup or restoration operation is in progress during patch installation. Patch installation or upgrade cannot be performed.

1

On the page, the status of a backup task is always in progress and is not displayed as Completed or Failed.

2

Impact on Services

Patches or upgrades cannot be performed.

Identification Method

On the page, the status of a backup task is always in progress and is not displayed as Completed or Failed.

 

3

Emergency Operations

Step 1 Log in to the CSP OM portal, choose Application Configuration > Services, find the GaussDB container whose status is M, and copy the value of podName.

 

4

Step 2 Choose Resource Management > Edge Site Management > Containers and find the node where the pod is located based on the value of podName.

 

5

Step 3 Use an SSH tool to log in to the external IP address of the node in step 2 as user cspexpert and switch to user root.

Step 4 Run the following command to access the backup service database of the GaussDB container:

 

cid=$(docker ps | grep cspgauss | grep -vgrep | awk -F " " '{print $1}') ;docker exec -it -u root ${cid} su - dbuser -c "gsql -d backupdb -U backupdbuser -p 22080 -WCspdbg@2017"


Step 5 Manually end the backup task.

 

update TBL_BACKUP_TASK SETBACKUPSTATUS='Failed'where TASKNAME='autobackup20191015142911';


Note: autobackup20191015142911 is the name of the backup task. Replace it with the name of the task that fails to be backed up.

 

6

 

Run the following command to exit the database:

\q

 

7

Step 6 Retry the patch or upgrade on the portal.

Comment

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

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.