[Application Scenario]
1. Backup, deletion, and restoration tasks are suspended.
[Procedure]
1. Log in to ServiceCenter, choose Console > Cloud Server Backup Service, view the backup ID, and record the backup ID.
2. Log in to the Service-CSBS and Service-CSBS2 nodes in SSH mode,
Default username and password: djmanager/CloudService@123! root/Cloud12#$ (root/CloudService@123!)
3. Run the following command to access the log directory: cd /var/log/huawei/dj/services/system/karbor/karbor-protection
4. Run the zgrep backup ID * command to view the task information.
(If the deletion or backup task information is not queried, perform the following operations on the node where the information can be queried.)
task_id: task(xxxx) in the query result. The id in parentheses is task_id.
project_id: indicates the tenant ID in the query result.
5. Run the following command to check the workflow IP address:
1. This command is used in versions later than FC6.3.
docker exec karborapi cat /etc/karbor/karbor.conf|grep ebackup_lb_ip
2. This command is used in FC206.
cat /opt/huawei/dj/karbor_plugin/ebackup/config/eBackupKarborPluginConf.ini |grep ebackup_lb_ip
6. Run the following commands in sequence:
1) workflow_ip=x.x.x.x (Note: x.x.x.x indicates the IP address queried in step 5.)
2) task_id=xxxx (Note: xxxx indicates the task ID obtained in step 4.)
3) project_id=xxxx (Note: xxxx indicates the project ID obtained in step 4.)
4) Obtain the workflow token. (The following command is a command and cannot be used to break lines.)
token=$ (curl -X POST -H' Content-Type:application/json;charset=UTF-8 '-H' Accept:application/json;charset=UTF-8'-d' {"auth": {"identity":{"methods": ["password"], "password":{"user": {"name": "NBIUser", "password":"Huawei@CLOUD8!"}}}}}' -i https://${workflow_ip}:8088/v3/auth/tokens -k|grep X-Subject-Token|awk '{print $2}')
5) Query the status of the current task in the workflow. (The following command is a single command. Line breaks are not allowed.)
curl -X GET -H "X-Auth-Token:$token" -i https://${workflow_ip}:8088/v1/wf_openstack_vm/task?tenant_id=${project_id}\&task_id=${task_id} -k
7. If the task status queried in step 6 is inprogress or wait, contact the eBackup contact person to locate the fault. If the task status is Completed, contact the CSBS contact person to locate the fault.