While trying to create a package in Cloud Client I am getting the below data integrity errors:
2018-08-24 16:33:25,314 cc: [priority="ERROR" thread="Spring Shell"] com.vmware.vcac.platform.rest.client.error.ResponseErrorHandler.handleRestError:113 - [Rest Error]: {Status code: 400}, {Error code: 10106} , {Error Source: null}, {Error Msg: Data Integrity validation error.}, {System Msg: A Data Integrity Violation has been raised during inserting or updating data}
2018-08-24 16:33:25,314 cc: [priority="ERROR" thread="Spring Shell"] com.vmware.cloudclient.vcac.service.cafe.content.PackageService.createOrUpdatePackage:153 - Unable to create package. Exception: Data Integrity validation error.
2018-08-24 16:33:25,314 cc: [priority="ERROR" thread="Spring Shell"] com.vmware.cloudclient.core.authentication.BaseAuthentication.afterThrowingInvocation:311 - Failed to create or update package. Data Integrity validation error.
Command being used: vra package create --name CompositeBlueprints --ids " ids"
Source environment is vRA 7.2 based.
Any idea on how to get around this?
What version of Cloud Client are you using?
I am using 4.5.0
Try an earlier version. 4.5 is for use with later vRA versions. There have been reports of small bits and pieces not working when using CC of more capabilities than vRA.
Thanks. I will give this a try.
I tried version 4.2 and got the same error.
What are you trying to package? Is it one blueprint? Have you tried other things?
Yes, I was trying to package blueprints. I tried to package many blueprints at once and then tried one blueprint but all failed. Packaging property definitions worked fine.