cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evan Miller <Evan.Mil...@citrix.com>
Subject RE: Cannot add vm to any host in any cluster - error: "Unable to apply dhcp entry on router"
Date Mon, 23 Jul 2012 12:46:24 GMT
That's actually important (not silly).
Hosts, Clusters, Pods, and Zones are all up/enabled.

Regards,
Evan


-----Original Message-----
From: James Kahn [mailto:jkahn@idea11.com.au] 
Sent: Sunday, July 22, 2012 4:52 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"

Might be a silly question - have you checked that your Pod, Clusters and Hosts and all enabled
and in a managed/contactable state?

From: Evan Miller <Evan.Miller@citrix.com<mailto:Evan.Miller@citrix.com>>
Reply-To: "cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org>"
<cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org>>
Date: Sunday, 22 July 2012 5:20 AM
To: "cloudstack-users@incubator.apache.org<mailto:cloudstack-users@incubator.apache.org>"
<cloudstack-users@incubator.apache.org<mailto: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


Mime
View raw message