VMware Cloud Community
ThomasM96
Contributor
Contributor

vCenter 7 installation error - Cannot read property 'length' of undefined

Hi guys - I get this following error when im trying to install the vCenter 7.

 

I have added the log aswell

 

ThomasM96_0-1652086323001.png

 

2022-05-08T15:13:22.209Z - info: installerLogFile: C:\Users\thm\AppData\Local\Temp\vcsaUiInstaller\installer-20220508-171322205.log
2022-05-08T15:13:22.214Z - info: networkLogFile: C:\Users\thm\AppData\Local\Temp\vcsaUiInstaller\network-20220508-171322205.log
2022-05-08T15:13:22.223Z - info: [AppComponent] Locale initialised: English
2022-05-08T15:13:22.223Z - info: [AppComponent] Product: vcsa
2022-05-08T15:13:22.223Z - info: [AppService] ovfOptions not in cache
2022-05-08T15:13:22.228Z - info: [AppComponent] version.js buildnumber: 18802997
2022-05-08T15:13:22.228Z - info: [AppComponent] App runtime buildnumber: 18802997
2022-05-08T15:13:22.228Z - info: [AppComponent] Build numbers matched
2022-05-08T15:13:22.228Z - info: [AppComponent] Found ovftool with correct version from the discovered path
2022-05-08T15:13:22.228Z - info: [AppComponent] Saved OVA folder path: D:\vcsa
2022-05-08T15:13:22.228Z - info: [AppComponent] Saved ovftool path: D:\vcsa\ovftool\win32\ovftool.exe
2022-05-08T15:13:23.653Z - debug: wizardTitle: Install - Stage 1: Deploy vCenter Server
2022-05-08T15:13:23.653Z - debug: wizardTitle: Install - Stage 1: Deploy vCenter Server
2022-05-08T15:14:17.798Z - info: THUMBPRINT(Target): B5:E2:52:30:C9:4C:BC:B9:8B:3A:59:06:F9:B1:23:18:1C:DD:0C:63
2022-05-08T15:14:18.901Z - info: login() to 172.16.40.140
2022-05-08T15:14:18.901Z - info: initializing vsphere API connection to 172.16.40.140:443
2022-05-08T15:14:19.565Z - info: vimService apiType: HostAgent, version: 7.0.3
2022-05-08T15:14:19.580Z - debug: session does not exist: 172.16.40.140, root
2022-05-08T15:14:19.580Z - debug: Logging in to 172.16.40.140:443 as root
2022-05-08T15:14:19.632Z - info: Logged in to 172.16.40.140:443 as root, session: 52908b51-0544-f21a-3b7c-923b5d646c6d
2022-05-08T15:14:19.633Z - debug: After successful login, initiate pingTimer with delay: 300000
2022-05-08T15:14:19.642Z - debug: admin roles:[
{
entity: { value: 'ha-folder-root', type: 'Folder' },
principal: 'vpxuser',
group: false,
roleId: -1,
propagate: true
},
{
entity: { value: 'ha-folder-root', type: 'Folder' },
principal: 'root',
group: false,
roleId: -1,
propagate: true
},
{
entity: { value: 'ha-folder-root', type: 'Folder' },
principal: 'dcui',
group: false,
roleId: -1,
propagate: true
}
]
2022-05-08T15:14:19.642Z - debug: user: root, userPrincipal: root
2022-05-08T15:14:19.642Z - debug: userHasAdminRole: root: root: has admin role
2022-05-08T15:14:19.642Z - debug: adminRole: true
2022-05-08T15:14:19.642Z - info: host target precheck
2022-05-08T15:14:19.840Z - info: hostPrecheck: localhost.ProDesign.local, ha-host
2022-05-08T15:14:19.840Z - info: ESXi hostVersion=7, minVersion=6.5
2022-05-08T15:14:19.840Z - info: lockdownMode: 'lockdownDisabled'
2022-05-08T15:14:19.840Z - info: inMaintenanceMode: false
2022-05-08T15:14:19.840Z - info: hostPrecheck succeeded: localhost.ProDesign.local
2022-05-08T15:14:19.840Z - info: ESXi hostCheck was successful
2022-05-08T15:14:19.871Z - debug: [object Object]
2022-05-08T15:15:06.197Z - info: vmName: vcsa7
2022-05-08T15:15:06.234Z - info: number of vms with name, vcsa7: 0
2022-05-08T15:15:06.241Z - debug: Deployment size page description: Select the deployment size for this vCenter Server.
2022-05-08T15:15:06.243Z - info: ovftoolCmd: D:\vcsa\ovftool\win32\ovftool.exe
2022-05-08T15:15:06.243Z - debug: ovaFileNameRe: /.*_OVF10.ova$/
2022-05-08T15:15:06.245Z - debug: files in D:\vcsa: VMware-vCenter-Server-Appliance-7.0.3.00500-19480866_OVF10.ova,ovftool,version.txt
2022-05-08T15:15:06.245Z - info: ovaFile: D:\vcsa\VMware-vCenter-Server-Appliance-7.0.3.00500-19480866_OVF10.ova
2022-05-08T15:15:07.567Z - info: probeOvf exited with status 1
2022-05-08T15:15:07.567Z - debug: probeRes: Error: Invalid Locale.
Completed with errors

2022-05-08T15:15:07.575Z - info: layout file: D:\vcsa-ui-installer\win32\resources\app\dist\resources\layout.json
2022-05-08T15:15:07.597Z - error: probeOvf unexpected error: TypeError: Cannot read property 'length' of undefined
at OvfProbeService.push../application/app/core/ovf-probe.service.ts.OvfProbeService.parseDeploymentOptions (file:///D:/vcsa-ui-installer/win32/resources/app/dist/main.js:3645:52)
at OvfProbeService.push../application/app/core/ovf-probe.service.ts.OvfProbeService.probeOvf (file:///D:/vcsa-ui-installer/win32/resources/app/dist/main.js:3594:38)
at SelectSizePageV1.push../application/app/pages/select-size/select-size-v1.ts.SelectSizePageV1.getProfileLayoutData (file:///D:/vcsa-ui-installer/win32/resources/app/dist/main.js:27731:50)
at SelectSizePageV1.push../application/app/pages/select-size/select-size-v1.ts.SelectSizePageV1.onLoad (file:///D:/vcsa-ui-installer/win32/resources/app/dist/main.js:27574:14)
at VcsaWizard.push../application/app/wizard/vcsa-wizard.ts.VcsaWizard.onLoad (file:///D:/vcsa-ui-installer/win32/resources/app/dist/main.js:37526:26)
at VcsaWizard_ng_container_14_clr_wizard_page_1_Template_clr_wizard_page_clrWizardPageOnLoad_0_listener (file:///D:/vcsa-ui-installer/win32/resources/app/dist/main.js:37486:826)
at executeListenerWithErrorHandling (file:///D:/vcsa-ui-installer/win32/resources/app/dist/vendor.js:29613:16)
at wrapListenerIn_markDirtyAndPreventDefault (file:///D:/vcsa-ui-installer/win32/resources/app/dist/vendor.js:29648:22)
at SafeSubscriber.schedulerFn [as _next] (file:///D:/vcsa-ui-installer/win32/resources/app/dist/vendor.js:40205:17)
at SafeSubscriber.push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub (file:///D:/vcsa-ui-installer/win32/resources/app/dist/vendor.js:133666:16)
2022-05-08T15:15:07.597Z - error: OVF probe error: TypeError: Cannot read property 'length' of undefined

 

0 Kudos
4 Replies
jflaumen
Contributor
Contributor

I am experiencing the exact same problem when I try to upgrade from 6.7 to 7.0.3e.  Any help would be appreciated.

Tags (1)
0 Kudos
jflaumen
Contributor
Contributor

I ran "dnf install libnsl" on my redhat server and that seemed to have cleared the error.

asmitwizai
Contributor
Contributor

Thank you for sharing, this also fixed the issue on my machine.

0 Kudos
Elomar_Silveira
Contributor
Contributor

thank you! Solve my problem too.

0 Kudos