You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Abhinandan Prateek <Ab...@citrix.com> on 2012/06/15 07:53:05 UTC
building asf master
Tried building and running CS out of asf master branch, getting following errors while running. Looks like some ovs related scripts path is erroring ?
[java] INFO [xen.resource.CitrixResourceBase] (AgentTaskPool-2:) Storage Network 2 is Pool-wide network associated with eth0 for host 10.147.28.15
[java] INFO [xen.discoverer.XcpServerDiscoverer] (AgentTaskPool-1:) Host: aen22 connected with hypervisor type: XenServer. Checking CIDR...
[java] INFO [agent.manager.DirectAgentAttache] (AgentTaskPool-1:) StartupAnswer received 1 Interval = 60
[java] INFO [xen.discoverer.XcpServerDiscoverer] (AgentTaskPool-2:) Host: aen15 connected with hypervisor type: XenServer. Checking CIDR...
[java] INFO [agent.manager.DirectAgentAttache] (AgentTaskPool-2:) StartupAnswer received 5 Interval = 60
[java] WARN [xen.resource.CitrixResourceBase] (DirectAgent-2:) We cannot locate C:\tools\tomcat6\webapps\client\WEB-INF\lib\scripts\vm\hypervisor\xenserver\xenserver60\..\ovsgre
[java] WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) We cannot locate C:\tools\tomcat6\webapps\client\WEB-INF\lib\scripts\vm\hypervisor\xenserver\xenserver60\..\ovsgre
[java] WARN [xen.resource.CitrixResourceBase] (DirectAgent-2:) callHostPlugin failed for cmd: setIptables with args due to There was a failure communicating with the plugin.
[java] WARN [xen.resource.CitrixResourceBase] (DirectAgent-2:) Unable to setup
[java] com.cloud.utils.exception.CloudRuntimeException: callHostPlugin failed for cmd: setIptables with args due to There was a failure communicating with the plugin.
[java] at com.cloud.hypervisor.xen.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:3506)
[java] at com.cloud.hypervisor.xen.resource.CitrixResourceBase.setIptables(CitrixResourceBase.java:3518)
[java] at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:4257)
[java] at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:464)
[java] at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:69)
[java] at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:187)
[java] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[java] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
[java] at java.util.concurrent.FutureTask.run(FutureTask.java:166)
[java] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
[java] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
[java] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[java] at java.lang.Thread.run(Thread.java:722)
[java] WARN [xen.discoverer.XcpServerDiscoverer] (AgentTaskPool-2:) Unable to setup agent 5 due to callHostPlugin failed for cmd: setIptables with args due to There was a failure communicating with the plugin.
[java] WARN [agent.manager.AgentManagerImpl] (AgentTaskPool-2:) Monitor XcpServerDiscoverer$$EnhancerByCGLIB$$ed1d12c8 says there is an error in the connect process for 5 due to Reinitialize agent after setup.
[java] INFO [agent.manager.AgentManagerImpl] (AgentTaskPool-2:) Host 5 is disconnecting with event AgentDisconnected
RE: building asf master
Posted by Anthony Xu <Xu...@citrix.com>.
Try below,
1. git config --global core.autocrlf false
2. cd into the repository directory
3. rm * -rf
4. git checkout .
5. rebuild all
DO NOT set core.autocrlf to true.
Regards,
Anthony
> -----Original Message-----
> From: Rajesh Battala
> Sent: Friday, June 15, 2012 8:22 PM
> To: cloudstack-dev@incubator.apache.org; Salvatore Orlando; Anthony Xu
> Subject: RE: building asf master
>
> On other branches also resulting the same error when adding XenServer
> Host
>
> > -----Original Message-----
> > From: Abhinandan Prateek [mailto:Abhinandan.Prateek@citrix.com]
> > Sent: Friday, June 15, 2012 11:23 AM
> > To: cloudstack-dev@incubator.apache.org
> > Subject: building asf master
> >
> > Tried building and running CS out of asf master branch, getting
> following
> > errors while running. Looks like some ovs related scripts path is
> erroring ?
> >
> > [java] INFO [xen.resource.CitrixResourceBase] (AgentTaskPool-2:)
> Storage
> > Network 2 is Pool-wide network associated with eth0 for host
> 10.147.28.15
> > [java] INFO [xen.discoverer.XcpServerDiscoverer] (AgentTaskPool-1:)
> Host:
> > aen22 connected with hypervisor type: XenServer. Checking CIDR...
> > [java] INFO [agent.manager.DirectAgentAttache] (AgentTaskPool-1:)
> > StartupAnswer received 1 Interval = 60
> > [java] INFO [xen.discoverer.XcpServerDiscoverer] (AgentTaskPool-2:)
> Host:
> > aen15 connected with hypervisor type: XenServer. Checking CIDR...
> > [java] INFO [agent.manager.DirectAgentAttache] (AgentTaskPool-2:)
> > StartupAnswer received 5 Interval = 60
> > [java] WARN [xen.resource.CitrixResourceBase] (DirectAgent-2:) We
> > cannot locate C:\tools\tomcat6\webapps\client\WEB-
> > INF\lib\scripts\vm\hypervisor\xenserver\xenserver60\..\ovsgre
> > [java] WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) We
> > cannot locate C:\tools\tomcat6\webapps\client\WEB-
> > INF\lib\scripts\vm\hypervisor\xenserver\xenserver60\..\ovsgre
> > [java] WARN [xen.resource.CitrixResourceBase] (DirectAgent-2:)
> > callHostPlugin failed for cmd: setIptables with args due to There
> was a failure
> > communicating with the plugin.
> > [java] WARN [xen.resource.CitrixResourceBase] (DirectAgent-2:)
> Unable to
> > setup
> > [java] com.cloud.utils.exception.CloudRuntimeException:
> callHostPlugin
> > failed for cmd: setIptables with args due to There was a failure
> > communicating with the plugin.
> > [java] at
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.callHostPlugin(Cit
> rixR
> > esourceBase.java:3506)
> > [java] at
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.setIptables(Citrix
> Res
> > ourceBase.java:3518)
> > [java] at
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixReso
> u
> > rceBase.java:4257)
> > [java] at
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Cit
> r
> > ixResourceBase.java:464)
> > [java] at
> > com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(
> > XenServer56Resource.java:69)
> > [java] at
> >
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache
> > .java:187)
> > [java] at
> >
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> > [java] at
> > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> > [java] at
> java.util.concurrent.FutureTask.run(FutureTask.java:166)
> > [java] at
> >
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ac
> > cess$201(ScheduledThreadPoolExecutor.java:178)
> > [java] at
> >
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ru
> > n(ScheduledThreadPoolExecutor.java:292)
> > [java] at
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.ja
> v
> > a:1110)
> > [java] at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.j
> a
> > va:603)
> > [java] at java.lang.Thread.run(Thread.java:722)
> > [java] WARN [xen.discoverer.XcpServerDiscoverer] (AgentTaskPool-2:)
> > Unable to setup agent 5 due to callHostPlugin failed for cmd:
> setIptables with
> > args due to There was a failure communicating with the plugin.
> > [java] WARN [agent.manager.AgentManagerImpl] (AgentTaskPool-2:)
> > Monitor XcpServerDiscoverer$$EnhancerByCGLIB$$ed1d12c8 says there is
> an
> > error in the connect process for 5 due to Reinitialize agent after
> setup.
> > [java] INFO [agent.manager.AgentManagerImpl] (AgentTaskPool-2:)
> Host 5
> > is disconnecting with event AgentDisconnected
RE: building asf master
Posted by Rajesh Battala <ra...@citrix.com>.
On other branches also resulting the same error when adding XenServer Host
> -----Original Message-----
> From: Abhinandan Prateek [mailto:Abhinandan.Prateek@citrix.com]
> Sent: Friday, June 15, 2012 11:23 AM
> To: cloudstack-dev@incubator.apache.org
> Subject: building asf master
>
> Tried building and running CS out of asf master branch, getting following
> errors while running. Looks like some ovs related scripts path is erroring ?
>
> [java] INFO [xen.resource.CitrixResourceBase] (AgentTaskPool-2:) Storage
> Network 2 is Pool-wide network associated with eth0 for host 10.147.28.15
> [java] INFO [xen.discoverer.XcpServerDiscoverer] (AgentTaskPool-1:) Host:
> aen22 connected with hypervisor type: XenServer. Checking CIDR...
> [java] INFO [agent.manager.DirectAgentAttache] (AgentTaskPool-1:)
> StartupAnswer received 1 Interval = 60
> [java] INFO [xen.discoverer.XcpServerDiscoverer] (AgentTaskPool-2:) Host:
> aen15 connected with hypervisor type: XenServer. Checking CIDR...
> [java] INFO [agent.manager.DirectAgentAttache] (AgentTaskPool-2:)
> StartupAnswer received 5 Interval = 60
> [java] WARN [xen.resource.CitrixResourceBase] (DirectAgent-2:) We
> cannot locate C:\tools\tomcat6\webapps\client\WEB-
> INF\lib\scripts\vm\hypervisor\xenserver\xenserver60\..\ovsgre
> [java] WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:) We
> cannot locate C:\tools\tomcat6\webapps\client\WEB-
> INF\lib\scripts\vm\hypervisor\xenserver\xenserver60\..\ovsgre
> [java] WARN [xen.resource.CitrixResourceBase] (DirectAgent-2:)
> callHostPlugin failed for cmd: setIptables with args due to There was a failure
> communicating with the plugin.
> [java] WARN [xen.resource.CitrixResourceBase] (DirectAgent-2:) Unable to
> setup
> [java] com.cloud.utils.exception.CloudRuntimeException: callHostPlugin
> failed for cmd: setIptables with args due to There was a failure
> communicating with the plugin.
> [java] at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.callHostPlugin(CitrixR
> esourceBase.java:3506)
> [java] at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.setIptables(CitrixRes
> ourceBase.java:3518)
> [java] at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResou
> rceBase.java:4257)
> [java] at
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Citr
> ixResourceBase.java:464)
> [java] at
> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(
> XenServer56Resource.java:69)
> [java] at
> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache
> .java:187)
> [java] at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> [java] at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> [java] at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> [java] at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ac
> cess$201(ScheduledThreadPoolExecutor.java:178)
> [java] at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ru
> n(ScheduledThreadPoolExecutor.java:292)
> [java] at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
> a:1110)
> [java] at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> va:603)
> [java] at java.lang.Thread.run(Thread.java:722)
> [java] WARN [xen.discoverer.XcpServerDiscoverer] (AgentTaskPool-2:)
> Unable to setup agent 5 due to callHostPlugin failed for cmd: setIptables with
> args due to There was a failure communicating with the plugin.
> [java] WARN [agent.manager.AgentManagerImpl] (AgentTaskPool-2:)
> Monitor XcpServerDiscoverer$$EnhancerByCGLIB$$ed1d12c8 says there is an
> error in the connect process for 5 due to Reinitialize agent after setup.
> [java] INFO [agent.manager.AgentManagerImpl] (AgentTaskPool-2:) Host 5
> is disconnecting with event AgentDisconnected