VMware Horizon Community
Shaileshdd
Contributor
Contributor

Linux VDI Ubuntu1604-multi subnet not working ( docker )

Team,

  I am having some issues running the VmWare View Agent 7.4 on Ubuntu 16.04 with docker 17.12.0. For some reason docker0 is becoming the primary interface and does matter what i do .. i can have the external nic become primary. I tried the subnet settings : Subnet option of /etc/vmware/viewagent-custom.conf but it doesnt seem to work . Is it a BUG ??

Here is the Error:

2018-03-01T15:07:45.707Z ERROR <main> [Utils] Failed to determine if IP address 172.20.176.102 matches subnet 172.20.176.0/21

2018-03-01T15:07:45.707Z DEBUG <main> [Utils] Failed to determine if IP address 172.20.176.102 matches subnet 172.20.176.0/21

java.lang.NumberFormatException: For input string: "21 "

        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) ~[?:1.8.0_151]

        at java.lang.Integer.parseInt(Integer.java:580) ~[?:1.8.0_151]

        at java.lang.Integer.parseInt(Integer.java:615) ~[?:1.8.0_151]

        at com.vmware.vdi.agent.standalone.utility.Utils.ipAddressInSubnet(Utils.java:179) ~[agent-standalone.jar:?]

        at com.vmware.vdi.agent.standalone.utility.Utils.getFilteredIPAddress(Utils.java:121) [agent-standalone.jar:?]

        at com.vmware.vdi.agent.standalone.StandaloneAgent.filterIPAddress(StandaloneAgent.java:2738) [agent-standalone.jar:?]

        at com.vmware.vdi.agent.standalone.StandaloneAgent.start(StandaloneAgent.java:2775) [agent-standalone.jar:?]

        at com.vmware.vdi.agent.standalone.StandaloneAgent.main(StandaloneAgent.java:377) [agent-standalone.jar:?]

2018-03-01T15:07:45.707Z ERROR <main> [Utils] No IP address match subnet 172.20.176.0/21

2018-03-01T15:07:45.708Z ERROR <main> [StandaloneAgent] Failed to get IPv4 address

My IP address is clearly in the same subnet , any pointer or suggestions ??

I tried STATIC and DHCP route but no success.

Thanks for your help

0 Kudos
0 Replies