cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alena Prokharchyk <Alena.Prokharc...@citrix.com>
Subject commit 6523c068695d0431070060667c222eb40d54b14d breaks network removal
Date Thu, 06 Feb 2014 21:42:01 GMT
Soheil/Daan,

The commit in the subject breaks network System vms destroy (VR, SSVM, CPVM), resulting in
the network removal failures. Following line replacement  causes the failure:

- if (vm.getType() == Type.User && isDhcpAccrossMultipleSubnetsSupported(network)
&& isLastNicInSubnet(nic) && network.getTrafficType() == TrafficType.Guest

With

+        DhcpServiceProvider dhcpServiceProvider = getDhcpServiceProvider(network);


When you try to call getDhcpServiceProvider(network), it throws an exception because DHCP
service is not enabled in Public/Control networks of system vms nics. So system vm always
fails to expunge.

Could you please fix it by checking if DHCP service is enabled on the network, before getting
the DHCP service provider?

Thanks,
Alena.




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message