AnsweredAssumed Answered

GatewayMigrationUtility.sh migrateOut Data access error

Question asked by remo_m on May 4, 2017
Latest reply on May 5, 2017 by remo_m

Hi

I get an exception when using the GatewayMigrationUtility.

 

Browse is working:

./GatewayMigrationUtility.sh browse --argFile sourceSSGcommon.properties -u ****** -x XXXXX 

 

But migrate out thorws an exception when I try to export the whole gateway.

./GatewayMigrationUtility.sh migrateOut --all --argFile sourceSSGcommon.properties --encryptionPassphrase @file:encrypt.txt --dest bundles/OTK-all.xml -u ****** -x XXXXXXX
Warning: TLS hostname verification has been disabled
Warning: TLS server certificate check has been disabled
Running...
Execution failed. Reason: Internal Server Error. Detail: Data access error . Caused by: id to load is required for loading

 

gmu.log:

WARNING: Error executing command
javax.ws.rs.WebApplicationException: 500 Internal Server Error
at com.ca.gateway.rest.api.GatewayManagementGatewayClient$IP10Bundle.getAsItemReferenceType(Unknown Source)
at com.ca.gateway.rest.api.resource.impl.BundleResource.getBundle(Unknown Source)
at com.ca.gateway.rest.commandline.command.MigrateOutCommand.a(Unknown Source)
at com.ca.gateway.rest.commandline.command.MigrateOutCommand.run(Unknown Source)
at com.ca.gateway.rest.commandline.command.GatewayCommand.run(Unknown Source)
at com.ca.gateway.rest.commandline.command.Command.runCommand(Unknown Source)
at com.ca.gateway.rest.commandline.Main.main(Unknown Source)

 

 

Audit Log on the gateway:

Error processing management request: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<l7:Error xmlns:l7="http://ns.l7tech.com/2010/04/gateway-management">
<l7:Type>Find</l7:Type>
<l7:TimeStamp>2017-05-04T16:35:00.111+02:00</l7:TimeStamp>
<l7:Link rel="self" uri="https://ssg2.cluster:8443/restman/1.0/bundle?includeDependencies=false&exportGatewayRestManagementService=false&encryptUsingClusterPassphrase=false&all=true&encryptSecrets=true"/>
<l7:Detail>Data access error . Caused by: id to load is required for loading</l7:Detail>
</l7:Error>

 

Any ideas ?

Outcomes