cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nguyen Anh Tu <ng.t...@gmail.com>
Subject Re: Runtime Error: "could not find systemvmiso" in master branch
Date Sat, 08 Jun 2013 10:27:08 GMT
Thanks Vijay. It helps me alot. Pheww. It should be noted! Someone doesn't
know about clear tags


2012/10/29 Vijay Venkatachalam <Vijay.Venkatachalam@citrix.com>

> Identified the reason for the problem: The host did not contain
> system-vm.iso vhd-util etc. Basically, the patch files were not
> applied. There was a CS host tag that erroneously marked the XenServer
> was already patched even though it was not patched. Hence
> remove /re-add of the host did not patch the files.
>
> The following sequence of steps should help fix the problem.
> 1. Remove the host
> 2. Cleanup the host as usual (clear vbd and any vms)
> 3. Remove cs tags of the host using the following command.
>   xe host-param-clear uuid=<hostid> param-name=tags
> 4. Add the host back
>
> Hope the sequence of steps will help someone in the future.
>
> > -----Original Message-----
> > From: Rohit Yadav [mailto:rohit.yadav@citrix.com]
> > Sent: Friday, October 26, 2012 5:07 PM
> > To: cloudstack-dev@incubator.apache.org
> > Subject: Re: Runtime Error: "could not find systemvmiso" in master branch
> >
> >
> > On 26-Oct-2012, at 4:22 PM, Vijay Venkatachalam
> > <Vijay.Venkatachalam@citrix.com> wrote:
> >
> > > Hi,
> > >
> > > I am trying to setup a zone out of master and I get  "can not find
> > systemvmiso" repeatedly.
> > > No system vms are created in the xenserver host.
> > > Anyone else facing the same problem?
> > >
> > > Steps
> > > *****
> > > 0. copy vhd-util to scripts/vm/hypervisor/xenserver/vhd-util
> > > 1. "mvn -P deps"  && "mvn install"
> >
> > Assuming you're doing this on asf master, mvn -P deps is no longer
> required
> > (this was only for ant).
> > start afresh; mvn clean install and other commands;
> >
> >
> > > 2.  mvn -P developer -pl developer -Ddeploydb 3.export
> > > MAVEN_OPTS="-Xmx1024m -Xdebug -
> > Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
> > > 4. mvn -pl :cloud-client-ui jetty:run
> > > 5. Create an advanced zone
> > >
> > >
> > >
> > > Extract from vmops.log
> > > ****************
> > >
> > > 2012-10-26 14:55:23,775 DEBUG [xen.resource.CitrixResourceBase]
> > > (DirectAgent-15:null) VBD 93e0dd7a-0630-6e82-a12a-d9a65dc8fb25 created
> > > for Vol[2|ROOT|1e8db6aa-cb60-40ec-8162-6d50907c900b|2147483648]
> > > 2012-10-26 14:55:24,041 WARN  [xen.resource.CitrixResourceBase]
> > > (DirectAgent-15:null) Catch Exception: class
> > > com.cloud.utils.exception.CloudRuntimeException due to
> > > com.cloud.utils.exception.CloudRuntimeException: can not find
> > > systemvmiso
> > > com.cloud.utils.exception.CloudRuntimeException: can not find
> > systemvmiso
> > >        at
> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.createPatchVbd(Citri
> > xResourceBase.java:1140)
> > >        at
> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResou
> > rceBase.java:1285)
> > >        at
> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Citr
> > ixResourceBase.java:497)
> > >        at
> > com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(
> > XenServer56Resource.java:73)
> > >        at
> > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache
> > .java:191)
> > >        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.ScheduledThreadPoolExecutor$ScheduledFutureTask.ac
> > cess$201(ScheduledThreadPoolExecutor.java:178)
> > >        at
> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ru
> > n(ScheduledThreadPoolExecutor.java:292)
> > >        at
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
> > a:1110)
> > >        at
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> > va:603)
> > >        at java.lang.Thread.run(Thread.java:722)
> > > 2012-10-26 14:55:24,042 WARN  [xen.resource.CitrixResourceBase]
> > > (DirectAgent-15:null) Unable to start v-2-VM due to
> > > com.cloud.utils.exception.CloudRuntimeException: can not find
> > > systemvmiso
> >
> > Check that you've pre-seeded the systemvm template on your secondary
> > storage. Assuming you did that, probably the host was not clean?
> > xe vm-uninstall --multiple
> >
> > >        at
> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.createPatchVbd(Citri
> > xResourceBase.java:1140)
> > >        at
> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResou
> > rceBase.java:1285)
> > >        at
> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Citr
> > ixResourceBase.java:497)
> > >        at
> > com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(
> > XenServer56Resource.java:73)
> > >        at
> > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache
> > .java:191)
> > >        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.ScheduledThreadPoolExecutor$ScheduledFutureTask.ac
> > cess$201(ScheduledThreadPoolExecutor.java:178)
> > >        at
> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ru
> > n(ScheduledThreadPoolExecutor.java:292)
> > >        at
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
> > a:1110)
> > >        at
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> > va:603)
> > >        at java.lang.Thread.run(Thread.java:722)
> > > 2012-10-26 14:55:24,084 WARN  [xen.resource.CitrixResourceBase]
> > > (DirectAgent-15:null) Unable to clean up VBD due to You gave an invalid
> > object reference.  The object may have recently been deleted.  The class
> > parameter gives the type of reference given, and the handle parameter
> > echoes the bad value given.
> >
> > xe xe vbd-list # check and unplug/eject/destroy anything that may
> interfere?
> > I'd faced some issue like this before, my host was messed up and there
> were
> > vbds which I could not eject/unplug, I had to force unplug and destroy
> them.
> >
> > Regards.
> >
> > >        at com.xensource.xenapi.Types.checkResponse(Types.java:207)
> > >        at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
> > >        at
> > com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerCo
> > nnection.dispatch(XenServerConnectionPool.java:909)
> > >        at com.xensource.xenapi.VBD.unplug(VBD.java:1054)
> > >        at
> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailur
> > e(CitrixResourceBase.java:1092)
> > >        at
> > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixRes
> > > ourceBase.java:1353)
> > >
> > >
> > > Thanks,
> > > Vijay V.
>
>


-- 

N.g.U.y.e.N.A.n.H.t.U

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message