vmware-archive/admiral

Thumbprint value must be provided in the json payload while initializing the VIC appliance APIs

Closed this issue · 4 comments

Bug Report Basic Information

REQUIRED:
vCenter Server version: 6.5 U2
Embedded or external PSC: No
Filename of the OVA you deployed: vic-v1.4.3-rc1-6033-2fe6aa5f
How was the OVA deployed? ovftool
Does the VIC appliance recieve configuration by DHCP? No
What stage of the Appliance Lifecycle is the VIC appliance in? Initialization

Bug Report Detailed Information

What operation was being performed when the failure was noticed? Initializing VIC appliance using the initialization API

DETAILS:
If thumbprint isn't specified, API returns an error: "Thumbprint is empty"

initialization API:
curl -k -w '%{http_code}' -d @payload.json https://vic_appliance_address:9443/register
payload.json has to be modified to include thumbprint along with target, user and password as shown below in order for VIC appliance Registration to work:
{ "target":"vcenter_server_address", "user":"sso_administrator_account", "password":"sso_administrator_password", "thumbprint":"vc_thumbprint" }

@jitinkumar2018 this is by design, as we need to auto registration vic-ui to vcenter. please contact @wjun if you still have further questions,

@renmaosheng Thanks for the clarification
@stuclem Documentation can be updated to include thumbprint value in json payload (https://vmware.github.io/vic-product/assets/files/html/1.4/vic_vsphere_admin/ova_reg_api.html)

Thanks @jitinkumar2018 and @renmaosheng. Repurposing this one as a doc issue.