Hello Somesh, thanks I upload the picture and logs to this link if possible 
your check I would be very grateful, thanks

https://www.dropbox.com/sh/ia28zpsjptx4wrq/AADxPeI3Yh7VBFmzZp5mev57a?dl=0



Cordialmente,

Yesid Mora | Orchestration Engineer | O4IT
PBX: 251 Ext +57 (1) 423-5460 | Cel: 3124509565
Cr. 7 #74-56 | Oficina 202 | Bogotá, Colombia
http://www.o4it.com | mailto:ym...@o4it.com



-----Original Message-----
From: Somesh Naidu [mailto:somesh.na...@citrix.com]
Sent: Wednesday, September 30, 2015 6:07 PM
To: users@cloudstack.apache.org
Subject: RE: unable to copy template to primary storage

Also, if you google "Unable to copy template to primary storage due to 
exception:Exception: java.lang.NullPointerException" you will find a lot of 
known issues that you can take a hint from and verify if you are hitting any of 
those known issues.

Regards,
Somesh

-----Original Message-----
From: Somesh Naidu [mailto:somesh.na...@citrix.com]
Sent: Wednesday, September 30, 2015 7:03 PM
To: users@cloudstack.apache.org
Subject: RE: unable to copy template to primary storage

Yesid, the pictures can’t be attached to the emails to this DL so you’d have to 
upload it and share the link.

Looking at the error, copy command is failing meaning copy from secondary to 
primary. There are multiple reasons including command is timing out. I can’t be 
sure without looking at the complete logs.

Also, you mention that a CPVM and SSVM show up in vCenter. I would assume that 
these VMs are leftovers from previous install or attempts. Try matching the VM 
name/ID with that in CS DB. If they are not the same then go ahead and remove 
these VMs from vCenter.

Regards,
Somesh

From: Yesid Mora [mailto:ym...@o4it.com]
Sent: Wednesday, September 30, 2015 6:56 PM
To: users@cloudstack.apache.org
Subject: RE: unable to copy template to primary storage

Hello, additionally I check the task in vcenter and exist this error 
[cid:image001.png@01D0FBA9.46894370]




Cordialmente / Best regards,





Yesid Mora | Orchestration Engineer | O4IT


PBX:+57 (1) 423-5460  Ext  251  | Cel: 3124509565


Cr. 7 #74-56 | Oficina 202 | Bogotá, Colombia


www.o4it.com<http://www.o4it.com> | ym...@o4it.com<mailto:ym...@o4it.com>




[http://www.o4it.com]<http://www.o4it.com>[http://www.linkedin.com/company/1207504]<http://www.linkedin.com/company/1207504>[https://twitter.com/o4it]<https://twitter.com/o4it>[https://www.facebook.com/o4itofficial]<https://www.facebook.com/o4itofficial>[https://www.youtube.com/user/o4itofficial]<https://www.youtube.com/user/o4itofficial>





CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for 
the sole use of the intended recipient(s) and may contain confidential or 
proprietary information. Any unauthorized review, use, disclosure or 
distribution is prohibited. If you are not the intended recipient, immediately 
contact the sender by reply e-mail and destroy all copies of the original 
message.







From: Yesid Mora [mailto:ym...@o4it.com]
Sent: Wednesday, September 30, 2015 5:53 PM
To: users@cloudstack.apache.org
Subject: unable to copy template to primary storage


Hello Somesh, thanks for your comments, I check the table and the template is 
downloaded and again have error with the unable copy template but I check the 
vcenter exist two vm create for CPVM and SSVM but I check vm not have operation 
system and error is :



2015-09-30 18:49:33,234 DEBUG [c.c.a.m.DirectAgentAttache] 
(DirectAgent-170:ctx-794548c7) Seq 2-620101715: Executing request

2015-09-30 18:49:33,235 INFO  [c.c.h.v.u.VmwareContextPool] 
(DirectAgent-170:ctx-794548c7 10.112.3.2) Return a VmwareContext from the idle 
pool: corp\icf@10.112.3.250. current pool size: 1, outstanding count: 3

2015-09-30 18:49:33,266 ERROR [c.c.s.r.VmwareStorageProcessor] 
(DirectAgent-170:ctx-794548c7 10.112.3.2) Unable to copy template to primary 
storage due to exception:Exception: java.lang.NullPointerException

2015-09-30 18:49:33,266 INFO  [c.c.h.v.u.VmwareContextPool] 
(DirectAgent-170:ctx-794548c7 10.112.3.2) Recycle VmwareContext into idle pool: 
corp\icf@10.112.3.250, current idle pool size: 2, outstanding count: 3

2015-09-30 18:49:33,266 DEBUG [c.c.a.m.DirectAgentAttache] 
(DirectAgent-170:ctx-794548c7) Seq 2-620101715: Response Received:

2015-09-30 18:49:33,267 DEBUG [c.c.a.t.Request] (DirectAgent-170:ctx-794548c7) 
Seq 2-620101715: Processing:  { Ans: , MgmtId: 345050522867, via: 2, Ver: v1, 
Flags: 10, 
[{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"Unable
 to copy template to primary storage due to exception:Exception: 
java.lang.NullPointerException\nMessage: null\n","wait":0}}] }



[cid:image001.png@01D0FBA8.D4EF1460]





Cordialmente / Best regards,





Yesid Mora | Orchestration Engineer | O4IT


PBX:+57 (1) 423-5460  Ext  251  | Cel: 3124509565


Cr. 7 #74-56 | Oficina 202 | Bogotá, Colombia


www.o4it.com<http://www.o4it.com> | ym...@o4it.com<mailto:ym...@o4it.com>




[http://www.o4it.com]<http://www.o4it.com>[http://www.linkedin.com/company/1207504]<http://www.linkedin.com/company/1207504>[https://twitter.com/o4it]<https://twitter.com/o4it>[https://www.facebook.com/o4itofficial]<https://www.facebook.com/o4itofficial>[https://www.youtube.com/user/o4itofficial]<https://www.youtube.com/user/o4itofficial>





CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for 
the sole use of the intended recipient(s) and may contain confidential or 
proprietary information. Any unauthorized review, use, disclosure or 
distribution is prohibited. If you are not the intended recipient, immediately 
contact the sender by reply e-mail and destroy all copies of the original 
message.








-----Original Message-----
From: Somesh Naidu [mailto:somesh.na...@citrix.com]
Sent: Wednesday, September 30, 2015 5:42 PM
To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>
Subject: RE: unable to copy template to primary storage



> additionally the product is CloudStack

Ok.



> System vm template is not ready at data center 1, wait until it is

> ready to launch secondary storage vm

The logs suggests the template is not yet ready on the secondary storage. Can 
you check if the template is downloaded on the secondary storage, look at the 
table template_store_ref.



Regards,

Somesh



-----Original Message-----

From: Yesid Mora [mailto:ym...@o4it.com]

Sent: Wednesday, September 30, 2015 6:27 PM

To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>

Subject: RE: unable to copy template to primary storage



Hello in this moment we delete the secondary storage and add again but the 
error is different, whe check the table template_spool_ref and inform that the 
template is downloaded but the template not have in the UI templates, how can 
launch again the downladed template, additionally the product is CloudStack, 
thanks



2015-09-30 18:24:23,651 DEBUG [c.c.c.ConsoleProxyManagerImpl] 
(consoleproxy-1:ctx-83f9f66f) Zone 1 is not ready to launch console proxy yet

2015-09-30 18:24:23,914 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] 
(secstorage-1:ctx-4ee93080) System vm template is not ready at data center 1, 
wait until it is ready to launch secondary storage vm

2015-09-30 18:24:23,914 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] 
(secstorage-1:ctx-4ee93080) Zone 1 is not ready to launch secondary storage VM 
yet

2015-09-30 18:24:31,293 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
(RouterStatusMonitor-1:ctx-55143ea1) Found 0 routers to update status.

2015-09-30 18:24:31,294 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
(RouterStatusMonitor-1:ctx-55143ea1) Found 0 networks to update RvR status.

2015-09-30 18:24:31,354 DEBUG [c.c.a.AlertManagerImpl] 
(CapacityChecker:ctx-947ab22f) Running Capacity Checker ...

2015-09-30 18:24:31,354 DEBUG [c.c.a.AlertManagerImpl] 
(CapacityChecker:ctx-947ab22f) recalculating system capacity

2015-09-30 18:24:31,354 DEBUG [c.c.a.AlertManagerImpl] 
(CapacityChecker:ctx-947ab22f) Executing cpu/ram capacity update

2015-09-30 18:24:31,358 DEBUG [c.c.c.CapacityManagerImpl] 
(CapacityChecker:ctx-947ab22f) Found 0 VMs on host 1

2015-09-30 18:24:31,360 DEBUG [c.c.c.CapacityManagerImpl] 
(CapacityChecker:ctx-947ab22f) Found 0 VM, not running on host 1

2015-09-30 18:24:31,361 DEBUG [c.c.c.CapacityManagerImpl] 
(CapacityChecker:ctx-947ab22f) No need to calibrate cpu capacity, host:1 
usedCpu: 0 reservedCpu: 0

2015-09-30 18:24:31,361 DEBUG [c.c.c.CapacityManagerImpl] 
(CapacityChecker:ctx-947ab22f) No need to calibrate memory capacity, host:1 
usedMem: 0 reservedMem: 0

2015-09-30 18:24:31,363 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(HostReservationReleaseChecker:ctx-d2f93112) Checking if any host reservation 
can be released ...

2015-09-30 18:24:31,364 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(HostReservationReleaseChecker:ctx-d2f93112) Done running 
HostReservationReleaseChecker ...

2015-09-30 18:24:31,365 DEBUG [c.c.c.CapacityManagerImpl] 
(CapacityChecker:ctx-947ab22f) Found 0 VMs on host 2

2015-09-30 18:24:31,370 DEBUG [c.c.c.CapacityManagerImpl] 
(CapacityChecker:ctx-947ab22f) Found 0 VM, not running on host 2

2015-09-30 18:24:31,372 DEBUG [c.c.c.CapacityManagerImpl] 
(CapacityChecker:ctx-947ab22f) No need to calibrate cpu capacity, host:2 
usedCpu: 0 reservedCpu: 0

2015-09-30 18:24:31,372 DEBUG [c.c.c.CapacityManagerImpl] 
(CapacityChecker:ctx-947ab22f) No need to calibrate memory capacity, host:2 
usedMem: 0 reservedMem: 0

2015-09-30 18:24:31,372 DEBUG [c.c.a.AlertManagerImpl] 
(CapacityChecker:ctx-947ab22f) Done executing cpu/ram capacity update

2015-09-30 18:24:31,373 DEBUG [c.c.a.AlertManagerImpl] 
(CapacityChecker:ctx-947ab22f) Executing storage capacity update







Cordialmente,



Yesid Mora | Orchestration Engineer | O4IT

PBX: 251 Ext +57 (1) 423-5460 | Cel: 3124509565 Cr. 7 #74-56 | Oficina 202 | 
Bogotá, Colombia http://www.o4it.com | mailto:ym...@o4it.com







-----Original Message-----

From: Somesh Naidu [mailto:somesh.na...@citrix.com]

Sent: Wednesday, September 30, 2015 5:17 PM

To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>

Subject: RE: unable to copy template to primary storage



Yesid, please paste the complete exception stack. Alternately, you could always 
raise a support ticket with Citrix.



Regards,

Somesh



From: Yesid Mora [mailto:ym...@o4it.com]

Sent: Wednesday, September 30, 2015 6:12 PM

To: users@cloudstack.apache.org<mailto:users@cloudstack.apache.org>

Subject: unable to copy template to primary storage



Hello guys, I have a problem with CloudPlatform 4.3.2, not possible copy the 
template and the system vm not have operation system, we have Vcenter  5.5 and 
ESXi 5.5, please help me with this error



ERROR [c.c.s.r.VmwareStorageProcessor] Unable to copy template to primary 
storage due to exception:Exception: java.lang.NullPointerException



thanks







Cordialmente / Best regards,











Yesid Mora | Orchestration Engineer | O4IT





PBX:+57 (1) 423-5460  Ext  251  | Cel: 3124509565





Cr. 7 #74-56 | Oficina 202 | Bogotá, Colombia





www.o4it.com<http://www.o4it.com<http://www.o4it.com%3chttp:/www.o4it.com>> | 
ym...@o4it.com<mailto:ym...@o4it.com<mailto:ym...@o4it.com%3cmailto:ym...@o4it.com>>









[http://www.o4it.com]<http://www.o4it.com>[http://www.linkedin.com/company/1207504]<http://www.linkedin.com/company/1207504>[https://twitter.com/o4it]<https://twitter.com/o4it>[https://www.facebook.com/o4itofficial]<https://www.facebook.com/o4itofficial>[https://www.youtube.com/user/o4itofficial]<https://www.youtube.com/user/o4itofficial>











CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for 
the sole use of the intended recipient(s) and may contain confidential or 
proprietary information. Any unauthorized review, use, disclosure or 
distribution is prohibited. If you are not the intended recipient, immediately 
contact the sender by reply e-mail and destroy all copies of the original 
message.














Reply via email to