Alena,
Thanks for reply.
I've posted it at https://issues.apache.org/jira/browse/CLOUDSTACK-4828


On Mon, Oct 7, 2013 at 7:55 PM, Alena Prokharchyk <
alena.prokharc...@citrix.com> wrote:

> Valery, its a bug. When no DHCP service is enabled on the network, it
> should work like this:
>
> 1) Nic entry is allocated for vm, but no ip assignment is done on the CS
> side.
> 2) When vm is expunged, all the nics should be removed successfully.
>
> Please go ahead and file it.
>
> -Alena.
>
> On 10/7/13 9:42 AM, "Valery Ciareszka" <valery.teres...@gmail.com> wrote:
>
> >Hi all.
> >
> >I have following issue.
> >
> >Scenario:
> >1. create network offering without dhcp
> >2. add NIC to VM from network created at step 1.
> >3. try to remove NIC from VM. It should fail.
> >
> >VM deletion also fails - VM will stay in "Expunging" state forever, unless
> >NIC is deleted manually through mysql:
> >mysql> delete from nics where state='Deallocating' and
> > ip4_address='10.2.2.226';
> >
> >environment used: CS 4.2.0, centos 6.4, KVM
> >
> >
> >2013-10-03 14:24:42,616 WARN  [cloud.vm.UserVmManagerImpl]
> >(UserVm-Scavenger-1:null) Unable to expunge VM[User|newIvanVm]
> >com.cloud.exception.UnsupportedServiceException: Service Dhcp is not
> >supported in the network id=222
> >        at
> >com.cloud.network.dao.NetworkServiceMapDaoImpl.getProviderForServiceInNetw
> >ork(NetworkServiceMapDaoImpl.java:127)
> >        at
> >com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorD
> >ispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> >        at
> >com.cloud.network.NetworkManagerImpl.getDhcpServiceProvider(NetworkManager
> >Impl.java:3681)
> >        at
> >com.cloud.network.NetworkManagerImpl.isDhcpAccrossMultipleSubnetsSupported
> >(NetworkManagerImpl.java:2522)
> >        at
> >com.cloud.network.NetworkManagerImpl.removeNic(NetworkManagerImpl.java:250
> >7)
> >        at
> >com.cloud.network.NetworkManagerImpl.cleanupNics(NetworkManagerImpl.java:2
> >463)
> >        at
> >com.cloud.vm.VirtualMachineManagerImpl.advanceExpunge(VirtualMachineManage
> >rImpl.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.acces
> >s$201(ScheduledThreadPoolExecutor.java:165)
> >        at
> >java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(S
> >cheduledThreadPoolExecutor.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)
> >
> >
> >
> >
> >
> >--
> >Regards,
> >Valery
> >
> >http://protocol.by/slayer
> >
>
>
>


-- 
Regards,
Valery

http://protocol.by/slayer

Reply via email to