cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikolas Wostor <nwos...@gmail.com>
Subject Re: VHD-UTIL ACS 4.5
Date Mon, 06 Apr 2015 20:00:41 GMT
Hi folks,

I found the solution ...

Im using Debian 7 for ACS, when I run the "cloud-install-sys-tmplt" it use
the program named "uuidgen" by default it does not installed on debian, I
install it (apt-get install uuid-runtime) and remove all contet at /export
(NFS secondary storage mount point), restarted the ACS and all works.

Thanks

Nikolas Wostor

2015-04-06 16:14 GMT-03:00 Nikolas Wostor <nwostor@gmail.com>:

> Hi folks,
>
> I have a lab with ACS4.5 and XenServer 6.5 is up, when I enabled the zone
> and ACS started the process to initiate the system vm the following error
> occurs:
>
> 2015-04-06 16:03:32,954 DEBUG [c.c.a.t.Request]
> (Work-Job-Executor-149:ctx-52fe042e job-4/job-153 ctx-001d7d0d) Seq
> 3-2226748540758000030: Executing:  { Cmd , MgmtId: 269166775860596, via:
> 3(CLOUD2-XEN02), Ver: v1, Flags: 100111,
> [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/1/","origUrl":"
> http://download.cloud.com/templates/4.5/systemvm64template-4.5-xen.vhd.bz2","uuid":"029e05c9-d93c-11e4-a0cb-f4ce460f7d74","id":1,"format":"VHD","accountId":1,"checksum":"2b15ab4401c2d655264732d3fc600241","hvm":false,"displayText":"SystemVM
> Template
> (XenServer)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://
> 172.30.0.10/export
> ","_role":"Image"}},"name":"routing-1","hypervisorType":"XenServer"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"origUrl":"
> http://download.cloud.com/templates/4.5/systemvm64template-4.5-xen.vhd.bz2","uuid":"029e05c9-d93c-11e4-a0cb-f4ce460f7d74","id":1,"format":"VHD","accountId":1,"checksum":"2b15ab4401c2d655264732d3fc600241","hvm":false,"displayText":"SystemVM
> Template
> (XenServer)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"XENDATA00","id":1,"poolType":"PreSetup","host":"localhost","path":"/XENDATA00","port":0,"url":"PreSetup://localhost/XENDATA00/?ROLE=Primary&STOREUUID=XENDATA00"}},"name":"routing-1","hypervisorType":"XenServer"}},"executeInSequence":true,"options":{},"wait":10800}}]
> }
> 2015-04-06 16:03:32,954 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-359:ctx-1e9ad574) Seq 3-2226748540758000030: Executing request
> 2015-04-06 16:03:32,988 DEBUG [o.a.c.e.o.VolumeOrchestrator]
> (Work-Job-Executor-148:ctx-e1bb13bb job-3/job-152 ctx-bb0d670d) Checking if
> we need to prepare 1 volumes for VM[SecondaryStorageVm|s-31-VM]
> 2015-04-06 16:03:33,003 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl]
> (Work-Job-Executor-148:ctx-e1bb13bb job-3/job-152 ctx-bb0d670d) template 1
> is already in store:1, type:Image
> 2015-04-06 16:03:33,011 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl]
> (Work-Job-Executor-148:ctx-e1bb13bb job-3/job-152 ctx-bb0d670d) template 1
> is already in store:1, type:Primary
> 2015-04-06 16:03:33,013 DEBUG [o.a.c.s.v.VolumeServiceImpl]
> (Work-Job-Executor-148:ctx-e1bb13bb job-3/job-152 ctx-bb0d670d) Found
> template routing-1 in storage pool 1 with VMTemplateStoragePool id: 61
> 2015-04-06 16:03:33,015 DEBUG [o.a.c.s.v.VolumeServiceImpl]
> (Work-Job-Executor-148:ctx-e1bb13bb job-3/job-152 ctx-bb0d670d) Acquire
> lock on VMTemplateStoragePool 61 with timeout 3600 seconds
> 2015-04-06 16:03:34,585 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
> (AsyncJobMgr-Heartbeat-1:ctx-16cc55a0) Begin cleanup expired async-jobs
> 2015-04-06 16:03:34,594 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
> (AsyncJobMgr-Heartbeat-1:ctx-16cc55a0) End cleanup expired async-jobs
> 2015-04-06 16:03:34,981 DEBUG [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-359:ctx-1e9ad574) Host 172.30.0.102
> OpaqueRef:d337ca74-0428-0d6e-bb89-5ad54497b085: Removing SR
> 2015-04-06 16:03:34,986 DEBUG [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-359:ctx-1e9ad574) Host 172.30.0.102
> OpaqueRef:c2180893-286b-a2f0-9f0b-71ce5df2a2c5: Unplugging pbd
> 2015-04-06 16:03:35,389 DEBUG [c.c.h.x.r.CitrixResourceBase]
> (DirectAgent-359:ctx-1e9ad574) Host 172.30.0.102
> OpaqueRef:d337ca74-0428-0d6e-bb89-5ad54497b085: Forgetting
> 2015-04-06 16:03:35,398 DEBUG [c.c.a.m.DirectAgentAttache]
> (DirectAgent-359:ctx-1e9ad574) Seq 3-2226748540758000030: Response
> Received:
> 2015-04-06 16:03:35,398 DEBUG [c.c.a.t.Request]
> (DirectAgent-359:ctx-1e9ad574) Seq 3-2226748540758000030: Processing:  {
> Ans: , MgmtId: 269166775860596, via: 3, Ver: v1, Flags: 110,
> [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"Can't
> find template VDI under: 172.30.0.10:/export/template/tmpl/1/1","wait":0}}]
> }
> 2015-04-06 16:03:35,399 DEBUG [c.c.a.m.AgentAttache]
> (DirectAgent-359:ctx-1e9ad574) Seq 3-2226748540758000030: No more commands
> found
> 2015-04-06 16:03:35,399 DEBUG [c.c.a.t.Request]
> (Work-Job-Executor-149:ctx-52fe042e job-4/job-153 ctx-001d7d0d) Seq
> 3-2226748540758000030: Received:  { Ans: , MgmtId: 269166775860596, via: 3,
> Ver: v1, Flags: 110, { CopyCmdAnswer } }
> 2015-04-06 16:03:35,618 INFO  [o.a.c.s.v.VolumeServiceImpl]
> (Work-Job-Executor-149:ctx-52fe042e job-4/job-153 ctx-001d7d0d) releasing
> lock for VMTemplateStoragePool 61
> 2015-04-06 16:03:35,644 DEBUG [o.a.c.e.o.VolumeOrchestrator]
> (Work-Job-Executor-149:ctx-52fe042e job-4/job-153 ctx-001d7d0d) Unable to
> create Vol[2|vm=2|ROOT]:Can't find template VDI under: 172.30.0.10:
> /export/template/tmpl/1/1
> 2015-04-06 16:03:35,644 INFO  [c.c.v.VirtualMachineManagerImpl]
> (Work-Job-Executor-149:ctx-52fe042e job-4/job-153 ctx-001d7d0d) Unable to
> contact resource.
> com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1]
> is unreachable: Unable to create Vol[2|vm=2|ROOT]:Can't find template VDI
> under: 172.30.0.10:/export/template/tmpl/1/1
> at
> org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:1264)
> at
> org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepare(VolumeOrchestrator.java:1322)
> at
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:982)
> at
> com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachineManagerImpl.java:4471)
> at sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
> at
> com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:4627)
> at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:103)
> at
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:536)
> 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
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:493)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
>
> Follows the content of secondary storage
>
> /export/template/tmpl/1/1#ls -la
>
> rwxr-xr-x 2 root root       4096 Mar 31 17:31 .
> drwxr-xr-x 3 root root       4096 Mar 31 17:14 ..
> -rw-r--r-- 1 root root        215 Mar 31 17:31 template.properties
> -rw-r--r-- 1 root root 2689602048 Mar 31 17:31 .vhd
>
> I need other contet here?
>
> A VDI Template?
>
> Regards
>
> Nikolas
>
> 2015-04-01 18:16 GMT-03:00 Nikolas Wostor <nwostor@gmail.com>:
>
> Yes it's already open, I think found the problem ... or an evidence,
>> follows the catalina.log
>>
>> http://pastebin.com/0wuhFjfZ
>>
>>
>>
>> 2015-04-01 18:03 GMT-03:00 Somesh Naidu <Somesh.Naidu@citrix.com>:
>>
>> After you have started the service, check netstat to verify if port 8080
>>> is actively listening.
>>>
>>> Also, check mgmt. logs for any errors (quite often, there is an issue
>>> with DB connection).
>>>
>>> Somesh
>>> CloudPlatform Escalations
>>> Citrix Systems, Inc.
>>>
>>>
>>> -----Original Message-----
>>> From: Nikolas Wostor [mailto:nwostor@gmail.com]
>>> Sent: Wednesday, April 01, 2015 3:35 PM
>>> To: users@cloudstack.apache.org
>>> Subject: Re: VHD-UTIL ACS 4.5
>>>
>>> After finishing the configuration of management server (ACS 4.5 using
>>> XENserver 6.5), i tried to access the UI on http://x.x.x.x:8080 or
>>> http://x.x.x.x:8080/client, at the first case a blank page is showed and
>>> the second I receiv an error 503.
>>>
>>> I think this can be related java (using java 6) its correct?
>>>
>>> Anyone can put me in right direction ...
>>>
>>> Thanks
>>>
>>> 2015-03-31 17:11 GMT-03:00 Nikolas Wostor <nwostor@gmail.com>:
>>>
>>> > Thanks a lot Tim, I am using Xen 6.5.
>>> >
>>> > 2015-03-31 16:55 GMT-03:00 Tim Mackey <tmackey@gmail.com>:
>>> >
>>> > It all depends on what version of XenServer you are using.  With
>>> XenServer
>>> >> 6.5, you shouldn't need to replace vhd-util any longer.  With earlier
>>> >> versions, you've the correct replacement.
>>> >>
>>> >> btw, the 4.5 docs are:
>>> >>
>>> >>
>>> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/
>>> >>
>>> >> -tim
>>> >>
>>> >> On Tue, Mar 31, 2015 at 3:22 PM, Nikolas Wostor <nwostor@gmail.com>
>>> >> wrote:
>>> >>
>>> >> > Hi all,
>>> >> >
>>> >> > I perform a new installation of ACS 4.5 (shapeblue repo) following
>>> the
>>> >> > documentation of "
>>> >> >
>>> >> >
>>> >>
>>> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.4/installation.html
>>> >> > ",
>>> >> > because 4.5 documentation don't exist.
>>> >> >
>>> >> > Do you know another link to oficial documentation?
>>> >> >
>>> >> > At moment I download the vhd-util of 4.4 link "
>>> >> > http://download.cloud.com.s3.amazonaws.com/tools/vhd-util", any
>>> problem
>>> >> > use
>>> >> > that?
>>> >> >
>>> >> > Thank you all!
>>> >> >
>>> >> > Nikolas Wostor
>>> >> >
>>> >>
>>> >
>>> >
>>>
>>
>>
>

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