I have an Azure service that contains a dedicated cache worker role.
When a NetworkConfiguration section is added to the cscfg file, which specifies our virtual network, the cache role does not start and is stuck as "Busy". I can't access any info from the cache role (either by Intellitrace or azure diagnostic logs) since it looks like the role itself never starts up.
When the NetworkConfiguration section is removed, the cache role starts fine.
Has anyone have run into a similar issue or have any tips on resolving this?
The storage accounts that is used for the cache role is on the affinity group connected to the virtual network.
The network config we use is here:
<NetworkConfiguration>
<Dns>
<DnsServers>
<DnsServer name="DNSServer" IPAddress="10.10.0.2" />
</DnsServers>
</Dns>
<VirtualNetworkSite name="Prod" />
<AddressAssignments>
<InstanceAddress roleName="CacheRole">
<Subnets>
<Subnet name="Subnet" />
</Subnets>
</InstanceAddress>
<InstanceAddress roleName="Precacher">
<Subnets>
<Subnet name="Subnet" />
</Subnets>
</InstanceAddress>
<InstanceAddress roleName="Management">
<Subnets>
<Subnet name="Subnet" />
</Subnets>
</InstanceAddress>
</AddressAssignments>
Any help would be appreciated. Thanks.