cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tejas Gadaria <refond.g...@gmail.com>
Subject Re: Unable to deploy systemvms
Date Wed, 02 Apr 2014 12:54:46 GMT
Hi Yitao,

xenbr0 : acting as Management network and no VLAN is assigned to it
xenbr1 : acting as public, guest storage network. All of this are in same
VLAN.
Also I have given same "name-label" as here in Cloudstack network
configuraion.

I don't know much about xen VLAN networking..if anything wrong please
point it out.

[root@xen-dev ~]# xe network-list
uuid ( RO)                : bfb89346-9eae-4554-a46a-59f9b4587983
          name-label ( RW): cloud_link_local_network
    name-description ( RW): link local network used by system vms
              bridge ( RO): xapi0


uuid ( RO)                : eeb9fb94-7468-6b78-aaae-8d4e84b48afd
          name-label ( RW): Host internal management network
    name-description ( RW): Network on which guests will be assigned a
private link-local IP address which can be used to talk XenAPI
              bridge ( RO): xenapi


uuid ( RO)                : 90f6f78a-d4d8-463a-ccca-e28f7ea4e7d2
          name-label ( RW): cloud-manage
    name-description ( RW):
              bridge ( RO): xenbr0


uuid ( RO)                : 88f0843e-feb9-44d0-5a04-06f32a258b81
          name-label ( RW): cloud-public
    name-description ( RW):
              bridge ( RO): xenbr1


Regards,
Tejas



On Wed, Apr 2, 2014 at 5:42 PM, Yitao Jiang <willierjyt@gmail.com> wrote:

> Can you post your network configuration here, and do u able make operation
> on xenseever through xencenter? May be something wrong with ur storage
> On Apr 2, 2014 6:47 PM, "Tejas Gadaria" <refond.gmrt@gmail.com> wrote:
>
> > Hi Punith,
> >
> > Thanks for reply,
> >
> > I have already uploaded systemvm64template-2014-01-14-master-xen.vhd.bz2
> in
> > secondary .
> >
> > [root@con-xen ~]# ls -lR /vol/
> > /vol/:
> > total 8
> > drwxr-xr-x 2 root root 4096 Apr  2 12:46 primary
> > drwxr-xr-x 3 root root 4096 Apr  2 12:14 secondary
> >
> > /vol/primary:
> > total 4
> > -rw-r--r-- 1 root root 11 Apr  2 16:03
> > hb-ecff5b59-a2bc-4c0c-9ec8-05f7b4cda546
> >
> > /vol/secondary:
> > total 4
> > drwxr-xr-x 3 root root 4096 Apr  2 12:14 template
> >
> > /vol/secondary/template:
> > total 4
> > drwxr-xr-x 3 root root 4096 Apr  2 12:14 tmpl
> >
> > /vol/secondary/template/tmpl:
> > total 4
> > drwxr-xr-x 3 root root 4096 Apr  2 12:14 1
> >
> > /vol/secondary/template/tmpl/1:
> > total 4
> > drwxr-xr-x 2 root root 4096 Apr  2 12:26 1
> >
> > /vol/secondary/template/tmpl/1/1:
> > total 2565016
> > -rw-r--r-- 1 root root 2626564608 Apr  2 12:19
> > 041bb2b7-2c84-4a72-a2bb-573d6c1ba56e.vhd
> > -rw-r--r-- 1 root root        287 Apr  2 12:26 template.properties
> >
> >
> > Regards,
> > Tejas
> >
> >
> > On Wed, Apr 2, 2014 at 3:59 PM, Punith S <punith.s@cloudbyte.com> wrote:
> >
> > > hi,
> > >
> > > check whether you have seeded the vdh util for sysytem vms in secondary
> > > storage.
> > >
> > >
> >
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html#prepare-the-system-vm-template
> > >
> > > thanks.
> > >
> > >
> > > On Wed, Apr 2, 2014 at 3:54 PM, Tejas Gadaria <refond.gmrt@gmail.com>
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I am trying to create system vms, in CS 4.3 with Xenserver 6.2
> > > > I am trying to create advance zone. I have 2nics.
> > > > 1 for management network & second is trunk.
> > > >
> > > > I am getting below error
> > > >
> > > > 2014-04-02 15:18:28,827 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl]
> > > > (consoleproxy-1:ctx-774da64a) template 1 is already in store:1,
> > > type:Image
> > > > 2014-04-02 15:18:28,831 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl]
> > > > (consoleproxy-1:ctx-774da64a) template 1 is already in store:1,
> > > > type:Primary
> > > > 2014-04-02 15:18:28,832 DEBUG [o.a.c.s.v.VolumeServiceImpl]
> > > > (consoleproxy-1:ctx-774da64a) Found template routing-1 in storage
> pool
> > 1
> > > > with VMTemplateStoragePool id: 4
> > > > 2014-04-02 15:18:28,840 DEBUG [o.a.c.s.v.VolumeServiceImpl]
> > > > (consoleproxy-1:ctx-774da64a) Acquire lock on VMTemplateStoragePool 4
> > > with
> > > > timeout 3600 seconds
> > > > 2014-04-02 15:18:30,903 WARN  [c.c.h.x.r.XenServerStorageProcessor]
> > > > (DirectAgent-111:ctx-f68bde71) destoryVDIbyNameLabel failed due to
> > there
> > > > are 0 VDIs with name cloud-cff5e443-72df-4aae-a4fd-1278fc0cbeb4
> > > > 2014-04-02 15:18:30,903 WARN  [c.c.h.x.r.XenServerStorageProcessor]
> > > > (DirectAgent-111:ctx-f68bde71) can not create vdi in sr
> > > > d2bf95cc-8761-c31d-37a5-173304cc621e
> > > > 2014-04-02 15:18:30,904 WARN  [c.c.h.x.r.XenServerStorageProcessor]
> > > > (DirectAgent-111:ctx-f68bde71) Catch Exception
> > > > com.cloud.utils.exception.CloudRuntimeException for template +  due
> to
> > > > com.cloud.utils.exception.CloudRuntimeException: can not create vdi
> in
> > sr
> > > > d2bf95cc-8761-c31d-37a5-173304cc621e
> > > > com.cloud.utils.exception.CloudRuntimeException: can not create vdi
> in
> > sr
> > > > d2bf95cc-8761-c31d-37a5-173304cc621e
> > > >     at
> > > >
> > > >
> > >
> >
> com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copy_vhd_from_secondarystorage(XenServerStorageProcessor.java:848)
> > > >     at
> > > >
> > > >
> > >
> >
> com.cloud.hypervisor.xen.resource.XenServerStorageProcessor.copyTemplateToPrimaryStorage(XenServerStorageProcessor.java:918)
> > > >     at
> > > >
> > > >
> > >
> >
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:75)
> > > >     at
> > > >
> > > >
> > >
> >
> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50)
> > > >     at
> > > >
> > > >
> > >
> >
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:609)
> > > >     at
> > > >
> > > >
> > >
> >
> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
> > > >     at
> > > >
> > > >
> > >
> >
> com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
> > > >     at
> > > >
> > > >
> > >
> >
> com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
> > > >     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.access$101(ScheduledThreadPoolExecutor.java:165)
> > > >     at
> > > >
> > > >
> > >
> >
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
> > > >     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)
> > > > 2014-04-02 15:18:30,904 DEBUG [c.c.a.m.DirectAgentAttache]
> > > > (DirectAgent-111:ctx-f68bde71) Seq 1-524878146: Response Received:
> > > > 2014-04-02 15:18:30,904 DEBUG [c.c.a.m.DirectAgentAttache]
> > > > (DirectAgent-111:ctx-f68bde71) Seq 1-524878146: Response Received:
> > > > 2014-04-02 15:18:30,905 DEBUG [c.c.a.t.Request]
> > > > (DirectAgent-111:ctx-f68bde71) Seq 1-524878146: Processing:  { Ans: ,
> > > > MgmtId: 345049296663, via: 1, Ver: v1, Flags: 10,
> > > >
> > > >
> > >
> >
> [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"Catch
> > > > Exception com.cloud.utils.exception.CloudRuntimeException for
> template
> > +
> > > > due to com.cloud.utils.exception.CloudRuntimeException: can not
> create
> > > vdi
> > > > in sr d2bf95cc-8761-c31d-37a5-173304cc621e","wait":0}}] }
> > > > 2014-04-02 15:18:30,905 DEBUG [c.c.a.t.Request]
> > > (secstorage-1:ctx-4d6c3938)
> > > > Seq 1-524878146: Received:  { Ans: , MgmtId: 345049296663, via: 1,
> Ver:
> > > v1,
> > > > Flags: 10, { CopyCmdAnswer } }
> > > > 2014-04-02 15:18:30,915 INFO  [o.a.c.s.v.VolumeServiceImpl]
> > > > (secstorage-1:ctx-4d6c3938) releasing lock for VMTemplateStoragePool
> 4
> > > > 2014-04-02 15:18:30,915 WARN  [c.c.u.d.Merovingian2]
> > > > (secstorage-1:ctx-4d6c3938) Was unable to find lock for the key
> > > > template_spool_ref4 and thread id 404723302
> > > > 2014-04-02 15:18:30,915 DEBUG [o.a.c.e.o.VolumeOrchestrator]
> > > > (secstorage-1:ctx-4d6c3938) Unable to create Vol[5|vm=5|ROOT]:Catch
> > > > Exception com.cloud.utils.exception.CloudRuntimeException for
> template
> > +
> > > > due to com.cloud.utils.exception.CloudRuntimeException: can not
> create
> > > vdi
> > > > in sr d2bf95cc-8761-c31d-37a5-173304cc621e
> > > > 2014-04-02 15:18:30,915 INFO  [c.c.v.VirtualMachineManagerImpl]
> > > > (secstorage-1:ctx-4d6c3938) Unable to contact resource.
> > > > com.cloud.exception.StorageUnavailableException: Resource
> > [StoragePool:1]
> > > > is unreachable: Unable to create Vol[5|vm=5|ROOT]:Catch Exception
> > > > com.cloud.utils.exception.CloudRuntimeException for template +  due
> to
> > > > com.cloud.utils.exception.CloudRuntimeException: can not create vdi
> in
> > sr
> > > > d2bf95cc-8761-c31d-37a5-173304cc621e
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1202)
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1254)
> > > >     at
> > > >
> > > >
> > >
> >
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:962)
> > > >     at
> > > >
> > > >
> > >
> >
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:761)
> > > >     at
> > > >
> > > >
> > >
> >
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:745)
> > > >     at
> > > >
> > > >
> > >
> >
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(SecondaryStorageManagerImpl.java:261)
> > > >     at
> > > >
> > > >
> > >
> >
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(SecondaryStorageManagerImpl.java:694)
> > > >     at
> > > >
> > > >
> > >
> >
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(SecondaryStorageManagerImpl.java:1278)
> > > >     at
> > > >
> > > >
> > >
> >
> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:123)
> > > >     at
> > > >
> > > >
> > >
> >
> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:50)
> > > >     at
> > > >
> com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:111)
> > > >     at
> > > >
> > com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:35)
> > > >     at
> > > >
> > com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:88)
> > > >     at
> > > >
> > > >
> > >
> >
> com.cloud.vm.SystemVmLoadScanner$1.runInContext(SystemVmLoadScanner.java:79)
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
> > > >     at
> > > >
> > > >
> > >
> >
> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
> > > >     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.access$201(ScheduledThreadPoolExecutor.java:165)
> > > >     at
> > > >
> > > >
> > >
> >
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
> > > >     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)
> > > > 2014-04-02 15:18:30,920 DEBUG [c.c.v.VirtualMachineManagerImpl]
> > > > (secstorage-1:ctx-4d6c3938) Cleaning up resources for the vm
> > > > VM[SecondaryStorageVm|s-5-VM] in Starting state
> > > >
> > > >
> > > >
> > > > Regards,
> > > > Tejas
> > > >
> > >
> > >
> > >
> > > --
> > > regards,
> > >
> > > punith s
> > > cloudbyte.com
> > >
> >
>

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