shwstppr commented on issue #6593: URL: https://github.com/apache/cloudstack/issues/6593#issuecomment-1205024781
@ahmadamirahmadi007 In case of different physical networks, server was failing to add your cluster while facing problem with wrong vlan, ``` 2022-07-31 08:14:02,240 INFO [c.c.h.v.m.VmwareManagerImpl] (qtp681094281-498:ctx-7b80359c ctx-12777883) (logid:0d78ed6c) Preparing network on host com.cloud.hypervisor.vmware.util.VmwareContext@36fe5de2 for vSwitch0,null,vmwaresvs 2022-07-31 08:14:02,260 WARN [c.c.h.v.VmwareServerDiscoverer] (qtp681094281-498:ctx-7b80359c ctx-12777883) (logid:0d78ed6c) Unable to connect to Vmware vSphere server. service address: vcsa1.acs.lab.local. java.lang.NumberFormatException: For input string: "null" ``` This seems to be a bug in the UI which adds the wrong hypervisor traffic label. I've created PR #6612 to fix it. Currently traffic label for your different physical networs will read like, `vSwitch0,null,vmwaresvs` Though they should be like the following if you are not using a VLAN: `vSwitch0,,vmwaresvs` You can update the VMware traffic label by going into the particular physical network and using the Update traffic label action from the top right list of actions  Regarding your second query, option to select switch type isn't present in the physical network form as these networks are not linked to a particular swtich type. Rather it is the traffic type - Management, Public, Guest, etc. You may continue to add physical network using the form and then add the desired traffic type to it (Add Traffic type action in physical network). After adding the desired traffic type you will have to update the VMware traffic label using the Update traffic label action. Unfortunately there isn't a select UI here so you will have to manually add the label in format, SWITCHNAME,VLAN,SWITCHTYPE eg: `vSwitch0,,vmwaresvs` `vSwitch1,201,vmwaredvs` `vSwitch2,untagged,vmwaredvs` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
