args = [],
params = <null>,
localized = <null>
}],
data = <null>,
errorType = UNAUTHORIZED
}
Configuration mismatch.
The issue is resolved by changing the configuration of the history import GET API to use session authentication.
This issue is resolved in VMware vCenter Server 8.0.0b. To download go to Broadcom products and software
To workaround the issue follow one of the below options.
Option 1
Data migration can be monitored from the vCenter Server Appliance Management Interface as described here Monitor and Manage Historical Data Migration
Option 2
The feature can be enabled by altering the endpoint authentication method:
On the vCenter you can find /usr/lib/vmware-vsphere-ui/plugin-packages/cis-data-service-plugin/api_gateway_server.war which contains a configuration file WEB-INF/classes/authn-metadata.json.
In the configuration file under the "authnMetadata" object the value of "com.vmware.vcenter.deployment.import_history.get"
needs to be changed from "anonymous" to "session". The .war file can be treated as a normal .zip file.
zip/unzip utilities can be used to alter the archive.
Note: Be sure to clean any temporary files left over from extracting/packing the archive and make sure that the altered api_gateway_server.war file has the same permissions as the original. After the change the vSphere Client needs to be restarted manually.