You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/09/18 01:01:53 UTC

[jira] [Commented] (CLOUDSTACK-4698) No DHCP service enabled network cannot expunge VMs

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-4698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770123#comment-13770123 ] 

ASF subversion and git services commented on CLOUDSTACK-4698:
-------------------------------------------------------------

Commit b96aefee2fcf07f18c8259364dc68a2503ff5207 in branch refs/heads/4.2-forward from [~yasker]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b96aefe ]

CLOUDSTACK-4698: Check DHCP service in the network before get dhcp service provider

                
> No DHCP service enabled network cannot expunge VMs
> --------------------------------------------------
>
>                 Key: CLOUDSTACK-4698
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4698
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.2.0
>            Reporter: Sheng Yang
>            Assignee: Sheng Yang
>            Priority: Critical
>             Fix For: 4.2.1
>
>
> If one shared network offering is created with no-dhcp service, then when trying to expunge its vms, the following exception would throw.
> 2013-09-17 15:07:25,206 WARN  [cloud.vm.UserVmManagerImpl] (UserVm-Scavenger-1:null) Unable to expunge VM[User|Shared-Test]
> com.cloud.exception.UnsupportedServiceException: Service Dhcp is not supported in the network id=225
>         at com.cloud.network.dao.NetworkServiceMapDaoImpl.getProviderForServiceInNetwork(NetworkServiceMapDaoImpl.java:12
> 7)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstant
> iationPostProcessor.java:125)
>         at com.cloud.network.NetworkManagerImpl.getDhcpServiceProvider(NetworkManagerImpl.java:3681)
>         at com.cloud.network.NetworkManagerImpl.isDhcpAccrossMultipleSubnetsSupported(NetworkManagerImpl.java:2522)
>         at com.cloud.network.NetworkManagerImpl.removeNic(NetworkManagerImpl.java:2507)
>         at com.cloud.network.NetworkManagerImpl.cleanupNics(NetworkManagerImpl.java:2463)
>         at com.cloud.vm.VirtualMachineManagerImpl.advanceExpunge(VirtualMachineManagerImpl.java:475)
>         at com.cloud.vm.UserVmManagerImpl.expunge(UserVmManagerImpl.java:1600)
>         at com.cloud.vm.UserVmManagerImpl$ExpungeTask.run(UserVmManagerImpl.java:1769)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
>         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.ja
> va:165)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:679)
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira