Discovery Gateway Not working after upgrade from 2014.3.x to 2015.1.x

Version 1

    Details

    After upgrading from 2014.3 to 2015.1.2, discovery is no longer picking up tasks. Discovery services installed on separate server. Sample log below:


    <log4net:event logger="FrontRangeSaaS" timestamp="2015-11-30T10:49:44.3803736-05:00" level="ERROR" thread="15" domain="/LM/W3SVC/6/ROOT/TaskProcessor-1-130933721801147354" username="NT AUTHORITY\NETWORK SERVICE"><log4net:message>TaskProcessorService.GetClientTasks, clientId='422BB89C-5E434F31-9C0E0F52-2701354A': Index was outside the bounds of the array.  Index was outside the bounds of the array.</log4net:message><log4net:properties><log4net:data name="ErrorCode" value="IndexOutOfRangeException" /><log4net:data name="ServiceName" value="IM" /><log4net:data name="LogEntryId" value="962533fe08574146af43023f8c4baa32" /><log4net:data name="log4net:UserName" value="NT AUTHORITY\NETWORK SERVICE" /><log4net:data name="SubsystemId" value="IMTaskProcessor" /><log4net:data name="LoginId" value="(null)" /><log4net:data name="log4net:Identity" value="" /><log4net:data name="ClientIPAddress" value="(null)" /><log4net:data name="CurrentRole" value="(null)" /><log4net:data name="log4net:HostName" value="WCUHEATDISP01" /><log4net:data name="TenantId" value="ConfigDB" /><log4net:data name="StackTrace" value="System.Net.IPAddress SubnetAddress(System.Net.IPAddress, System.Net.IPAddress)" /><log4net:data name="SessionId" value="(null)" /><log4net:data name="TargetSite" value="System.Net.IPAddress SubnetAddress(System.Net.IPAddress, System.Net.IPAddress)" /></log4net:properties><log4net:exception>System.IndexOutOfRangeException: Index was outside the bounds of the array.
       at SaaS.IM.DataAdapter.Extensions.SubnetAddress(IPAddress address, IPAddress subnetMask)
       at SaaS.IM.DataAdapter.Extensions.IsInSubnet(IPAddress address, IPAddress subnetAddress, IPAddress subnetMask)
       at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
       at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
       at SaaS.IM.TaskProcessor.TaskProcessor.FindBestGatewayManagedSubnet(String ipAddress)
       at SaaS.IM.TaskProcessor.TaskProcessor.LinkUnlinkedClientInstallTasksToGateways(String gatewayClientId, List`1 tasks)
       at SaaS.IM.TaskProcessor.TaskProcessor.GetTaskMessage(String clientId, AgentTaskType taskType, Boolean isGateway)
       at SaaS.IM.TaskProcessor.TaskProcessorService.GetClientTasks(String clientAuthenticationKey, String clientId, String xmlArguments, Boolean isGateway)</log4net:exception></log4net:event>

     


    Resolution

    Upgrade to 2015.x changes the licensing for discovery.  After correcting the licenses loaded in production the discovery gateway began to work again.