Create Snapshot In Migration Logs Is Not Working
(Doc ID 3006215.1)
Last updated on FEBRUARY 26, 2024
Applies to:
Oracle BigMachines CPQ Cloud Service - Version 24 A and laterInformation in this document applies to any platform.
Symptoms
On : 24 A version, Migration / Bulk Services
When attempting to generate a snapshot for the environment, the following error occurs in the UI:
Snapshot 02/13/2024 1:19 PM Failed An unknown error has occurred. Please contact system administrator.
And the below error can be noticed in the bm.log:
14 Feb 2024 02:27:36,733 [ERROR] com.bm.xchange.services.timemachine.TmServiceImpl.backup(TmServiceImpl.java:239) - Creating backup package failed.
14 Feb 2024 02:27:36,776 [ERROR] com.bm.xchange.services.timemachine.rollback.AbstractTmMigrationService.createSnapshot(AbstractTmMigrationService.java:86) - Error while trying to take snapshot
com.bm.xchange.db.BusinessLogicException: System failed to create backups.
at com.bm.xchange.services.timemachine.TmServiceImpl.backup(TmServiceImpl.java:241) ~[classes/:?]
at com.bm.xchange.services.timemachine.rollback.AbstractTmMigrationService.createSnapshot(AbstractTmMigrationService.java:83) [classes/:?]
at com.bm.xchange.services.timemachine.TmCapsule.runTask(TmCapsule.java:124) [classes/:?]
...
... 4 more
Caused by: java.lang.IllegalArgumentException: source is not file or directory
at com.bm.xchange.util.FileUtils.copy(FileUtils.java:625) ~[bm-common-24.1.0-FINAL.jar:24.1.0-FINAL]
at com.bm.xchange.services.migration.CatalogUploadServiceImpl.writeFilesForDownload(CatalogUploadServiceImpl.java:644) ~[classes/:?]
at com.bm.xchange.services.migration.CatalogUploadServiceImpl.prepareDownload(CatalogUploadServiceImpl.java:581) ~[classes/:?]
at com.bm.xchange.services.migration.MigrationService.buildDownloadPacket(MigrationService.java:1662) ~[classes/:?]
at com.bm.xchange.services.timemachine.consul.TmMigrationAdapter.execBackup(TmMigrationAdapter.java:90) ~[classes/:?]
at com.bm.xchange.services.timemachine.consul.TmConsul.execBackup(TmConsul.java:148) ~[classes/:?]
at com.bm.xchange.services.timemachine.TmServiceImpl.backup(TmServiceImpl.java:233) ~[classes/:?]
... 4 more
The issue can be reproduced at will with the following steps:
1. Navigate to the Admin Home Page.
2. Click on "Logs" next to Migration.
3. Click on Create snapshot.
After a minute or two, the migration will fail
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |