RE: No such file or directory ( ACS 4.8
HI Cristian, Did you seeded the secondary storage template . also check the folder permissions on secondary storage. Check this link: http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.6/management-server/_systemvm.html regards Sadhu Chief Product Engineer, Accelerite -Original Message- From: Cristian Ciobanu [mailto:cristian.c@istream.today] Sent: Monday, April 11, 2016 1:06 AM To: users@cloudstack.apache.org Subject: No such file or directory ( ACS 4.8 Hello All, I just installed a new ACS 4.8 with Vmware, but i'm not sure why i get "No such file or directory" non of the system templates were created. Any idea ? 2016-04-10 15:21:38,409 DEBUG [c.c.a.t.Request] (Work-Job-Executor-129:ctx-1b73f17d job-7/job-475 ctx-7e3fc4f3) (logid:e1225ee9) Seq 1-887772076545409129: Sending { Cmd , MgmtId: 345048635511, via: 1(ns327063.ip-xxx-xxx-xxx.eu), Ver: v1, Flags: 100111, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache. cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/8/","origUr l":"http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0-vmwar e.ova","uuid":"2f6c6960-e60c-11e5-91fb-005056805877","id":8,"format":"OVA"," accountId":1,"checksum":"4b415224fe00b258f66cad9fce9f73fc","hvm":false,"disp layText":"SystemVM Template (vSphere)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://1 72.11.11.2/secondary","_role":"Image"}},"name":"routing-8","hypervisorType": "VMware"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"o rigUrl":"http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0- vmware.ova","uuid":"2f6c6960-e60c-11e5-91fb-005056805877","id":8,"format":"O VA","accountId":1,"checksum":"4b415224fe00b258f66cad9fce9f73fc","hvm":false, "displayText":"SystemVM Template (vSphere)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataSt oreTO":{"uuid":"a0e3b41b-4c99-4972-8985-618d94a92d1f","id":1,"poolType":"VMF S","host":"VMFS datastore: datastore-29","path":"datastore-29","port":0,"url":"VMFS://VMFS datastore: datastore-29/datastore-29/?ROLE=Primary&STOREUUID=a0e3b41b-4c99-4972-8985-61 8d94a92d1f"}},"name":"routing-8","hypervisorType":"VMware"}},"executeInSeque nce":true,"options":{},"options2":{},"wait":10800}}] } 2016-04-10 15:21:38,409 DEBUG [c.c.a.t.Request] (Work-Job-Executor-129:ctx-1b73f17d job-7/job-475 ctx-7e3fc4f3) (logid:e1225ee9) Seq 1-887772076545409129: Executing: { Cmd , MgmtId: 345048635511, via: 1(ns327063.ip-xxx-xxx-xxx.eu), Ver: v1, Flags: 100111, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache. cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/8/","origUr l":"http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0-vmwar e.ova","uuid":"2f6c6960-e60c-11e5-91fb-005056805877","id":8,"format":"OVA"," accountId":1,"checksum":"4b415224fe00b258f66cad9fce9f73fc","hvm":false,"disp layText":"SystemVM Template (vSphere)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://1 72.11.11.2/secondary","_role":"Image"}},"name":"routing-8","hypervisorType": "VMware"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"o rigUrl":"http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0- vmware.ova","uuid":"2f6c6960-e60c-11e5-91fb-005056805877","id":8,"format":"O VA","accountId":1,"checksum":"4b415224fe00b258f66cad9fce9f73fc","hvm":false, "displayText":"SystemVM Template (vSphere)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataSt oreTO":{"uuid":"a0e3b41b-4c99-4972-8985-618d94a92d1f","id":1,"poolType":"VMF S","host":"VMFS datastore: datastore-29","path":"datastore-29","port":0,"url":"VMFS://VMFS datastore: datastore-29/datastore-29/?ROLE=Primary&STOREUUID=a0e3b41b-4c99-4972-8985-61 8d94a92d1f"}},"name":"routing-8","hypervisorType":"VMware"}},"executeInSeque nce":true,"options":{},"options2":{},"wait":10800}}] } 2016-04-10 15:21:38,409 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-168:ctx-af26db25) (logid:e9d7408e) Seq 1-887772076545409129: Executing request 2016-04-10 15:21:38,429 INFO [c.c.s.r.VmwareStorageProcessor] (DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475, cmd: CopyCommand) (logid:e1225ee9) Template routing-8 is not setup yet. Set up template from secondary storage with uuid name: dfe4d12702053b96bfa64e5a392c640c 2016-04-10 15:21:38,443 INFO [c.c.s.r.VmwareStorageProcessor] (DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475, cmd: CopyCommand) (logid:e1225ee9) Executing copyTemplateFromSecondaryToPrimary. secondaryStorage: nfs://172.11.11.2/secondary, templatePathAtSecondaryStorage: template/tmpl/1/8/, templateName: routing-8 2016-04-10 15:21:38,443 INFO [c.c.s.r.VmwareStorageProcessor] (DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475, cmd: CopyCommand) (logid:e1225ee9) Secondary storage mount point: /var/cloudstack/mnt/VM/345048635511.50f6b0ca 2016-04
RE: No such file or directory ( ACS 4.8
Hi Cristian, Is the SystemVM template seeded properly ? Is the routing-8 template present in the secondary store (templates/tmpl/1/8 )? If Yes then please check permissions as mentioned below. Can you just check the permissions for the templates folder in secondary store. It should 777 for VmWare hypervisor. If they are different then please try to give 777 permissions to templates folder recursively and give it a try. Regards, Pavan -Original Message- From: Cristian Ciobanu [mailto:cristian.c@istream.today] Sent: Monday, April 11, 2016 1:06 AM To: users@cloudstack.apache.org Subject: No such file or directory ( ACS 4.8 Hello All, I just installed a new ACS 4.8 with Vmware, but i'm not sure why i get "No such file or directory" non of the system templates were created. Any idea ? 2016-04-10 15:21:38,409 DEBUG [c.c.a.t.Request] (Work-Job-Executor-129:ctx-1b73f17d job-7/job-475 ctx-7e3fc4f3) (logid:e1225ee9) Seq 1-887772076545409129: Sending { Cmd , MgmtId: 345048635511, via: 1(ns327063.ip-xxx-xxx-xxx.eu), Ver: v1, Flags: 100111, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache. cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/8/","origUr l":"http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0-vmwar e.ova","uuid":"2f6c6960-e60c-11e5-91fb-005056805877","id":8,"format":"OVA"," accountId":1,"checksum":"4b415224fe00b258f66cad9fce9f73fc","hvm":false,"disp layText":"SystemVM Template (vSphere)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://1 72.11.11.2/secondary","_role":"Image"}},"name":"routing-8","hypervisorType": "VMware"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"o rigUrl":"http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0- vmware.ova","uuid":"2f6c6960-e60c-11e5-91fb-005056805877","id":8,"format":"O VA","accountId":1,"checksum":"4b415224fe00b258f66cad9fce9f73fc","hvm":false, "displayText":"SystemVM Template (vSphere)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataSt oreTO":{"uuid":"a0e3b41b-4c99-4972-8985-618d94a92d1f","id":1,"poolType":"VMF S","host":"VMFS datastore: datastore-29","path":"datastore-29","port":0,"url":"VMFS://VMFS datastore: datastore-29/datastore-29/?ROLE=Primary&STOREUUID=a0e3b41b-4c99-4972-8985-61 8d94a92d1f"}},"name":"routing-8","hypervisorType":"VMware"}},"executeInSeque nce":true,"options":{},"options2":{},"wait":10800}}] } 2016-04-10 15:21:38,409 DEBUG [c.c.a.t.Request] (Work-Job-Executor-129:ctx-1b73f17d job-7/job-475 ctx-7e3fc4f3) (logid:e1225ee9) Seq 1-887772076545409129: Executing: { Cmd , MgmtId: 345048635511, via: 1(ns327063.ip-xxx-xxx-xxx.eu), Ver: v1, Flags: 100111, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache. cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/8/","origUr l":"http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0-vmwar e.ova","uuid":"2f6c6960-e60c-11e5-91fb-005056805877","id":8,"format":"OVA"," accountId":1,"checksum":"4b415224fe00b258f66cad9fce9f73fc","hvm":false,"disp layText":"SystemVM Template (vSphere)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://1 72.11.11.2/secondary","_role":"Image"}},"name":"routing-8","hypervisorType": "VMware"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"o rigUrl":"http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0- vmware.ova","uuid":"2f6c6960-e60c-11e5-91fb-005056805877","id":8,"format":"O VA","accountId":1,"checksum":"4b415224fe00b258f66cad9fce9f73fc","hvm":false, "displayText":"SystemVM Template (vSphere)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataSt oreTO":{"uuid":"a0e3b41b-4c99-4972-8985-618d94a92d1f","id":1,"poolType":"VMF S","host":"VMFS datastore: datastore-29","path":"datastore-29","port":0,"url":"VMFS://VMFS datastore: datastore-29/datastore-29/?ROLE=Primary&STOREUUID=a0e3b41b-4c99-4972-8985-61 8d94a92d1f"}},"name":"routing-8","hypervisorType":"VMware"}},"executeInSeque nce":true,"options":{},"options2":{},"wait":10800}}] } 2016-04-10 15:21:38,409 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-168:ctx-af26db25) (logid:e9d7408e) Seq 1-887772076545409129: Executing request 2016-04-10 15:21:38,429 INFO [c.c.s.r.VmwareStorageProcessor] (DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475, cmd: CopyCommand) (logid:e1225ee9) Template routing-8 is not setup yet. Set up template from secondary storage with uuid name: dfe4d12702053b96bfa64e5a392c640c 2016-04-10 15:21:38,443 INFO [c.c.s.r.VmwareStorageProcessor] (DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475, cmd: CopyCommand) (logid:e1225ee9) Executing copyTemplateFromSecondaryToPrimary. secondaryStorage: nfs://172.11.11.2/secondary, templatePathAtSecondaryStorage: template/tmpl/1/8/, templateName: routing-8 2016-04-10 15:21:38,443 INFO [c.c.s.r.VmwareStorageProcessor] (DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-
No such file or directory ( ACS 4.8
Hello All, I just installed a new ACS 4.8 with Vmware, but i'm not sure why i get "No such file or directory" non of the system templates were created. Any idea ? 2016-04-10 15:21:38,409 DEBUG [c.c.a.t.Request] (Work-Job-Executor-129:ctx-1b73f17d job-7/job-475 ctx-7e3fc4f3) (logid:e1225ee9) Seq 1-887772076545409129: Sending { Cmd , MgmtId: 345048635511, via: 1(ns327063.ip-xxx-xxx-xxx.eu), Ver: v1, Flags: 100111, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache. cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/8/","origUr l":"http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0-vmwar e.ova","uuid":"2f6c6960-e60c-11e5-91fb-005056805877","id":8,"format":"OVA"," accountId":1,"checksum":"4b415224fe00b258f66cad9fce9f73fc","hvm":false,"disp layText":"SystemVM Template (vSphere)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://1 72.11.11.2/secondary","_role":"Image"}},"name":"routing-8","hypervisorType": "VMware"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"o rigUrl":"http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0- vmware.ova","uuid":"2f6c6960-e60c-11e5-91fb-005056805877","id":8,"format":"O VA","accountId":1,"checksum":"4b415224fe00b258f66cad9fce9f73fc","hvm":false, "displayText":"SystemVM Template (vSphere)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataSt oreTO":{"uuid":"a0e3b41b-4c99-4972-8985-618d94a92d1f","id":1,"poolType":"VMF S","host":"VMFS datastore: datastore-29","path":"datastore-29","port":0,"url":"VMFS://VMFS datastore: datastore-29/datastore-29/?ROLE=Primary&STOREUUID=a0e3b41b-4c99-4972-8985-61 8d94a92d1f"}},"name":"routing-8","hypervisorType":"VMware"}},"executeInSeque nce":true,"options":{},"options2":{},"wait":10800}}] } 2016-04-10 15:21:38,409 DEBUG [c.c.a.t.Request] (Work-Job-Executor-129:ctx-1b73f17d job-7/job-475 ctx-7e3fc4f3) (logid:e1225ee9) Seq 1-887772076545409129: Executing: { Cmd , MgmtId: 345048635511, via: 1(ns327063.ip-xxx-xxx-xxx.eu), Ver: v1, Flags: 100111, [{"org.apache.cloudstack.storage.command.CopyCommand":{"srcTO":{"org.apache. cloudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/1/8/","origUr l":"http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0-vmwar e.ova","uuid":"2f6c6960-e60c-11e5-91fb-005056805877","id":8,"format":"OVA"," accountId":1,"checksum":"4b415224fe00b258f66cad9fce9f73fc","hvm":false,"disp layText":"SystemVM Template (vSphere)","imageDataStore":{"com.cloud.agent.api.to.NfsTO":{"_url":"nfs://1 72.11.11.2/secondary","_role":"Image"}},"name":"routing-8","hypervisorType": "VMware"}},"destTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"o rigUrl":"http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0- vmware.ova","uuid":"2f6c6960-e60c-11e5-91fb-005056805877","id":8,"format":"O VA","accountId":1,"checksum":"4b415224fe00b258f66cad9fce9f73fc","hvm":false, "displayText":"SystemVM Template (vSphere)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataSt oreTO":{"uuid":"a0e3b41b-4c99-4972-8985-618d94a92d1f","id":1,"poolType":"VMF S","host":"VMFS datastore: datastore-29","path":"datastore-29","port":0,"url":"VMFS://VMFS datastore: datastore-29/datastore-29/?ROLE=Primary&STOREUUID=a0e3b41b-4c99-4972-8985-61 8d94a92d1f"}},"name":"routing-8","hypervisorType":"VMware"}},"executeInSeque nce":true,"options":{},"options2":{},"wait":10800}}] } 2016-04-10 15:21:38,409 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-168:ctx-af26db25) (logid:e9d7408e) Seq 1-887772076545409129: Executing request 2016-04-10 15:21:38,429 INFO [c.c.s.r.VmwareStorageProcessor] (DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475, cmd: CopyCommand) (logid:e1225ee9) Template routing-8 is not setup yet. Set up template from secondary storage with uuid name: dfe4d12702053b96bfa64e5a392c640c 2016-04-10 15:21:38,443 INFO [c.c.s.r.VmwareStorageProcessor] (DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475, cmd: CopyCommand) (logid:e1225ee9) Executing copyTemplateFromSecondaryToPrimary. secondaryStorage: nfs://172.11.11.2/secondary, templatePathAtSecondaryStorage: template/tmpl/1/8/, templateName: routing-8 2016-04-10 15:21:38,443 INFO [c.c.s.r.VmwareStorageProcessor] (DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475, cmd: CopyCommand) (logid:e1225ee9) Secondary storage mount point: /var/cloudstack/mnt/VM/345048635511.50f6b0ca 2016-04-10 15:21:38,443 INFO [c.c.s.r.VmwareStorageProcessor] (DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475, cmd: CopyCommand) (logid:e1225ee9) Executing command: tar --no-same-owner -xf /var/cloudstack/mnt/VM/345048635511.50f6b0ca/template/tmpl/1/8//routing-8.ov a 2016-04-10 15:21:38,443 DEBUG [c.c.s.r.VmwareStorageProcessor] (DirectAgent-168:ctx-af26db25 ns327063.ip-xxx-xxx-xxx.eu, job-7/job-475, cmd: CopyCommand) (logid:e1225ee9) Executing: tar --no-same-owner -xf /var/clou
Re: Re[2]: High Availability Cloudstack
Hi, I have tested this multiple times with a multi-node kvm cluster. When you kill one hypervisor (and it will not come back) then HA kicks in as expected and VMs with HA but set are started again. Quite sure all versions since 4.6 work fine, most likely older versions as well. Very simple to test, just give it a try. Maybe we should write a Marvin integration test to prove it works as people keep saying it doesn't for some reason. Regards, Remi > On 08 Apr 2016, at 04:43, Indra Pramana wrote: > > Hi Simon, > > Apologise for replying to an old thread - may I know if you have managed to > test this out on your lab? How was the result? > > Thank you. > > >> On Thu, Feb 4, 2016 at 3:05 AM, Simon Weller wrote: >> >> i'll test it out in our lab 4.7.1 lab and see what happens. >> >> >> From: Nux! >> Sent: Wednesday, February 3, 2016 12:34 PM >> To: users@cloudstack.apache.org >> Cc: Mohd Zainal Abidin Rabani >> Subject: Re: Re[2]: High Availability Cloudstack >> >> Simon, >> >> I think this is no longer correct. After a certain timeout the management >> server will bring up the VMs on another hypervisor. We discussed this in >> the somewhat recent past, but can't find the thread right now. >> There was some nice insight from Wido or Marcus. >> >> Lucian >> >> -- >> Sent from the Delta quadrant using Borg technology! >> >> Nux! >> www.nux.ro >> >> - Original Message - >>> From: "Simon Weller" >>> To: "users" >>> Cc: "Mohd Zainal Abidin Rabani" >>> Sent: Wednesday, 3 February, 2016 16:23:55 >>> Subject: Re: Re[2]: High Availability Cloudstack >> >>> My understanding is that HA will never actually function on KVM there >> way most >>> expect, unless the original host that failed comes back up and the agents >>> report the VMs not running. This is due to Cloudstack not wanting to risk >>> starting a vm that already is locked by another process, on a different >> server. >>> >>> The only way I know of to force HA to function is to remove the host out >> of >>> CloudStack, to force CloudStack to reallocate the VMs. >>> >>> There has been a lot of talk about introducing a reliable fencing >> mechanism into >>> management, so that CloudStack management is 100% confident the vm is >> safe to >>> restart on a new host. >>> >>> The current proposal for that is here: >> https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+HA+with+IPMI+Fencing >>> >>> - Si >>> >>> >>> >>> >>> From: Andrei Mikhailovsky >>> Sent: Wednesday, February 3, 2016 1:49 AM >>> To: users >>> Cc: Mohd Zainal Abidin Rabani >>> Subject: Re: Re[2]: High Availability Cloudstack >>> >>> Hi, >>> >>> from what i can can see, this issue has been resolved in version 4.4 and >> Mohd is >>> running 4.6. >>> >>> From my testing with KVM, the management server performs a poll once in >> a while >>> and the agent replies if a vm is up. It might take some time before the >> state >>> changes, like 30 seconds or so, so give it a bit more time. My testing >> show >>> that the management server does update the state if the vm is manually >> powered >>> down. >>> >>> I've not tested tha HA feature for sometime, but last time i checked it >> was >>> working. You should also set the HA option in the vm's system offering. >>> >>> Andrei >>> - Original Message - From: "Suresh Sadhu" To: "users" , "Mohd Zainal Abidin Rabani" Sent: Wednesday, 3 February, 2016 06:24:49 Subject: RE: Re[2]: High Availability Cloudstack >>> Please see below issue: https://issues.apache.org/jira/browse/CLOUDSTACK-5582 regards sadhu -Original Message- From: Mohd Zainal Abidin Rabani [mailto:zai...@nocser.net] Sent: Wednesday, February 3, 2016 10:12 AM To: users@cloudstack.apache.org Subject: Re[2]: High Availability Cloudstack I'm using KVM that come with centos 7. That management also using >> centos 7. Cloudstack version is 4.6. - Regards, Mohd Zainal Abidin Rabani Technical Support ModernOne Data Solutions Sdn. Bhd.(1119382-D) No. 83-2, Jalan TKS 1, >> Kajang Sentral, 43000 Kajang, Selangor. T : 03-8737 0030 | F : 03-8737 0070 E : zai...@nocser.net W : www.modern.com.my | www.nocser.net -- Original Message -- From: "Abhinandan Prateek" To: "users@cloudstack.apache.org" ; "Mohd >> Zainal Abidin Rabani" Sent: 03/02/2016 12:38:38 Subject: Re: High Availability Cloudstack > MS version, Hypervisor ? Are there more hosts in the cluster ? > > > > > Abhinandan PrateekSoftware Architect, ShapeBlued: | s: +44 203 603 > 0540 | m: +91 970 11 99011e: abhinandan.prat...@shapeblue.com | t: | > w: www.shapeblue.coma: 53 Chandos Place, Covent Garden London WC2N 4HS > UKShape Blue Ltd is a com