[SCP] Virtual Machine Failed To Migrate Back To Primary Site After DR Task
Issue Description
After execute DR task, VM was transmited to secondary site, but unable to re-transmit back to primary site.
Error/Warning Information

Handling Process
- Check SCP version is 6.1.0 version.
- Checked gecko-rpc log, the error message appear many get_min_diff_backup_info keyword.

- Apart from that, get_min_diff_backup_info terms also comes with many backup ID generated in the log

Root Cause
Known issue in SCP 6.1.0 version, it was due to the backup when trying to get the backup chain list during re-transmit back , it is using GET and if the backup ID is too long will get timeout
Solution
Solution 1 : Upgrade to SCP 6.2.0.
Solution 2: Backend Modify SCP file.
-
Make a copy of sync.py
cp /usr/lib/python2.7/site-packages/gecko_portal/rpcsrv/common/sync.py /usr/lib/python2.7/site-packages/gecko_portal/rpcsrv/common/sync.py.bak -
Modify sync.py as the screenshot below.

-
Restart gecko-rpc-server service.
systemctl restart gecko-rpc-server.service