How to all of that from the GUI?
If not from the GUI, which API commands should be executed?
More details would be helpful.

Regards,
Evan



-----Original Message-----
From: Rajesh Battala [mailto:rajesh.batt...@citrix.com] 
Sent: Sunday, July 22, 2012 7:06 PM
To: cloudstack-users@incubator.apache.org
Subject: RE: Cannot add vm to any host in any cluster - error: "Unable to apply 
dhcp entry on router"

Evan,
Did you check the status of the VR?. Is DHCP service is running in the VR?
Please check those services.
Sometimes I had observed DHCP service will fail to start on a particular eth. 
Quick workaround is restart VR , check the DHCP service and then try to create 
the instances.

Thanks
Rajesh Battala

From: Evan Miller [mailto:evan.mil...@citrix.com]
Sent: Sunday, July 22, 2012 12:51 AM
To: cloudstack-users@incubator.apache.org
Subject: Cannot add vm to any host in any cluster - error: "Unable to apply 
dhcp entry on router"

Running CloudStack Management Server:
  v3.0.2.1
On:
  [root@cumulus management]# uname -a
  Linux cumulus.eng.citrite.net 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 
GMT 2011 x86_64 x86_64 x86_64 GNU/Linux
  [root@cumulus management]#
Hypervisor :
  XenServer v6.02

Hi:

I can't add any VMs to any hosts in my 3 cluster, two host cloud.

In one attempt, the GUI basically says:

   Unable to create a deployment for VM[User|i-2-7-VM]

Here is small part of the attached management log snippet.

2012-07-21 10:49:25,568 DEBUG [agent.manager.AgentAttache] 
(DirectAgent-62:null) Seq 1-564527128: No more commands found
2012-07-21 10:49:25,568 INFO  [cloud.vm.VirtualMachineManagerImpl] 
(Job-Executor-1:job-11) Unable to contact resource.
com.cloud.exception.ResourceUnavailableException: Resource [Pod:1] is 
unreachable: Unable to apply dhcp entry on router
        at 
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyRules(VirtualNetworkApplianceManagerImpl.java:2802)
        at 
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyDhcpEntry(VirtualNetworkApplianceManagerImpl.java:2089)
        at 
com.cloud.network.element.VirtualRouterElement.addDhcpEntry(VirtualRouterElement.java:738)
        at 
com.cloud.network.NetworkManagerImpl.prepareElement(NetworkManagerImpl.java:1792)
        at 
com.cloud.network.NetworkManagerImpl.prepare(NetworkManagerImpl.java:1887)
        at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:741)
        at 
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:461)
        at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2580)
        at 
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2517)
        at 
com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:32)
        at com.cloud.api.commands.DeployVMCmd.execute(DeployVMCmd.java:317)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:132)
        at 
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:427)
        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:1110)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)

How should this be fixed?
Can the problem be fixed from the GUI?
Please advise.

Regards,

Evan Miller

Citrix Systems. Inc.
Desktop and Cloud Engineering Infrastructure
4988 Great America Parkway
Santa Clara, CA 95054

Reply via email to