You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "John Beredimas (JIRA)" <ji...@apache.org> on 2013/09/27 15:05:02 UTC

[jira] [Commented] (CLOUDSTACK-4752) Can't delete a network that lacks a DHCP in network offering

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

John Beredimas commented on CLOUDSTACK-4752:
--------------------------------------------

Relevant stack trace follows: 

2013-09-27 16:03:15,377 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-35:job-68 = [ 8489e549-3f3e-44ed-baf5-148798e3d318 ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.RemoveNicFromVMCmd
com.cloud.exception.UnsupportedServiceException: Service Dhcp is not supported in the network id=249
        at com.cloud.network.dao.NetworkServiceMapDaoImpl.getProviderForServiceInNetwork(NetworkServiceMapDaoImpl.java:127)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.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.removeNic(NetworkManagerImpl.java:2470)
        at com.cloud.vm.VirtualMachineManagerImpl.removeNicFromVm(VirtualMachineManagerImpl.java:3043)
        at com.cloud.vm.UserVmManagerImpl.removeNicFromVirtualMachine(UserVmManagerImpl.java:1018)
        at org.apache.cloudstack.api.command.user.vm.RemoveNicFromVMCmd.execute(RemoveNicFromVMCmd.java:103)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
        at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        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)

                
> Can't delete a network that lacks a DHCP in network offering
> ------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4752
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4752
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.2.0
>            Reporter: John Beredimas
>
> Trying to delete a network that lacks DHCP in its network offering seems to fail. 
> Relevant output from Cloudmonkey follows: 
> cloudmonkey> remove nicfromvirtualmachine virtualmachineid=a8d35e16-cb65-46c5-aa8d-d07e533326ee nicid=a95e9112-07f0-4b94-b6be-5aa58bd360b3
> Async job 76cbd3e7-e97f-49b7-b177-176ff76a5927 failed
> Error 530, Service Dhcp is not supported in the network id=249
> accountid = 2e64c73f-a173-419a-8dc8-6739aa4e4f9d

--
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