RE: Cloudstack 4.1.1 + XCP 1.6 fresh install
Yes, I am sure it was there prior to adding host and it had +x bit set. I have also mentioned that heartbit at host has +x flag missing. So I actually copied vhd-util to /opt/xensource/bin/ manually and set missing +x flag to haeartbit manually. After that I had no errors at management log. Do you think I should create JIRA story at bug-tracker ? Vadim Kimlaychuk -Original Message- From: create...@gmail.com [mailto:create...@gmail.com] On Behalf Of Carlos Reategui Sent: Thursday, September 19, 2013 8:15 PM To: users@cloudstack.apache.org Subject: Re: Cloudstack 4.1.1 + XCP 1.6 fresh install Are you positive you had vhd-util in /usr/share/cloudstack-common/ scripts/vm/hypervisor/xenserver/ prior to adding the hosts to CS? Also was it chmod +x? If so, this is a bug that should be filed in Jira. In my case I'm mostly sure I had it in there but not with the executable bit set so wasn't sure if it was user error on my part (although I guess that should be considered a documentation bug then). On Wed, Sep 18, 2013 at 11:56 PM, Vadim Kimlaychuk < vadim.kimlayc...@elion.ee> wrote: > Thank you all - indeed the probleem was at vhd-util missing on the Host. > Problem solved ! > > Vadim. > > -Original Message- > From: create...@gmail.com [mailto:create...@gmail.com] On Behalf Of > Carlos Reategui > Sent: Wednesday, September 18, 2013 9:05 PM > To: users@cloudstack.apache.org > Subject: Re: Cloudstack 4.1.1 + XCP 1.6 fresh install > > Hi Vadim, > As Kousik mentioned, please check /opt/xensource/bin/ to see that it > got copied there when the hosts were added to CS (along with several > other CS scripts). It should have been. If not, that is likely the problem. > > > > On Wed, Sep 18, 2013 at 10:45 AM, Koushik Das >wrote: > > > Yes. vhd-util needs to be copied in the hypervisor host under > > /opt/xensource/bin > > > > -Koushik > > > > On 18-Sep-2013, at 8:55 PM, Vadim Kimlaychuk > > > > wrote: > > > > > Do you mean I have to copy vhd-util to the server where XCP is > > installed? What should be the right path there? > > > >
Re: Cloudstack 4.1.1 + XCP 1.6 fresh install
Are you positive you had vhd-util in /usr/share/cloudstack-common/ scripts/vm/hypervisor/xenserver/ prior to adding the hosts to CS? Also was it chmod +x? If so, this is a bug that should be filed in Jira. In my case I'm mostly sure I had it in there but not with the executable bit set so wasn't sure if it was user error on my part (although I guess that should be considered a documentation bug then). On Wed, Sep 18, 2013 at 11:56 PM, Vadim Kimlaychuk < vadim.kimlayc...@elion.ee> wrote: > Thank you all - indeed the probleem was at vhd-util missing on the Host. > Problem solved ! > > Vadim. > > -Original Message- > From: create...@gmail.com [mailto:create...@gmail.com] On Behalf Of > Carlos Reategui > Sent: Wednesday, September 18, 2013 9:05 PM > To: users@cloudstack.apache.org > Subject: Re: Cloudstack 4.1.1 + XCP 1.6 fresh install > > Hi Vadim, > As Kousik mentioned, please check /opt/xensource/bin/ to see that it got > copied there when the hosts were added to CS (along with several other CS > scripts). It should have been. If not, that is likely the problem. > > > > On Wed, Sep 18, 2013 at 10:45 AM, Koushik Das >wrote: > > > Yes. vhd-util needs to be copied in the hypervisor host under > > /opt/xensource/bin > > > > -Koushik > > > > On 18-Sep-2013, at 8:55 PM, Vadim Kimlaychuk > > > > wrote: > > > > > Do you mean I have to copy vhd-util to the server where XCP is > > installed? What should be the right path there? > > > >
RE: Cloudstack 4.1.1 + XCP 1.6 fresh install
Thank you all - indeed the probleem was at vhd-util missing on the Host. Problem solved ! Vadim. -Original Message- From: create...@gmail.com [mailto:create...@gmail.com] On Behalf Of Carlos Reategui Sent: Wednesday, September 18, 2013 9:05 PM To: users@cloudstack.apache.org Subject: Re: Cloudstack 4.1.1 + XCP 1.6 fresh install Hi Vadim, As Kousik mentioned, please check /opt/xensource/bin/ to see that it got copied there when the hosts were added to CS (along with several other CS scripts). It should have been. If not, that is likely the problem. On Wed, Sep 18, 2013 at 10:45 AM, Koushik Das wrote: > Yes. vhd-util needs to be copied in the hypervisor host under > /opt/xensource/bin > > -Koushik > > On 18-Sep-2013, at 8:55 PM, Vadim Kimlaychuk > > wrote: > > > Do you mean I have to copy vhd-util to the server where XCP is > installed? What should be the right path there? > > > > Vadim > > > > From: Carlos Reátegui [create...@gmail.com] > > Sent: Wednesday, September 18, 2013 18:15 > > To: users@cloudstack.apache.org > > Cc: users@cloudstack.apache.org > > Subject: Re: Cloudstack 4.1.1 + XCP 1.6 fresh install > > > > On a recent install of CS4.1.1 + XS6.1 I thought I had vhd-util in > > the > right place but it did not get copied to the hosts. It maybe a similar > issue here. > > > > Try to copy the vhd-util to the hosts and see if things start working. > They did for me. > > > > On Sep 18, 2013, at 7:28 AM, Vadim Kimlaychuk > > > wrote: > > > >> Yes, its over there (I have Ubuntu 12.04 LTS) : > >> > >> root@mgmt4xcp:/home/vadim# ls -al > /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vh* > >> -rwxr-xr-x 1 root root 318977 Sep 18 15:55 > /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util > >> > >> Vadim > >> > >> -Original Message- > >> From: Ian Duffy [mailto:i...@ianduffy.ie] > >> Sent: Wednesday, September 18, 2013 5:26 PM > >> To: users@cloudstack.apache.org > >> Subject: Re: Cloudstack 4.1.1 + XCP 1.6 fresh install > >> > >> Did you copy over vhd-util to the correct folder and chmod +x it? > >> On 18 Sep 2013 15:13, "Vadim Kimlaychuk" > >> > wrote: > >> > >>> Hello all, > >>> > >>> Trying to install subj. several times I have decided to > >>> ask your help. May be someone already faced the same problem? I > >>> did the configuration according to “Installation guide” and always > >>> end up with the same problem: on system VM creation I got repeated > >>> errors > like this: > >>> > >>> 2013-09-18 16:49:21,605 DEBUG [cloud.storage.StorageManagerImpl] > >>> (consoleproxy-1:null) Creating volume: Vol[2|vm=2|ROOT] > >>> 2013-09-18 16:49:21,605 DEBUG [cloud.storage.StorageManagerImpl] > >>> (consoleproxy-1:null) Trying to create in > >>> Pool[200|NetworkFilesystem] > >>> 2013-09-18 16:49:23,381 WARN [xen.resource.CitrixResourceBase] > >>> (DirectAgent-4:null) kill_copy_process failed > >>> 2013-09-18 16:49:23,381 WARN [xen.resource.CitrixResourceBase] > >>> (DirectAgent-4:null) can not create vdi in sr > >>> c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 > >>> 2013-09-18 16:49:23,382 WARN [xen.resource.CitrixResourceBase] > >>> (DirectAgent-4:null) Catch Exception > >>> com.cloud.utils.exception.CloudRuntimeException on > >>> host:e6a339ee-521c-4c67-ac55-cbd256607150 for template: nfs:// > >>> 192.168.107.142/export/secondary/template/tmpl/1/1/ due to > >>> com.cloud.utils.exception.CloudRuntimeException: can not create > >>> vdi in sr > >>> c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 > >>> com.cloud.utils.exception.CloudRuntimeException: can not create > >>> vdi in sr > >>> c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 > >>> at > >>> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.copy_vhd_from_sec > ondarystorage(CitrixResourceBase.java:2707) > >>> at > >>> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixRes > ourceBase.java:2729) > >>> at > >>> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Ci > trixResourceBase.java:501) > >>> at > >>> > com.cloud.hypervisor.xen.resource.XcpServerResource.executeRequest(Xcp > Serv
Re: Cloudstack 4.1.1 + XCP 1.6 fresh install
Hi Vadim, As Kousik mentioned, please check /opt/xensource/bin/ to see that it got copied there when the hosts were added to CS (along with several other CS scripts). It should have been. If not, that is likely the problem. On Wed, Sep 18, 2013 at 10:45 AM, Koushik Das wrote: > Yes. vhd-util needs to be copied in the hypervisor host under > /opt/xensource/bin > > -Koushik > > On 18-Sep-2013, at 8:55 PM, Vadim Kimlaychuk > wrote: > > > Do you mean I have to copy vhd-util to the server where XCP is > installed? What should be the right path there? > > > > Vadim > > > > From: Carlos Reátegui [create...@gmail.com] > > Sent: Wednesday, September 18, 2013 18:15 > > To: users@cloudstack.apache.org > > Cc: users@cloudstack.apache.org > > Subject: Re: Cloudstack 4.1.1 + XCP 1.6 fresh install > > > > On a recent install of CS4.1.1 + XS6.1 I thought I had vhd-util in the > right place but it did not get copied to the hosts. It maybe a similar > issue here. > > > > Try to copy the vhd-util to the hosts and see if things start working. > They did for me. > > > > On Sep 18, 2013, at 7:28 AM, Vadim Kimlaychuk > wrote: > > > >> Yes, its over there (I have Ubuntu 12.04 LTS) : > >> > >> root@mgmt4xcp:/home/vadim# ls -al > /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vh* > >> -rwxr-xr-x 1 root root 318977 Sep 18 15:55 > /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util > >> > >> Vadim > >> > >> -Original Message- > >> From: Ian Duffy [mailto:i...@ianduffy.ie] > >> Sent: Wednesday, September 18, 2013 5:26 PM > >> To: users@cloudstack.apache.org > >> Subject: Re: Cloudstack 4.1.1 + XCP 1.6 fresh install > >> > >> Did you copy over vhd-util to the correct folder and chmod +x it? > >> On 18 Sep 2013 15:13, "Vadim Kimlaychuk" > wrote: > >> > >>> Hello all, > >>> > >>> Trying to install subj. several times I have decided to > >>> ask your help. May be someone already faced the same problem? I did > >>> the configuration according to “Installation guide” and always end up > >>> with the same problem: on system VM creation I got repeated errors > like this: > >>> > >>> 2013-09-18 16:49:21,605 DEBUG [cloud.storage.StorageManagerImpl] > >>> (consoleproxy-1:null) Creating volume: Vol[2|vm=2|ROOT] > >>> 2013-09-18 16:49:21,605 DEBUG [cloud.storage.StorageManagerImpl] > >>> (consoleproxy-1:null) Trying to create in Pool[200|NetworkFilesystem] > >>> 2013-09-18 16:49:23,381 WARN [xen.resource.CitrixResourceBase] > >>> (DirectAgent-4:null) kill_copy_process failed > >>> 2013-09-18 16:49:23,381 WARN [xen.resource.CitrixResourceBase] > >>> (DirectAgent-4:null) can not create vdi in sr > >>> c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 > >>> 2013-09-18 16:49:23,382 WARN [xen.resource.CitrixResourceBase] > >>> (DirectAgent-4:null) Catch Exception > >>> com.cloud.utils.exception.CloudRuntimeException on > >>> host:e6a339ee-521c-4c67-ac55-cbd256607150 for template: nfs:// > >>> 192.168.107.142/export/secondary/template/tmpl/1/1/ due to > >>> com.cloud.utils.exception.CloudRuntimeException: can not create vdi in > >>> sr > >>> c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 > >>> com.cloud.utils.exception.CloudRuntimeException: can not create vdi in > >>> sr > >>> c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 > >>> at > >>> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.copy_vhd_from_secondarystorage(CitrixResourceBase.java:2707) > >>> at > >>> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2729) > >>> at > >>> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:501) > >>> at > >>> > com.cloud.hypervisor.xen.resource.XcpServerResource.executeRequest(XcpServerResource.java:51) > >>> at > >>> > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186) > >>> 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
Re: Cloudstack 4.1.1 + XCP 1.6 fresh install
Yes. vhd-util needs to be copied in the hypervisor host under /opt/xensource/bin -Koushik On 18-Sep-2013, at 8:55 PM, Vadim Kimlaychuk wrote: > Do you mean I have to copy vhd-util to the server where XCP is installed? > What should be the right path there? > > Vadim > > From: Carlos Reátegui [create...@gmail.com] > Sent: Wednesday, September 18, 2013 18:15 > To: users@cloudstack.apache.org > Cc: users@cloudstack.apache.org > Subject: Re: Cloudstack 4.1.1 + XCP 1.6 fresh install > > On a recent install of CS4.1.1 + XS6.1 I thought I had vhd-util in the right > place but it did not get copied to the hosts. It maybe a similar issue here. > > Try to copy the vhd-util to the hosts and see if things start working. They > did for me. > > On Sep 18, 2013, at 7:28 AM, Vadim Kimlaychuk > wrote: > >> Yes, its over there (I have Ubuntu 12.04 LTS) : >> >> root@mgmt4xcp:/home/vadim# ls -al >> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vh* >> -rwxr-xr-x 1 root root 318977 Sep 18 15:55 >> /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util >> >> Vadim >> >> -Original Message- >> From: Ian Duffy [mailto:i...@ianduffy.ie] >> Sent: Wednesday, September 18, 2013 5:26 PM >> To: users@cloudstack.apache.org >> Subject: Re: Cloudstack 4.1.1 + XCP 1.6 fresh install >> >> Did you copy over vhd-util to the correct folder and chmod +x it? >> On 18 Sep 2013 15:13, "Vadim Kimlaychuk" wrote: >> >>> Hello all, >>> >>> Trying to install subj. several times I have decided to >>> ask your help. May be someone already faced the same problem? I did >>> the configuration according to “Installation guide” and always end up >>> with the same problem: on system VM creation I got repeated errors like >>> this: >>> >>> 2013-09-18 16:49:21,605 DEBUG [cloud.storage.StorageManagerImpl] >>> (consoleproxy-1:null) Creating volume: Vol[2|vm=2|ROOT] >>> 2013-09-18 16:49:21,605 DEBUG [cloud.storage.StorageManagerImpl] >>> (consoleproxy-1:null) Trying to create in Pool[200|NetworkFilesystem] >>> 2013-09-18 16:49:23,381 WARN [xen.resource.CitrixResourceBase] >>> (DirectAgent-4:null) kill_copy_process failed >>> 2013-09-18 16:49:23,381 WARN [xen.resource.CitrixResourceBase] >>> (DirectAgent-4:null) can not create vdi in sr >>> c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 >>> 2013-09-18 16:49:23,382 WARN [xen.resource.CitrixResourceBase] >>> (DirectAgent-4:null) Catch Exception >>> com.cloud.utils.exception.CloudRuntimeException on >>> host:e6a339ee-521c-4c67-ac55-cbd256607150 for template: nfs:// >>> 192.168.107.142/export/secondary/template/tmpl/1/1/ due to >>> com.cloud.utils.exception.CloudRuntimeException: can not create vdi in >>> sr >>> c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 >>> com.cloud.utils.exception.CloudRuntimeException: can not create vdi in >>> sr >>> c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 >>> at >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.copy_vhd_from_secondarystorage(CitrixResourceBase.java:2707) >>> at >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2729) >>> at >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:501) >>> at >>> com.cloud.hypervisor.xen.resource.XcpServerResource.executeRequest(XcpServerResource.java:51) >>> at >>> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186) >>> 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:1146) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>> at java.lang.Thread.run(Thread.java:679) >>> 2013-09-18 16:49:23,384 DEBUG [agent.manager.DirectAg
RE: Cloudstack 4.1.1 + XCP 1.6 fresh install
Do you mean I have to copy vhd-util to the server where XCP is installed? What should be the right path there? Vadim From: Carlos Reátegui [create...@gmail.com] Sent: Wednesday, September 18, 2013 18:15 To: users@cloudstack.apache.org Cc: users@cloudstack.apache.org Subject: Re: Cloudstack 4.1.1 + XCP 1.6 fresh install On a recent install of CS4.1.1 + XS6.1 I thought I had vhd-util in the right place but it did not get copied to the hosts. It maybe a similar issue here. Try to copy the vhd-util to the hosts and see if things start working. They did for me. On Sep 18, 2013, at 7:28 AM, Vadim Kimlaychuk wrote: > Yes, its over there (I have Ubuntu 12.04 LTS) : > > root@mgmt4xcp:/home/vadim# ls -al > /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vh* > -rwxr-xr-x 1 root root 318977 Sep 18 15:55 > /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util > > Vadim > > -Original Message- > From: Ian Duffy [mailto:i...@ianduffy.ie] > Sent: Wednesday, September 18, 2013 5:26 PM > To: users@cloudstack.apache.org > Subject: Re: Cloudstack 4.1.1 + XCP 1.6 fresh install > > Did you copy over vhd-util to the correct folder and chmod +x it? > On 18 Sep 2013 15:13, "Vadim Kimlaychuk" wrote: > >> Hello all, >> >>Trying to install subj. several times I have decided to >> ask your help. May be someone already faced the same problem? I did >> the configuration according to “Installation guide” and always end up >> with the same problem: on system VM creation I got repeated errors like this: >> >> 2013-09-18 16:49:21,605 DEBUG [cloud.storage.StorageManagerImpl] >> (consoleproxy-1:null) Creating volume: Vol[2|vm=2|ROOT] >> 2013-09-18 16:49:21,605 DEBUG [cloud.storage.StorageManagerImpl] >> (consoleproxy-1:null) Trying to create in Pool[200|NetworkFilesystem] >> 2013-09-18 16:49:23,381 WARN [xen.resource.CitrixResourceBase] >> (DirectAgent-4:null) kill_copy_process failed >> 2013-09-18 16:49:23,381 WARN [xen.resource.CitrixResourceBase] >> (DirectAgent-4:null) can not create vdi in sr >> c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 >> 2013-09-18 16:49:23,382 WARN [xen.resource.CitrixResourceBase] >> (DirectAgent-4:null) Catch Exception >> com.cloud.utils.exception.CloudRuntimeException on >> host:e6a339ee-521c-4c67-ac55-cbd256607150 for template: nfs:// >> 192.168.107.142/export/secondary/template/tmpl/1/1/ due to >> com.cloud.utils.exception.CloudRuntimeException: can not create vdi in >> sr >> c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 >> com.cloud.utils.exception.CloudRuntimeException: can not create vdi in >> sr >> c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 >>at >> com.cloud.hypervisor.xen.resource.CitrixResourceBase.copy_vhd_from_secondarystorage(CitrixResourceBase.java:2707) >>at >> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2729) >>at >> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:501) >>at >> com.cloud.hypervisor.xen.resource.XcpServerResource.executeRequest(XcpServerResource.java:51) >>at >> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186) >>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:1146) >>at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>at java.lang.Thread.run(Thread.java:679) >> 2013-09-18 16:49:23,384 DEBUG [agent.manager.DirectAgentAttache] >> (DirectAgent-4:null) Seq 1-1333067786: Response Received: >> 2013-09-18 16:49:23,385 DEBUG [agent.transport.Request] >> (DirectAgent-4:null) Seq 1-1333067786: Processing: { Ans: , MgmtId: >> 8796752993784, via: 1, Ver: v1, Flags: 110, >> [{"storage.PrimaryStorageDownloadAnswer":{"templateSize":0,"result":fa >> lse,"details":"Catch Exception >> com.cloud.utils.exception.CloudRuntimeException on >> host:e6a339ee-521c-4c67-ac55-cbd2
Re: Cloudstack 4.1.1 + XCP 1.6 fresh install
On a recent install of CS4.1.1 + XS6.1 I thought I had vhd-util in the right place but it did not get copied to the hosts. It maybe a similar issue here. Try to copy the vhd-util to the hosts and see if things start working. They did for me. On Sep 18, 2013, at 7:28 AM, Vadim Kimlaychuk wrote: > Yes, its over there (I have Ubuntu 12.04 LTS) : > > root@mgmt4xcp:/home/vadim# ls -al > /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vh* > -rwxr-xr-x 1 root root 318977 Sep 18 15:55 > /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util > > Vadim > > -Original Message- > From: Ian Duffy [mailto:i...@ianduffy.ie] > Sent: Wednesday, September 18, 2013 5:26 PM > To: users@cloudstack.apache.org > Subject: Re: Cloudstack 4.1.1 + XCP 1.6 fresh install > > Did you copy over vhd-util to the correct folder and chmod +x it? > On 18 Sep 2013 15:13, "Vadim Kimlaychuk" wrote: > >> Hello all, >> >>Trying to install subj. several times I have decided to >> ask your help. May be someone already faced the same problem? I did >> the configuration according to “Installation guide” and always end up >> with the same problem: on system VM creation I got repeated errors like this: >> >> 2013-09-18 16:49:21,605 DEBUG [cloud.storage.StorageManagerImpl] >> (consoleproxy-1:null) Creating volume: Vol[2|vm=2|ROOT] >> 2013-09-18 16:49:21,605 DEBUG [cloud.storage.StorageManagerImpl] >> (consoleproxy-1:null) Trying to create in Pool[200|NetworkFilesystem] >> 2013-09-18 16:49:23,381 WARN [xen.resource.CitrixResourceBase] >> (DirectAgent-4:null) kill_copy_process failed >> 2013-09-18 16:49:23,381 WARN [xen.resource.CitrixResourceBase] >> (DirectAgent-4:null) can not create vdi in sr >> c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 >> 2013-09-18 16:49:23,382 WARN [xen.resource.CitrixResourceBase] >> (DirectAgent-4:null) Catch Exception >> com.cloud.utils.exception.CloudRuntimeException on >> host:e6a339ee-521c-4c67-ac55-cbd256607150 for template: nfs:// >> 192.168.107.142/export/secondary/template/tmpl/1/1/ due to >> com.cloud.utils.exception.CloudRuntimeException: can not create vdi in >> sr >> c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 >> com.cloud.utils.exception.CloudRuntimeException: can not create vdi in >> sr >> c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 >>at >> com.cloud.hypervisor.xen.resource.CitrixResourceBase.copy_vhd_from_secondarystorage(CitrixResourceBase.java:2707) >>at >> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2729) >>at >> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:501) >>at >> com.cloud.hypervisor.xen.resource.XcpServerResource.executeRequest(XcpServerResource.java:51) >>at >> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186) >>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:1146) >>at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>at java.lang.Thread.run(Thread.java:679) >> 2013-09-18 16:49:23,384 DEBUG [agent.manager.DirectAgentAttache] >> (DirectAgent-4:null) Seq 1-1333067786: Response Received: >> 2013-09-18 16:49:23,385 DEBUG [agent.transport.Request] >> (DirectAgent-4:null) Seq 1-1333067786: Processing: { Ans: , MgmtId: >> 8796752993784, via: 1, Ver: v1, Flags: 110, >> [{"storage.PrimaryStorageDownloadAnswer":{"templateSize":0,"result":fa >> lse,"details":"Catch Exception >> com.cloud.utils.exception.CloudRuntimeException on >> host:e6a339ee-521c-4c67-ac55-cbd256607150 for template: nfs:// >> 192.168.107.142/export/secondary/template/tmpl/1/1/ due to >> com.cloud.utils.exception.CloudRuntimeException: can not create vdi in >> sr c6e55039-1fb0-5e5d-37d5-118a9ac3abb6","wait":0}}] } >> 2013-09-18 16:49:23,385 DEBUG [agent.transport.Request] >> (secstorage-1:
RE: Cloudstack 4.1.1 + XCP 1.6 fresh install
Yes, its over there (I have Ubuntu 12.04 LTS) : root@mgmt4xcp:/home/vadim# ls -al /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vh* -rwxr-xr-x 1 root root 318977 Sep 18 15:55 /usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/vhd-util Vadim -Original Message- From: Ian Duffy [mailto:i...@ianduffy.ie] Sent: Wednesday, September 18, 2013 5:26 PM To: users@cloudstack.apache.org Subject: Re: Cloudstack 4.1.1 + XCP 1.6 fresh install Did you copy over vhd-util to the correct folder and chmod +x it? On 18 Sep 2013 15:13, "Vadim Kimlaychuk" wrote: > Hello all, > > Trying to install subj. several times I have decided to > ask your help. May be someone already faced the same problem? I did > the configuration according to “Installation guide” and always end up > with the same problem: on system VM creation I got repeated errors like this: > > 2013-09-18 16:49:21,605 DEBUG [cloud.storage.StorageManagerImpl] > (consoleproxy-1:null) Creating volume: Vol[2|vm=2|ROOT] > 2013-09-18 16:49:21,605 DEBUG [cloud.storage.StorageManagerImpl] > (consoleproxy-1:null) Trying to create in Pool[200|NetworkFilesystem] > 2013-09-18 16:49:23,381 WARN [xen.resource.CitrixResourceBase] > (DirectAgent-4:null) kill_copy_process failed > 2013-09-18 16:49:23,381 WARN [xen.resource.CitrixResourceBase] > (DirectAgent-4:null) can not create vdi in sr > c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 > 2013-09-18 16:49:23,382 WARN [xen.resource.CitrixResourceBase] > (DirectAgent-4:null) Catch Exception > com.cloud.utils.exception.CloudRuntimeException on > host:e6a339ee-521c-4c67-ac55-cbd256607150 for template: nfs:// > 192.168.107.142/export/secondary/template/tmpl/1/1/ due to > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in > sr > c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in > sr > c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 > at > com.cloud.hypervisor.xen.resource.CitrixResourceBase.copy_vhd_from_secondarystorage(CitrixResourceBase.java:2707) > at > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2729) > at > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:501) > at > com.cloud.hypervisor.xen.resource.XcpServerResource.executeRequest(XcpServerResource.java:51) > at > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186) > 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:1146) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:679) > 2013-09-18 16:49:23,384 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-4:null) Seq 1-1333067786: Response Received: > 2013-09-18 16:49:23,385 DEBUG [agent.transport.Request] > (DirectAgent-4:null) Seq 1-1333067786: Processing: { Ans: , MgmtId: > 8796752993784, via: 1, Ver: v1, Flags: 110, > [{"storage.PrimaryStorageDownloadAnswer":{"templateSize":0,"result":fa > lse,"details":"Catch Exception > com.cloud.utils.exception.CloudRuntimeException on > host:e6a339ee-521c-4c67-ac55-cbd256607150 for template: nfs:// > 192.168.107.142/export/secondary/template/tmpl/1/1/ due to > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in > sr c6e55039-1fb0-5e5d-37d5-118a9ac3abb6","wait":0}}] } > 2013-09-18 16:49:23,385 DEBUG [agent.transport.Request] > (secstorage-1:null) Seq 1-1333067786: Received: { Ans: , MgmtId: > 8796752993784, via: 1, Ver: v1, Flags: 110, { > PrimaryStorageDownloadAnswer } } > 2013-09-18 16:49:23,385 DEBUG [agent.manager.AgentManagerImpl] > (secstorage-1:null) Details from executing class > com.cloud.agent.api.storage.PrimaryStorageDownloadCommand: Catch > Exception com.cloud.utils.exception.CloudRuntimeException on > host:e6a339ee-521c-4c67-ac55-cbd256607150 for template: nfs:// > 192.168.107.142/export/secondary/template/tmpl/1/1/ due to > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in > sr > c6e5503
Re: Cloudstack 4.1.1 + XCP 1.6 fresh install
Did you copy over vhd-util to the correct folder and chmod +x it? On 18 Sep 2013 15:13, "Vadim Kimlaychuk" wrote: > Hello all, > > Trying to install subj. several times I have decided to ask > your help. May be someone already faced the same problem? I did the > configuration according to “Installation guide” and always end up with the > same problem: on system VM creation I got repeated errors like this: > > 2013-09-18 16:49:21,605 DEBUG [cloud.storage.StorageManagerImpl] > (consoleproxy-1:null) Creating volume: Vol[2|vm=2|ROOT] > 2013-09-18 16:49:21,605 DEBUG [cloud.storage.StorageManagerImpl] > (consoleproxy-1:null) Trying to create in Pool[200|NetworkFilesystem] > 2013-09-18 16:49:23,381 WARN [xen.resource.CitrixResourceBase] > (DirectAgent-4:null) kill_copy_process failed > 2013-09-18 16:49:23,381 WARN [xen.resource.CitrixResourceBase] > (DirectAgent-4:null) can not create vdi in sr > c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 > 2013-09-18 16:49:23,382 WARN [xen.resource.CitrixResourceBase] > (DirectAgent-4:null) Catch Exception > com.cloud.utils.exception.CloudRuntimeException on > host:e6a339ee-521c-4c67-ac55-cbd256607150 for template: nfs:// > 192.168.107.142/export/secondary/template/tmpl/1/1/ due to > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr > c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr > c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 > at > com.cloud.hypervisor.xen.resource.CitrixResourceBase.copy_vhd_from_secondarystorage(CitrixResourceBase.java:2707) > at > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2729) > at > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:501) > at > com.cloud.hypervisor.xen.resource.XcpServerResource.executeRequest(XcpServerResource.java:51) > at > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186) > 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:1146) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:679) > 2013-09-18 16:49:23,384 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-4:null) Seq 1-1333067786: Response Received: > 2013-09-18 16:49:23,385 DEBUG [agent.transport.Request] > (DirectAgent-4:null) Seq 1-1333067786: Processing: { Ans: , MgmtId: > 8796752993784, via: 1, Ver: v1, Flags: 110, > [{"storage.PrimaryStorageDownloadAnswer":{"templateSize":0,"result":false,"details":"Catch > Exception com.cloud.utils.exception.CloudRuntimeException on > host:e6a339ee-521c-4c67-ac55-cbd256607150 for template: nfs:// > 192.168.107.142/export/secondary/template/tmpl/1/1/ due to > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr > c6e55039-1fb0-5e5d-37d5-118a9ac3abb6","wait":0}}] } > 2013-09-18 16:49:23,385 DEBUG [agent.transport.Request] > (secstorage-1:null) Seq 1-1333067786: Received: { Ans: , MgmtId: > 8796752993784, via: 1, Ver: v1, Flags: 110, { PrimaryStorageDownloadAnswer > } } > 2013-09-18 16:49:23,385 DEBUG [agent.manager.AgentManagerImpl] > (secstorage-1:null) Details from executing class > com.cloud.agent.api.storage.PrimaryStorageDownloadCommand: Catch Exception > com.cloud.utils.exception.CloudRuntimeException on > host:e6a339ee-521c-4c67-ac55-cbd256607150 for template: nfs:// > 192.168.107.142/export/secondary/template/tmpl/1/1/ due to > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr > c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 > 2013-09-18 16:49:23,386 DEBUG [cloud.template.TemplateManagerImpl] > (secstorage-1:null) Template 1 download to pool 200 failed due to Catch > Exception com.cloud.utils.exception.CloudRuntimeException on > host:e6a339ee-521c-4c67-ac55-cbd256607150 for template: nfs:// > 192.168.107.142/export/secondary/template/tmpl/1/1/ due to > com.cloud.utils.exception.CloudRuntimeException: can not create vdi in sr > c6e55039-1fb0-5e5d-37d5-118a9ac3abb6 > 2013-09-18 16:49:23,386 DEBUG [cloud.template.TemplateManagerImpl] > (secstorage-1:null) Downloading 1 via 1 > 2013-09-18 16:49:23,394 DEBUG [agent.manager.AgentAttache] > (DirectAgent-4:null) Seq 1-1333067786: No more commands found > 2013-09-18 16:49:23,411 DEBUG [agent.transport.Request] > (secstorage-1:null) Seq 1-1333067