Skip to content

vic-machine: validation failed if dvSwitch exists in ESXi target #729

@emlin

Description

@emlin

root [ ~/vic/bin ]# ./vic-machine -target esxi-hp-08.rainpole.com -user root -passwd VMware123! -compute-resource /ha-datacenter/host/esxi-hp-08.rainpole.com/Resources -image-store esxi-hp-08-local -management-network "VM Network"
INFO[2016-05-19T11:49:38Z] ### Installing VCH ####
INFO[2016-05-19T11:49:38Z] Generating certificate/key pair - private key in ./docker-appliance-key.pem
INFO[2016-05-19T11:49:38Z] Validating supplied configuration
ERRO[2016-05-19T11:49:40Z] Unable to get network: SystemError
FATA[2016-05-19T11:49:40Z] Validating supplied configuration failed. Exiting...

[6:57]
In the hostd.log, I see the following:

[6:57]
2016-05-18T15:23:51.346Z error hostd[32EC4B70] [Originator@6876 sub=PropertyProvider opID=328016ee user=root] Unexpected fault reading property: vim.DistributedVirtualSwitch, GetNetworkResourcePool: N5Vmomi5Fault12NotSupported9ExceptionE(vmodl.fault.NotSupported)
2016-05-18T15:23:51.346Z error hostd[32EC4B70] [Originator@6876 sub=PropertyProvider opID=328016ee user=root] Unexpected fault reading property: vim.DistributedVirtualSwitch, GetRuntime: N5Vmomi5Fault12NotSupported9ExceptionE(vmodl.fault.NotSupported)

[7:00]
Could we get a better error message bubble up to vic-machine? Probably something along the lines of “VIC cannot use an ESXi host as a target when a DVS is present” or something to that effect

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions