VCH creation using Client failing with " parsing vch body from "" failed, because json: cannot unmarshal object into Go struct field Network.static of type models.CIDR" #606
Labels
area/networking
Screens related to display and selection of networking-related settings
component/plugin/h5c
The plugin for the vSphere HTML5 client
severity/2-serious
High usability or functional impact. Often has no workaround.
source/customer
Reported by a customer, directly or via an intermediary
VIC-UI version:
v1.4.1.1262
Platform details:
Windows Server 2012 R2
Browser details:
FireFox 60.2 ESR
Additional details:
Fresh install of VIC
Steps to reproduce:
Create a VCH in the vSphere Client using following parameters taken from the vic-machine command
./vic-machine-linux create --name VCH_01 --compute-resource /SA-Datacenter/host/SA-Compute --image-store SA-Shared-01-Remote/VCH_01_IDS --base-image-size 8GB --volume-store SA-Shared-01-Remote/VCH_01_VDS:default --bridge-network pg-Bridge --bridge-network-range 172.16.0.0/12 --public-network pg-Public --public-network-ip 192.168.0.97/24 --public-network-gateway 192.168.0.10 --dns-server 172.20.10.10 --client-network pg-Clients --client-network-ip 10.2.10.97/24 --client-network-gateway 172.20.10.10/24:10.2.10.10 --management-network pg-SA-Management --management-network-ip 172.20.10.97/24 --management-network-gateway 172.20.10.10/24:172.20.10.10 --container-network pg-Containers:container-nw --container-network-ip-range pg-Containers:10.1.10.100-10.1.10.200 --container-network-gateway pg-Containers:10.1.10.10/24 --container-network-dns pg-Containers:10.1.10.10 --container-network-firewall pg-Containers:published --tls-cname VCH_01 --certificate-key-size 2048 --no-tlsverify --user Administrator@VSPHERE.LOCAL --thumbprint AE:22:9A:DC:83:01:A3:27:F6:31:16:44:99:F9:C3:60:66:19:56:25 --target sa-vcsa-01.vclass.local/SA-Datacenter --registry-ca ca.crt --ops-user administrator@vsphere.local
Note: the UI does not create --container-network-gateway in CIDR format. I have manually added /24 to it. I will open a separate issue for this.
Actual behavior:
Following error thrown
parsing vch body from "" failed, because json: cannot unmarshal object into Go struct field Network.static of type models.CIDR
Expected behavior:
Successfully creates VCH or provide a more meaningful answer if there is a legitimate error.
Logs:
No entries in vsphere_client_virgo.log at time of attempted creation.
Additional Info:
Running above vic-machine command, which was generated by the wizard (after /24 is added to --container-network-gateway), is successful.
The text was updated successfully, but these errors were encountered: