Fwd: Unable to deploy vm
Hi, thanks for replay, Is there any workaround for this ? OR how can I update 4.0.2 to 4.1.0 ? Regards, Tejas On Wed, Feb 26, 2014 at 2:55 PM, Sailaja Mada wrote: > Hi, > > Error log seems to be same as the bug @ > https://issues.apache.org/jira/browse/CLOUDSTACK-1403 - This got fixed in > 4.1.0 . > > Thanks, > Sailaja.M > > > -----Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: 26 February 2014 13:21 > To: us...@cloudstack.apache.org > Subject: Unable to deploy vm > > Hi, > > I am using CS 4.0.3 with vmware hypervisor. > > SSVM and CPVM is running both public and private IP are pinging from > management server. > > while trying to deploy vm from template, it.s giving , > > 2014-02-26 12:50:18,182 ERROR [vmware.resource.VmwareResource] > (DirectAgent-418:10.129.150.22) Unable to find template base snapshot, > invalid template > 2014-02-26 12:50:18,182 ERROR [vmware.resource.VmwareResource] > (DirectAgent-418:10.129.150.22) CreateCommand failed due to Exception: > java.lang.Exception > Message: Unable to find template base snapshot, invalid template > > java.lang.Exception: Unable to find template base snapshot, invalid > template > at > > com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3756) > at > > com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:335) > at > > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191) > 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-02-26 12:50:18,183 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-486:null) Seq 28-1947012159: Response Received: > 2014-02-26 12:50:18,183 DEBUG [agent.transport.Request] > (StatsCollector-1:null) Seq 28-1947012159: Received: { Ans: , MgmtId: > 345051457089, via: 28, Ver: v1, Flags: 10, { GetHostStatsAnswer } } > 2014-02-26 12:50:18,183 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-418:null) Seq 28-1947012160: Response Received: > 2014-02-26 12:50:18,183 DEBUG [agent.transport.Request] > (DirectAgent-418:null) Seq 28-1947012160: Processing: { Ans: , MgmtId: > 345051457089, via: 28, Ver: v1, Flags: 110, > > [{"storage.CreateAnswer":{"requestTemplateReload":false,"result":false,"details":"Exception: > java.lang.Exception\nMessage: java.lang.Exception: Unable to find template > base snapshot, invalid template\nStack: java.lang.Exception: > java.lang.Exception: Unable to find template base snapshot, invalid > template\n\tat > com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3833)\n\tat > > com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:335)\n\tat > > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)\n\tat > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\n\tat > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)\n\tat > java.util.concurrent.FutureTask.run(FutureTask.java:166)\n\tat > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)\n\tat > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)\n\tat > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)\n\tat > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)\n\tat > java.lang.Thread.run(Thread.java:679)\nCaused by: java.lang.Exception: > Unable to find template base snapshot, invalid template\n\tat > com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3756)\n\t... > 10 more\n","wait":0}}] } > 2014-02-26 12:50:18,183 DEBUG [agent.manager.AgentAttache] > (DirectAgent-418:null) Seq 28-1947012160: No more commands found > 2014-02-26 12:50:18,183 DEBUG [agent.transport.Request] > (Job-Executor-5:job-97) Seq 28-1947012160: Received: { Ans: , MgmtId: > 3450
Re: Unable to deploy vm
Hi Sailaja & Sanjeev, Thanks for replay, It worked for me. My network it very slow so I could not verify at this time. But yeah it's not throwing error at that point. Regards, Tejas On Thu, Feb 27, 2014 at 11:56 AM, Sailaja Mada wrote: > Hi, > > Root cause and workaround are listed in the bug details @ > https://issues.apache.org/jira/browse/CLOUDSTACK-1403?focusedCommentId=13588714&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13588714 > > > > Analysis & Root cause:- > Due to connection issues the first attempt to download template from > secondary storage failed while importing OVA template. > This left a stale template object in the datacenter. Next attempt to > download the template has returned success as only existance of template > with the specific uuid is checked. No more attempts made to setup the > template again. > The answer shows template size as 0. Atleast at this point the corruption > in template should have been detected. > The answer from logs is - > [{"storage.PrimaryStorageDownloadAnswer":{"installPath":"e372770297f73702b26a7898d041f3f8","templateSize":0,"result":true,"wait":0}}] > } > Any subsequent VM deployment would look to create a volume from this > template which fails as expected. After a successful import of OVA on > primary storage, a snapshot is taken to create a base snapshot from which > volumes are created. But due to IOException encountered while uploading the > file to URL this snapshot attempt was not made. > > Fix:- > Handle IOException while uploading template to primary storage URL and > cleanup stale template. Working on unit testing now. > > We have work around for this issue. Delete the stale template that was > created in datacenter due to failed PrimaryStorageDownloadCommand. > Subsequently a template would be setup again freshly. > > ==== > > > Thanks, > Sailaja.M > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: 27 February 2014 10:35 > To: us...@cloudstack.apache.org > Subject: Re: Unable to deploy vm > > Hi, > thanks for replay, > > Is there any workaround for this ? > OR > how can I update 4.0.2 to 4.1.0 ? > > Regards, > Tejas > > > On Wed, Feb 26, 2014 at 2:55 PM, Sailaja Mada >wrote: > > > Hi, > > > > Error log seems to be same as the bug @ > > https://issues.apache.org/jira/browse/CLOUDSTACK-1403 - This got fixed > > in > > 4.1.0 . > > > > Thanks, > > Sailaja.M > > > > > > -Original Message- > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > > Sent: 26 February 2014 13:21 > > To: us...@cloudstack.apache.org > > Subject: Unable to deploy vm > > > > Hi, > > > > I am using CS 4.0.3 with vmware hypervisor. > > > > SSVM and CPVM is running both public and private IP are pinging from > > management server. > > > > while trying to deploy vm from template, it.s giving , > > > > 2014-02-26 12:50:18,182 ERROR [vmware.resource.VmwareResource] > > (DirectAgent-418:10.129.150.22) Unable to find template base snapshot, > > invalid template > > 2014-02-26 12:50:18,182 ERROR [vmware.resource.VmwareResource] > > (DirectAgent-418:10.129.150.22) CreateCommand failed due to Exception: > > java.lang.Exception > > Message: Unable to find template base snapshot, invalid template > > > > java.lang.Exception: Unable to find template base snapshot, invalid > > template > > at > > > > > com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3756) > > at > > > > > com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:335) > > at > > > > > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191) > > 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) > &g
Re: Not able to ping to outside network from system VMs
Is your "Internal DNS 1" of Zone able to resolve Google DNS? Regards, Tejas On Thu, Feb 27, 2014 at 12:48 PM, Jitendra Shelar < jitendra_she...@persistent.co.in> wrote: > Hi All, > > I am setting up a 2-node cloudstack environment. > > Management Server :10.44.189.125 > Host Server : 10.44.65.143 > > I am able to see the system VMs in running state. > But not able ping to outside network from system VMs. > > I am not able to ping to corporate DNS or Google DNS from system VMs. > Also not able to ping gateway from system VMs. > > Health Check : > root@s-20-VM:/usr/local/cloud/systemvm# ./ssvm-check.sh > > First DNS server is 8.8.8.8 > PING 8.8.8.8 (8.8.8.8): 56 data bytes > 64 bytes from 10.44.188.14: Destination Host Unreachable > Vr HL TOS Len ID Flg off TTL Pro cks Src Dst Data > 4 5 00 5400 0 0040 40 01 5f64 10.44.188.14 8.8.8.8 > 64 bytes from 10.44.188.14: Destination Host Unreachable > Vr HL TOS Len ID Flg off TTL Pro cks Src Dst Data > 4 5 00 5400 0 0040 40 01 5f64 10.44.188.14 8.8.8.8 > --- 8.8.8.8 ping statistics --- > 2 packets transmitted, 0 packets received, 100% packet loss > WARNING: cannot ping DNS server > route follows > Kernel IP routing table > Destination Gateway Genmask Flags Metric RefUse > Iface > 8.8.8.8 10.44.188.3 255.255.255.255 UGH 0 00 > eth1 > 10.44.188.0 0.0.0.0 255.255.254.0 U 0 00 > eth1 > 10.44.188.0 0.0.0.0 255.255.254.0 U 0 00 > eth2 > 10.44.188.0 0.0.0.0 255.255.254.0 U 0 00 > eth3 > 169.254.0.0 0.0.0.0 255.255.0.0 U 0 00 > eth0 > 0.0.0.0 10.44.188.3 0.0.0.0 UG0 00 > eth2 > > ERROR: DNS not resolving download.cloud.com > resolv.conf follows > nameserver 8.8.8.8 > nameserver 8.8.8.8 > root@s-20-VM:/usr/local/cloud/systemvm# > > > Route information on system VM : > > root@s-20-VM:/usr/local/cloud/systemvm# route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric RefUse > Iface > 8.8.8.8 10.44.188.3 255.255.255.255 UGH 0 00 > eth1 > 10.44.188.0 0.0.0.0 255.255.254.0 U 0 00 > eth1 > 10.44.188.0 0.0.0.0 255.255.254.0 U 0 00 > eth2 > 10.44.188.0 0.0.0.0 255.255.254.0 U 0 00 > eth3 > 169.254.0.0 0.0.0.0 255.255.0.0 U 0 00 > eth0 > 0.0.0.0 10.44.188.3 0.0.0.0 UG0 00 > eth2 > root@s-20-VM:/usr/local/cloud/systemvm# > > > Please help me in getting out of this issue. > > Thanks, > Jitendra > > > > > > > DISCLAIMER > == > This e-mail may contain privileged and confidential information which is > the property of Persistent Systems Ltd. It is intended only for the use of > the individual or entity to which it is addressed. If you are not the > intended recipient, you are not authorized to read, retain, copy, print, > distribute or use this message. If you have received this communication in > error, please notify the sender and delete all copies of this message. > Persistent Systems Ltd. does not accept any liability for virus infected > mails. > >
Re: Unable to deploy vm
Hi, Please ignore previous mail, I think I misunderstood & deleted stale sysetmvm.iso. Still I am facing same error . So Under "Templates" do I need to delete all guest vm templates? do I need to delete " CentOS 5.3(64bit) no GUI (vSphere)" ? Regards, Tejas On Thu, Feb 27, 2014 at 2:53 PM, Tejas Gadaria wrote: > Hi Sailaja & Sanjeev, > > Thanks for replay, > > It worked for me. My network it very slow so I could not verify at this > time. > But yeah it's not throwing error at that point. > > Regards, > Tejas > > > > > On Thu, Feb 27, 2014 at 11:56 AM, Sailaja Mada wrote: > >> Hi, >> >> Root cause and workaround are listed in the bug details @ >> https://issues.apache.org/jira/browse/CLOUDSTACK-1403?focusedCommentId=13588714&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13588714 >> >> >> >> Analysis & Root cause:- >> Due to connection issues the first attempt to download template from >> secondary storage failed while importing OVA template. >> This left a stale template object in the datacenter. Next attempt to >> download the template has returned success as only existance of template >> with the specific uuid is checked. No more attempts made to setup the >> template again. >> The answer shows template size as 0. Atleast at this point the corruption >> in template should have been detected. >> The answer from logs is - >> [{"storage.PrimaryStorageDownloadAnswer":{"installPath":"e372770297f73702b26a7898d041f3f8","templateSize":0,"result":true,"wait":0}}] >> } >> Any subsequent VM deployment would look to create a volume from this >> template which fails as expected. After a successful import of OVA on >> primary storage, a snapshot is taken to create a base snapshot from which >> volumes are created. But due to IOException encountered while uploading the >> file to URL this snapshot attempt was not made. >> >> Fix:- >> Handle IOException while uploading template to primary storage URL and >> cleanup stale template. Working on unit testing now. >> >> We have work around for this issue. Delete the stale template that was >> created in datacenter due to failed PrimaryStorageDownloadCommand. >> Subsequently a template would be setup again freshly. >> >> >> >> >> Thanks, >> Sailaja.M >> >> -Original Message- >> From: Tejas Gadaria [mailto:refond.g...@gmail.com] >> Sent: 27 February 2014 10:35 >> To: us...@cloudstack.apache.org >> Subject: Re: Unable to deploy vm >> >> Hi, >> thanks for replay, >> >> Is there any workaround for this ? >> OR >> how can I update 4.0.2 to 4.1.0 ? >> >> Regards, >> Tejas >> >> >> On Wed, Feb 26, 2014 at 2:55 PM, Sailaja Mada > >wrote: >> >> > Hi, >> > >> > Error log seems to be same as the bug @ >> > https://issues.apache.org/jira/browse/CLOUDSTACK-1403 - This got fixed >> > in >> > 4.1.0 . >> > >> > Thanks, >> > Sailaja.M >> > >> > >> > -Original Message- >> > From: Tejas Gadaria [mailto:refond.g...@gmail.com] >> > Sent: 26 February 2014 13:21 >> > To: us...@cloudstack.apache.org >> > Subject: Unable to deploy vm >> > >> > Hi, >> > >> > I am using CS 4.0.3 with vmware hypervisor. >> > >> > SSVM and CPVM is running both public and private IP are pinging from >> > management server. >> > >> > while trying to deploy vm from template, it.s giving , >> > >> > 2014-02-26 12:50:18,182 ERROR [vmware.resource.VmwareResource] >> > (DirectAgent-418:10.129.150.22) Unable to find template base snapshot, >> > invalid template >> > 2014-02-26 12:50:18,182 ERROR [vmware.resource.VmwareResource] >> > (DirectAgent-418:10.129.150.22) CreateCommand failed due to Exception: >> > java.lang.Exception >> > Message: Unable to find template base snapshot, invalid template >> > >> > java.lang.Exception: Unable to find template base snapshot, invalid >> > template >> > at >> > >> > >> com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3756
Re: Unable to deploy vm
Thanks Sanjeev, It's working fine. Regards, Tejas On Mon, Mar 3, 2014 at 11:27 AM, Sanjeev Neelarapu < sanjeev.neelar...@citrix.com> wrote: > Hi Tejas, > > It is recommended to use a clean secondary storage for storing all the > artificats, otherwise CS might overwrite since it follows standard > directory structure for storing templates. So please clean your storage > before adding it to CS. > > Thanks, > Sanjeev > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: Friday, February 28, 2014 10:54 AM > To: us...@cloudstack.apache.org; dev@cloudstack.apache.org > Subject: Re: Unable to deploy vm > > Hi, > > Please ignore previous mail, > I think I misunderstood & deleted stale sysetmvm.iso. Still I am facing > same error . > > So Under "Templates" do I need to delete all guest vm templates? > do I need to delete " CentOS 5.3(64bit) no GUI (vSphere)" ? > > Regards, > Tejas > > > > On Thu, Feb 27, 2014 at 2:53 PM, Tejas Gadaria >wrote: > > > Hi Sailaja & Sanjeev, > > > > Thanks for replay, > > > > It worked for me. My network it very slow so I could not verify at > > this time. > > But yeah it's not throwing error at that point. > > > > Regards, > > Tejas > > > > > > > > > > On Thu, Feb 27, 2014 at 11:56 AM, Sailaja Mada >wrote: > > > >> Hi, > >> > >> Root cause and workaround are listed in the bug details @ > >> https://issues.apache.org/jira/browse/CLOUDSTACK-1403?focusedCommentI > >> d=13588714&page=com.atlassian.jira.plugin.system.issuetabpanels:comme > >> nt-tabpanel#comment-13588714 > >> > >> > >> = > >> === > >> Analysis & Root cause:- > >> Due to connection issues the first attempt to download template from > >> secondary storage failed while importing OVA template. > >> This left a stale template object in the datacenter. Next attempt to > >> download the template has returned success as only existance of > >> template with the specific uuid is checked. No more attempts made to > >> setup the template again. > >> The answer shows template size as 0. Atleast at this point the > >> corruption in template should have been detected. > >> The answer from logs is - > >> [{"storage.PrimaryStorageDownloadAnswer":{"installPath":"e372770297f7 > >> 3702b26a7898d041f3f8","templateSize":0,"result":true,"wait":0}}] > >> } > >> Any subsequent VM deployment would look to create a volume from this > >> template which fails as expected. After a successful import of OVA on > >> primary storage, a snapshot is taken to create a base snapshot from > >> which volumes are created. But due to IOException encountered while > >> uploading the file to URL this snapshot attempt was not made. > >> > >> Fix:- > >> Handle IOException while uploading template to primary storage URL > >> and cleanup stale template. Working on unit testing now. > >> > >> We have work around for this issue. Delete the stale template that > >> was created in datacenter due to failed PrimaryStorageDownloadCommand. > >> Subsequently a template would be setup again freshly. > >> > >> = > >> === > >> > >> > >> Thanks, > >> Sailaja.M > >> > >> -Original Message- > >> From: Tejas Gadaria [mailto:refond.g...@gmail.com] > >> Sent: 27 February 2014 10:35 > >> To: us...@cloudstack.apache.org > >> Subject: Re: Unable to deploy vm > >> > >> Hi, > >> thanks for replay, > >> > >> Is there any workaround for this ? > >> OR > >> how can I update 4.0.2 to 4.1.0 ? > >> > >> Regards, > >> Tejas > >> > >> > >> On Wed, Feb 26, 2014 at 2:55 PM, Sailaja Mada > >> >> >wrote: > >> > >> > Hi, > >> > > >> > Error log seems to be same as the bug @ > >> > https://issues.apache.org/jira/browse/CLOUDSTACK-1403 - This got > >> > fixed in > >> > 4.1.0 . > >> > > >> > Thanks, > >> > Sailaja.M >
Windows Guest vm takes diff. IP
Hi, I have configured CS 4.0.2 with vmware in advance networking mode. I am facing this problem with only Windows guest vm. Linux gueust as working fine. While deploying Windows 7 guest vm cloudstsck assigning ip from guest ip range.but guest vm actually takes different ip than what is shown under 'NICs' tab. need your help on this. Regards, Tejas
Re: Windows Guest vm takes diff. IP
Hi Jaypal, MS is running in dhcp less environment. Guest vlan has dhcp enabled. Regards, Tejas On Thu, Mar 6, 2014 at 10:04 AM, Jayapal Reddy Uradi < jayapalreddy.ur...@citrix.com> wrote: > Hi Tejas, > > Is there any dhcp server running in your setup other than VR ? > Is the ip really served by VR ? > > Thanks, > Jayapal > On 06-Mar-2014, at 9:35 AM, Tejas Gadaria wrote: > > > Hi, > > > > I have configured CS 4.0.2 with vmware in advance networking mode. > > I am facing this problem with only Windows guest vm. Linux gueust as > > working fine. > > > > While deploying Windows 7 guest vm cloudstsck assigning ip from guest ip > > range.but guest vm actually takes different ip than what is shown under > > 'NICs' tab. > > > > need your help on this. > > > > Regards, > > Tejas > >
Can't create system VM
Hi, I am facing following error while trying to create system vm's. I am using CS 4.0.2 Logs are given below.. 2014-03-12 14:36:03,819 ERROR [vmware.mo.VirtualMachineMO] (DirectAgent-3:10.129.146.101) VMware createSnapshot_Task failed due to Invalid virtual machine configuration. com.vmware.vim25.InvalidVmConfig 2014-03-12 14:36:04,023 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) VmStatsCollector is running... 2014-03-12 14:36:05,283 ERROR [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-3:10.129.146.101) Unable to create base snapshot for template, templateName: routing-8, templateUuid: 041eb0533104aa0ce5b8122ff868 2014-03-12 14:36:05,283 ERROR [vmware.manager.VmwareStorageManagerImpl] (DirectAgent-3:10.129.146.101) Unable to execute PrimaryStorageDownloadCommand due to exception java.lang.Exception: Unable to create base snapshot for template, templateName: routing-8, templateUuid: 041eb0533104aa0ce5b8122ff868 at com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:477) at com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:138) at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3509) at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:401) at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191) 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:701) 2014-03-12 14:36:05,285 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-3:null) Seq 1-1844903945: Response Received: 2014-03-12 14:36:05,285 DEBUG [agent.transport.Request] (DirectAgent-3:null) Seq 1-1844903945: Processing: { Ans: , MgmtId: 345052169635, via: 1, Ver: v1, Flags: 110, [{"storage.PrimaryStorageDownloadAnswer":{"templateSize":0,"result":false,"details":"Unable to execute PrimaryStorageDownloadCommand due to exception","wait":0}}] } 2014-03-12 14:36:05,286 DEBUG [agent.transport.Request] (consoleproxy-1:null) Seq 1-1844903945: Received: { Ans: , MgmtId: 345052169635, via: 1, Ver: v1, Flags: 110, { PrimaryStorageDownloadAnswer } } 2014-03-12 14:36:05,286 DEBUG [agent.manager.AgentManagerImpl] (consoleproxy-1:null) Details from executing class com.cloud.agent.api.storage.PrimaryStorageDownloadCommand: Unable to execute PrimaryStorageDownloadCommand due to exception 2014-03-12 14:36:05,286 DEBUG [cloud.template.TemplateManagerImpl] (consoleproxy-1:null) Template 8 download to pool 202 failed due to Unable to execute PrimaryStorageDownloadCommand due to exception 2014-03-12 14:36:05,286 DEBUG [cloud.template.TemplateManagerImpl] (consoleproxy-1:null) Downloading 8 via 1 2014-03-12 14:36:05,290 DEBUG [agent.manager.AgentAttache] (DirectAgent-3:null) Seq 1-1844903945: No more commands found 2014-03-12 14:36:05,292 DEBUG [agent.transport.Request] (consoleproxy-1:null) Seq 1-1844903966: Sending { Cmd , MgmtId: 345052169635, via: 1, Ver: v1, Flags: 100111, [{"storage.PrimaryStorageDownloadCommand":{"localPath":"/mnt/a108a303-3f9c-3369-8ed1-c66d52b325e1","poolUuid":"a108a303-3f9c-3369-8ed1-c66d52b325e1","poolId":202,"secondaryStorageUrl":"nfs:// 10.129.146.41/vol/secondary","primaryStorageUrl":"nfs:// 10.129.146.41/vol/primary/","url":"nfs:// 10.129.146.41/vol/secondary/template/tmpl/1/8/","format":"OVA","accountId":1,"name":"routing-8","wait":10800}}] } 2014-03-12 14:36:05,292 DEBUG [agent.transport.Request] (consoleproxy-1:null) Seq 1-1844903966: Executing: { Cmd , MgmtId: 345052169635, via: 1, Ver: v1, Flags: 100111, [{"storage.PrimaryStorageDownloadCommand":{"localPath":"/mnt/a108a303-3f9c-3369-8ed1-c66d52b325e1","poolUuid":"a108a303-3f9c-3369-8ed1-c66d52b325e1","poolId":202,"secondaryStorageUrl":"nfs:// 10.129.146.41/vol/secondary","primaryStorageUrl":"nfs:// 10.129.146.41/vol/primary/","url":"nfs:// 10.129.146.41/vol/secondary/template/tmpl/1/8/","format":"OVA","accountId":1,"name":"routing-8","wait":10800}}] } 2014-03-12 14:36:05,293 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-18:null) Seq 1-1844903966: Executing request 2014-03-12 14:36:05,295 INFO [vmware.resource.VmwareResource] (DirectAgent-18:10.129.146.101) Executing resource PrimaryStorageDownloadCommand: {"localPath":"/mnt/a108a303-3f9c-3369-8ed1-c66d52b325e1","poolUuid":"a108a303-3f9c-3369-8ed1-
Unable to download CentOS template
Hi, I have new cs setup on xenserver 6.0.2. I am not able to download CentOS 5.6 template. its says not "No route to host" I tried to stop SSVM firewall but no luck. Also Consol proxy's pblic ip is not pinging. need help on this. Regards, Tejas
Re: Unable to download CentOS template
Hi Ian, Thanks for immediate response, I followed your link, 1) SSVM heath check.. ok Also in host table NFS Secondary storage status | 2 | nfs://10.129.151.51/vol/secondary | c876744c-b0bc-48ac-8779-b73bb124687c | Alert | SecondaryStorage | nfs I confirm all possibilities from doc but still in "Alert" state. 1. Check whether *port 8250* is open on MS and there is no firewall rule. This is the port on which the agent and MS communication happens. 2. Check whether the SSVM is trying to connect to the *right ip of MS*. If it is incorrect it could be due to the wrong ip being set in the global settings (configuration table) for 'host' in MS. Change that, restart MS and SSVM and see if it solves the issue. 3. *Check the agent status* *on SSVM*- See if the agent is running by typing "service cloud status" in SSVM. Try to run it and see if that's successful or changes the alert status Regards, Tejas On Thu, Mar 13, 2014 at 4:49 PM, Ian Duffy wrote: > Hi, > > Please see the steps outlined at the below link on debugging the SSVM. > This will help identify your issue. > > > https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting > > Thanks, > Ian > > On 13 March 2014 11:09, Tejas Gadaria wrote: > > Hi, > > > > I have new cs setup on xenserver 6.0.2. > > I am not able to download CentOS 5.6 template. its says not "No route to > > host" > > I tried to stop SSVM firewall but no luck. > > > > Also Consol proxy's pblic ip is not pinging. > > > > need help on this. > > > > Regards, > > Tejas >
Secondary storage in Alert state
Hi, Secondary storage goes in to "Alert" state. Below logs was sniff before launching zone. It says "AgentDisconnected". After launching zone it creates SSVM & CPVM but am not able to ping public ip of any one of them. In DB Secondary storage still in alert state. SSVM health check shows everything ok. I have systemvm.iso in /opt/xensource/packages/iso/systemvm.iso -rw-r--r-- 1 root root 14M Mar 14 10:01 systemvm.iso I am following this link https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting but results are positive according to link, need help on this. I am using CS 4.0.2 and Xenserver 6.0.2 2014-03-14 09:46:36,978 DEBUG [cloud.network.NetworkUsageManagerImpl] (catalina-exec-5:null) Disconnected called on 2 with status Alert 2014-03-14 09:46:36,978 DEBUG [cloud.host.Status] (catalina-exec-5:null) Transition:[Resource state = Enabled, Agent event = AgentDisconnected, Host id = 2, name = nfs://10.129.151.51/vol/secondary] 2014-03-14 09:46:37,008 DEBUG [cloud.host.Status] (catalina-exec-5:null) Agent status update: [id = 2; name = nfs://10.129.151.51/vol/secondary; old status = Connecting; event = AgentDisconnected; new status = Alert; old update count = 1; new update count = 2] 2014-03-14 09:46:37,008 DEBUG [agent.manager.ClusteredAgentManagerImpl] (catalina-exec-5:null) Notifying other nodes of to disconnect 2014-03-14 09:46:37,010 DEBUG [cloud.host.Status] (catalina-exec-5:null) Transition:[Resource state = Enabled, Agent event = Ready, Host id = 2, name = nfs://10.129.151.51/vol/secondary] 2014-03-14 09:46:37,013 DEBUG [cloud.host.Status] (catalina-exec-5:null) Unable to update host for event:Ready. Name=nfs:// 10.129.151.51/vol/secondary; New=[status=Up:msid=null:lastpinged=1362080660]; Old=[status=Connecting:msid=null:lastpinged=1362080660]; DB=[status=Connecting:msid=345049271977:lastpinged=1362080660:old update count=2] 2014-03-14 09:46:37,014 DEBUG [cloud.host.Status] (catalina-exec-5:null) Transition:[Resource state = Enabled, Agent event = AgentDisconnected, Host id = 2, name = nfs://10.129.151.51/vol/secondary] 2014-03-14 09:46:37,041 DEBUG [cloud.host.Status] (catalina-exec-5:null) Agent status update: [id = 2; name = nfs://10.129.151.51/vol/secondary; old status = Alert; event = AgentDisconnected; new status = Alert; old update count = 2; new update count = 3] Regards, Tejas
Secondary storage shows agent disconncted
Hi, I have created new setup with CS 4.0.2 and esxi 5.1. I am using vCenter 5.5 I have disable the zone, while adding secondary storage to zone its giving "AgentDisconnected". and Secondary storage goes into "Alert" state. I was facing same issue on CS 4.2.1 with esxi xenserver 6.2 Any help will be appreciated. This experiment setup so I have stop iptables and disabled firewall. Logs as below. 2014-03-18 09:15:43,981 DEBUG [cloud.host.Status] (catalina-exec-1:null) Transition:[Resource state = Enabled*, Agent event = AgentConnected*, Host id = 2, name = nfs://10.129.151.51/vol/secondary] 2014-03-18 09:15:44,007 DEBUG [cloud.host.Status] (catalina-exec-1:null) Agent status update: [id = 2; name = nfs://10.129.151.51/vol/secondary; old status = Creating;* event = AgentConnected*; new status = Connecting; old update count = 0; new update count = 1] 2014-03-18 09:15:44,009 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Connect to listener: XcpServerDiscoverer$$EnhancerByCGLIB$$b39613a8 2014-03-18 09:15:44,009 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Connect to listener: VmwareManagerImpl$$EnhancerByCGLIB$$e5731093 2014-03-18 09:15:44,009 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Connect to listener: ClusteredVirtualMachineManagerImpl$$EnhancerByCGLIB$$b05e9e4d 2014-03-18 09:15:44,009 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Connect to listener: SecurityGroupListener 2014-03-18 09:15:44,009 INFO [network.security.SecurityGroupListener] (catalina-exec-1:null) Received a host startup notification 2014-03-18 09:15:44,011 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Connect to listener: StoragePoolMonitor 2014-03-18 09:15:44,011 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Connect to listener: SecondaryStorageListener 2014-03-18 09:15:44,024 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Connect to listener: NetworkManagerImpl$$EnhancerByCGLIB$$5a1e7d69 2014-03-18 09:15:44,024 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Connect to listener: AgentMonitor$$EnhancerByCGLIB$$cabeffc9 2014-03-18 09:15:44,024 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Connect to listener: DownloadListener 2014-03-18 09:15:44,158 DEBUG [storage.download.DownloadMonitorImpl] (catalina-exec-1:null) can not list template for secondary storage host 2 2014-03-18 09:15:44,159 DEBUG [storage.download.DownloadMonitorImpl] (catalina-exec-1:null) Can not list volumes for secondary storage host 2 2014-03-18 09:15:44,159 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Connect to listener: UploadListener 2014-03-18 09:15:44,160 DEBUG [storage.upload.UploadMonitorImpl] (catalina-exec-1:null) Handling upload sserverId 2 2014-03-18 09:15:44,162 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Connect to listener: LocalStoragePoolListener$$EnhancerByCGLIB$$5aad25fd 2014-03-18 09:15:44,162 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Connect to listener: StorageCapacityListener 2014-03-18 09:15:44,162 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Connect to listener: ComputeCapacityListener 2014-03-18 09:15:44,162 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Connect to listener: ConsoleProxyListener 2014-03-18 09:15:44,162 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Connect to listener: SshKeysDistriMonitor 2014-03-18 09:15:44,162 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Connect to listener: VpcVirtualNetworkApplianceManagerImpl$$EnhancerByCGLIB$$5d17a4f1 2014-03-18 09:15:44,163 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Connect to listener: DirectNetworkStatsListener 2014-03-18 09:15:44,172 WARN [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Resource [Host:2] is unreachable: Host 2: Host with specified id is not in the right state: Connecting 2014-03-18 09:15:44,172 INFO [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Host 2 is disconnecting with *event AgentDisconnected* 2014-03-18 09:15:44,173 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) The next status of agent 2is Alert, current status is Connecting 2014-03-18 09:15:44,173 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Deregistering link for 2 with state Alert 2014-03-18 09:15:44,173 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Remove Agent : 2 2014-03-18 09:15:44,173 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Disconnect to listener: com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer$$EnhancerByCGLIB$$b39613a8 2014-03-18 09:15:44,173 DEBUG [agent.manager.AgentManagerImpl] (catalina-exec-1:null) Sending Disconnect to listener: com.cloud.hypervisor.vmware.manager.VmwareManag
Not able to download CentOS template
Hi, After CS installation I am unable to download CentOS template. SSVM and CPVM public IP's are not pinging. I am following this Doc.. https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting 1) Not able to login from Management server to SSVM with SSVM private ip. *ssh -i /root/.ssh/id_rsa.cloud -p 3922 10.129.151.96ssh: connect to host 10.129.151.96 port 3922: Connection refused* 2) *ssh root@169.254.2.113 (Link local ip from Xenserver host)ssh: connect to host 169.254.2.113 <169.254.2.113> port 22: Connection timed out* I management server log it does not shows any error, except template "NOT DOWNLOADED" error Then I took console in xencenter and check the SSVM log, 07:21:48,210 INFO Agent:154 - id is 3 07:21:48,251 INFO NfsSecondaryStorageResource:2046 - config_ssl.sh found in /us r/local/cloud/systemvm/config_ssl.sh 07:21:48,251 INFO NfsSecondaryStorageResource:2051 - config_auth.sh found in /u sr/local/cloud/systemvm/config_auth.sh 07:21:48,252 INFO NfsSecondaryStorageResource:2056 - _configIpFirewallScr found in /usr/local/cloud/systemvm/ipfirewall.sh 07:21:48,255 INFO NfsSecondaryStorageResource:2070 - Secondary storage runs in role templateProcessor 07:21:48,298 INFO DownloadManagerImpl:1014 - DownloadManager: starting additional services since we are inside system vm 07:21:48,850 INFO DownloadManagerImpl:1034 - listvmtmplt.sh found in /usr/local/cloud/systemvm/scripts/storage/secondary/listvmtmplt.sh 07:21:48,851 INFO DownloadManagerImpl:1040 - createtmplt.sh found in /usr/local/cloud/systemvm/scripts/storage/secondary/createtmplt.sh 07:21:48,853 INFO DownloadManagerImpl:1046 - listvolume.sh found in /usr/local/cloud/systemvm/scripts/storage/secondary/listvolume.sh 07:21:48,853 INFO DownloadManagerImpl:1052 - createvolume.sh found in /usr/local/cloud/systemvm/scripts/storage/secondary/createvolume.sh 07:21:48,863 INFO UploadManagerImpl:477 - UploadManager: starting additional services since we are inside system vm 07:21:49,031 INFO GsonHelper:53 - Default Builder inited. 07:21:49,042 INFO Agent:182 - Agent [id = 3 : type = PremiumSecondaryStorageResource : zone = 1 : pod = 1 : workers = 5 : host = 10.129.151.57 : port = 8250 07:21:49,064 INFO NioClient:54 - Connecting to 10.129.151.57:8250 07:21:49,515 INFO NioClient:80 - SSL: Handshake done 07:21:49,515 INFO NioClient:81 - Connected to 10.129.151.57:8250 07:21:49,623 INFO Agent:445 - Proccess agent startup answer, agent id = 0 07:21:49,623 INFO Agent:291 - Set agent id 0 07:21:49,629 INFO Agent:455 - Startup Response Received: agent id = 0 07:21:49,841 INFO NfsSecondaryStorageResource:2365 - snapshots directory created/exists on Secondary Storage. 07:21:49,842 INFO NfsSecondaryStorageResource:2365 - volumes directory created/exists on Secondary Storage. 07:21:51,702 INFO DownloadManagerImpl:799 - found 0 volumes[] 07:21:51,851 INFO DownloadManagerImpl:811 - found 2 templates[/mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15/template/tmpl/1/5/, /mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15/template/tmpl/1/1/b36ee4f8-0afb-49e5-918a-a4f31b00b02a.vhd] 07:21:51,856 WARN DownloadManagerImpl:830 - Post download installation was not completed for /mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15/template/tmpl/1/5 07:21:52,010 INFO Agent:592 - Proccess agent ready command, agent id = 3 07:21:52,011 INFO Agent:291 - Set agent id 3 07:21:52,011 INFO Agent:596 - Ready command is processed: agent id = 3 07:21:52,060 INFO Agent:592 - Proccess agent ready command, agent id = 3 07:21:52,060 INFO Agent:291 - Set agent id 3 07:21:52,060 INFO Agent:596 - Ready command is processed: agent id = 3 07:21:52,204 INFO HttpTemplateDownloader:147 - No credentials configured for host=download.cloud.com:80 *07:21:55,243 INFO HttpMethodDirector:439 - I/O exception (java.net.NoRouteToHostException) caught when processing request: No route to host 07:21:55,243 INFO HttpMethodDirector:445 - Retrying request 07:21:58,251 INFO DownloadManagerImpl:268 - Download Completion for jobId: 99e4ca29-e97f-4550-a13f-85d10e44ab0b, status=UNRECOVERABLE_ERROR * 07:21:58,252 INFO DownloadManagerImpl:269 - local: /mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15/null/dnld1959129797294693271tmp_, bytes=0, error=No route to host, pct=0 I am using Local storage as primary storage and NFS as secondary storage for Xen 6.0.2 on CS 4.2.1 CentOS template also shows "*No route to host* " . SSVM health check shows everything is fine, root@s-1-VM:/usr/local/cloud/systemvm# sh ssvm-check.sh First DNS server is 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes 64 bytes from 8.8.8.8: icmp_seq=0 ttl=56 time=176.230 ms 64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=157.860 ms --- 8.8.8.8 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 157.860/167.045/176.230/9.185 ms Good: Can ping DNS
Re: Not able to download CentOS template
Hi Osay, I am running NFS server on top of Management server, I have mounted nfs share.. [root@xen nfs]# mount /dev/mapper/VolGroup-lv_root on / type ext4 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) /dev/sda1 on /boot type ext4 (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) /dev/sdb1 on /nfs type ext4 (rw) nfsd on /proc/fs/nfsd type nfsd (rw) 10.129.151.57:/nfs/secondary on /mnt/secondary type nfs (rw,vers=4,addr=10.129.151.57,clientaddr=10.129.151.57) Systemvm template script.. /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary/ -f /home/systemvmtemplate-2013-07-12-master-xen.vhd.bz2 -h xenserver -F Uncompressing to /usr/share/cloudstack-common/scripts/storage/secondary/935313be-3da0-42ce-bc51-b608c34e5a2e.vhd.tmp (type bz2)...could take a long time Moving to /mnt/secondary/template/tmpl/1/1///935313be-3da0-42ce-bc51-b608c34e5a2e.vhd...could take a while Successfully installed system VM template /home/systemvmtemplate-2013-07-12-master-xen.vhd.bz2 to /mnt/secondary/template/tmpl/1/1/ Template in NFS storage.. [root@xen ~]# ls -lR /nfs/secondary/ /nfs/secondary/: total 4 drwxr-xr-x 3 root root 4096 Mar 24 18:29 template /nfs/secondary/template: total 4 drwxr-xr-x 3 root root 4096 Mar 24 18:29 tmpl /nfs/secondary/template/tmpl: total 4 drwxr-xr-x 3 root root 4096 Mar 24 18:29 1 /nfs/secondary/template/tmpl/1: total 4 drwxr-xr-x 2 root root 4096 Mar 24 18:36 1 /nfs/secondary/template/tmpl/1/1: total 2052016 -rw-r--r-- 1 root root 2101252608 Mar 24 18:32 a874c59d-ba92-4ab5-8aaf-c6142340f8cd.vhd -rw-r--r-- 1 root root287 Mar 24 18:36 template.properties Added Secondary Storage & Enabled the zone. Still giving same error .! Regards, Tejas
Re: Not able to download CentOS template
Hi, Also I have flush iptables in SSVM 'iptables -F' service cloud stop service cloud stop service cloud start Nothing happen.. Then restarted cloudstack-management service Logs on Management server indicates ... 2014-03-25 09:16:59,188 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-11:null) SeqA 9-7087: Sending Seq 9-7087: { Ans: , MgmtId: 345049296663, via: 9, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } 2014-03-25 09:17:02,444 DEBUG [storage.download.DownloadListener] (Timer-9:null) Scheduling timeout at 3 ms, TEMPLATE: 5 at host 0 *2014-03-25 09:17:02,445 DEBUG [storage.download.DownloadListener] (Timer-9:null) NOT_DOWNLOADED first timeout: checking again , TEMPLATE: 5 at host 0* 2014-03-25 09:17:09,182 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-12:null) SeqA 9-7088: Processing Seq 9-7088: { Cmd , MgmtId: -1, via: 9, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":10,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] } After log in to CS, *Template status: ' Timeout waiting for response from storage host'* Need help on this Regards, Tejas
Re: Not able to download CentOS template
Hi Suresh, 'secstorage.allowed.internal.sites' already set to Management server IP 10.129.151.57/24 . Regards, Tejas On Tue, Mar 25, 2014 at 11:01 AM, Suresh Sadhu wrote: > What is the value set for this global configuration : > secstorage.allowed.internal.sites > > Set global configuration secstorage.allowed.internal.sites to your > internal network cidr and restart the management server. > > Regards > Sadhu > > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: 25 March 2014 08:50 > To: us...@cloudstack.apache.org; dev@cloudstack.apache.org > Subject: Re: Not able to download CentOS template > > Hi Osay, > > I am running NFS server on top of Management server, I have mounted nfs > share.. > > [root@xen nfs]# mount > /dev/mapper/VolGroup-lv_root on / type ext4 (rw) proc on /proc type proc > (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts > (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) > /dev/sda1 on /boot type ext4 (rw) > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on > /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) > /dev/sdb1 on /nfs type ext4 (rw) > nfsd on /proc/fs/nfsd type nfsd (rw) > 10.129.151.57:/nfs/secondary on /mnt/secondary type nfs > (rw,vers=4,addr=10.129.151.57,clientaddr=10.129.151.57) > > Systemvm template script.. > > > /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt > -m /mnt/secondary/ -f /home/systemvmtemplate-2013-07-12-master-xen.vhd.bz2 > -h xenserver -F > Uncompressing to > > /usr/share/cloudstack-common/scripts/storage/secondary/935313be-3da0-42ce-bc51-b608c34e5a2e.vhd.tmp > (type bz2)...could take a long time > Moving to > > /mnt/secondary/template/tmpl/1/1///935313be-3da0-42ce-bc51-b608c34e5a2e.vhd...could > take a while > Successfully installed system VM template > /home/systemvmtemplate-2013-07-12-master-xen.vhd.bz2 to > /mnt/secondary/template/tmpl/1/1/ > > Template in NFS storage.. > > [root@xen ~]# ls -lR /nfs/secondary/ > /nfs/secondary/: > total 4 > drwxr-xr-x 3 root root 4096 Mar 24 18:29 template > > /nfs/secondary/template: > total 4 > drwxr-xr-x 3 root root 4096 Mar 24 18:29 tmpl > > /nfs/secondary/template/tmpl: > total 4 > drwxr-xr-x 3 root root 4096 Mar 24 18:29 1 > > /nfs/secondary/template/tmpl/1: > total 4 > drwxr-xr-x 2 root root 4096 Mar 24 18:36 1 > > /nfs/secondary/template/tmpl/1/1: > total 2052016 > -rw-r--r-- 1 root root 2101252608 Mar 24 18:32 > a874c59d-ba92-4ab5-8aaf-c6142340f8cd.vhd > -rw-r--r-- 1 root root287 Mar 24 18:36 template.properties > > > Added Secondary Storage & Enabled the zone. > Still giving same error .! > > Regards, > Tejas >
Re: Not able to download CentOS template
Hi Suresh, Yes "system.vm.use.local.storage" is already set to "true" Regards, Tejas On Tue, Mar 25, 2014 at 12:18 PM, Suresh Sadhu wrote: > Ok. > > What is the value set for the "system.vm.use.local.storage" and I hope > you already enabled " use local storage " flag during zone creation. > > If "system.vm.use.local.storage" set to false then please change to true > and restart your MS. > Regards > sadhu > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: 25 March 2014 11:09 > To: dev@cloudstack.apache.org > Cc: us...@cloudstack.apache.org > Subject: Re: Not able to download CentOS template > > Hi Suresh, > > 'secstorage.allowed.internal.sites' already set to Management server IP > 10.129.151.57/24 . > > Regards, > Tejas > > > On Tue, Mar 25, 2014 at 11:01 AM, Suresh Sadhu >wrote: > > > What is the value set for this global configuration : > > secstorage.allowed.internal.sites > > > > Set global configuration secstorage.allowed.internal.sites to your > > internal network cidr and restart the management server. > > > > Regards > > Sadhu > > > > > > -Original Message- > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > > Sent: 25 March 2014 08:50 > > To: us...@cloudstack.apache.org; dev@cloudstack.apache.org > > Subject: Re: Not able to download CentOS template > > > > Hi Osay, > > > > I am running NFS server on top of Management server, I have mounted > > nfs share.. > > > > [root@xen nfs]# mount > > /dev/mapper/VolGroup-lv_root on / type ext4 (rw) proc on /proc type > > proc > > (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts > > (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) > > /dev/sda1 on /boot type ext4 (rw) > > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on > > /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) > > /dev/sdb1 on /nfs type ext4 (rw) > > nfsd on /proc/fs/nfsd type nfsd (rw) > > 10.129.151.57:/nfs/secondary on /mnt/secondary type nfs > > (rw,vers=4,addr=10.129.151.57,clientaddr=10.129.151.57) > > > > Systemvm template script.. > > > > > > /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-s > > ys-tmplt -m /mnt/secondary/ -f > > /home/systemvmtemplate-2013-07-12-master-xen.vhd.bz2 > > -h xenserver -F > > Uncompressing to > > > > /usr/share/cloudstack-common/scripts/storage/secondary/935313be-3da0-4 > > 2ce-bc51-b608c34e5a2e.vhd.tmp > > (type bz2)...could take a long time > > Moving to > > > > /mnt/secondary/template/tmpl/1/1///935313be-3da0-42ce-bc51-b608c34e5a2 > > e.vhd...could > > take a while > > Successfully installed system VM template > > /home/systemvmtemplate-2013-07-12-master-xen.vhd.bz2 to > > /mnt/secondary/template/tmpl/1/1/ > > > > Template in NFS storage.. > > > > [root@xen ~]# ls -lR /nfs/secondary/ > > /nfs/secondary/: > > total 4 > > drwxr-xr-x 3 root root 4096 Mar 24 18:29 template > > > > /nfs/secondary/template: > > total 4 > > drwxr-xr-x 3 root root 4096 Mar 24 18:29 tmpl > > > > /nfs/secondary/template/tmpl: > > total 4 > > drwxr-xr-x 3 root root 4096 Mar 24 18:29 1 > > > > /nfs/secondary/template/tmpl/1: > > total 4 > > drwxr-xr-x 2 root root 4096 Mar 24 18:36 1 > > > > /nfs/secondary/template/tmpl/1/1: > > total 2052016 > > -rw-r--r-- 1 root root 2101252608 Mar 24 18:32 > > a874c59d-ba92-4ab5-8aaf-c6142340f8cd.vhd > > -rw-r--r-- 1 root root287 Mar 24 18:36 template.properties > > > > > > Added Secondary Storage & Enabled the zone. > > Still giving same error .! > > > > Regards, > > Tejas > > >
Re: Not able to download CentOS template
Hi Suresh, 1) "use local storage" flag was marked while zone creation. 2) As I am not able to ping pulic ip of SSVM and CPVM, I took console of SSVM from xencenter. SSVM health check.. root@s-9-VM:/usr/local/cloud/systemvm# sh ssvm-check.sh First DNS server is 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes 64 bytes from 8.8.8.8: icmp_seq=0 ttl=56 time=100.616 ms 64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=165.650 ms --- 8.8.8.8 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 100.616/133.133/165.650/32.517 ms Good: Can ping DNS server Good: DNS resolves download.cloud.com NFS is currently mounted Mount point is /mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15 Good: Can write to mount point Management server is 10.129.151.57. Checking connectivity. Good: Can connect to management server port 8250 Good: Java process is running Tests Complete. Look for ERROR or WARNING above. 3) Status of iptables on MS.. [root@xen ~]# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination 4) In Global conf. host ip is set to 10.129.151.57 which is MS ip. Also I confirm with /etc/cloudstack/management/db.properties cluster.node.IP=10.129.151.57 Just before my host lost connectivity for 2min, after network restored I have restarted cloudstack-manageent service and template status : No route to host Regards, Tejas On Tue, Mar 25, 2014 at 12:37 PM, Suresh Sadhu wrote: > > Did you enable the " use local storage " flag during zone creation > Also did you check any error ssvm agent is up and running ? > Check ur MS is listening on 8250 port. Or stop all the iptables > What is the value set for host in global config.it should set to MS iP > > > Check why still it's looking for download.cloud.com ,it should refer your > nfs storage IP > > INFO HttpTemplateDownloader:147 - No credentials configured for host= > download.cloud.com:80 > > > *07:21:55,243 INFO HttpMethodDirector:439 - I/O exception > (java.net.NoRouteToHostException) caught when processing request: No route > to host 07:21:55,243 INFO HttpMethodDirector:445 > > > Regards > Sadhu > > > > > > > > > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: 25 March 2014 12:23 > To: us...@cloudstack.apache.org > Cc: dev@cloudstack.apache.org > Subject: Re: Not able to download CentOS template > > Hi Suresh, > > Yes "system.vm.use.local.storage" is already set to "true" > > Regards, > Tejas > > > On Tue, Mar 25, 2014 at 12:18 PM, Suresh Sadhu >wrote: > > > Ok. > > > > What is the value set for the "system.vm.use.local.storage" and I > > hope you already enabled " use local storage " flag during zone > creation. > > > > If "system.vm.use.local.storage" set to false then please change to > > true and restart your MS. > > Regards > > sadhu > > > > -Original Message- > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > > Sent: 25 March 2014 11:09 > > To: dev@cloudstack.apache.org > > Cc: us...@cloudstack.apache.org > > Subject: Re: Not able to download CentOS template > > > > Hi Suresh, > > > > 'secstorage.allowed.internal.sites' already set to Management server > > IP > > 10.129.151.57/24 . > > > > Regards, > > Tejas > > > > > > On Tue, Mar 25, 2014 at 11:01 AM, Suresh Sadhu > > > >wrote: > > > > > What is the value set for this global configuration : > > > secstorage.allowed.internal.sites > > > > > > Set global configuration secstorage.allowed.internal.sites to your > > > internal network cidr and restart the management server. > > > > > > Regards > > > Sadhu > > > > > > > > > -Original Message- > > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > > > Sent: 25 March 2014 08:50 > > > To: us...@cloudstack.apache.org; dev@cloudstack.apache.org > > > Subject: Re: Not able to download CentOS template > > > > > > Hi Osay, > > > > > > I am running NFS server
Password visible in plan text CS 4.3
Hi, While doing volume migration from one storage to another, password was visible in plan text. environment CS 4.3, Management server: CentOS 6.3 x64 Hypervisor: Hyperv 2014-03-28 17:53:39,059 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-216:ctx-89b9eb84) POST response is [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":true,"details":null,"newData":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"7890d244-e307-320e-ac42-f90e925b32b8","id":5,"poolType":"SMB","host":"10.129.150.24","path":"/vol_cifs?user=administrator&domain= nw.com","port":445,"url":"SMB:// 10.129.150.24//vol_cifs?user=administrator&domain=nw.com/?ROLE=Primary&STOREUUID=7890d244-e307-320e-ac42-f90e925b32b8 "}},"format":"VHD","name":"ROOT-7","path":"\\10.129.150.24\vol_cifs\ROOT-7.vhd","uuid":"ca572e34-ffa6-4cce-bb24-44c989b4156e","size":10737418240,"primaryDataStore":{"host":"10.129.150.24","uri":"cifs:// 10.129.150.24/vol_cifs?user=administrator&domain=nw.com ","_role":null,"Path":"\\10.129.150.24/vol_cifs","UncPath":"\\ 10.129.150.24/vol_cifs","User":"administrator","*Password":"C1sco123* ","Domain":"nw.com ","isLocal":false},"nfsDataStore":null,"FullFileName":"\\10.129.150.24\vol_cifs\ROOT-7.vhd"}},"contextMap":{}}}] 2014-03-28 17:53:39,060 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-216:ctx-89b9eb84) executeRequest received response [Lcom.cloud.agent.api.Answer;@31c91ca Regards, Tejas
Password appears in plain text in CS 4.3 Secondary Storage
Hi, While adding Secondary storage as SMB/CIFS in CS 4.3 password appears in plan text in key/pair value. environment CS 4.3, Management server: CentOS 6.3 x64 Hypervisor: Hyperv 2014-03-27 09:49:47,611 INFO [o.a.c.s.d.l.CloudStackImageStoreLifeCycleImpl] (catalina-exec-12:ctx-bd85f47b ctx-df8f3444) Trying to add a new data store at cifs://10.129.151.61/Secondary to data center 1 2014-03-27 09:49:47,977 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-bd85f47b ctx-df8f3444) ===END=== 10.129.150.62 -- GET command=addImageStore&response=json&sessionkey=pjC%2B%2FjnddbFmQI7MtdDgo%2Bf5JmQ%3D&name=Secondary&provider=SMB&zoneid=5e5a7fee-9e4e-47df-86fa-c19da8240e84&url=cifs%3A%2F%2F10.129.151.61%2FSecondary&details%5B0%5D.key=user&details%5B0%5D.value=administrator&details%5B1%5D. *key=password*&details%5B1%5D.*value=C1sco123* &details%5B2%5D.key=domain&details%5B2%5D.value=nw.com&_=1395893875835 Regards, Tejas
Guest VM Volume migration
Hi, guest VM 'Volume Migration' from one Primary storage to another, migration was successful but while trying to turn on guest vm it was showing following errors.. 2014-03-28 18:03:57,614 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-34:ctx-57f31892) POST response is [{"com.cloud.agent.api.StartAnswer":{"result":false,"details":"com.cloud.agent.api.StartCommand fail on exceptionHyper-V Job failed, Error Code:32768, Description: 'i-2-7-VM' failed to add device 'Virtual Hard Disk'. (Virtual machine ID 4EEF3BAB-222B-408D-897B-448E3D0792C2) Failed to open attachment '\\10.129.150.24\vol_cifs\ROOT-7.vhd'. Error: 'The request is not supported.'. 'i-2-7-VM': Cannot get information for attachment '\\10.129.150.24\vol_cifs\ROOT-7.vhd'. (Virtual machine ID 4EEF3BAB-222B-408D-897B-448E3D0792C2) Failed to open attachment '\\10.129.150.24\vol_cifs\ROOT-7.vhd'. Error: 'The request is not supported.'." Regards, Tejas
Re: Password visible in plan text CS 4.3
Hi Devdeep, Thanks for reply, I don't have privilege to assign the bugs, So I have just raised the issue. https://issues.apache.org/jira/browse/CLOUDSTACK-6315 Also I have raised a bug on 27th March which is not assigned to anybody yet. if possible please take into the consideration. https://issues.apache.org/jira/browse/CLOUDSTACK-6287 Regards, Tejas On Tue, Apr 1, 2014 at 12:03 PM, Devdeep Singh wrote: > Hi Tejas, > > Can you file a bug for these? We clean up a string before logging it; but > it looks like we missed it here. > > Regards, > Devdeep > > > -----Original Message- > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > > Sent: Friday, March 28, 2014 6:01 PM > > To: dev@cloudstack.apache.org > > Subject: Password visible in plan text CS 4.3 > > > > Hi, > > > > While doing volume migration from one storage to another, password was > > visible in plan text. > > environment CS 4.3, > > Management server: CentOS 6.3 x64 > > Hypervisor: Hyperv > > > > 2014-03-28 17:53:39,059 DEBUG [c.c.h.h.r.HypervDirectConnectResource] > > (DirectAgent-216:ctx-89b9eb84) POST response is > > [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":true > > ,"details":null,"newData":{"org.apache.cloudstack.storage.to.VolumeObject > > TO":{"dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{ > > "uuid":"7890d244-e307-320e-ac42- > > f90e925b32b8","id":5,"poolType":"SMB","host":"10.129.150.24","path":"/vol > > _cifs?user=administrator&domain= > > nw.com","port":445,"url":"SMB:// > > 10.129.150.24//vol_cifs?user=administrator&domain=nw.com/?ROLE=Primar > > y&STOREUUID=7890d244-e307-320e-ac42-f90e925b32b8 > > "}},"format":"VHD","name":"ROOT- > > 7","path":"\\10.129.150.24\vol_cifs\ROOT-7.vhd","uuid":"ca572e34-ffa6- > > 4cce-bb24- > > 44c989b4156e","size":10737418240,"primaryDataStore":{"host":"10.129.150.2 > > 4","uri":"cifs:// > > 10.129.150.24/vol_cifs?user=administrator&domain=nw.com > > ","_role":null,"Path":"\\10.129.150.24/vol_cifs","UncPath":"\\ > > 10.129.150.24/vol_cifs","User":"administrator","*Password":"C1sco123* > > ","Domain":"nw.com > > > ","isLocal":false},"nfsDataStore":null,"FullFileName":"\\10.129.150.24\vol_cif > > s\ROOT-7.vhd"}},"contextMap":{}}}] > > 2014-03-28 17:53:39,060 DEBUG [c.c.h.h.r.HypervDirectConnectResource] > > (DirectAgent-216:ctx-89b9eb84) executeRequest received response > > [Lcom.cloud.agent.api.Answer;@31c91ca > > > > Regards, > > Tejas >
Unable to deploy systemvms
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] (secst
Re: Unable to deploy systemvms
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 root287 Apr 2 12:26 template.properties Regards, Tejas On Wed, Apr 2, 2014 at 3:59 PM, Punith S 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 > 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.runW
Re: Unable to deploy systemvms
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 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" 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 root287 Apr 2 12:26 template.properties > > > > > > Regards, > > Tejas > > > > > > On Wed, Apr 2, 2014 at 3:59 PM, Punith S 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 > > > 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 WAR
Re: Unable to deploy systemvms
/template/tmpl/1/5/dnld2277393467913145419tmp_","installPath":"template/tmpl/1/5","templateSize":0,"templatePhySicalSize":0,"checkSum":"905cec879afd9c9d22ecc8036131a180","result":true,"details":"No route to host","wait":0}}] } Regards, Tejas On Wed, Apr 2, 2014 at 7:24 PM, Pierre-Luc Dion wrote: > Tejas, > > Did you add the network label names in Cloudstack ? You need to specify > the network label name in Cloudstack that are configured in XenServer. I'm > suspecting that the current issue is that CloudStack cannot map the Storage > Network from is config in XenServer so xenserver cannot reach the secondary > storage. > > I've add an attachment on where to look at in Cloudstack. If you have > access to XenCenter you have to use name of networks under networking tab > on the XenServer host. > > you can refer to: > > http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor_installation.html#citrix-xenserver-installation-for-cloudstack > > Regards, > > > > > Pierre-Luc Dion > Architecte de Solution Cloud | Cloud Solutions Architect > 514-447-3456, 1101 > - - - > > *CloudOps*420 rue Guy > Montréal QC H3J 1S6 > www.cloudops.com > @CloudOps_ > > > On Wed, Apr 2, 2014 at 8:54 AM, Tejas Gadaria wrote: > >> 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 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" 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 >
Re: Unable to deploy systemvms
Hi Dion & Jiang, Thanks for your great help. I had improper VLAN ID for Storage Network. Template is downloading now. Regards, Tejas On Fri, Apr 4, 2014 at 5:33 AM, Yitao Jiang wrote: > Hi,as you defined the STORAGE network, the SSVM need access NFSserver > through storage network ,just as Pierre-Luc Dion said there maybe vlan rag > or namelable play the trick ,so you can check whether the compute node with > xen can manualy mount the nfs mount point through xenbr1 > On Apr 2, 2014 8:55 PM, "Tejas Gadaria" wrote: > > > 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 > 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" 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 root287 Apr 2 12:26 template.properties > > > > > > > > > > > > Regards, > > > > Tejas > > > > > > > > > > > > On Wed, Apr 2, 2014 at 3:59 PM, Punith S > > 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. > >
login API with MD5 is not working
Hi, I am trying to login in to CS 4.3 though login API. I am passing MD5 hash (1st) in password that works fine with CS 4.0.2 but same doesn't works well with CS 4.3. Then I try to pass password in plain text ( 2nd) & it worked, Is this a bug? Both APIs are given below, 1) http://10.129.151.55:8080/client/api?&command=login&username=admin&password=5f4dcc3b5aa765d61d8327deb882cf99 2) http://10.129.151.55:8080/client/api?&command=login&username=admin&password=password Regards, Tejas
Re: login API with MD5 is not working
Hi Demetrius, Thanks for explanation, I will try with https now. Just for information, why did they change this from MD5 to plain text? Regards, Tejas On Thu, Apr 17, 2014 at 1:03 AM, Demetrius Tsitrelis < demetrius.tsitre...@citrix.com> wrote: > There is already an open bug > (https://issues.apache.org/jira/browse/CLOUDSTACK-6311). Essentially the > same wording for the password parameter should be used in login, > CreateUser, > and UpdateUser: the password should be sent as clear text. > > -Original Message- > From: Sebastien Goasguen [mailto:run...@gmail.com] > Sent: Wednesday, April 16, 2014 12:16 PM > To: dev@cloudstack.apache.org > Subject: Re: login API with MD5 is not working > > > On Apr 16, 2014, at 12:56 PM, Demetrius Tsitrelis > wrote: > > > One problem is that the API documentation > > (https://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/login.h > > tml) still says that the password should be hashed. The docs are out > > of date; send the password in plain text. > > Demetrius, can you give me the correct description for the apidoc ? > I can make that change. > > > > > And - think about security. DON'T use HTTP GET or the query > > parameters you send will be saved in the caches of all intermediate > > servers. Also DO use HTTPS. > > > > -Original Message- > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > > Sent: Tuesday, April 15, 2014 2:02 AM > > To: dev@cloudstack.apache.org > > Subject: login API with MD5 is not working > > > > Hi, > > > > I am trying to login in to CS 4.3 though login API. > > > > I am passing MD5 hash (1st) in password that works fine with CS 4.0.2 > > but same doesn't works well with CS 4.3. Then I try to pass password > > in plain text ( > > 2nd) & it worked, Is this a bug? > > > > Both APIs are given below, > > > > > > 1) > > http://10.129.151.55:8080/client/api?&command=login&username=admin&pas > > sword=5f4dcc3b5aa765d61d8327deb882cf99 > > > > > > 2) > > http://10.129.151.55:8080/client/api?&command=login&username=admin&pas > > sword=password > > > > Regards, > > Tejas > >
Re: login API with MD5 is not working
Thanks Demetrius! On Thu, Apr 17, 2014 at 10:24 PM, Demetrius Tsitrelis < demetrius.tsitre...@citrix.com> wrote: > Some authenticators such as LDAP need clear text passwords. > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: Wednesday, April 16, 2014 8:36 PM > To: dev@cloudstack.apache.org > Subject: Re: login API with MD5 is not working > > Hi Demetrius, > > Thanks for explanation, I will try with https now. > Just for information, why did they change this from MD5 to plain text? > > Regards, > Tejas > > > On Thu, Apr 17, 2014 at 1:03 AM, Demetrius Tsitrelis < > demetrius.tsitre...@citrix.com> wrote: > > > There is already an open bug > > (https://issues.apache.org/jira/browse/CLOUDSTACK-6311). Essentially > > the same wording for the password parameter should be used in login, > > CreateUser, and UpdateUser: the password should be sent as clear text. > > > > -Original Message- > > From: Sebastien Goasguen [mailto:run...@gmail.com] > > Sent: Wednesday, April 16, 2014 12:16 PM > > To: dev@cloudstack.apache.org > > Subject: Re: login API with MD5 is not working > > > > > > On Apr 16, 2014, at 12:56 PM, Demetrius Tsitrelis > > wrote: > > > > > One problem is that the API documentation > > > (https://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/login > > > .h > > > tml) still says that the password should be hashed. The docs are > > > out of date; send the password in plain text. > > > > Demetrius, can you give me the correct description for the apidoc ? > > I can make that change. > > > > > > > > And - think about security. DON'T use HTTP GET or the query > > > parameters you send will be saved in the caches of all intermediate > > > servers. Also DO use HTTPS. > > > > > > -Original Message- > > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > > > Sent: Tuesday, April 15, 2014 2:02 AM > > > To: dev@cloudstack.apache.org > > > Subject: login API with MD5 is not working > > > > > > Hi, > > > > > > I am trying to login in to CS 4.3 though login API. > > > > > > I am passing MD5 hash (1st) in password that works fine with CS > > > 4.0.2 but same doesn't works well with CS 4.3. Then I try to pass > > > password in plain text ( > > > 2nd) & it worked, Is this a bug? > > > > > > Both APIs are given below, > > > > > > > > > 1) > > > http://10.129.151.55:8080/client/api?&command=login&username=admin&p > > > as > > > sword=5f4dcc3b5aa765d61d8327deb882cf99 > > > > > > > > > 2) > > > http://10.129.151.55:8080/client/api?&command=login&username=admin&p > > > as > > > sword=password > > > > > > Regards, > > > Tejas > > > > >
Dynamic Scaling of VM
Hi, I am trying to test dynamic scaling of vm on vmware with CS 4.3. I have CentOS 6.3 template with vmware tools installed. In global setting *enable.dynamic.scale.vm* = *true, * *mem.overprovisioning.factor =2 * while trying to deploy template, it's giving below error.. 2014-04-20 09:06:31,808 DEBUG [c.c.h.v.u.VmwareClient] (DirectAgent-27:ctx-80068c4c 10.129.151.67) Cancelling vCenter task because task failed with java.net.SocketTimeoutException: Read timed out 2014-04-20 09:06:32,354 ERROR [c.c.s.r.VmwareStorageProcessor] (DirectAgent-27:ctx-80068c4c 10.129.151.67) clone volume from base image failed due to Exception: java.lang.RuntimeException Message: vCenter task failed due to java.net.SocketTimeoutException: Read timed out java.lang.RuntimeException: vCenter task failed due to java.net.SocketTimeoutException: Read timed out at com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.java:341) at com.cloud.hypervisor.vmware.mo.VirtualMachineMO.createFullClone(VirtualMachineMO.java:619) at com.cloud.storage.resource.VmwareStorageProcessor.createVMFullClone(VmwareStorageProcessor.java:266) at com.cloud.storage.resource.VmwareStorageProcessor.cloneVolumeFromBaseTemplate(VmwareStorageProcessor.java:338) at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:78) at com.cloud.storage.resource.VmwareStorageSubsystemCommandHandler.execute(VmwareStorageSubsystemCommandHandler.java:171) at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50) at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:571) 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-20 09:06:32,355 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-27:ctx-80068c4c) Seq 1-585564250: Response Received: 2014-04-20 09:06:32,355 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-27:ctx-80068c4c) Seq 1-585564250: Response Received: 2014-04-20 09:06:32,355 DEBUG [c.c.a.t.Request] (DirectAgent-27:ctx-80068c4c) Seq 1-585564250: Processing: { Ans: , MgmtId: 345049296663, via: 1, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"java.lang.RuntimeException: vCenter task failed due to java.net.SocketTimeoutException: Read timed out","wait":0}}] } 2014-04-20 09:06:32,355 DEBUG [c.c.a.t.Request] (Job-Executor-1:ctx-0798d9f3 ctx-b6fd95f2) Seq 1-585564250: Received: { Ans: , MgmtId: 345049296663, via: 1, Ver: v1, Flags: 10, { CopyCmdAnswer } } 2014-04-20 09:06:32,363 WARN [o.a.c.s.d.ObjectInDataStoreManagerImpl] (Job-Executor-1:ctx-0798d9f3 ctx-b6fd95f2) Unsupported data object (VOLUME, org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@70f99830), no need to delete from object in store ref table 2014-04-20 09:06:32,363 INFO [o.a.c.s.v.VolumeServiceImpl] (Job-Executor-1:ctx-0798d9f3 ctx-b6fd95f2) releasing lock for VMTemplateStoragePool 2 2014-04-20 09:06:32,365 WARN [c.c.u.d.Merovingian2] (Job-Executor-1:ctx-0798d9f3 ctx-b6fd95f2) Was unable to find lock for the key template_spool_ref2 and thread id 1680763282 2014-04-20 09:06:32,365 DEBUG [o.a.c.e.o.VolumeOrchestrator] (Job-Executor-1:ctx-0798d9f3 ctx-b6fd95f2) Unable to create Vol[9|vm=9|ROOT]:java.lang.RuntimeException: vCenter task failed due to java.net.SocketTimeoutException: Read timed out 2014-04-20 09:06:32,367 INFO [c.c.v.VirtualMachineManagerImpl] (Job-Executor-1:ctx-0798d9f3 ctx-b6fd95f2) Unable to contact resource. com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is unreachable: Unable to create Vol[9|vm=9|ROOT]:java.lang.Runti
Unable to create System VMs on CS 4.3
Hi, I am using CS 4.3 with esxi & vCenter 5.5, while creating system vms its giving below error, with reference to this bug fix https://issues.apache.org/jira/browse/CLOUDSTACK-4875. I though it should be in CS 4.3 2014-04-21 11:09:25,158 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-82:ctx-9d7c063a) Seq 1-1056899145: Executing request 2014-04-21 11:09:25,305 INFO [c.c.s.r.VmwareStorageProcessor] (DirectAgent-82:ctx-9d7c063a 10.129.151.67) creating full clone from template 2014-04-21 11:09:28,741 ERROR [c.c.s.r.VmwareStorageProcessor] (DirectAgent-82:ctx-9d7c063a 10.129.151.67) clone volume from base image failed due to Exception: java.lang.RuntimeException Message: The name 'ROOT-15' already exists. java.lang.RuntimeException: The name 'ROOT-15' already exists. at com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.java:336) at com.cloud.hypervisor.vmware.mo.VirtualMachineMO.createFullClone(VirtualMachineMO.java:619) at com.cloud.storage.resource.VmwareStorageProcessor.createVMFullClone(VmwareStorageProcessor.java:266) at com.cloud.storage.resource.VmwareStorageProcessor.cloneVolumeFromBaseTemplate(VmwareStorageProcessor.java:338) at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:78) at com.cloud.storage.resource.VmwareStorageSubsystemCommandHandler.execute(VmwareStorageSubsystemCommandHandler.java:171) at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:50) at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:571) 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-21 11:09:28,742 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-82:ctx-9d7c063a) Seq 1-1056899145: Response Received: 2014-04-21 11:09:28,742 DEBUG [c.c.a.t.Request] (DirectAgent-82:ctx-9d7c063a) Seq 1-1056899145: Processing: { Ans: , MgmtId: 345049296663, via: 1, Ver: v1, Flags: 10, [{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,"details":"java.lang.RuntimeException: The name 'ROOT-15' already exists.","wait":0}}] } 2014-04-21 11:09:28,742 DEBUG [c.c.a.t.Request] (consoleproxy-1:ctx-b084e44b) Seq 1-1056899145: Received: { Ans: , MgmtId: 345049296663, via: 1, Ver: v1, Flags: 10, { CopyCmdAnswer } } 2014-04-21 11:09:28,743 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-cc7f41cc) Found 0 routers to update status. 2014-04-21 11:09:28,744 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-cc7f41cc) Found 0 networks to update RvR status. 2014-04-21 11:09:28,751 WARN [o.a.c.s.d.ObjectInDataStoreManagerImpl] (consoleproxy-1:ctx-b084e44b) Unsupported data object (VOLUME, org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@14ca1ff7), no need to delete from object in store ref table 2014-04-21 11:09:28,751 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-b084e44b) Unable to create Vol[15|vm=15|ROOT]:java.lang.RuntimeException: The name 'ROOT-15' already exists. 2014-04-21 11:09:28,751 DEBUG [o.a.c.e.o.VolumeOrchestrator] (consoleproxy-1:ctx-b084e44b) Unable to create Vol[15|vm=15|ROOT]:java.lang.RuntimeException: The name 'ROOT-15' already exists. 2014-04-21 11:09:28,752 INFO [c.c.v.VirtualMachineManagerImpl] (consoleproxy-1:ctx-b084e44b) Unable to contact resource. com.cloud.exception.StorageUnavailableException: Resource [StoragePool:1] is unreachable: Unable to create Vol[15|vm=15|ROOT]:java.lang.RuntimeException: The name 'ROOT-15' already exists. at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.recreateVolume(VolumeOrchestrator.java:
Re: Dynamic Scaling of VM
Hi Nitin, you are right, I changed to *enable.dynamic.scale.vm = false* Created another centos template without dynamic scaling, still facing same issue. On management server it displaying same logs as above. I am using vCenter 5.5 and Esxi host 5.1 Regards, Tejas On Tue, Apr 22, 2014 at 12:25 AM, Nitin Mehta wrote: > Error doesn't seem to be coming from dynamic scaling. Change the config > below to false and see if you still hit the issue. > *enable.dynamic.scale.vm* = false > > > On 19/04/14 8:48 PM, "Tejas Gadaria" wrote: > > >Hi, > > > >I am trying to test dynamic scaling of vm on vmware with CS 4.3. > >I have CentOS 6.3 template with vmware tools installed. > > > >In global setting *enable.dynamic.scale.vm* = *true, * > > > > > >*mem.overprovisioning.factor =2 * > >while trying to deploy template, it's giving below error.. > > > >2014-04-20 09:06:31,808 DEBUG [c.c.h.v.u.VmwareClient] > >(DirectAgent-27:ctx-80068c4c 10.129.151.67) Cancelling vCenter task > >because > >task failed with java.net.SocketTimeoutException: Read timed out > >2014-04-20 09:06:32,354 ERROR [c.c.s.r.VmwareStorageProcessor] > >(DirectAgent-27:ctx-80068c4c 10.129.151.67) clone volume from base image > >failed due to Exception: java.lang.RuntimeException > >Message: vCenter task failed due to java.net.SocketTimeoutException: Read > >timed out > > > >java.lang.RuntimeException: vCenter task failed due to > >java.net.SocketTimeoutException: Read timed out > >at > >com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.jav > >a:341) > >at > >com.cloud.hypervisor.vmware.mo.VirtualMachineMO.createFullClone(VirtualMac > >hineMO.java:619) > >at > >com.cloud.storage.resource.VmwareStorageProcessor.createVMFullClone(Vmware > >StorageProcessor.java:266) > >at > >com.cloud.storage.resource.VmwareStorageProcessor.cloneVolumeFromBaseTempl > >ate(VmwareStorageProcessor.java:338) > >at > >com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(Stor > >ageSubsystemCommandHandlerBase.java:78) > >at > >com.cloud.storage.resource.VmwareStorageSubsystemCommandHandler.execute(Vm > >wareStorageSubsystemCommandHandler.java:171) > >at > >com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorag > >eCommands(StorageSubsystemCommandHandlerBase.java:50) > >at > >com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareR > >esource.java:571) > >at > >com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAt > >tache.java:216) > >at > >org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Managed > >ContextRunnable.java:49) > >at > >org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(De > >faultManagedContext.java:56) > >at > >org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithC > >ontext(DefaultManagedContext.java:103) > >at > >org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithCo > >ntext(DefaultManagedContext.java:53) > >at > >org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedCo > >ntextRunnable.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.acces > >s$101(ScheduledThreadPoolExecutor.java:165) > >at > >java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(S > >cheduledThreadPoolExecutor.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-20 09:06:32,355 DEBUG [c.c.a.m.DirectAgentAttache] > >(DirectAgent-27:ctx-80068c4c) Seq 1-585564250: Response Received: > >2014-04-20 09:06:32,355 DEBUG [c.c.a.m.DirectAgentAttache] > >(DirectAgent-27:ctx-80068c4c) Seq 1-585564250: Response Received: > >2014-04-20 09:06:32,355 DEBUG [c.c.a.t.Request] > >(DirectAgent-27:ctx-80068c4c) Seq 1-585564250: Processing: { Ans: , > >MgmtId: 345049296663, via: 1, Ver: v1, Flags: 10, > >[{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":false,&
Multiple hypervisor through single management server
Hi I am trying manage multiple hypervisor through Management server. 1 ) I have installed Xenserver 6.2 on CS 4.3 with nfs as primary & secondary storage, it was working fine. 2) Created new cluster for hyperv and added hyperv host. Immediately hyperv Centos template download started. 3) Added SMB/CIFS as primary storage local to hyperv cluster. 4) while trying to create instance from ISO, log says , 2014-04-22 13:57:57,701 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-4:ctx-d714df36 ctx-a482309d) Lock is released for network id 206 as a part of router startup in Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))] : Dest[Zone(1)-Pod(1)-Cluster(2)-Host(4)-Storage(Volume(9|ROOT-->Pool(2))] 2014-04-22 13:57:57,701 ERROR [c.c.v.VirtualMachineManagerImpl] (Job-Executor-4:ctx-d714df36 ctx-a482309d) Failed to start instance VM[User|CentOS65-x64-Hyperv] com.cloud.utils.exception.CloudRuntimeException: Template 9 has not been completely downloaded to zone 1 at com.cloud.template.TemplateManagerImpl.getTemplateSize(TemplateManagerImpl.java:1745) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Don't understand how to upload hyperv systemvm template to secondary storage where already one systemvm template for xen is available. Regards, Tejas
Re: Dynamic Scaling of VM
Thanks Likitha, I will check it out. Regards, Tejas On Tue, Apr 22, 2014 at 9:37 AM, Likitha Shetty wrote: > Tejas, you must be running into this error because Clone_VM vCenter task > is taking more than 20 minutes to complete. > > To avoid this error use global configuration > 'vmware.vcenter.session.timeout' to increase the default timeout value. In > vCenter under Tasks and Events, check how long the CloneVM task takes to > complete and increase the timeout value accordingly (refer - > https://issues.apache.org/jira/browse/CLOUDSTACK-5069). > > Thanks, > Likitha > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: Tuesday, April 22, 2014 8:45 AM > To: dev@cloudstack.apache.org > Cc: us...@cloudstack.apache.org > Subject: Re: Dynamic Scaling of VM > > Hi Nitin, > > you are right, > I changed to *enable.dynamic.scale.vm = false* > > Created another centos template without dynamic scaling, still facing same > issue. > On management server it displaying same logs as above. > > I am using vCenter 5.5 and Esxi host 5.1 > > Regards, > Tejas > > > > On Tue, Apr 22, 2014 at 12:25 AM, Nitin Mehta >wrote: > > > Error doesn't seem to be coming from dynamic scaling. Change the > > config below to false and see if you still hit the issue. > > *enable.dynamic.scale.vm* = false > > > > > > On 19/04/14 8:48 PM, "Tejas Gadaria" wrote: > > > > >Hi, > > > > > >I am trying to test dynamic scaling of vm on vmware with CS 4.3. > > >I have CentOS 6.3 template with vmware tools installed. > > > > > >In global setting *enable.dynamic.scale.vm* = *true, * > > > > > > > > >*mem.overprovisioning.factor =2 * > > >while trying to deploy template, it's giving below error.. > > > > > >2014-04-20 09:06:31,808 DEBUG [c.c.h.v.u.VmwareClient] > > >(DirectAgent-27:ctx-80068c4c 10.129.151.67) Cancelling vCenter task > > >because task failed with java.net.SocketTimeoutException: Read timed > > >out > > >2014-04-20 09:06:32,354 ERROR [c.c.s.r.VmwareStorageProcessor] > > >(DirectAgent-27:ctx-80068c4c 10.129.151.67) clone volume from base > > >image failed due to Exception: java.lang.RuntimeException > > >Message: vCenter task failed due to java.net.SocketTimeoutException: > > >Read timed out > > > > > >java.lang.RuntimeException: vCenter task failed due to > > >java.net.SocketTimeoutException: Read timed out > > >at > > >com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClien > > >t.jav > > >a:341) > > >at > > >com.cloud.hypervisor.vmware.mo.VirtualMachineMO.createFullClone(Virtu > > >alMac > > >hineMO.java:619) > > >at > > >com.cloud.storage.resource.VmwareStorageProcessor.createVMFullClone(V > > >mware > > >StorageProcessor.java:266) > > >at > > >com.cloud.storage.resource.VmwareStorageProcessor.cloneVolumeFromBase > > >Templ > > >ate(VmwareStorageProcessor.java:338) > > >at > > >com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute > > >(Stor > > >ageSubsystemCommandHandlerBase.java:78) > > >at > > >com.cloud.storage.resource.VmwareStorageSubsystemCommandHandler.execu > > >te(Vm > > >wareStorageSubsystemCommandHandler.java:171) > > >at > > >com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleS > > >torag > > >eCommands(StorageSubsystemCommandHandlerBase.java:50) > > >at > > >com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(Vm > > >wareR > > >esource.java:571) > > >at > > >com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAg > > >entAt > > >tache.java:216) > > >at > > >org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Ma > > >naged > > >ContextRunnable.java:49) > > >at > > >org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.ca > > >ll(De > > >faultManagedContext.java:56) > > >at > > >org.apache.cloudstack.managed.context.impl.DefaultManagedContext.call > > >WithC > > >ontext(DefaultManagedContext.java:103) > > >at > > >org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runW > > >ithCo > > >ntext(DefaultManagedContext.java:53) > > >at > > >org.apache.clo
Re: Multiple hypervisor through single management server
Hi Devdeep, Thanks for clarification about hyperv, If I undo all the changes I made for hyperv setup and go ahead to deploy vmware on existing xen setup, Do I need to upload vmware systemvm or it won't be necessary. Regards, Tejas On Tue, Apr 22, 2014 at 2:40 PM, Devdeep Singh wrote: > Hi Tejas, > > For Hyper-V you need to create a zone in which Hyper-V is the only > hypervisor type. Reason being, currently in cloudstack Hyper-V only works > with SMB as a secondary storage. You can have a zone where a mixed set of > other hypervisors are present, for example, xenserver, kvm etc, but for > hyper-v you'll have to create a separate zone in which hyper-v is the only > hypervisor. For a hyper-v zone; you'll have to register a secondary storage > of type SMB. > > Regards, > Devdeep > > > -Original Message- > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > > Sent: Tuesday, April 22, 2014 2:22 PM > > To: dev@cloudstack.apache.org; us...@cloudstack.apache.org > > Subject: Multiple hypervisor through single management server > > > > Hi > > > > I am trying manage multiple hypervisor through Management server. > > > > 1 ) I have installed Xenserver 6.2 on CS 4.3 with nfs as primary & > secondary > > storage, it was working fine. > > 2) Created new cluster for hyperv and added hyperv host. Immediately > > hyperv Centos template download started. > > 3) Added SMB/CIFS as primary storage local to hyperv cluster. > > 4) while trying to create instance from ISO, log says , > > > > 2014-04-22 13:57:57,701 DEBUG > > [c.c.n.r.VirtualNetworkApplianceManagerImpl] > > (Job-Executor-4:ctx-d714df36 ctx-a482309d) Lock is released for network > id > > 206 as a part of router startup in > > Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-- > > >Pool(Id))] > > : Dest[Zone(1)-Pod(1)-Cluster(2)-Host(4)-Storage(Volume(9|ROOT-- > > >Pool(2))] > > 2014-04-22 13:57:57,701 ERROR [c.c.v.VirtualMachineManagerImpl] > > (Job-Executor-4:ctx-d714df36 ctx-a482309d) Failed to start instance > > VM[User|CentOS65-x64-Hyperv] > > com.cloud.utils.exception.CloudRuntimeException: Template 9 has not been > > completely downloaded to zone 1 > > at > > com.cloud.template.TemplateManagerImpl.getTemplateSize(TemplateMan > > agerImpl.java:1745) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > > > Don't understand how to upload hyperv systemvm template to secondary > > storage where already one systemvm template for xen is available. > > > > Regards, > > Tejas >
Re: Multiple hypervisor through single management server
Thanks Devdeep, Regards, Tejas
Re: Multiple hypervisor through single management server
Thanks Mike, I will go ahead & try this. Regards, Tejas On Tue, Apr 22, 2014 at 8:21 PM, Mike Tutkowski < mike.tutkow...@solidfire.com> wrote: > Yeah, that should work just fine. > > I regularly run XenServer and VMware in the same zone with only having the > XenServer system template seeded. > > > On Tue, Apr 22, 2014 at 4:07 AM, Devdeep Singh >wrote: > > > Hi Tejas, > > > > It should work but I would recommend that you seed the vmware systemvm > > template too on the secondary storage. > > > > Regards, > > Devdeep > > > > > -Original Message- > > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > > > Sent: Tuesday, April 22, 2014 3:05 PM > > > To: us...@cloudstack.apache.org > > > Cc: dev@cloudstack.apache.org > > > Subject: Re: Multiple hypervisor through single management server > > > > > > Hi Devdeep, > > > > > > Thanks for clarification about hyperv, > > > > > > If I undo all the changes I made for hyperv setup and go ahead to > deploy > > > vmware on existing xen setup, Do I need to upload vmware systemvm or it > > > won't be necessary. > > > > > > Regards, > > > Tejas > > > > > > > > > On Tue, Apr 22, 2014 at 2:40 PM, Devdeep Singh > > > wrote: > > > > > > > Hi Tejas, > > > > > > > > For Hyper-V you need to create a zone in which Hyper-V is the only > > > > hypervisor type. Reason being, currently in cloudstack Hyper-V only > > > > works with SMB as a secondary storage. You can have a zone where a > > > > mixed set of other hypervisors are present, for example, xenserver, > > > > kvm etc, but for hyper-v you'll have to create a separate zone in > > > > which hyper-v is the only hypervisor. For a hyper-v zone; you'll have > > > > to register a secondary storage of type SMB. > > > > > > > > Regards, > > > > Devdeep > > > > > > > > > -Original Message- > > > > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > > > > > Sent: Tuesday, April 22, 2014 2:22 PM > > > > > To: dev@cloudstack.apache.org; us...@cloudstack.apache.org > > > > > Subject: Multiple hypervisor through single management server > > > > > > > > > > Hi > > > > > > > > > > I am trying manage multiple hypervisor through Management server. > > > > > > > > > > 1 ) I have installed Xenserver 6.2 on CS 4.3 with nfs as primary & > > > > secondary > > > > > storage, it was working fine. > > > > > 2) Created new cluster for hyperv and added hyperv host. > Immediately > > > > > hyperv Centos template download started. > > > > > 3) Added SMB/CIFS as primary storage local to hyperv cluster. > > > > > 4) while trying to create instance from ISO, log says , > > > > > > > > > > 2014-04-22 13:57:57,701 DEBUG > > > > > [c.c.n.r.VirtualNetworkApplianceManagerImpl] > > > > > (Job-Executor-4:ctx-d714df36 ctx-a482309d) Lock is released for > > > > > network > > > > id > > > > > 206 as a part of router startup in > > > > > Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-- > > > > > >Pool(Id))] > > > > > : Dest[Zone(1)-Pod(1)-Cluster(2)-Host(4)-Storage(Volume(9|ROOT-- > > > > > >Pool(2))] > > > > > 2014-04-22 13:57:57,701 ERROR [c.c.v.VirtualMachineManagerImpl] > > > > > (Job-Executor-4:ctx-d714df36 ctx-a482309d) Failed to start instance > > > > > VM[User|CentOS65-x64-Hyperv] > > > > > com.cloud.utils.exception.CloudRuntimeException: Template 9 has not > > > > > been completely downloaded to zone 1 > > > > > at > > > > > > > > com.cloud.template.TemplateManagerImpl.getTemplateSize(TemplateMan > > > > > agerImpl.java:1745) > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > > > > > > > > > > > > Don't understand how to upload hyperv systemvm template to > > > secondary > > > > > storage where already one systemvm template for xen is available. > > > > > > > > > > Regards, > > > > > Tejas > > > > > > > > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkow...@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the > cloud<http://solidfire.com/solution/overview/?video=play> > *(tm)* >
Unable to deploy guest vm
SSVM & Console proxy working fine. while trying to create vm from ISO on new setup it throws below exception. 2014-05-30 16:42:20,358 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-62:ctx-97ac79ab 10.129.137.199) Unable to execute ping command on DomR (null), domR may not be ready yet. failure due to Exception: java.io.IOException Message: There was a problem while connecting to null:3922 java.io.IOException: There was a problem while connecting to null:3922 Regards, Tejas
SSVM & CPVM Public IP not pinging
Hi, I am trying to create setup with xenserver, where Storage,public,Guest & Management traffic will be carried by 4 diff. nics & all are in different VLAN. After assigning the name-label in xen. System vm's are created but I am not able ping to SSVM & CPVM public IP . root@s-1-VM:~# route Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface default 10.129.152.10.0.0.0 UG0 00 eth2 google-public-d 10.129.151.1255.255.255.255 UGH 0 00 eth1 10.129.151.0* 255.255.255.0 U 0 00 eth1 10.129.152.0* 255.255.255.0 U 0 00 eth2 10.129.155.0* 255.255.255.0 U 0 00 eth3 link-local * 255.255.0.0 U 0 00 eth0 root@s-1-VM:~# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 48 data bytes 56 bytes from 8.8.8.8: icmp_seq=0 ttl=46 time=64.948 ms ^C--- 8.8.8.8 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 64.948/64.948/64.948/0.000 ms I am not able to ping to Storage from SSVM either. Following below link right now. https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting Need help on this. Regards, Tejas
SSVM I/O error
Hi, I am getting below error in logs, on new xenserver setup. SSVM is working fine. I tried to recreate the vm twice but no luck. I am able to ping to private, public & link-local ip of SSVM & CPVM but template is not downloading. 2014-06-07 11:40:59,639 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] (AgentConnectTaskPool-626:ctx-9c74116d) Successfully programmed secondary storage Secondary in secondary storage VM s-4-VM 2014-06-07 11:40:59,645 DEBUG [c.c.a.t.Request] (AgentConnectTaskPool-626:ctx-9c74116d) Seq 3-1626341406: Sending { Cmd , MgmtId: 345049283025, via: 3(s-1-VM), Ver: v1, Flags: 100011, [{"com.cloud.agent.api.SecStorageFirewallCfgCommand":{"portConfigs":[{"add":true,"sourceIp":"10.129.152.32","port":"80","intf":"eth2"}],"isAppendAIp":true,"wait":0}}] } 2014-06-07 11:40:59,688 DEBUG [c.c.a.t.Request] (AgentManager-Handler-6:null) Seq 3-1626341406: Processing: { Ans: , MgmtId: 345049283025, via: 3, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"java.io.IOException: Cannot run program \"/usr/local/cloud/systemvm/ipfirewall.sh\": java.io.IOException: error=5, Input/output error\n\tat java.lang.ProcessBuilder.start(ProcessBuilder.java:488)\n\tat com.cloud.utils.script.Script.execute(Script.java:177)\n\tat com.cloud.utils.script.Script.execute(Script.java:155)\n\tat org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.configureIpFirewall(NfsSecondaryStorageResource.java:2262)\n\tat org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.execute(NfsSecondaryStorageResource.java:1684)\n\tat org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.executeRequest(NfsSecondaryStorageResource.java:222)\n\tat com.cloud.storage.resource.PremiumSecondaryStorageResource.defaultAction(PremiumSecondaryStorageResource.java:63)\n\tat com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:59)\n\tat com.cloud.agent.Agent.processRequest(Agent.java:498)\n\tat com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:806)\n\tat com.cloud.utils.nio.Task.run(Task.java:83)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n\tat java.lang.Thread.run(Thread.java:679)\nCaused by: java.io.IOException: java.io.IOException: error=5, Input/output error\n\tat java.lang.UNIXProcess.(UNIXProcess.java:164)\n\tat java.lang.ProcessImpl.start(ProcessImpl.java:81)\n\tat java.lang.ProcessBuilder.start(ProcessBuilder.java:470)\n\t... 13 more\n","wait":0}}] } 2014-06-07 11:40:59,688 DEBUG [c.c.a.t.Request] (AgentConnectTaskPool-626:ctx-9c74116d) Seq 3-1626341406: Received: { Ans: , MgmtId: 345049283025, via: 3, Ver: v1, Flags: 10, { Answer } } 2014-06-07 11:40:59,688 DEBUG [c.c.a.m.AgentManagerImpl] (AgentConnectTaskPool-626:ctx-9c74116d) Details from executing class com.cloud.agent.api.SecStorageFirewallCfgCommand: java.io.IOException: Cannot run program "/usr/local/cloud/systemvm/ipfirewall.sh": java.io.IOException: error=5, Input/output error at java.lang.ProcessBuilder.start(ProcessBuilder.java:488) at com.cloud.utils.script.Script.execute(Script.java:177) Regards, Tejas
Unable to delete virtual router
Hi, I have created Redundant virtual router. Right now no vms are running on that, but I am not to delete VR.
Re: Unable to delete virtual router
I found the log on management server, 2014-06-21 17:25:28,750 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-bc6cacf1) Completed acquiring hosts for clusters not owned by any management server 2014-06-21 17:25:31,809 DEBUG [c.c.a.ApiServlet] (catalina-exec-19:ctx-631429c1) ===START=== 192.168.160.192 -- GET command=deleteNetwork&id=099ff395-9196-43ab-a1e2-cd368dbe3c75&response=json&sessionkey=svge6Qrqq9nR4yPm9TYMn1UgvSo%3D&_=1403351731747 2014-06-21 17:25:31,946 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (catalina-exec-19:ctx-631429c1 ctx-190760ce) submit async job-160, details: AsyncJobVO {id:160, userId: 2, accountId: 2, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd, cmdInfo: {"id":"099ff395-9196-43ab-a1e2-cd368dbe3c75","response":"json","sessionkey":"svge6Qrqq9nR4yPm9TYMn1UgvSo\u003d","cmdEventType":"NETWORK.DELETE","ctxUserId":"2","httpmethod":"GET","_":"1403351731747","ctxAccountId":"2","ctxStartEventId":"562"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 64342918221735, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-06-21 17:25:31,947 INFO [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-7:ctx-a9e7a416) Add job-160 into job monitoring 2014-06-21 17:25:31,948 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-7:ctx-a9e7a416) Executing AsyncJobVO {id:160, userId: 2, accountId: 2, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd, cmdInfo: {"id":"099ff395-9196-43ab-a1e2-cd368dbe3c75","response":"json","sessionkey":"svge6Qrqq9nR4yPm9TYMn1UgvSo\u003d","cmdEventType":"NETWORK.DELETE","ctxUserId":"2","httpmethod":"GET","_":"1403351731747","ctxAccountId":"2","ctxStartEventId":"562"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 64342918221735, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-06-21 17:25:31,949 DEBUG [c.c.a.ApiServlet] (catalina-exec-19:ctx-631429c1 ctx-190760ce) ===END=== 192.168.160.192 -- GET command=deleteNetwork&id=099ff395-9196-43ab-a1e2-cd368dbe3c75&response=json&sessionkey=svge6Qrqq9nR4yPm9TYMn1UgvSo%3D&_=1403351731747 2014-06-21 17:25:32,041 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-7:ctx-a9e7a416 ctx-190760ce) Network is not implemented: Ntwk[207|Guest|17] 2014-06-21 17:25:32,044 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-7:ctx-a9e7a416 ctx-190760ce) Network is not not in the correct state to be destroyed: Implementing 2014-06-21 17:25:32,100 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-7:ctx-a9e7a416) Complete async job-160, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Failed to delete network"} 2014-06-21 17:25:32,152 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-7:ctx-a9e7a416) Done executing org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd for job-160 Regards, Tejas On Sat, Jun 21, 2014 at 5:18 PM, Tejas Gadaria wrote: > Hi, > > I have created Redundant virtual router. > Right now no vms are running on that, but I am not to delete VR. > >
Re: Unable to delete virtual router
Hi, I found this bug still open https://issues.apache.org/jira/browse/CLOUDSTACK-1007 Is there any way around to create vm in same Network, with same VLAN ID. OR Destroy existing Network. Right now I am using shared network offering to create guest network. Regards, Tejas On Sat, Jun 21, 2014 at 5:32 PM, Tejas Gadaria wrote: > I found the log on management server, > > 2014-06-21 17:25:28,750 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-bc6cacf1) Completed acquiring hosts for clusters not owned by any > management server > 2014-06-21 17:25:31,809 DEBUG [c.c.a.ApiServlet] > (catalina-exec-19:ctx-631429c1) ===START=== 192.168.160.192 -- GET > command=deleteNetwork&id=099ff395-9196-43ab-a1e2-cd368dbe3c75&response=json&sessionkey=svge6Qrqq9nR4yPm9TYMn1UgvSo%3D&_=1403351731747 > 2014-06-21 17:25:31,946 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (catalina-exec-19:ctx-631429c1 ctx-190760ce) submit async job-160, details: > AsyncJobVO {id:160, userId: 2, accountId: 2, instanceType: None, > instanceId: null, cmd: > org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd, cmdInfo: > {"id":"099ff395-9196-43ab-a1e2-cd368dbe3c75","response":"json","sessionkey":"svge6Qrqq9nR4yPm9TYMn1UgvSo\u003d","cmdEventType":"NETWORK.DELETE","ctxUserId":"2","httpmethod":"GET","_":"1403351731747","ctxAccountId":"2","ctxStartEventId":"562"}, > cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, > result: null, initMsid: 64342918221735, completeMsid: null, lastUpdated: > null, lastPolled: null, created: null} > 2014-06-21 17:25:31,947 INFO [o.a.c.f.j.i.AsyncJobMonitor] > (Job-Executor-7:ctx-a9e7a416) Add job-160 into job monitoring > 2014-06-21 17:25:31,948 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (Job-Executor-7:ctx-a9e7a416) Executing AsyncJobVO {id:160, userId: 2, > accountId: 2, instanceType: None, instanceId: null, cmd: > org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd, cmdInfo: > {"id":"099ff395-9196-43ab-a1e2-cd368dbe3c75","response":"json","sessionkey":"svge6Qrqq9nR4yPm9TYMn1UgvSo\u003d","cmdEventType":"NETWORK.DELETE","ctxUserId":"2","httpmethod":"GET","_":"1403351731747","ctxAccountId":"2","ctxStartEventId":"562"}, > cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, > result: null, initMsid: 64342918221735, completeMsid: null, lastUpdated: > null, lastPolled: null, created: null} > 2014-06-21 17:25:31,949 DEBUG [c.c.a.ApiServlet] > (catalina-exec-19:ctx-631429c1 ctx-190760ce) ===END=== 192.168.160.192 -- > GET > command=deleteNetwork&id=099ff395-9196-43ab-a1e2-cd368dbe3c75&response=json&sessionkey=svge6Qrqq9nR4yPm9TYMn1UgvSo%3D&_=1403351731747 > 2014-06-21 17:25:32,041 DEBUG [o.a.c.e.o.NetworkOrchestrator] > (Job-Executor-7:ctx-a9e7a416 ctx-190760ce) Network is not implemented: > Ntwk[207|Guest|17] > 2014-06-21 17:25:32,044 DEBUG [o.a.c.e.o.NetworkOrchestrator] > (Job-Executor-7:ctx-a9e7a416 ctx-190760ce) Network is not not in the > correct state to be destroyed: Implementing > 2014-06-21 17:25:32,100 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (Job-Executor-7:ctx-a9e7a416) Complete async job-160, jobStatus: FAILED, > resultCode: 530, result: > org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Failed > to delete network"} > 2014-06-21 17:25:32,152 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (Job-Executor-7:ctx-a9e7a416) Done executing > org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd for job-160 > > > Regards, > Tejas > > > > On Sat, Jun 21, 2014 at 5:18 PM, Tejas Gadaria > wrote: > >> Hi, >> >> I have created Redundant virtual router. >> Right now no vms are running on that, but I am not to delete VR. >> >> >
Re: Unable to delete virtual router
I am using CS 4.3. Before restarting the Guest network, Network state : Implementing I will post logs once i will restart the Network. Regards, Tejas On Mon, Jun 23, 2014 at 10:18 AM, Suresh Sadhu wrote: > Try restart the network with cleanup option .it will recreate the router. > By the way, Which version of cloudstack you are using? > > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: 21 June 2014 22:45 > To: us...@cloudstack.apache.org; dev@cloudstack.apache.org > Subject: Re: Unable to delete virtual router > > Hi, > > I found this bug still open > https://issues.apache.org/jira/browse/CLOUDSTACK-1007 > > Is there any way around to create vm in same Network, with same VLAN ID. > OR Destroy existing Network. > Right now I am using shared network offering to create guest network. > > Regards, > Tejas > > > > On Sat, Jun 21, 2014 at 5:32 PM, Tejas Gadaria > wrote: > > > I found the log on management server, > > > > 2014-06-21 17:25:28,750 DEBUG [c.c.h.d.HostDaoImpl] > > (ClusteredAgentManager > > Timer:ctx-bc6cacf1) Completed acquiring hosts for clusters not owned > > by any management server > > 2014-06-21 17:25:31,809 DEBUG [c.c.a.ApiServlet] > > (catalina-exec-19:ctx-631429c1) ===START=== 192.168.160.192 -- GET > > command=deleteNetwork&id=099ff395-9196-43ab-a1e2-cd368dbe3c75&response > > =json&sessionkey=svge6Qrqq9nR4yPm9TYMn1UgvSo%3D&_=1403351731747 > > 2014-06-21 17:25:31,946 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > > (catalina-exec-19:ctx-631429c1 ctx-190760ce) submit async job-160, > details: > > AsyncJobVO {id:160, userId: 2, accountId: 2, instanceType: None, > > instanceId: null, cmd: > > org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd, cmdInfo: > > {"id":"099ff395-9196-43ab-a1e2-cd368dbe3c75","response":"json","sessio > > nkey":"svge6Qrqq9nR4yPm9TYMn1UgvSo\u003d","cmdEventType":"NETWORK.DELE > > TE","ctxUserId":"2","httpmethod":"GET","_":"1403351731747","ctxAccount > > Id":"2","ctxStartEventId":"562"}, > > cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, > > result: null, initMsid: 64342918221735, completeMsid: null, lastUpdated: > > null, lastPolled: null, created: null} > > 2014-06-21 17:25:31,947 INFO [o.a.c.f.j.i.AsyncJobMonitor] > > (Job-Executor-7:ctx-a9e7a416) Add job-160 into job monitoring > > 2014-06-21 17:25:31,948 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > > (Job-Executor-7:ctx-a9e7a416) Executing AsyncJobVO {id:160, userId: 2, > > accountId: 2, instanceType: None, instanceId: null, cmd: > > org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd, cmdInfo: > > {"id":"099ff395-9196-43ab-a1e2-cd368dbe3c75","response":"json","sessio > > nkey":"svge6Qrqq9nR4yPm9TYMn1UgvSo\u003d","cmdEventType":"NETWORK.DELE > > TE","ctxUserId":"2","httpmethod":"GET","_":"1403351731747","ctxAccount > > Id":"2","ctxStartEventId":"562"}, > > cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, > > result: null, initMsid: 64342918221735, completeMsid: null, lastUpdated: > > null, lastPolled: null, created: null} > > 2014-06-21 17:25:31,949 DEBUG [c.c.a.ApiServlet] > > (catalina-exec-19:ctx-631429c1 ctx-190760ce) ===END=== > > 192.168.160.192 -- GET > > command=deleteNetwork&id=099ff395-9196-43ab-a1e2-cd368dbe3c75&response > > =json&sessionkey=svge6Qrqq9nR4yPm9TYMn1UgvSo%3D&_=1403351731747 > > 2014-06-21 17:25:32,041 DEBUG [o.a.c.e.o.NetworkOrchestrator] > > (Job-Executor-7:ctx-a9e7a416 ctx-190760ce) Network is not implemented: > > Ntwk[207|Guest|17] > > 2014-06-21 17:25:32,044 DEBUG [o.a.c.e.o.NetworkOrchestrator] > > (Job-Executor-7:ctx-a9e7a416 ctx-190760ce) Network is not not in the > > correct state to be destroyed: Implementing > > 2014-06-21 17:25:32,100 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > > (Job-Executor-7:ctx-a9e7a416) Complete async job-160, jobStatus: > > FAILED, > > resultCode: 530, result: > > org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList": > > [],"errorcode":530,"errortext":"Failed > > to delete network"} > > 2014-06-21 17:25:32,152 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > > (Job-Executor-7:ctx-a9e7a416) Done executing > > org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd for > > job-160 > > > > > > Regards, > > Tejas > > > > > > > > On Sat, Jun 21, 2014 at 5:18 PM, Tejas Gadaria > > wrote: > > > >> Hi, > >> > >> I have created Redundant virtual router. > >> Right now no vms are running on that, but I am not to delete VR. > >> > >> > > >
Re: Unable to delete virtual router
Hi, After restarting the Network it says, "Network is not in the right state to be restarted. Correct states are: Implemented, Setup" 2014-06-23 12:04:29,112 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-993ca065) Completed acquiring hosts for clusters not owned by any management server 2014-06-23 12:04:29,269 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-15:null) Ping from 3 2014-06-23 12:04:32,755 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-393:ctx-d0977fbe) Ping from 1(swiftproxy-xen1) 2014-06-23 12:04:33,101 DEBUG [c.c.a.ApiServlet] (catalina-exec-11:ctx-dc604cdc) ===START=== 192.168.160.192 -- GET command=restartNetwork&cleanup=true&id=099ff395-9196-43ab-a1e2-cd368dbe3c75&cleanup=true&response=json&sessionkey=ecSt5VOMl2wgsZtnAYbNEfbh8%2Bk%3D&_=1403505273057 2014-06-23 12:04:33,127 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-12:null) SeqA 4-91008: Processing Seq 4-91008: { Cmd , MgmtId: -1, via: 4, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":3,"_loadInfo":"{\n \"connections\": []\n}","wait":0}}] } 2014-06-23 12:04:33,291 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-12:null) SeqA 4-91008: Sending Seq 4-91008: { Ans: , MgmtId: 64342918221735, via: 4, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } 2014-06-23 12:04:33,404 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (catalina-exec-11:ctx-dc604cdc ctx-6b97cb9e) submit async job-167, details: AsyncJobVO {id:167, userId: 2, accountId: 2, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.user.network.RestartNetworkCmd, cmdInfo: {"response":"json","id":"099ff395-9196-43ab-a1e2-cd368dbe3c75","sessionkey":"ecSt5VOMl2wgsZtnAYbNEfbh8+k\u003d","cleanup":"true","cmdEventType":"NETWORK.RESTART","ctxUserId":"2","httpmethod":"GET","_":"1403505273057","ctxAccountId":"2","ctxStartEventId":"605"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 64342918221735, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-06-23 12:04:33,405 INFO [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-11:ctx-587064a4) Add job-167 into job monitoring 2014-06-23 12:04:33,406 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-11:ctx-587064a4) Executing AsyncJobVO {id:167, userId: 2, accountId: 2, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.user.network.RestartNetworkCmd, cmdInfo: {"response":"json","id":"099ff395-9196-43ab-a1e2-cd368dbe3c75","sessionkey":"ecSt5VOMl2wgsZtnAYbNEfbh8+k\u003d","cleanup":"true","cmdEventType":"NETWORK.RESTART","ctxUserId":"2","httpmethod":"GET","_":"1403505273057","ctxAccountId":"2","ctxStartEventId":"605"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 64342918221735, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-06-23 12:04:33,407 DEBUG [c.c.a.ApiServlet] (catalina-exec-11:ctx-dc604cdc ctx-6b97cb9e) ===END=== 192.168.160.192 -- GET command=restartNetwork&cleanup=true&id=099ff395-9196-43ab-a1e2-cd368dbe3c75&cleanup=true&response=json&sessionkey=ecSt5VOMl2wgsZtnAYbNEfbh8%2Bk%3D&_=1403505273057 2014-06-23 12:04:33,538 ERROR [c.c.a.ApiAsyncJobDispatcher] (Job-Executor-11:ctx-587064a4) Unexpected exception while executing org.apache.cloudstack.api.command.user.network.RestartNetworkCmd com.cloud.exception.InvalidParameterValueException: Network is not in the right state to be restarted. Correct states are: Implemented, Setup at com.cloud.network.NetworkServiceImpl.restartNetwork(NetworkServiceImpl.java:1832) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Regards, Tejas On Mon, Jun 23, 2014 at 12:03 PM, Tejas Gadaria wrote: > I am using CS 4.3. > > Before restarting the Guest network, Network state : Implementing > I will post logs once i will restart the Network. > > Regards, > Tejas > > > On Mon, Jun 23, 2014 at 10:18 AM, Suresh Sadhu > wrote: > >> Try restart the network with cleanup option .it will recreate the router. >> By the way, Which version of cloudstack you are using? >> >> >> -Original Message- >> From: Tejas Gadaria [mailto:refond.g...@gmail.com] >> Sent: 21 June 2014 22:45 >> To: us...@cloudstack.apache.org; dev@cloudstack.apache.org >> Subject:
Re: Unable to delete virtual router
Hi, Should I update the state in "networks" table in cloud db ? Regards, Tejas On Mon, Jun 23, 2014 at 12:46 PM, Suresh Sadhu wrote: > > HI, > > It looks your network in stuck in transition state(implementing) as log > clearly says it should either implemented or allocate . > > You can update the network state in db as implemented and perform again > network restart with cleanup option. > > -sadhu > > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: 23 June 2014 12:10 > To: dev@cloudstack.apache.org > Cc: us...@cloudstack.apache.org > Subject: Re: Unable to delete virtual router > > Hi, > > After restarting the Network it says, "Network is not in the right state > to be restarted. Correct states are: Implemented, Setup" > > > 2014-06-23 12:04:29,112 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-993ca065) Completed acquiring hosts for clusters not owned by > any management server > 2014-06-23 12:04:29,269 DEBUG [c.c.a.m.AgentManagerImpl] > (AgentManager-Handler-15:null) Ping from 3 > 2014-06-23 12:04:32,755 DEBUG [c.c.a.m.DirectAgentAttache] > (DirectAgent-393:ctx-d0977fbe) Ping from 1(swiftproxy-xen1) > 2014-06-23 12:04:33,101 DEBUG [c.c.a.ApiServlet] > (catalina-exec-11:ctx-dc604cdc) ===START=== 192.168.160.192 -- GET > > command=restartNetwork&cleanup=true&id=099ff395-9196-43ab-a1e2-cd368dbe3c75&cleanup=true&response=json&sessionkey=ecSt5VOMl2wgsZtnAYbNEfbh8%2Bk%3D&_=1403505273057 > 2014-06-23 12:04:33,127 DEBUG [c.c.a.m.AgentManagerImpl] > (AgentManager-Handler-12:null) SeqA 4-91008: Processing Seq 4-91008: { > Cmd , MgmtId: -1, via: 4, Ver: v1, Flags: 11, > [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":3,"_loadInfo":"{\n > \"connections\": []\n}","wait":0}}] } > 2014-06-23 12:04:33,291 DEBUG [c.c.a.m.AgentManagerImpl] > (AgentManager-Handler-12:null) SeqA 4-91008: Sending Seq 4-91008: { Ans: , > MgmtId: 64342918221735, via: 4, Ver: v1, Flags: 100010, > [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } > 2014-06-23 12:04:33,404 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (catalina-exec-11:ctx-dc604cdc ctx-6b97cb9e) submit async job-167, details: > AsyncJobVO {id:167, userId: 2, accountId: 2, instanceType: None, > instanceId: null, cmd: > org.apache.cloudstack.api.command.user.network.RestartNetworkCmd, cmdInfo: > > {"response":"json","id":"099ff395-9196-43ab-a1e2-cd368dbe3c75","sessionkey":"ecSt5VOMl2wgsZtnAYbNEfbh8+k\u003d","cleanup":"true","cmdEventType":"NETWORK.RESTART","ctxUserId":"2","httpmethod":"GET","_":"1403505273057","ctxAccountId":"2","ctxStartEventId":"605"}, > cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, > result: null, initMsid: 64342918221735, completeMsid: null, lastUpdated: > null, lastPolled: null, created: null} > 2014-06-23 12:04:33,405 INFO [o.a.c.f.j.i.AsyncJobMonitor] > (Job-Executor-11:ctx-587064a4) Add job-167 into job monitoring > 2014-06-23 12:04:33,406 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (Job-Executor-11:ctx-587064a4) Executing AsyncJobVO {id:167, userId: 2, > accountId: 2, instanceType: None, instanceId: null, cmd: > org.apache.cloudstack.api.command.user.network.RestartNetworkCmd, cmdInfo: > > {"response":"json","id":"099ff395-9196-43ab-a1e2-cd368dbe3c75","sessionkey":"ecSt5VOMl2wgsZtnAYbNEfbh8+k\u003d","cleanup":"true","cmdEventType":"NETWORK.RESTART","ctxUserId":"2","httpmethod":"GET","_":"1403505273057","ctxAccountId":"2","ctxStartEventId":"605"}, > cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, > result: null, initMsid: 64342918221735, completeMsid: null, lastUpdated: > null, lastPolled: null, created: null} > 2014-06-23 12:04:33,407 DEBUG [c.c.a.ApiServlet] > (catalina-exec-11:ctx-dc604cdc ctx-6b97cb9e) ===END=== 192.168.160.192 -- > GET > > command=restartNetwork&cleanup=true&id=099ff395-9196-43ab-a1e2-cd368dbe3c75&cleanup=true&response=json&sessionkey=ecSt5VOMl2wgsZtnAYbNEfbh8%2Bk%3D&_=1403505273057 > 2014-06-23 12:04:33,538 ERROR [c.c.a.ApiAsyncJobDispatcher] > (Job-Executor-11:ctx-587064a4) Unexpected exception while executing > org.apache.cloudstack.api.command.user.network.RestartNetworkCmd > com.cloud.e
Re: Unable to delete virtual router
Hi, I am getting the similar log after deleting the Network it says "Unable to destroy network because of virtual router" & VR is in expunging state. 2014-06-23 13:02:21,589 WARN [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-16:ctx-011048ba ctx-55af37fa) Unable to apply ip association, virtual router is not in the right state Expunging 2014-06-23 13:02:21,594 DEBUG [c.c.n.IpAddressManagerImpl] (Job-Executor-16:ctx-011048ba ctx-55af37fa) Resource is not available: VirtualRouter com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is unreachable: Unable to apply ip association, virtual router is not in the right state at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyRules(VirtualNetworkApplianceManagerImpl.java:3928) 2014-06-23 13:02:21,595 WARN [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-16:ctx-011048ba ctx-55af37fa) Unable to apply ip address associations for Ntwk[207|Guest|17] as a part of shutdownNetworkRules 2014-06-23 13:02:21,595 WARN [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-16:ctx-011048ba ctx-55af37fa) Failed to cleanup network id=207 resources as a part of shutdownNetwork 2014-06-23 13:02:21,599 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-16:ctx-011048ba ctx-55af37fa) Sending network shutdown to VirtualRouter 2014-06-23 13:02:21,601 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-16:ctx-011048ba ctx-55af37fa) Stopping router VM[DomainRouter|r-27-VM] 2014-06-23 13:02:21,604 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Executor-16:ctx-011048ba ctx-55af37fa) Stopped called on VM[DomainRouter|r-27-VM] but the state is Expunging 2014-06-23 13:02:21,606 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-16:ctx-011048ba ctx-55af37fa) Network id=207 is shutdown successfully, cleaning up corresponding resources now. 2014-06-23 13:02:21,654 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-16:ctx-011048ba ctx-55af37fa) Lock is released for network Ntwk[207|Guest|17] as a part of network shutdown 2014-06-23 13:02:22,045 WARN [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-16:ctx-011048ba ctx-55af37fa) Unable to complete destroy of the network due to element: VirtualRouter After this logs I changed VR status in 'vm_instance' made it 'stopped' & tried to delete the router..but it has thrown exception, 2014-06-23 13:16:51,878 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-18:ctx-b2b5bc61 ctx-82406597) VM state transitted from :Stopped to Expunging with event: ExpungeOperationvm's original host id: null new host id: 6 host id before state transition: 6 2014-06-23 13:16:51,878 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Executor-18:ctx-b2b5bc61 ctx-82406597) Destroying vm VM[DomainRouter|r-27-VM] 2014-06-23 13:16:51,878 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Executor-18:ctx-b2b5bc61 ctx-82406597) Cleaning up NICS 2014-06-23 13:16:51,878 DEBUG [o.a.c.e.o.NetworkOrchestrator] (Job-Executor-18:ctx-b2b5bc61 ctx-82406597) Cleaning network for vm: 27 2014-06-23 13:16:51,881 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Executor-18:ctx-b2b5bc61 ctx-82406597) Cleaning up hypervisor data structures (ex. SRs in XenServer) for managed storage 2014-06-23 13:16:51,900 ERROR [c.c.a.ApiAsyncJobDispatcher] (Job-Executor-18:ctx-b2b5bc61) Unexpected exception while executing org.apache.cloudstack.api.command.admin.router.DestroyRouterCmd java.lang.NullPointerException at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.disconnectVolumesFromHost(VolumeOrchestrator.java:885) at com.cloud.vm.VirtualMachineManagerImpl.advanceExpunge(VirtualMachineManagerImpl.java:513) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2014-06-23 13:16:51,912 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-18:ctx-b2b5bc61) Complete async job-174, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530} 2014-06-23 13:16:51,966 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-18:ctx-b2b5bc61) Done executing org.apache.cloudstack.api.command.admin.router.DestroyRouterCmd for job-174 2014-06-23 13:16:51,989 INFO [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-18:ctx-b2b5bc61) Remove job-174 from job monitoring Regards, Tejas On Mon, Jun 23, 2014 at 12:52 PM, Tejas Gadaria wrote: > Hi, > > Should I update the state in "networks" table in cloud db ? > > Regards, > Tejas > > > On Mon, Jun 23, 2014 at 12:46 PM, Suresh Sadhu > wrote: > >> >> HI, >> >> It looks your network in stuck in transition state(implementing) as log >> clearly says it should either implemented or allocate . >> >> You can update the network state in db as implemented and perform again >> network restart with cleanup option. >>
Management Server HA & DB Replication
Hi, I want to make MS on high availability, with automatic failover. I have MS & DB on same server. & planning to create slave DB on separate server. but if I create separate Slave MS for HA, how can point it to DB so command issued from any of MS will trigger to same infrastructure. Regards, Tejas
Re: Management Server HA & DB Replication
Hi abhi, My 1st MS & DB Master running on : 10.1.1.2 2nd MS & DB Slave running on : 10.1.1.3 MS will be in cluster so Both MS will be pointed to : 10.1.1.2 Is it correct ? If so, Which parameter should I change in db.properties to point MS cluster to db master? Regards, Tejas On Tue, Jun 24, 2014 at 3:54 PM, Abhinandan Prateek < abhinandan.prat...@citrix.com> wrote: > MS will work in a cluster pointing to same DB. The DB can be configured as > master-slave. > > https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34838207 > > -abhi > > On 24/06/14 9:53 am, "Tejas Gadaria" wrote: > > >Hi, > > > >I want to make MS on high availability, with automatic failover. > >I have MS & DB on same server. & planning to create slave DB on separate > >server. > > > >but if I create separate Slave MS for HA, how can point it to DB so > >command > >issued from any of MS will trigger to same infrastructure. > > > >Regards, > >Tejas > >
Not able to deploy Ubuntu VM on xenserver 12.04
I was trying to create Ubuntu instance from ISO on xenserver 6.2 & received below error.. 2014-06-24 17:28:38,600 DEBUG [c.c.a.ApiServlet] (catalina-exec-17:ctx-736ea19c ctx-d2da377e) ===END=== 192.168.160.192 -- GET command=queryAsyncJobResult&jobId=06293d5e-1349-453c-a1c6-45646ff093d1&response=json&sessionkey=hRCT8eVG2WFHAM6sev8pPoXvpLs%3D&_=140368528 2014-06-24 17:28:40,416 WARN [c.c.h.x.r.CitrixResourceBase] (DirectAgent-236:ctx-4a340f40) Task failed! Task record: uuid: becfe1fc-7bc9-7162-6bfc-afd9b7a9ddd0 nameLabel: Async.VM.start_on nameDescription: allowedOperations: [] currentOperations: {} created: Tue Jun 24 17:42:43 IST 2014 finished: Tue Jun 24 17:28:40 IST 2014 status: failure residentOn: com.xensource.xenapi.Host@3851c289 progress: 1.0 type: result: errorInfo: [BOOTLOADER_FAILED, OpaqueRef:616ef71d-af09-2b86-3581-63c070f30519, INVALID_SOURCE Unable to access a required file in the specified repository: file:///tmp/cdrom-repo-LvMRCB/install/vmlinuz. ] otherConfig: {} subtaskOf: com.xensource.xenapi.Task@aaf13f6f subtasks: [] 2014-06-24 17:28:40,499 WARN [c.c.h.x.r.CitrixResourceBase] (DirectAgent-236:ctx-4a340f40) Unable to start VM(i-2-42-VM) on host(dc1d7e1c-b09b-45a5-a10e-5479f50aa16f) due to Task failed! Task record: uuid: becfe1fc-7bc9-7162-6bfc-afd9b7a9ddd0 nameLabel: Async.VM.start_on nameDescription: allowedOperations: [] currentOperations: {} created: Tue Jun 24 17:42:43 IST 2014 finished: Tue Jun 24 17:28:40 IST 2014 status: failure residentOn: com.xensource.xenapi.Host@3851c289 progress: 1.0 type: result: errorInfo: [BOOTLOADER_FAILED, OpaqueRef:616ef71d-af09-2b86-3581-63c070f30519, INVALID_SOURCE Unable to access a required file in the specified repository: file:///tmp/cdrom-repo-LvMRCB/install/vmlinuz. ] otherConfig: {} subtaskOf: com.xensource.xenapi.Task@aaf13f6f subtasks: [] Task failed! Task record: uuid: becfe1fc-7bc9-7162-6bfc-afd9b7a9ddd0 nameLabel: Async.VM.start_on nameDescription: allowedOperations: [] currentOperations: {} created: Tue Jun 24 17:42:43 IST 2014 finished: Tue Jun 24 17:28:40 IST 2014 status: failure residentOn: com.xensource.xenapi.Host@3851c289 progress: 1.0 type: result: errorInfo: [BOOTLOADER_FAILED, OpaqueRef:616ef71d-af09-2b86-3581-63c070f30519, INVALID_SOURCE Unable to access a required file in the specified repository: file:///tmp/cdrom-repo-LvMRCB/install/vmlinuz. ] otherConfig: {} subtaskOf: com.xensource.xenapi.Task@aaf13f6f subtasks: [] at com.cloud.hypervisor.xen.resource.CitrixResourceBase.checkForSuccess(CitrixResourceBase.java:3764) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.startVM(CitrixResourceBase.java:3876) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1721) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:545) 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-06-24 17:28:40,505 WARN [c.c.h.x.r.CitrixResourceBase] (DirectAgent-236:ctx-4a340
Re: Management Server HA & DB Replication
Thanks Suresh! Regards, Tejas On Tue, Jun 24, 2014 at 5:37 PM, Suresh Sadhu wrote: > IN a cluster management setup: > > ON Master MS you will install master db with deploy option > Cloudstack-setup-databases cloud@10.1.1.2 --deploy-as=root > > On slave MS : you will point to master db > Cloudstack-setup-databases cloud@10.1.1.2 > > ( here don't mention --deploy-as option on slave if you mention then it > will overwrite the master db content) > > Once you ran the above command on slave you can see > "db.cloud.host" point to master IP in db.properties file > > > Note: always take a baclkup of your DB before doing cluster management > setup .Due to any mistake if master db got overwritten and you can safely > revert back using ur backup copy > > Regards > Sadhu > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: 24 June 2014 17:04 > To: dev@cloudstack.apache.org > Cc: us...@cloudstack.apache.org > Subject: Re: Management Server HA & DB Replication > > Hi abhi, > > My 1st MS & DB Master running on : 10.1.1.2 2nd MS & DB Slave running on : > 10.1.1.3 > > MS will be in cluster so > > Both MS will be pointed to : 10.1.1.2 > Is it correct ? > > If so, > Which parameter should I change in db.properties to point MS cluster to db > master? > > Regards, > Tejas > > > On Tue, Jun 24, 2014 at 3:54 PM, Abhinandan Prateek < > abhinandan.prat...@citrix.com> wrote: > > > MS will work in a cluster pointing to same DB. The DB can be > > configured as master-slave. > > > > https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34838 > > 207 > > > > -abhi > > > > On 24/06/14 9:53 am, "Tejas Gadaria" wrote: > > > > >Hi, > > > > > >I want to make MS on high availability, with automatic failover. > > >I have MS & DB on same server. & planning to create slave DB on > > >separate server. > > > > > >but if I create separate Slave MS for HA, how can point it to DB so > > >command issued from any of MS will trigger to same infrastructure. > > > > > >Regards, > > >Tejas > > > > >
Multiple IP in Guest VM
Hi, I have 2 diff VLAN created by "default shared Network offering". I want to assign one ip from both VLAN to Linux guest VM. Is it possible ? I am using CS 4.3 with Xen 6.2 SP1. Regards, Tejas
Cloudstack MS failover
I want to setup HA of MS with HAproxy OR Keepalived. I have MS1 & DB1 installed on 10.1.1.2 & MS2 & DB2 installed on 10.1.1.3 also DB has master - master replication setup. Need help on this how can i setup failover for MS. Regards, Tejas
Maximum template upload size
Hi What is the maximum size of template we can upload to secondary storage through "register template" using http ? Regards, Tejas
Re: Maximum template upload size
Thanks this resolved the issue. Regards, Tejas On Mon, Jun 30, 2014 at 9:44 AM, Abhinandan Prateek < abhinandan.prat...@citrix.com> wrote: > max.template.iso.size global param defines the max size for template > upload. > > > On 28/06/14 12:53 pm, "Tejas Gadaria" wrote: > > >Hi > > > >What is the maximum size of template we can upload to secondary storage > >through "register template" using http ? > > > >Regards, > >Tejas > >
Communications link failure
Hi, While trying to create template i am receiving this errors .. running mysql 5.1 need help on tthis 2014-07-02 15:22:47,240 DEBUG [o.a.c.s.i.s.TemplateObject] (Job-Executor-4:ctx-563bed9d ctx-ad0d1b9e) failed to process event and answer com.cloud.utils.exception.CloudRuntimeException: DB Exception on: com.mysql.jdbc.JDBC4PreparedStatement@1f323ef6: SELECT template_store_ref.id, template_store_ref.store_id, template_store_ref.template_id, template_store_ref.store_role, template_store_ref.created, template_store_ref.last_updated, template_store_ref.download_pct, template_store_ref.size, template_store_ref.physical_size, template_store_ref.download_state, template_store_ref.local_path, template_store_ref.error_str, template_store_ref.job_id, template_store_ref.install_path, template_store_ref.url, template_store_ref.is_copy, template_store_ref.destroyed, template_store_ref.update_count, template_store_ref.updated, template_store_ref.state, template_store_ref.ref_cnt FROM template_store_ref WHERE template_store_ref.store_id = 1 AND template_store_ref.template_id = 232 AND template_store_ref.destroyed = 0 ORDER BY RAND() LIMIT 1 at com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:421) at com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:356) at com.cloud.utils.db.GenericDaoBase.findOneIncludingRemovedBy(GenericDaoBase.java:869) at org.apache.cloudstack.storage.image.db.TemplateDataStoreDaoImpl.findByStoreTemplate(TemplateDataStoreDaoImpl.java:320) at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:33) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy108.findByStoreTemplate(Unknown Source) at org.apache.cloudstack.storage.image.store.TemplateObject.processEvent(TemplateObject.java:202) at org.apache.cloudstack.storage.image.TemplateServiceImpl.copyTemplateCallBack(TemplateServiceImpl.java:853) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.cloudstack.framework.async.AsyncCallbackDispatcher.dispatch(AsyncCallbackDispatcher.java:144) at org.apache.cloudstack.framework.async.InplaceAsyncCallbackDriver.performCompletionCallback(InplaceAsyncCallbackDriver.java:26) at org.apache.cloudstack.framework.async.AsyncCallbackDispatcher.complete(AsyncCallbackDispatcher.java:122) at org.apache.cloudstack.storage.motion.AncientDataMotionStrategy.copyAsync(AncientDataMotionStrategy.java:440) at org.apache.cloudstack.storage.motion.DataMotionServiceImpl.copyAsync(DataMotionServiceImpl.java:70) at org.apache.cloudstack.storage.image.TemplateServiceImpl.copyAsync(TemplateServiceImpl.java:646) at org.apache.cloudstack.storage.image.TemplateServiceImpl.createTemplateFromVolumeAsync(TemplateServiceImpl.java:659) at com.cloud.template.TemplateManagerImpl.createPrivateTemplate(TemplateManagerImpl.java:1394) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.interceptor.ExposeInvocatio
Re: Communications link failure
Hi, I have not faced problem while creating template from ISO, with 20GB Disk. Today i was trying to create template with 40GB Disk CentOS . Then I tried with 20GB Disk same error. Tomorrow once i will be office i will check with connection_timeout=28800. wait_timeout=200 connect_timeout=150 interactive_timeout=200 Regards, Tejas On Wed, Jul 2, 2014 at 7:10 PM, Jeff Hair wrote: > We ran into this with a too low MySQL connection timeout. It was set to 3 > minutes, which was not enough for template copying to finish. Putting it to > the default 8 hours (which might be just a wee bit overkill) gave it plenty > of time to finish. > > > On Wed, Jul 2, 2014 at 1:34 PM, Wei ZHOU wrote: > > > what's the setting of mysql? > > > > > > show global variables like 'wait_timeout'; > > show global variables like 'interactive_timeout'; > > > > > > > > -Wei > > > > > > 2014-07-02 14:09 GMT+02:00 Tejas Gadaria : > > > > > Hi, > > > > > > While trying to create template i am receiving this errors .. > > > running mysql 5.1 > > > > > > need help on tthis > > > > > > 2014-07-02 15:22:47,240 DEBUG [o.a.c.s.i.s.TemplateObject] > > > (Job-Executor-4:ctx-563bed9d ctx-ad0d1b9e) failed to process event and > > > answer > > > com.cloud.utils.exception.CloudRuntimeException: DB Exception on: > > > com.mysql.jdbc.JDBC4PreparedStatement@1f323ef6: SELECT > > > template_store_ref.id, > > > template_store_ref.store_id, template_store_ref.template_id, > > > template_store_ref.store_role, template_store_ref.created, > > > template_store_ref.last_updated, template_store_ref.download_pct, > > > template_store_ref.size, template_store_ref.physical_size, > > > template_store_ref.download_state, template_store_ref.local_path, > > > template_store_ref.error_str, template_store_ref.job_id, > > > template_store_ref.install_path, template_store_ref.url, > > > template_store_ref.is_copy, template_store_ref.destroyed, > > > template_store_ref.update_count, template_store_ref.updated, > > > template_store_ref.state, template_store_ref.ref_cnt FROM > > > template_store_ref WHERE template_store_ref.store_id = 1 AND > > > template_store_ref.template_id = 232 AND template_store_ref.destroyed > = > > 0 > > > ORDER BY RAND() LIMIT 1 > > > at > > > > > > > > > com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:421) > > > at > > > > > > > > > com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:356) > > > at > > > > > > > > > com.cloud.utils.db.GenericDaoBase.findOneIncludingRemovedBy(GenericDaoBase.java:869) > > > at > > > > > > > > > org.apache.cloudstack.storage.image.db.TemplateDataStoreDaoImpl.findByStoreTemplate(TemplateDataStoreDaoImpl.java:320) > > > at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source) > > > at > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > > at java.lang.reflect.Method.invoke(Method.java:616) > > > at > > > > > > > > > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) > > > at > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) > > > at > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) > > > at > > > > > > > > > com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:33) > > > at > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) > > > at > > > > > > > > > org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) > > > at > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > > > at > > > > > > > > > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) > > > at $Proxy108.findByStoreTemplate(Unknown Source) > > >
symantec messaging gateway iso on cloudstack
Hi Is it possible to create VM through SMG iso in cloudstack ? if i upload iso with "other Linux 64 bit" Will it work? Need help on this. Regards, Tejas
Cannot release reservation
Hi, I am getting below logs on CS 4.3 on Xenserver 6.2 SP1 i m getting huge amount of of memory allocated to vms, where it is not actully.. 2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-d205d3de) Done executing storage capacity update 2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-d205d3de) Executing capacity updates for public ip and Vlans 2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-d205d3de) Done capacity updates for public ip and Vlans 2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-d205d3de) Executing capacity updates for private ip 2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-d205d3de) Done executing capacity updates for private ip 2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-d205d3de) Done recalculating system capacity 2014-07-10 16:43:16,705 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (HostReservationReleaseChecker:ctx-0828f975) Checking if any host reservation can be released ... 2014-07-10 16:43:16,720 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (HostReservationReleaseChecker:ctx-0828f975) Cannot release reservation, Found 4 VMs Running on host 1 2014-07-10 16:43:16,727 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (HostReservationReleaseChecker:ctx-0828f975) Cannot release reservation, Found 4 VMs Running on host 5 2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (HostReservationReleaseChecker:ctx-0828f975) Cannot release reservation, Found 1 VMs Running on host 6 2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (HostReservationReleaseChecker:ctx-0828f975) Done running HostReservationReleaseChecker ...
Re: Cannot release reservation
Hi, Due to power blackout i have to recreate ssvm & cpvm, i am able to deploy new vms also create new template but on System Capacity, & General Alerts area, latest alerts are not populating. Also ssvm & cpvm status is 'running' but Agent state is not displayed in Cloudstack UI. I have production VMs running on ACS. how can i recreate ssvm & cpvm. ? I am using ACS 4.3 & Xenserver 6.2 SP1 Regards, Tejas On Thu, Jul 10, 2014 at 6:30 PM, Tejas Gadaria wrote: > Hi, > > I am getting below logs on CS 4.3 on Xenserver 6.2 SP1 > i m getting huge amount of of memory allocated to vms, where it is not > actully.. > > 2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl] > (CapacityChecker:ctx-d205d3de) Done executing storage capacity update > 2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl] > (CapacityChecker:ctx-d205d3de) Executing capacity updates for public ip and > Vlans > 2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl] > (CapacityChecker:ctx-d205d3de) Done capacity updates for public ip and Vlans > 2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl] > (CapacityChecker:ctx-d205d3de) Executing capacity updates for private ip > 2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl] > (CapacityChecker:ctx-d205d3de) Done executing capacity updates for private > ip > 2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl] > (CapacityChecker:ctx-d205d3de) Done recalculating system capacity > 2014-07-10 16:43:16,705 DEBUG [c.c.d.DeploymentPlanningManagerImpl] > (HostReservationReleaseChecker:ctx-0828f975) Checking if any host > reservation can be released ... > 2014-07-10 16:43:16,720 DEBUG [c.c.d.DeploymentPlanningManagerImpl] > (HostReservationReleaseChecker:ctx-0828f975) Cannot release reservation, > Found 4 VMs Running on > > host 1 > 2014-07-10 16:43:16,727 DEBUG [c.c.d.DeploymentPlanningManagerImpl] > (HostReservationReleaseChecker:ctx-0828f975) Cannot release reservation, > Found 4 VMs Running on > > host 5 > 2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl] > (HostReservationReleaseChecker:ctx-0828f975) Cannot release reservation, > Found 1 VMs Running on > > host 6 > 2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl] > (HostReservationReleaseChecker:ctx-0828f975) Done running > HostReservationReleaseChecker ... >
How to recreate ssvm & cpvm
If i recreate ssvm & cpvm, guest vm will be affected? On Fri, Jul 11, 2014 at 11:50 AM, Tejas Gadaria wrote: > Hi, > > Due to power blackout i have to recreate ssvm & cpvm, i am able to deploy > new vms also create new template but on System Capacity, & General Alerts > area, latest alerts are not populating. > > Also ssvm & cpvm status is 'running' but Agent state is not displayed in > Cloudstack UI. > > I have production VMs running on ACS. how can i recreate ssvm & cpvm. ? > > I am using ACS 4.3 & Xenserver 6.2 SP1 > > Regards, > Tejas > > > On Thu, Jul 10, 2014 at 6:30 PM, Tejas Gadaria > wrote: > >> Hi, >> >> I am getting below logs on CS 4.3 on Xenserver 6.2 SP1 >> i m getting huge amount of of memory allocated to vms, where it is not >> actully.. >> >> 2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl] >> (CapacityChecker:ctx-d205d3de) Done executing storage capacity update >> 2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl] >> (CapacityChecker:ctx-d205d3de) Executing capacity updates for public ip and >> Vlans >> 2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl] >> (CapacityChecker:ctx-d205d3de) Done capacity updates for public ip and Vlans >> 2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl] >> (CapacityChecker:ctx-d205d3de) Executing capacity updates for private ip >> 2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl] >> (CapacityChecker:ctx-d205d3de) Done executing capacity updates for private >> ip >> 2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl] >> (CapacityChecker:ctx-d205d3de) Done recalculating system capacity >> 2014-07-10 16:43:16,705 DEBUG [c.c.d.DeploymentPlanningManagerImpl] >> (HostReservationReleaseChecker:ctx-0828f975) Checking if any host >> reservation can be released ... >> 2014-07-10 16:43:16,720 DEBUG [c.c.d.DeploymentPlanningManagerImpl] >> (HostReservationReleaseChecker:ctx-0828f975) Cannot release reservation, >> Found 4 VMs Running on >> >> host 1 >> 2014-07-10 16:43:16,727 DEBUG [c.c.d.DeploymentPlanningManagerImpl] >> (HostReservationReleaseChecker:ctx-0828f975) Cannot release reservation, >> Found 4 VMs Running on >> >> host 5 >> 2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl] >> (HostReservationReleaseChecker:ctx-0828f975) Cannot release reservation, >> Found 1 VMs Running on >> >> host 6 >> 2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl] >> (HostReservationReleaseChecker:ctx-0828f975) Done running >> HostReservationReleaseChecker ... >> > >
Re: How to recreate ssvm & cpvm
Thanks Suresh, It worked perfectly fine. Regards, Tejas On Fri, Jul 11, 2014 at 12:06 PM, Suresh Sadhu wrote: > Before destroying the cpvm and ssvm ,please analyse the logs. May be agent > is not up. > Also check below > > > https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting > > regards > sadhu > > > -Original Message- > From: Suresh Sadhu > Sent: 11 July 2014 11:59 > To: us...@cloudstack.apache.org; dev@cloudstack.apache.org > Subject: RE: How to recreate ssvm & cpvm > > NO it won't impact guet vms .destroy the ssvm and cpvm , it will recreate > again and during that time you can't create new guest vms. > > --sadhu > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: 11 July 2014 11:53 > To: us...@cloudstack.apache.org; dev@cloudstack.apache.org > Subject: How to recreate ssvm & cpvm > > If i recreate ssvm & cpvm, guest vm will be affected? > > > On Fri, Jul 11, 2014 at 11:50 AM, Tejas Gadaria > wrote: > > > Hi, > > > > Due to power blackout i have to recreate ssvm & cpvm, i am able to > > deploy new vms also create new template but on System Capacity, & > > General Alerts area, latest alerts are not populating. > > > > Also ssvm & cpvm status is 'running' but Agent state is not displayed > > in Cloudstack UI. > > > > I have production VMs running on ACS. how can i recreate ssvm & cpvm. ? > > > > I am using ACS 4.3 & Xenserver 6.2 SP1 > > > > Regards, > > Tejas > > > > > > On Thu, Jul 10, 2014 at 6:30 PM, Tejas Gadaria > > wrote: > > > >> Hi, > >> > >> I am getting below logs on CS 4.3 on Xenserver 6.2 SP1 i m getting > >> huge amount of of memory allocated to vms, where it is not actully.. > >> > >> 2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl] > >> (CapacityChecker:ctx-d205d3de) Done executing storage capacity update > >> 2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl] > >> (CapacityChecker:ctx-d205d3de) Executing capacity updates for public > >> ip and Vlans > >> 2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl] > >> (CapacityChecker:ctx-d205d3de) Done capacity updates for public ip > >> and Vlans > >> 2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl] > >> (CapacityChecker:ctx-d205d3de) Executing capacity updates for private > >> ip > >> 2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl] > >> (CapacityChecker:ctx-d205d3de) Done executing capacity updates for > >> private ip > >> 2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl] > >> (CapacityChecker:ctx-d205d3de) Done recalculating system capacity > >> 2014-07-10 16:43:16,705 DEBUG [c.c.d.DeploymentPlanningManagerImpl] > >> (HostReservationReleaseChecker:ctx-0828f975) Checking if any host > >> reservation can be released ... > >> 2014-07-10 16:43:16,720 DEBUG [c.c.d.DeploymentPlanningManagerImpl] > >> (HostReservationReleaseChecker:ctx-0828f975) Cannot release > >> reservation, Found 4 VMs Running on > >> > >> host 1 > >> 2014-07-10 16:43:16,727 DEBUG [c.c.d.DeploymentPlanningManagerImpl] > >> (HostReservationReleaseChecker:ctx-0828f975) Cannot release > >> reservation, Found 4 VMs Running on > >> > >> host 5 > >> 2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl] > >> (HostReservationReleaseChecker:ctx-0828f975) Cannot release > >> reservation, Found 1 VMs Running on > >> > >> host 6 > >> 2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl] > >> (HostReservationReleaseChecker:ctx-0828f975) Done running > >> HostReservationReleaseChecker ... > >> > > > > >
Re: Cannot release reservation
Hi Punith, I have recreated systemvms & now its in normal state now. Thanks for replay Regards, Tejas On Fri, Jul 11, 2014 at 11:57 AM, Punith S wrote: > hi, > > try restarting the MS and see whether agent and MS are in sync. > also check the ssvm by running the health script by logging into to the > ssvm. > for more troubleshooting refer this link > > https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting > > thanks > > > On Fri, Jul 11, 2014 at 11:50 AM, Tejas Gadaria > wrote: > > > Hi, > > > > Due to power blackout i have to recreate ssvm & cpvm, i am able to deploy > > new vms also create new template but on System Capacity, & General > Alerts > > area, latest alerts are not populating. > > > > Also ssvm & cpvm status is 'running' but Agent state is not displayed in > > Cloudstack UI. > > > > I have production VMs running on ACS. how can i recreate ssvm & cpvm. ? > > > > I am using ACS 4.3 & Xenserver 6.2 SP1 > > > > Regards, > > Tejas > > > > > > On Thu, Jul 10, 2014 at 6:30 PM, Tejas Gadaria > > wrote: > > > > > Hi, > > > > > > I am getting below logs on CS 4.3 on Xenserver 6.2 SP1 > > > i m getting huge amount of of memory allocated to vms, where it is not > > > actully.. > > > > > > 2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl] > > > (CapacityChecker:ctx-d205d3de) Done executing storage capacity update > > > 2014-07-10 16:43:16,643 DEBUG [c.c.a.AlertManagerImpl] > > > (CapacityChecker:ctx-d205d3de) Executing capacity updates for public ip > > and > > > Vlans > > > 2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl] > > > (CapacityChecker:ctx-d205d3de) Done capacity updates for public ip and > > Vlans > > > 2014-07-10 16:43:16,686 DEBUG [c.c.a.AlertManagerImpl] > > > (CapacityChecker:ctx-d205d3de) Executing capacity updates for private > ip > > > 2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl] > > > (CapacityChecker:ctx-d205d3de) Done executing capacity updates for > > private > > > ip > > > 2014-07-10 16:43:16,701 DEBUG [c.c.a.AlertManagerImpl] > > > (CapacityChecker:ctx-d205d3de) Done recalculating system capacity > > > 2014-07-10 16:43:16,705 DEBUG [c.c.d.DeploymentPlanningManagerImpl] > > > (HostReservationReleaseChecker:ctx-0828f975) Checking if any host > > > reservation can be released ... > > > 2014-07-10 16:43:16,720 DEBUG [c.c.d.DeploymentPlanningManagerImpl] > > > (HostReservationReleaseChecker:ctx-0828f975) Cannot release > reservation, > > > Found 4 VMs Running on > > > > > > host 1 > > > 2014-07-10 16:43:16,727 DEBUG [c.c.d.DeploymentPlanningManagerImpl] > > > (HostReservationReleaseChecker:ctx-0828f975) Cannot release > reservation, > > > Found 4 VMs Running on > > > > > > host 5 > > > 2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl] > > > (HostReservationReleaseChecker:ctx-0828f975) Cannot release > reservation, > > > Found 1 VMs Running on > > > > > > host 6 > > > 2014-07-10 16:43:16,732 DEBUG [c.c.d.DeploymentPlanningManagerImpl] > > > (HostReservationReleaseChecker:ctx-0828f975) Done running > > > HostReservationReleaseChecker ... > > > > > > > > > -- > regards, > > punith s > cloudbyte.com >
Autostart vms on Xenserver 6.2 With HA
I have all vms HA enabled on ACS 4.3 on xenserver 6.2 . I also want to enable auto start functionality in xen 6.2 for all vms. but i found this http://support.citrix.com/article/CTX133910 So will it be safe to enable auto start on xen6.2 with command line? Regards, Tejas
VM HA on xenserver 6.2
Hi, I want to provide HA to VMs, currently i have created service offering with 'HA enable' option. Hence VM is showing 'HA Enable'. but Host is hot HA enable. Also for host If I change global setting 'ha.tag' = 'label' & apply 'label' to host tag it shows 'HA Enable'. but while deploying vm that host with host tag='label' doesn't allow to create vms. It act as dedicated HA host. I don't want to create Dedicated HA for now. I want VM HA on cluster level so if one host goes down vm will be migrated to another host. Regards, Tejas
live migrate within cluster
Hi, I have 2 clusters of xenserver 6.2 SP1. In one of them VMs (windows/linux) are running with data disk . How can I live migrate this VMs with data disk to another xen cluster? Regards, Tejas
VM live migration with data disk
Hi, I have 2 clusters of xenserver 6.2 SP1. In one of them VMs (windows/linux) are running with data disk . How can I live migrate this VMs with data disk to another xen cluster? Regards, Tejas
Re: VM live migration with data disk
Hi sanjeev, I am using Xenserver 6.2 SP1 with ACS 4.3. So while doing vm live migrate if i select host which is in another cluster in same zone, root disk & attached data disk migration will be taken care by CS? Regards, Tejas On Mon, Jul 14, 2014 at 11:15 AM, Sanjeev Neelarapu < sanjeev.neelar...@citrix.com> wrote: > Hi Tejas, > > Live migration of vms with storage across clusters is supported on > Xenserver 6.2 from CS 4.2 onwards. It makes use of xen motion. > > -Sanjeev > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: Monday, July 14, 2014 10:19 AM > To: us...@cloudstack.apache.org; dev@cloudstack.apache.org > Subject: VM live migration with data disk > > Hi, > > I have 2 clusters of xenserver 6.2 SP1. In one of them VMs (windows/linux) > are running with data disk . How can I live migrate this VMs with data disk > to another xen cluster? > > Regards, > Tejas >
Re: VM live migration with data disk
Thanks sanjeev Regards, Tejas On Mon, Jul 14, 2014 at 12:09 PM, Sanjeev Neelarapu < sanjeev.neelar...@citrix.com> wrote: > If you select the host in another cluster in UI you will get an option to > choose root&data disk for migration. > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: Monday, July 14, 2014 12:04 PM > To: dev@cloudstack.apache.org > Cc: us...@cloudstack.apache.org > Subject: Re: VM live migration with data disk > > Hi sanjeev, > > I am using Xenserver 6.2 SP1 with ACS 4.3. > > So while doing vm live migrate if i select host which is in another > cluster in same zone, root disk & attached data disk migration will be > taken care by CS? > > Regards, > Tejas > > > On Mon, Jul 14, 2014 at 11:15 AM, Sanjeev Neelarapu < > sanjeev.neelar...@citrix.com> wrote: > > > Hi Tejas, > > > > Live migration of vms with storage across clusters is supported on > > Xenserver 6.2 from CS 4.2 onwards. It makes use of xen motion. > > > > -Sanjeev > > > > -Original Message- > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > > Sent: Monday, July 14, 2014 10:19 AM > > To: us...@cloudstack.apache.org; dev@cloudstack.apache.org > > Subject: VM live migration with data disk > > > > Hi, > > > > I have 2 clusters of xenserver 6.2 SP1. In one of them VMs > > (windows/linux) are running with data disk . How can I live migrate > > this VMs with data disk to another xen cluster? > > > > Regards, > > Tejas > > >
Replace primary & secondary storage
Hi, I have production vms running on ACS 4.3 with xen 6.2 SP1. I have requirement to change primary & Secondary storage. I am planning live storage migration for all running vms, after adding new storage as primary storage storage in same cluster. ( correct me if i am missing anything)..but how can i replace secondary storage? Regards, Tejas
Re: Replace primary & secondary storage
Hi, I found this article http://support.citrix.com/article/CTX135229 I was just going through this but could not get some of the points. Currently I have no snapshots and all templates are public & another secondary storage is not added yet. 1) In above article 2nd point says "Copy the snapshots and templates from Secondary Storage host S2 to S1." & 6th point in article says "You must copy only private templates on Secondary storage host S2 to S1." Here I got confused a little. 2) currently both tables are showing empty as shown below. Am I doing anything wrong or it is normal? mysql> select sechost_id from snapshots; Empty set (0.00 sec) mysql> select host_id from template_host_ref; Empty set (0.00 sec) Regards, Tejas On Mon, Jul 21, 2014 at 1:02 PM, Tejas Gadaria wrote: > Hi, > > I have production vms running on ACS 4.3 with xen 6.2 SP1. > > I have requirement to change primary & Secondary storage. I am planning > live storage migration for all running vms, after adding new storage as > primary storage storage in same cluster. ( correct me if i am missing > anything)..but how can i replace secondary storage? > > Regards, > Tejas >
Re: Replace primary & secondary storage
Hi Min, Thanks for clarification, "template_store_ref" provided me install_path & secondary storage id information. it was quite helpful. I found this blog http://stankirdey.com/content/cloudstack-merging-secondary-storages but he is using `template_host_ref`for ACS 4.2. Is there any documented procedure to replace secondary storage for ACS 4.3 ? Regards, Tejas On Mon, Jul 21, 2014 at 10:18 PM, Min Chen wrote: > That article only applied to ACS 4.1 and older versions. In ACS 4.2 > storage refactor, db tables are changed. template_host_ref has been > deprecated and replaced with template_store_ref. > > Thanks > -min > > On 7/21/14 3:47 AM, "Tejas Gadaria" wrote: > > >Hi, > > > >I found this article http://support.citrix.com/article/CTX135229 > > > >I was just going through this but could not get some of the points. > > > >Currently I have no snapshots and all templates are public & another > >secondary storage is not added yet. > > > >1) In above article 2nd point says "Copy the snapshots and templates from > >Secondary Storage host S2 to S1." > >& 6th point in article says "You must copy only private templates on > >Secondary storage host S2 to S1." > > > >Here I got confused a little. > > > >2) currently both tables are showing empty as shown below. Am I doing > >anything wrong or it is normal? > > > >mysql> select sechost_id from snapshots; > >Empty set (0.00 sec) > > > >mysql> select host_id from template_host_ref; > >Empty set (0.00 sec) > > > > > >Regards, > >Tejas > > > > > > > > > > > >On Mon, Jul 21, 2014 at 1:02 PM, Tejas Gadaria > >wrote: > > > >> Hi, > >> > >> I have production vms running on ACS 4.3 with xen 6.2 SP1. > >> > >> I have requirement to change primary & Secondary storage. I am planning > >> live storage migration for all running vms, after adding new storage as > >> primary storage storage in same cluster. ( correct me if i am missing > >> anything)..but how can i replace secondary storage? > >> > >> Regards, > >> Tejas > >> > >
Re: Replace primary & secondary storage
Hi Min, Thanks for information, Once i will replace Secondary Storage successfully i will update the result. Regards, Tejas On Tue, Jul 22, 2014 at 10:56 PM, Min Chen wrote: > I am not sure if we have any document for ACS 4.3. But you may be able to > reference the old document, and just remember that we have replaced the > following old 3 tables: > > template_host_ref -> template_store_ref > volume_host_ref-> volume_store_ref > snapshot_host_ref -> snapshot_store_ref > And image_store table stores the secondary storage information. > > Hope that this can help. > > Thanks > -min > > On 7/21/14 10:34 PM, "Tejas Gadaria" wrote: > > >Hi Min, > > > >Thanks for clarification, > > > >"template_store_ref" provided me install_path & secondary storage id > >information. it was quite helpful. > > > >I found this blog > >http://stankirdey.com/content/cloudstack-merging-secondary-storages > > > >but he is using `template_host_ref`for ACS 4.2. > > > >Is there any documented procedure to replace secondary storage for ACS 4.3 > >? > > > >Regards, > >Tejas > > > > > > > >On Mon, Jul 21, 2014 at 10:18 PM, Min Chen wrote: > > > >> That article only applied to ACS 4.1 and older versions. In ACS 4.2 > >> storage refactor, db tables are changed. template_host_ref has been > >> deprecated and replaced with template_store_ref. > >> > >> Thanks > >> -min > >> > >> On 7/21/14 3:47 AM, "Tejas Gadaria" wrote: > >> > >> >Hi, > >> > > >> >I found this article http://support.citrix.com/article/CTX135229 > >> > > >> >I was just going through this but could not get some of the points. > >> > > >> >Currently I have no snapshots and all templates are public & another > >> >secondary storage is not added yet. > >> > > >> >1) In above article 2nd point says "Copy the snapshots and templates > >>from > >> >Secondary Storage host S2 to S1." > >> >& 6th point in article says "You must copy only private templates on > >> >Secondary storage host S2 to S1." > >> > > >> >Here I got confused a little. > >> > > >> >2) currently both tables are showing empty as shown below. Am I doing > >> >anything wrong or it is normal? > >> > > >> >mysql> select sechost_id from snapshots; > >> >Empty set (0.00 sec) > >> > > >> >mysql> select host_id from template_host_ref; > >> >Empty set (0.00 sec) > >> > > >> > > >> >Regards, > >> >Tejas > >> > > >> > > >> > > >> > > >> > > >> >On Mon, Jul 21, 2014 at 1:02 PM, Tejas Gadaria > >> >wrote: > >> > > >> >> Hi, > >> >> > >> >> I have production vms running on ACS 4.3 with xen 6.2 SP1. > >> >> > >> >> I have requirement to change primary & Secondary storage. I am > >>planning > >> >> live storage migration for all running vms, after adding new storage > >>as > >> >> primary storage storage in same cluster. ( correct me if i am missing > >> >> anything)..but how can i replace secondary storage? > >> >> > >> >> Regards, > >> >> Tejas > >> >> > >> > >> > >
multiple primary storage
Hi, I am using ACS 4.3 with xenserver 6.2 I have one primary storage as nfs, can i add another one as iscsi and migrate vms (storage migration) from one primary storage to another one. ? Also as per cloudstack Doc, " iscsi supports Clustered LVM on Xenserver " What does it mean. Regards, Tejas
Template or root Volume VHD not able to run on standalone xenserver
Hi, I am using ACS 4.2 with Xenserver 6.2 SP1.. Also I have .vhd of template & root volume & want to run on standalone xen server but, while trying to import vhd from import wizard in xencenter it says, 'VHD is not suitable for xenserver' . Is it related to vhd-util, what we are importing in CS Management server? How can i resolve this issue? Regards, Tejas
Guest VMs not able to start on Cloudstak HA
Hi, I am running ACS 4.3 with 3 xenserver 6.2 SP1 host in single cluster, primary & secondary storage is nfs, exposed from glusterfs, Also using Cloudstack HA feature for guest VMs. underneath we have 2 glusterfs node (node-1, node-2) for replication & ctdb service on top of glusterfs is providing virtual ip for failover & failback. we are using ctdb virtual ip for storage (primary & secondary). While testing it appears that, 1) when gluster node-1 was down, two hypervisor host reboots & xenserver it was showing below logs.. Aug 6 18:43:41 swiftproxy-xen2 tapdisk[19318]: ERROR: errno -5 at vhd_complete: /var/run/sr-mount/67012b80-c1d9-257f-62d2-0c901168820a/d3a4b80b-006c-4653-a6dd-35f3a66e29f3.vhd: op: 2, lsec: 1635176, secs: 1, nbytes: 512, blk: 399, blk_offset: 718375 Aug 6 18:43:41 swiftproxy-xen2 tapdisk[19318]: Res=-5, image->type=4 Aug 6 18:43:41 swiftproxy-xen2 kernel: [15281.174879] nfs: server 192.168.161.73 not responding, timed out Aug 6 18:43:59 swiftproxy-xen2 heartbeat: Problem with /var/run/sr-mount/67012b80-c1d9-257f-62d2-0c901168820a/hb-dc1d7e1c-b09b-45a5-a10e-5479f50aa16f: not reachable for 63 seconds, rebooting system! 2) 3rd xenserver host also reboots, but after coming up it doesn't join the pool because network bridge was destroyed, that was surprising. 3) When both xenserver host comes up, Only system vms were running on that (as they were on default HA). As guest VMs were also on HA, In logs we can observer that cloudstack was trying to start guest VMs but some how it was not able to start.. Any help will be appreciated. Regards, Tejas
Unable to add primary storage (SR_BACKEND_FAILURE_73NFS mount error [opterr=mount failed with return code 32])
Hi, I am facing issue with xenserver 6.2 SP1, on ACS 4.3.1 and 4.4 both. While creating Zone with NFS as primary & secondary storage 2015-01-05 19:29:45,715 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-2:ctx-23cfb66b) Seq 1-3875347479352311816: Executing request 2015-01-05 19:29:47,079 WARN [c.c.h.x.r.CitrixResourceBase] (DirectAgent-2:ctx-23cfb66b) Catch Exception com.cloud.utils.exception.CloudRuntimeException, create StoragePool failed due to com.cloud.utils.exception.CloudRuntimeException: Unable to create NFS SR Pool[1|192.168.161.110:2049|/mnt/data/VMS-TT/primary] on host:ba237c07-71cb-48a8-8a6d-6e6c3aff65b2 pool: 192.168.161.110/mnt/data/VMS-TT/primary com.cloud.utils.exception.CloudRuntimeException: Unable to create NFS SR Pool[1|192.168.161.110:2049|/mnt/data/VMS-TT/primary] at com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNfsSR(CitrixResourceBase.java:6133) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:5074) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:475) at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:61) at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:102) at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:307) 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.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) 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) Caused by: SR_BACKEND_FAILURE_73NFS mount error [opterr=mount failed with return code 32] at com.xensource.xenapi.Types.checkResponse(Types.java:2006) at com.xensource.xenapi.Connection.dispatch(Connection.java:350) at com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:456) at com.xensource.xenapi.SR.create(SR.java:801) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNfsSR(CitrixResourceBase.java:6129) ... 17 more 2015-01-05 19:29:47,080 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-2:ctx-23cfb66b) Seq 1-3875347479352311816: Response Received: 2015-01-05 19:29:47,080 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-2:ctx-23cfb66b) Seq 1-3875347479352311816: Response Received: 2015-01-05 19:29:47,080 DEBUG [c.c.a.t.Request] (DirectAgent-2:ctx-23cfb66b) Seq 1-3875347479352311816: Processing: { Ans: , MgmtId: 158445874166998, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"Catch Exception com.cloud.utils.exception.CloudRuntimeException, create StoragePool failed due to com.cloud.utils.exception.CloudRuntimeException: Unable to create NFS SR Pool[1|192.168.161.110:2049|/mnt/data/VMS-TT/primary] on host:ba237c07-71cb-48a8-8a6d-6e6c3aff65b2 pool: 192.168.161.110/mnt/data/VMS-TT/primary","wait":0}}] } 2015-01-05 19:29:47,081 DEBUG [c.c.a.t.Request] (catalina-exec-13:ctx-c00f6f19 ctx-37181993) Seq 1-3875347479352311816: Received: { Ans: , MgmtId: 158445874166998, via: 1, Ver: v1, Flags: 10, { Answer } } 2015-01-05 19:29:47,081 DEBUG [c.c.a.m.AgentManagerImpl] (catalina-exec-13:ctx-c00f6f19 ctx-37181993) Details from executing class com.cloud.agent.api.CreateStoragePoolCommand: Catch Exception com.cloud.utils.exception.CloudRuntimeException, create StoragePool failed due to com.cloud.utils.exception.CloudRuntimeException: Unable to create NFS SR Pool[1|192.168.161.110:2049|/mnt/data/VMS-TT/primary] on host:ba237c07-71cb-48a8-8a6d-6e6c3aff65b2 pool: 192.168.161.110/mnt/data/VMS-TT/primary 2015-01-05 19:29:47,126 WARN [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl] (catalina-exec-13:ctx-c00f6f19 ctx-37181993) Can not create storage pool through host 1 due to Catch Exception com.cloud.utils.exception.CloudRuntimeException, create StoragePool failed due to com.cloud.utils.exception.CloudRuntimeException: Unable to create NFS SR Pool[1|192.168.161.110:2049|/mnt/data/VMS-TT/primary] on host:ba237c07-71cb-48a8-8a6d-6e6c3aff65b2 pool: 192.168.16
Re: Unable to add primary storage (SR_BACKEND_FAILURE_73NFS mount error [opterr=mount failed with return code 32])
Hi Suresh, I was able to mount NFS on XS host through CLI mount.nfs4 successfully. Also vhd-utils was present on Management server and XS host also. Still facing same issue. Regards, Tejas On Mon, Jan 5, 2015 at 11:16 PM, Suresh Sadhu wrote: > Hope you have already copied vhd-util in to the host and also as Somesh > suggested try manually mounting the storage directly from the host. > > > Regards > Sadhu > > > -Original Message- > From: Somesh Naidu [mailto:somesh.na...@citrix.com] > Sent: 05 January 2015 20:16 > To: us...@cloudstack.apache.org; dev@cloudstack.apache.org > Subject: RE: Unable to add primary storage (SR_BACKEND_FAILURE_73NFS mount > error [opterr=mount failed with return code 32]) > > XS is unable to create the SR failing with the following error: > --- > Caused by: SR_BACKEND_FAILURE_73NFS mount error [opterr=mount failed with > return code 32] > --- > > May be a problem with the NFS. Can you try manually creating a SR on XS > using this NFS or may be simply try to mount the NFS on XS and see if that > works. > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: Monday, January 05, 2015 9:26 AM > To: us...@cloudstack.apache.org; dev@cloudstack.apache.org > Subject: Unable to add primary storage (SR_BACKEND_FAILURE_73NFS mount > error [opterr=mount failed with return code 32]) > > Hi, > > I am facing issue with xenserver 6.2 SP1, on ACS 4.3.1 and 4.4 both. > > > While creating Zone with NFS as primary & secondary storage > > 2015-01-05 19:29:45,715 DEBUG [c.c.a.m.DirectAgentAttache] > (DirectAgent-2:ctx-23cfb66b) Seq 1-3875347479352311816: Executing request > 2015-01-05 19:29:47,079 WARN [c.c.h.x.r.CitrixResourceBase] > (DirectAgent-2:ctx-23cfb66b) Catch Exception > com.cloud.utils.exception.CloudRuntimeException, create StoragePool failed > due to com.cloud.utils.exception.CloudRuntimeException: Unable to create > NFS SR Pool[1|192.168.161.110:2049|/mnt/data/VMS-TT/primary] on > host:ba237c07-71cb-48a8-8a6d-6e6c3aff65b2 pool: > 192.168.161.110/mnt/data/VMS-TT/primary > com.cloud.utils.exception.CloudRuntimeException: Unable to create NFS SR > Pool[1|192.168.161.110:2049|/mnt/data/VMS-TT/primary] > at > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNfsSR(CitrixResourceBase.java:6133) > at > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:5074) > at > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:475) > at > > com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:61) > at > > com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:102) > at > > com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:307) > 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.run(FutureTask.java:262) > at > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) > at > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) > 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) > Caused by: SR_BACKEND_FAILURE_73NFS mount error [opterr=mount failed with > return code 32] at com.xensource.xenapi.Types.checkResponse(Types.java:2006) > at com.xensource.xenapi.Connection.dispatch(Connection.java:350) > at > > com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:456) > at com.xensource.xenapi.SR.create(SR.java:801) > at > > com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNfsSR(CitrixResourceBase.java:6129) > ... 17 more > 2015-01-05 19:29:47,080 DEBUG [c.c.a.m.DirectAgentAttache] > (DirectAgent-2:ctx-23cfb66b) Seq 1-3875347479352311816: Res
Re: Unable to add primary storage (SR_BACKEND_FAILURE_73NFS mount error [opterr=mount failed with return code 32])
Hi Prashant, /etc/export file content is given below /mnt/data/VM-TT/primary *(rw,sync,no_root_squash,no_subtree_check) Still problem persist. I have Ubuntu 12.04 Server acting as NFS-Server. Regards, Tejas On Tue, Jan 6, 2015 at 12:40 PM, Prashant Kumar Mishra < prashantkumar.mis...@citrix.com> wrote: > It seems issue with remote mounting ,similar issue seen > http://lists.xenproject.org/archives/html/xen-api/2012-05/msg00191.html > ,mentioned solution should work in your case also > > Thanks > prashant > > On 1/6/15, 11:39 AM, "Tejas Gadaria" wrote: > > >Hi Suresh, > > > >I was able to mount NFS on XS host through CLI mount.nfs4 successfully. > >Also vhd-utils was present on Management server and XS host also. Still > >facing same issue. > > > >Regards, > >Tejas > > > > > > > >On Mon, Jan 5, 2015 at 11:16 PM, Suresh Sadhu > >wrote: > > > >> Hope you have already copied vhd-util in to the host and also as > >>Somesh > >> suggested try manually mounting the storage directly from the host. > >> > >> > >> Regards > >> Sadhu > >> > >> > >> -Original Message- > >> From: Somesh Naidu [mailto:somesh.na...@citrix.com] > >> Sent: 05 January 2015 20:16 > >> To: us...@cloudstack.apache.org; dev@cloudstack.apache.org > >> Subject: RE: Unable to add primary storage (SR_BACKEND_FAILURE_73NFS > >>mount > >> error [opterr=mount failed with return code 32]) > >> > >> XS is unable to create the SR failing with the following error: > >> --- > >> Caused by: SR_BACKEND_FAILURE_73NFS mount error [opterr=mount failed > >>with > >> return code 32] > >> --- > >> > >> May be a problem with the NFS. Can you try manually creating a SR on XS > >> using this NFS or may be simply try to mount the NFS on XS and see if > >>that > >> works. > >> > >> -Original Message- > >> From: Tejas Gadaria [mailto:refond.g...@gmail.com] > >> Sent: Monday, January 05, 2015 9:26 AM > >> To: us...@cloudstack.apache.org; dev@cloudstack.apache.org > >> Subject: Unable to add primary storage (SR_BACKEND_FAILURE_73NFS mount > >> error [opterr=mount failed with return code 32]) > >> > >> Hi, > >> > >> I am facing issue with xenserver 6.2 SP1, on ACS 4.3.1 and 4.4 both. > >> > >> > >> While creating Zone with NFS as primary & secondary storage > >> > >> 2015-01-05 19:29:45,715 DEBUG [c.c.a.m.DirectAgentAttache] > >> (DirectAgent-2:ctx-23cfb66b) Seq 1-3875347479352311816: Executing > >>request > >> 2015-01-05 19:29:47,079 WARN [c.c.h.x.r.CitrixResourceBase] > >> (DirectAgent-2:ctx-23cfb66b) Catch Exception > >> com.cloud.utils.exception.CloudRuntimeException, create StoragePool > >>failed > >> due to com.cloud.utils.exception.CloudRuntimeException: Unable to create > >> NFS SR Pool[1|192.168.161.110:2049|/mnt/data/VMS-TT/primary] on > >> host:ba237c07-71cb-48a8-8a6d-6e6c3aff65b2 pool: > >> 192.168.161.110/mnt/data/VMS-TT/primary > >> com.cloud.utils.exception.CloudRuntimeException: Unable to create NFS SR > >> Pool[1|192.168.161.110:2049|/mnt/data/VMS-TT/primary] > >> at > >> > >> > >>com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNfsSR(CitrixResou > >>rceBase.java:6133) > >> at > >> > >> > >>com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResour > >>ceBase.java:5074) > >> at > >> > >> > >>com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Citri > >>xResourceBase.java:475) > >> at > >> > >> > >>com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenS > >>erver56Resource.java:61) > >> at > >> > >> > >>com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(Xen > >>Server610Resource.java:102) > >> at > >> > >> > >>com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentA > >>ttache.java:307) > >> at > >> > >> > >>org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(Manage > >>dContextRunnable.java:49) > >> at > >> > >> > >>org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(D > >>efaultManagedContext.java:56) > >> at &
Re: Not able to add primary Storage Cloudstack 4.3
Hi Paul, I tried with "hcloud/primary" and primary storage shows Unsupported command issued. secondary storage shows Failed to add data store: cifs URI missing host and/or path. Make sure it's of the format cifs://hostname/path?user=&password= After that I was trying to add secondary storage with /hcloud/secondary, I didn't show much activity in log. In Cloudstack console, secondary storage got added, but protocol is CIFS and provider is NFS. Please find attached logs. and screenshot from attached secondary storage. Regards, Tejas On Tue, Feb 4, 2014 at 12:29 PM, Paul Angus wrote: > Tejas, You have hcloud\primary, it should be hcloud/primary > > Regards > > Paul Angus > Cloud Architect > S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus > paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: 04 February 2014 05:16 > To: us...@cloudstack.apache.org > Cc: rajesh.batt...@citrix.com; dev@cloudstack.apache.org > Subject: Re: Not able to add primary Storage Cloudstack 4.3 > > Hi, > I have tried to add Primary Storage as suggested above, I am getting > similar error. > Failed to add data store: cifs:// > 10.129.151.155/hcloud\primary?user=administrator&password=abc_123&domain=nwx.com > < > http://10.129.151.155/hcloud%5Cprimary?user=administrator&password=abc_123@123&domain=nwx.com> > is not a valid uri > Regards, > Tejas > > On Sun, Feb 2, 2014 at 9:58 AM, Tejas Gadaria <mailto:refond.g...@gmail.com>> wrote: > Hi Paul, > Thanks for your replay. > I was entering the path exactly what you predicted. > ("\\server\share\directory ") > I will try to add primary storage with 'share/folder' and the 'server' > without the \\ path . > Regards, > Tejas > > On Sat, Feb 1, 2014 at 5:34 PM, Paul Angus <mailto:paul.an...@shapeblue.com>> wrote: > Tejas, > > I guess that your entering the path as an smb path > \\server\share\directory > For primary storage try 'share/folder' and the 'server' without the \\ > > There were issues with shared primary storage, so I've included one of the > devs working on the feature. > > The same is true for secondary storage (although the UI may need > \share\directory in the path). > > Regards > > Paul Angus > Cloud Architect > S: +44 20 3603 0540 | M: > +447711418784 > | T: CloudyAngus > paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> > > -Original Message- > From: Sean Hamilton [mailto:s...@seanhamilton.co.uk s...@seanhamilton.co.uk>] > Sent: 01 February 2014 11:55 > To: us...@cloudstack.apache.org<mailto:us...@cloudstack.apache.org> > Cc: us...@cloudstack.apache.org<mailto:us...@cloudstack.apache.org> > Subject: Re: Not able to add primary Storage Cloudstack 4.3 > > Hi Tejas, > > What hypervisor are you using? > I can't remember if CIFS is a valid protocol for hypervisors other than > Hyper-V. NFS is used for other hypervisors. > > Cheers, > Sean > > > On 1 Feb 2014, at 09:26, Tejas Gadaria refond.g...@gmail.com>> wrote: > > > > Hi, > > > > While adding primary Storage I am getting > > > > "cifs:// > 10.129.151.155/\\hcloud\primary\?user=administrator&password=abc_123&domain=nwx.com > < > http://10.129.151.155/%5C%5Chcloud%5Cprimary%5C?user=administrator&password=abc_123&domain=nwx.com> > is not a valid uri" > > > > Similar error I am facing while adding secondary storage also. > > > > Please find attachment for logs, > > > > > > Regards, > > Tejas > > > > > Need Enterprise Grade Support for Apache CloudStack? > Our CloudStack Infrastructure Support< > http://shapeblue.com/cloudstack-infrastructure-support/> offers the best > 24/7 SLA for CloudStack Environments. > > Apache CloudStack Bootcamp training courses > > **NEW!** CloudStack 4.2.1 training< > http://shapeblue.com/cloudstack-training/> > 18th-19th February 2014, Brazil. Classroom< > http://shapeblue.com/cloudstack-training/> > 17th-23rd March 2014, Region A. Instructor led, On-line< > http://shapeblue.com/cloudstack-training/> > 24th-28th March 2014, Region B. Instructor led, On-line< > http://shapeblue.com/cloudstack-training/> > 16th-20th June 2014, Region A. Instructor led, On-line< > http://shapeblue.com/cloudstack-training/> > 23rd-27th June 2014, Region B. Instructor led, On-line< > http://shapeblue.com/cloudstack-training/> > > This email and any attachments to it may be confidential and are intended
Re: Not able to add primary Storage Cloudstack 4.3
Hi, I have tried to add Primary Storage as suggested above, I am getting similar error. Failed to add data store: cifs:// 10.129.151.155/hcloud\primary?user=administrator&password=abc_123&domain=nwx.com<http://10.129.151.155/hcloud%5Cprimary?user=administrator&password=abc_123@123&domain=nwx.com>is not a valid uri Regards, Tejas On Sun, Feb 2, 2014 at 9:58 AM, Tejas Gadaria wrote: > Hi Paul, > > Thanks for your replay. > > I was entering the path exactly what you predicted. > ("\\server\share\directory ") > I will try to add primary storage with 'share/folder' and the 'server' > without the \\ path . > > Regards, > Tejas > > > On Sat, Feb 1, 2014 at 5:34 PM, Paul Angus wrote: > >> Tejas, >> >> I guess that your entering the path as an smb path >> \\server\share\directory >> For primary storage try 'share/folder' and the 'server' without the \\ >> >> There were issues with shared primary storage, so I've included one of >> the devs working on the feature. >> >> The same is true for secondary storage (although the UI may need >> \share\directory in the path). >> >> Regards >> >> Paul Angus >> Cloud Architect >> S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus >> paul.an...@shapeblue.com >> >> -Original Message- >> From: Sean Hamilton [mailto:s...@seanhamilton.co.uk] >> Sent: 01 February 2014 11:55 >> To: us...@cloudstack.apache.org >> Cc: us...@cloudstack.apache.org >> Subject: Re: Not able to add primary Storage Cloudstack 4.3 >> >> Hi Tejas, >> >> What hypervisor are you using? >> I can't remember if CIFS is a valid protocol for hypervisors other than >> Hyper-V. NFS is used for other hypervisors. >> >> Cheers, >> Sean >> >> > On 1 Feb 2014, at 09:26, Tejas Gadaria wrote: >> > >> > Hi, >> > >> > While adding primary Storage I am getting >> > >> > "cifs:// >> 10.129.151.155/\\hcloud\primary\?user=administrator&password=abc_123&domain=nwx.com<http://10.129.151.155/%5C%5Chcloud%5Cprimary%5C?user=administrator&password=abc_123&domain=nwx.com>is >> not a valid uri" >> > >> > Similar error I am facing while adding secondary storage also. >> > >> > Please find attachment for logs, >> > >> > >> > Regards, >> > Tejas >> > >> > >> Need Enterprise Grade Support for Apache CloudStack? >> Our CloudStack Infrastructure Support< >> http://shapeblue.com/cloudstack-infrastructure-support/> offers the best >> 24/7 SLA for CloudStack Environments. >> >> Apache CloudStack Bootcamp training courses >> >> **NEW!** CloudStack 4.2.1 training< >> http://shapeblue.com/cloudstack-training/> >> 18th-19th February 2014, Brazil. Classroom< >> http://shapeblue.com/cloudstack-training/> >> 17th-23rd March 2014, Region A. Instructor led, On-line< >> http://shapeblue.com/cloudstack-training/> >> 24th-28th March 2014, Region B. Instructor led, On-line< >> http://shapeblue.com/cloudstack-training/> >> 16th-20th June 2014, Region A. Instructor led, On-line< >> http://shapeblue.com/cloudstack-training/> >> 23rd-27th June 2014, Region B. Instructor led, On-line< >> http://shapeblue.com/cloudstack-training/> >> >> This email and any attachments to it may be confidential and are intended >> solely for the use of the individual to whom it is addressed. Any views or >> opinions expressed are solely those of the author and do not necessarily >> represent those of Shape Blue Ltd or related companies. If you are not the >> intended recipient of this email, you must neither take any action based >> upon its contents, nor copy or show it to anyone. Please contact the sender >> if you believe you have received this email in error. Shape Blue Ltd is a >> company incorporated in England & Wales. ShapeBlue Services India LLP is a >> company incorporated in India and is operated under license from Shape Blue >> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil >> and is operated under license from Shape Blue Ltd. ShapeBlue is a >> registered trademark. >> > > 2014-02-04 10:05:13,660 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-a34d261c) Completed resetting hosts suitable for reconnect 2014-02-04 10:05:13,660 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-a34d261c) Acquiring hosts for clusters alrea
Re: Not able to add primary Storage Cloudstack 4.3
Hi Paul, yesterday when I was trying to add secondary storage with /hcloud/secondary , In logs I was not able to see much activity, but storage got attached. I have uploaded screenshot in previous mail. I have reattached the secondary storage, and it logs are Trying to add a new data store at cifs:// 10.129.151.55/hcloud/secondary?user=administrator&domain=nwx.com to data center 3 2014-02-05 15:36:07,825 DEBUG [c.c.u.UriUtils] (catalina-exec-20:ctx-a19af0fa ctx-fb83ed9b) foundUser istrue 2014-02-05 15:36:07,825 DEBUG [c.c.u.UriUtils] (catalina-exec-20:ctx-a19af0fa ctx-fb83ed9b) foundPswd istrue I have not enable the zone yet. In attached screenshot of secondary storage in previous mail protocol:cifs provider : NFS I suspect, it because I have taken chunk of NFS datastore, mounted and share it via Windows fie server (Standalone) please find logs in attached file. Regards, Tejas On Tue, Feb 4, 2014 at 5:52 PM, Paul Angus wrote: > Hey Tejas, > > > cifs%3A%2F%2F10.129.151.155hcloud%2Fsecondary%3Fuser%3Dadministrator%26domain%3Dnwx.com > > Theres a "/" ("%2F") missing between 10.129.151.155 and hcloud - my > recollection is that primary and secondary storage UIs are not consistent, > add the secondary path as /hcloud/secondary > > re primary - is the agent service running? it doesn't seem to (always) > automatically start even when it's set to automatic in services. > > Regards, > > Paul Angus > Cloud Architect > S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus > paul.an...@shapeblue.com > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: 04 February 2014 12:15 > To: us...@cloudstack.apache.org > Cc: rajesh.batt...@citrix.com; dev@cloudstack.apache.org > Subject: Re: Not able to add primary Storage Cloudstack 4.3 > > Hi Paul, > I tried with "hcloud/primary" and > primary storage shows Unsupported command issued. > > secondary storage shows Failed to add data store: cifs URI missing host > and/or path. Make sure it's of the format > cifs://hostname/path?user=&password= > > After that I was trying to add secondary storage with /hcloud/secondary, I > didn't show much activity in log. > In Cloudstack console, secondary storage got added, but protocol is CIFS > and provider is NFS. > > Please find attached logs. and screenshot from attached secondary storage. > > Regards, > Tejas > > On Tue, Feb 4, 2014 at 12:29 PM, Paul Angus <mailto:paul.an...@shapeblue.com>> wrote: > Tejas, You have hcloud\primary, it should be hcloud/primary > > Regards > > Paul Angus > Cloud Architect > S: +44 20 3603 0540 | M: > +447711418784 > | T: CloudyAngus > paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>> > > From: Tejas Gadaria [mailto:refond.g...@gmail.com refond.g...@gmail.com>] > Sent: 04 February 2014 05:16 > To: us...@cloudstack.apache.org<mailto:us...@cloudstack.apache.org> > Cc: rajesh.batt...@citrix.com<mailto:rajesh.batt...@citrix.com>; > dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org> > Subject: Re: Not able to add primary Storage Cloudstack 4.3 > Hi, > I have tried to add Primary Storage as suggested above, I am getting > similar error. > Failed to add data store: cifs:// > 10.129.151.155/hcloud\primary?user=administrator&password=abc_123&domain=nwx.com > < > http://10.129.151.155/hcloud/primary?user=administrator&password=abc_123&domain=nwx.com > >< > http://10.129.151.155/hcloud%5Cprimary?user=administrator&password=abc_123@123&domain=nwx.com> > is not a valid uri > Regards, > Tejas > > On Sun, Feb 2, 2014 at 9:58 AM, Tejas Gadaria <mailto:refond.g...@gmail.com><mailto:refond.g...@gmail.com refond.g...@gmail.com>>> wrote: > Hi Paul, > Thanks for your replay. > I was entering the path exactly what you predicted. > ("\\server\share\directory > > ") > I will try to add primary storage with 'share/folder' and the 'server' > without the \\ path . > Regards, > Tejas > On Sat, Feb 1, 2014 at 5:34 PM, Paul Angus <mailto:paul.an...@shapeblue.com><mailto:paul.an...@shapeblue.com paul.an...@shapeblue.com>>> wrote: > Tejas, > I guess that your entering the path as an smb path > \\server\share\directory> > For primary storage try 'share/folder' and the 'server' without the \\ > > There were issues with shared primary storage, so I've included one of the > devs working on the feature. > > The same is true for secondary storage (although the UI may need > \share\directory in the path). > > Regards > &
Re: Not able to add primary Storage Cloudstack 4.3
Hi Paul, forgot to mention, hyper-v agent is running. Regards, Tejas On Wed, Feb 5, 2014 at 4:33 PM, Tejas Gadaria wrote: > Hi Paul, > > yesterday when I was trying to add secondary storage with > /hcloud/secondary , In logs I was not able to see much activity, but > storage got attached. > I have uploaded screenshot in previous mail. > > I have reattached the secondary storage, and it logs are > Trying to add a new data store at cifs:// > 10.129.151.55/hcloud/secondary?user=administrator&domain=nwx.com to data > center 3 > 2014-02-05 15:36:07,825 DEBUG [c.c.u.UriUtils] > (catalina-exec-20:ctx-a19af0fa ctx-fb83ed9b) foundUser istrue > 2014-02-05 15:36:07,825 DEBUG [c.c.u.UriUtils] > (catalina-exec-20:ctx-a19af0fa ctx-fb83ed9b) foundPswd istrue > > I have not enable the zone yet. > > In attached screenshot of secondary storage in previous mail > protocol:cifs > provider : NFS > I suspect, it because I have taken chunk of NFS datastore, mounted and > share it via Windows fie server (Standalone) > > please find logs in attached file. > > Regards, > Tejas > > > On Tue, Feb 4, 2014 at 5:52 PM, Paul Angus wrote: > >> Hey Tejas, >> >> >> cifs%3A%2F%2F10.129.151.155hcloud%2Fsecondary%3Fuser%3Dadministrator%26domain%3Dnwx.com >> >> Theres a "/" ("%2F") missing between 10.129.151.155 and hcloud - my >> recollection is that primary and secondary storage UIs are not consistent, >> add the secondary path as /hcloud/secondary >> >> re primary - is the agent service running? it doesn't seem to (always) >> automatically start even when it's set to automatic in services. >> >> Regards, >> >> Paul Angus >> Cloud Architect >> S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus >> paul.an...@shapeblue.com >> >> From: Tejas Gadaria [mailto:refond.g...@gmail.com] >> Sent: 04 February 2014 12:15 >> To: us...@cloudstack.apache.org >> Cc: rajesh.batt...@citrix.com; dev@cloudstack.apache.org >> Subject: Re: Not able to add primary Storage Cloudstack 4.3 >> >> Hi Paul, >> I tried with "hcloud/primary" and >> primary storage shows Unsupported command issued. >> >> secondary storage shows Failed to add data store: cifs URI missing host >> and/or path. Make sure it's of the format >> cifs://hostname/path?user=&password= >> >> After that I was trying to add secondary storage with /hcloud/secondary, >> I didn't show much activity in log. >> In Cloudstack console, secondary storage got added, but protocol is CIFS >> and provider is NFS. >> >> Please find attached logs. and screenshot from attached secondary storage. >> >> Regards, >> Tejas >> >> On Tue, Feb 4, 2014 at 12:29 PM, Paul Angus > <mailto:paul.an...@shapeblue.com>> wrote: >> Tejas, You have hcloud\primary, it should be hcloud/primary >> >> Regards >> >> Paul Angus >> Cloud Architect >> S: +44 20 3603 0540 | M: >> +447711418784 >> | T: CloudyAngus >> paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>> paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>> >> >> From: Tejas Gadaria [mailto:refond.g...@gmail.com> refond.g...@gmail.com>] >> Sent: 04 February 2014 05:16 >> To: us...@cloudstack.apache.org<mailto:us...@cloudstack.apache.org> >> Cc: rajesh.batt...@citrix.com<mailto:rajesh.batt...@citrix.com>; >> dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org> >> Subject: Re: Not able to add primary Storage Cloudstack 4.3 >> Hi, >> I have tried to add Primary Storage as suggested above, I am getting >> similar error. >> Failed to add data store: cifs:// >> 10.129.151.155/hcloud\primary?user=administrator&password=abc_123&domain=nwx.com<http://10.129.151.155/hcloud%5Cprimary?user=administrator&password=abc_123&domain=nwx.com> >> < >> http://10.129.151.155/hcloud/primary?user=administrator&password=abc_123&domain=nwx.com >> >< >> http://10.129.151.155/hcloud%5Cprimary?user=administrator&password=abc_123@123&domain=nwx.com> >> is not a valid uri >> Regards, >> Tejas >> >> On Sun, Feb 2, 2014 at 9:58 AM, Tejas Gadaria > <mailto:refond.g...@gmail.com><mailto:refond.g...@gmail.com> refond.g...@gmail.com>>> wrote: >> Hi Paul, >> Thanks for your replay. >> I was entering the path exactly what you predicted. >> ("\\server\share\directory >> >> ") >> I will try to add primary sto
Re: Not able to add primary Storage Cloudstack 4.3
Hi, I am not able to attach primary storage in Cloudstack as cifs. So what I am doing wrong OR what are the issues with primary storage.? Regards Tejas On Wed, Feb 5, 2014 at 4:35 PM, Tejas Gadaria wrote: > Hi Paul, > > forgot to mention, > > hyper-v agent is running. > > Regards, > Tejas > > > On Wed, Feb 5, 2014 at 4:33 PM, Tejas Gadaria wrote: > >> Hi Paul, >> >> yesterday when I was trying to add secondary storage with >> /hcloud/secondary , In logs I was not able to see much activity, but >> storage got attached. >> I have uploaded screenshot in previous mail. >> >> I have reattached the secondary storage, and it logs are >> Trying to add a new data store at cifs:// >> 10.129.151.55/hcloud/secondary?user=administrator&domain=nwx.com to data >> center 3 >> 2014-02-05 15:36:07,825 DEBUG [c.c.u.UriUtils] >> (catalina-exec-20:ctx-a19af0fa ctx-fb83ed9b) foundUser istrue >> 2014-02-05 15:36:07,825 DEBUG [c.c.u.UriUtils] >> (catalina-exec-20:ctx-a19af0fa ctx-fb83ed9b) foundPswd istrue >> >> I have not enable the zone yet. >> >> In attached screenshot of secondary storage in previous mail >> protocol:cifs >> provider : NFS >> I suspect, it because I have taken chunk of NFS datastore, mounted and >> share it via Windows fie server (Standalone) >> >> please find logs in attached file. >> >> Regards, >> Tejas >> >> >> On Tue, Feb 4, 2014 at 5:52 PM, Paul Angus wrote: >> >>> Hey Tejas, >>> >>> >>> cifs%3A%2F%2F10.129.151.155hcloud%2Fsecondary%3Fuser%3Dadministrator%26domain%3Dnwx.com >>> >>> Theres a "/" ("%2F") missing between 10.129.151.155 and hcloud - my >>> recollection is that primary and secondary storage UIs are not consistent, >>> add the secondary path as /hcloud/secondary >>> >>> re primary - is the agent service running? it doesn't seem to (always) >>> automatically start even when it's set to automatic in services. >>> >>> Regards, >>> >>> Paul Angus >>> Cloud Architect >>> S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus >>> paul.an...@shapeblue.com >>> >>> From: Tejas Gadaria [mailto:refond.g...@gmail.com] >>> Sent: 04 February 2014 12:15 >>> To: us...@cloudstack.apache.org >>> Cc: rajesh.batt...@citrix.com; dev@cloudstack.apache.org >>> Subject: Re: Not able to add primary Storage Cloudstack 4.3 >>> >>> Hi Paul, >>> I tried with "hcloud/primary" and >>> primary storage shows Unsupported command issued. >>> >>> secondary storage shows Failed to add data store: cifs URI missing host >>> and/or path. Make sure it's of the format >>> cifs://hostname/path?user=&password= >>> >>> After that I was trying to add secondary storage with /hcloud/secondary, >>> I didn't show much activity in log. >>> In Cloudstack console, secondary storage got added, but protocol is CIFS >>> and provider is NFS. >>> >>> Please find attached logs. and screenshot from attached secondary >>> storage. >>> >>> Regards, >>> Tejas >>> >>> On Tue, Feb 4, 2014 at 12:29 PM, Paul Angus >> <mailto:paul.an...@shapeblue.com>> wrote: >>> Tejas, You have hcloud\primary, it should be hcloud/primary >>> >>> Regards >>> >>> Paul Angus >>> Cloud Architect >>> S: +44 20 3603 0540 | M: >>> +447711418784 >>> | T: CloudyAngus >>> paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>>> paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>> >>> >>> From: Tejas Gadaria [mailto:refond.g...@gmail.com>> refond.g...@gmail.com>] >>> Sent: 04 February 2014 05:16 >>> To: us...@cloudstack.apache.org<mailto:us...@cloudstack.apache.org> >>> Cc: rajesh.batt...@citrix.com<mailto:rajesh.batt...@citrix.com>; >>> dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org> >>> Subject: Re: Not able to add primary Storage Cloudstack 4.3 >>> Hi, >>> I have tried to add Primary Storage as suggested above, I am getting >>> similar error. >>> Failed to add data store: cifs:// >>> 10.129.151.155/hcloud\primary?user=administrator&password=abc_123&domain=nwx.com<http://10.129.151.155/hcloud%5Cprimary?user=administrator&password=abc_123&domain=nwx.com> >>> < >>> http://10
Re: Not able to add primary Storage Cloudstack 4.3
Hi Rajesh, Thanks for providing API. I have successfully attached primary storage to cloudstack. I am facing problem with SSVM and CPVM also, probably I will initiate new mail-trail ssytem vm issues. Reards, Tejas On Thu, Feb 6, 2014 at 12:27 PM, Rajesh Battala wrote: > Tejas, > > This is how the api command looks like to create primary and secondary > storage. > > > > > command=createStoragePool&zoneid=581bc2b6-0295-40e0-90ed-2717e239c2b6&podId=896cff2e-d51e-454b-97ed-cab078bf3be2&clusterid=3785c58a-d891-4482-9e6f-72f2060b80d3&name=ps&scope=cluster&url=cifs%3A%2F%2F10.102.192.150%2Fsmb-share%2Frajesh%2Fprimary%3Fuser%3DAdministrator%26domain%3DBLR&response=json&sessionkey=1L5raRYhxHCAgXHJ1WGvLjs7Zws%3D&_=1391666896777 > > > > > > > command=addImageStore&response=json&sessionkey=1L5raRYhxHCAgXHJ1WGvLjs7Zws%3D&name=sec&provider=SMB&zoneid=581bc2b6-0295-40e0-90ed-2717e239c2b6&url=cifs%3A%2F%2F10.102.192.150%2Fsmb-share%2Frajesh%2Fsecondary%3Fuser%3DAdministrator%26domain%3DBLR&_=1391666908684 > > > > > > > > in the wizard specify the path as > > "/smb-share/rajesh/primary" > > Similar for secondary. > > Provide credentials and domain name in the wizard. > > > > Make sure you were able to access the share from the hyperv hosts before > adding them to CS. > > > > Thanks > > Rajesh Battala > > > > > > *From:* Tejas Gadaria [mailto:refond.g...@gmail.com] > *Sent:* Thursday, February 6, 2014 11:03 AM > *To:* us...@cloudstack.apache.org > *Cc:* Rajesh Battala; dev@cloudstack.apache.org > > *Subject:* Re: Not able to add primary Storage Cloudstack 4.3 > > > > Hi, > > I am not able to attach primary storage in Cloudstack as cifs. > > So what I am doing wrong OR what are the issues with primary storage.? > > Regards > > Tejas > > > > On Wed, Feb 5, 2014 at 4:35 PM, Tejas Gadaria > wrote: > > Hi Paul, > > forgot to mention, > > hyper-v agent is running. > > Regards, > > Tejas > > > > On Wed, Feb 5, 2014 at 4:33 PM, Tejas Gadaria > wrote: > > Hi Paul, > > yesterday when I was trying to add secondary storage with > /hcloud/secondary , In logs I was not able to see much activity, but > storage got attached. > > I have uploaded screenshot in previous mail. > > I have reattached the secondary storage, and it logs are > Trying to add a new data store at cifs:// > 10.129.151.55/hcloud/secondary?user=administrator&domain=nwx.com to data > center 3 > 2014-02-05 15:36:07,825 DEBUG [c.c.u.UriUtils] > (catalina-exec-20:ctx-a19af0fa ctx-fb83ed9b) foundUser istrue > 2014-02-05 15:36:07,825 DEBUG [c.c.u.UriUtils] > (catalina-exec-20:ctx-a19af0fa ctx-fb83ed9b) foundPswd istrue > > I have not enable the zone yet. > > In attached screenshot of secondary storage in previous mail > > protocol:cifs > > provider : NFS > > I suspect, it because I have taken chunk of NFS datastore, mounted and > share it via Windows fie server (Standalone) > > > please find logs in attached file. > > > > Regards, > > Tejas > > > > On Tue, Feb 4, 2014 at 5:52 PM, Paul Angus > wrote: > > Hey Tejas, > > > cifs%3A%2F%2F10.129.151.155hcloud%2Fsecondary%3Fuser%3Dadministrator%26domain%3Dnwx.com > > Theres a "/" ("%2F") missing between 10.129.151.155 and hcloud - my > recollection is that primary and secondary storage UIs are not consistent, > add the secondary path as /hcloud/secondary > > re primary - is the agent service running? it doesn't seem to (always) > automatically start even when it's set to automatic in services. > > Regards, > > Paul Angus > Cloud Architect > S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus > > paul.an...@shapeblue.com > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > > Sent: 04 February 2014 12:15 > > To: us...@cloudstack.apache.org > Cc: rajesh.batt...@citrix.com; dev@cloudstack.apache.org > Subject: Re: Not able to add primary Storage Cloudstack 4.3 > > Hi Paul, > I tried with "hcloud/primary" and > primary storage shows Unsupported command issued. > > secondary storage shows Failed to add data store: cifs URI missing host > and/or path. Make sure it's of the format > cifs://hostname/path?user=&password= > > After that I was trying to add secondary storage with /hcloud/secondary, I > didn't show much activity in log. > In Cloudstack console, secondary storage got added, but protocol is CIFS > and provider is NFS. > > Please find attached logs. and screenshot from attache
Re: Not able to add primary Storage Cloudstack 4.3
Hi Paul, I have just join dev-list. So didn't received your mail but I show your mail in mail-archive. I think I am not using latest system templete iso. I have downloaded system vm template from http://download.cloud.com/templates/4.3/systemvm64template-2013-12-23-hyperv.vhd.bz2 please suggest where can I download latest system vm template for hyperv . I found http://jenkins.buildacloud.org/view/4.3/job/cloudstack-4.3-systemvm/but hyperv is not available. While creating SSVM and CPVM, its not able identify any cloudastack element,except Zone id. and at some point it was searching for Xen hypervisor, though I was working with hyperv. Now I am not able to delete SSMV and CPVM, it's in Expunging state since last hour. expunge delay = 60 Regards, Tejas On Fri, Feb 7, 2014 at 5:04 PM, Paul Angus wrote: > Tejas, > > Check out the dev list I've just posted an issue with the system vms not > starting - you might be having the same issue. check the agent log for: > > ERROR HypervResource.HypervResourceController > [6b05182a-efa1-4105-bc5c-0a49c55674f0] - com.cloud.agent.api.StartCommand > fail on exceptionObject reference not set to an instance of an object. > System.NullReferenceException: Object reference not set to an instance of > an object. >at HypervResource.WmiCallsV2.DeployVirtualMachine(Object jsonObj, > String systemVmIso) >at HypervResource.HypervResourceController.StartCommand(Object cmd) > > > Regards, > > Paul Angus > Cloud Architect > S: +44 20 3603 0540 | M: +447711418784 | T: @CloudyAngus > paul.an...@shapeblue.com > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: 07 February 2014 11:31 > To: Rajesh Battala > Cc: us...@cloudstack.apache.org; dev@cloudstack.apache.org > Subject: Re: Not able to add primary Storage Cloudstack 4.3 > > Hi Rajesh, > > Thanks for providing API. > I have successfully attached primary storage to cloudstack. > > I am facing problem with SSVM and CPVM also, probably I will initiate new > mail-trail ssytem vm issues. > > Reards, > Tejas > > > > > On Thu, Feb 6, 2014 at 12:27 PM, Rajesh Battala > wrote: > > > Tejas, > > > > This is how the api command looks like to create primary and secondary > > storage. > > > > > > > > > > command=createStoragePool&zoneid=581bc2b6-0295-40e0-90ed-2717e239c2b6& > > podId=896cff2e-d51e-454b-97ed-cab078bf3be2&clusterid=3785c58a-d891-448 > > 2-9e6f-72f2060b80d3&name=ps&scope=cluster&url=cifs%3A%2F%2F10.102.192. > > 150%2Fsmb-share%2Frajesh%2Fprimary%3Fuser%3DAdministrator%26domain%3DB > > LR&response=json&sessionkey=1L5raRYhxHCAgXHJ1WGvLjs7Zws%3D&_=139166689 > > 6777 > > > > > > > > > > > > > > command=addImageStore&response=json&sessionkey=1L5raRYhxHCAgXHJ1WGvLjs > > 7Zws%3D&name=sec&provider=SMB&zoneid=581bc2b6-0295-40e0-90ed-2717e239c > > 2b6&url=cifs%3A%2F%2F10.102.192.150%2Fsmb-share%2Frajesh%2Fsecondary%3 > > Fuser%3DAdministrator%26domain%3DBLR&_=1391666908684 > > > > > > > > > > > > > > > > in the wizard specify the path as > > > > "/smb-share/rajesh/primary" > > > > Similar for secondary. > > > > Provide credentials and domain name in the wizard. > > > > > > > > Make sure you were able to access the share from the hyperv hosts > > before adding them to CS. > > > > > > > > Thanks > > > > Rajesh Battala > > > > > > > > > > > > *From:* Tejas Gadaria [mailto:refond.g...@gmail.com] > > *Sent:* Thursday, February 6, 2014 11:03 AM > > *To:* us...@cloudstack.apache.org > > *Cc:* Rajesh Battala; dev@cloudstack.apache.org > > > > *Subject:* Re: Not able to add primary Storage Cloudstack 4.3 > > > > > > > > Hi, > > > > I am not able to attach primary storage in Cloudstack as cifs. > > > > So what I am doing wrong OR what are the issues with primary storage.? > > > > Regards > > > > Tejas > > > > > > > > On Wed, Feb 5, 2014 at 4:35 PM, Tejas Gadaria > > wrote: > > > > Hi Paul, > > > > forgot to mention, > > > > hyper-v agent is running. > > > > Regards, > > > > Tejas > > > > > > > > On Wed, Feb 5, 2014 at 4:33 PM, Tejas Gadaria > > wrote: > > > > Hi Paul, > > > > yesterday when I was trying to add secondary storage with > > /hcloud/secondary , In logs I was not able to see much
Cloudstack 4.3 Zone not deletable
Hi, I am not able to delete Zone. error is "The zone is not deletable because there are virtual machines running in this zone" but before deleting zone I have Deleted system VMs, Priamary & Secondary Storage, Host, Pod, Cluster & disabled Zone also. (not created virtual router at this point). Even after creating new Zone, If I click on "Add Primary Storage" button Menu was not coming up. 2014-02-10 09:50:05,766 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-e4d4a9b2) Done recalculating system capacity 2014-02-10 09:50:05,783 DEBUG [c.c.a.AlertManagerImpl] (CapacityChecker:ctx-e4d4a9b2) Done running Capacity Checker ... 2014-02-10 09:50:05,975 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-c1f4120d) Found 0 routers to update status. 2014-02-10 09:50:05,976 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-c1f4120d) Found 0 networks to update RvR status. 2014-02-10 09:50:10,700 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-094b63f6) Resetting hosts suitable for reconnect 2014-02-10 09:50:10,701 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-094b63f6) Completed resetting hosts suitable for reconnect 2014-02-10 09:50:10,701 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-094b63f6) Acquiring hosts for clusters already owned by this management server 2014-02-10 09:50:10,703 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-094b63f6) Completed acquiring hosts for clusters already owned by this management server 2014-02-10 09:50:10,703 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-094b63f6) Acquiring hosts for clusters not owned by any management server 2014-02-10 09:50:10,703 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-094b63f6) Completed acquiring hosts for clusters not owned by any management server 2014-02-10 09:50:20,790 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-20cda582) System vm template is not ready at data center 5, wait until it is ready to launch secondary storage vm 2014-02-10 09:50:20,790 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-20cda582) Zone 5 is not ready to launch secondary storage VM yet 2014-02-10 09:50:21,107 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-b6e1e631) Skip capacity scan due to there is no Primary Storage UPintenance mode 2014-02-10 09:50:30,569 DEBUG [c.c.a.ApiServlet] (catalina-exec-17:ctx-0a0b3424) ===START=== 10.129.150.62 -- GET command=deleteZone&id=e2a5a06c-415d-4055-a497-bab7ee17afdb&response=json&sessionkey=xalKi3V%2FezO4ZXi%2BH1l7cH6PC9s%3D&_=1392007791586 2014-02-10 09:50:30,582 ERROR [c.c.a.ApiServer] (catalina-exec-17:ctx-0a0b3424 ctx-e5843c64) unhandled exception executing api command: deleteZone com.cloud.utils.exception.CloudRuntimeException: The zone is not deletable because there are virtual machines running in this zone at com.cloud.configuration.ConfigurationManagerImpl.checkIfZoneIsDeletable(ConfigurationManagerImpl.java:1407) at com.cloud.configuration.ConfigurationManagerImpl.deleteZone(ConfigurationManagerImpl.java:1548) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy87.deleteZone(Unknown Source) at org.apache.cloudstack.api.command.admin.zone.DeleteZoneCmd.execute(DeleteZoneCmd.java:74) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:531) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:374) at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:322) at com.cloud.api.ApiServlet.access$000(ApiServlet.java:52) at com.cloud.api.ApiServlet$1.run(ApiServlet.java:114) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultMana
Re: Cloudstack 4.3 Zone not deletable
Hi, Thanks For replay, both SSVM and CPVM were in 'Stopped' state and after deleting. they were properly expunge, as expunge delay is set to 60. Regards, Tejas On Mon, Feb 10, 2014 at 12:29 PM, Erik Weber wrote: > On Mon, Feb 10, 2014 at 6:36 AM, Tejas Gadaria >wrote: > > > Hi, > > > > I am not able to delete Zone. error is "The zone is not deletable because > > there are virtual machines running in this zone" > > but before deleting zone I have Deleted system VMs, Priamary & Secondary > > Storage, Host, Pod, Cluster & disabled Zone also. (not created virtual > > router at this point). > > > > > > Are the vms expunged as well? > > > -- > Erik >
SSVM & CPVM agent disconnected on cloudstack 4.3 with hyperv
Hi, I am using cloudstack 4.3 with hyperv hypervisor. At first when I have created SSVM and CPVM both were in 'running' state and agent was connected but unfortunately my network goes down, almost after half an hour it comes up and I had to restart cloud-managment service, later Secondary Storage VM & Console Proxy VM in 'Running' State but Agent shows disconnected. Log says SSL: Fail to find the generated keystore. Loading fail-safe one to continue. Is this because of time diff. between management server & hyperv host ? & Why this Agent is require? 2014-02-11 08:29:07,905 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-2d7e5554) Found 0 networks to update RvR status. 2014-02-11 08:29:13,847 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-ea4ddaad) Resetting hosts suitable for reconnect 2014-02-11 08:29:13,848 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-ea4ddaad) Completed resetting hosts suitable for reconnect 2014-02-11 08:29:13,848 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-ea4ddaad) Acquiring hosts for clusters already owned by this management server 2014-02-11 08:29:13,849 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-ea4ddaad) Completed acquiring hosts for clusters already owned by this management server 2014-02-11 08:29:13,849 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-ea4ddaad) Acquiring hosts for clusters not owned by any management server 2014-02-11 08:29:13,849 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-ea4ddaad) Completed acquiring hosts for clusters not owned by any management server *2014-02-11 08:29:16,909 WARN [c.c.u.n.Link] (AgentManager-Selector:null) SSL: Fail to find the generated keystore. Loading fail-safe one to continue.2014-02-11 08:29:26,920 WARN [c.c.u.n.Link] (AgentManager-Selector:null) SSL: Fail to find the generated keystore. Loading fail-safe one to continue.* 2014-02-11 08:29:29,822 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-0844b3f5) Zone 1 is ready to launch secondary storage VM 2014-02-11 08:29:30,096 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-c27b2197) Zone 1 is ready to launch console proxy 2014-02-11 08:29:31,838 DEBUG [c.c.s.StatsCollector] (StatsCollector-2:ctx-23559d75) HostStatsCollector is running... 2014-02-11 08:29:31,843 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-452:ctx-00e12566) Seq 1-1734084357: Executing request 2014-02-11 08:29:31,843 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-452:ctx-00e12566) POST request to https://10.129.151.52:8250/api/HypervResource/com.cloud.agent.api.GetHostStatsCommandwith contents {"hostGuid":"ee306959-650b-3b83-b491-6119b6d585c1-HypervResource","hostName":"10.129.151.52","hostId":1,"contextMap":{},"wait":0} Regards, Tejas
Re: SSVM & CPVM agent disconnected on cloudstack 4.3 with hyperv
Hi Rajesh, Thanks for the replay, After disabled the zone, I destroyed both system vm's and CS has re-created. It's working fine now. What is the password to login to system vm's ? Password I used to login with in system vm's of cloudstack 4.0.2, seems to be not working here. Regards, Tejas On Tue, Feb 11, 2014 at 9:52 AM, Rajesh Battala wrote: > Are the cloud agents running in the ssvm and cpvm? > Check the agent log in the systemvms to find the reason. > > CS will create them again if you destroy the systemvms > > Thanks > Rajesh Battala > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: Tuesday, February 11, 2014 9:21 AM > To: dev@cloudstack.apache.org > Subject: SSVM & CPVM agent disconnected on cloudstack 4.3 with hyperv > > Hi, > I am using cloudstack 4.3 with hyperv hypervisor. > At first when I have created SSVM and CPVM both were in 'running' state > and agent was connected but unfortunately my network goes down, almost > after half an hour it comes up and I had to restart cloud-managment > service, later Secondary Storage VM & Console Proxy VM in 'Running' State > but Agent shows disconnected. > > Log says SSL: Fail to find the generated keystore. Loading fail-safe one > to continue. > > Is this because of time diff. between management server & hyperv host ? & > Why this Agent is require? > > 2014-02-11 08:29:07,905 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] > (RouterStatusMonitor-1:ctx-2d7e5554) Found 0 networks to update RvR status. > 2014-02-11 08:29:13,847 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-ea4ddaad) Resetting hosts suitable for reconnect > 2014-02-11 08:29:13,848 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-ea4ddaad) Completed resetting hosts suitable for reconnect > 2014-02-11 08:29:13,848 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-ea4ddaad) Acquiring hosts for clusters already owned by this > management server > 2014-02-11 08:29:13,849 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-ea4ddaad) Completed acquiring hosts for clusters already owned > by this management server > 2014-02-11 08:29:13,849 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-ea4ddaad) Acquiring hosts for clusters not owned by any > management server > 2014-02-11 08:29:13,849 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-ea4ddaad) Completed acquiring hosts for clusters not owned by > any management server > > *2014-02-11 08:29:16,909 WARN [c.c.u.n.Link] (AgentManager-Selector:null) > SSL: Fail to find the generated keystore. Loading fail-safe one to > continue.2014-02-11 08:29:26,920 WARN [c.c.u.n.Link] > (AgentManager-Selector:null) SSL: Fail to find the generated keystore. > Loading fail-safe one to continue.* > 2014-02-11 08:29:29,822 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] > (secstorage-1:ctx-0844b3f5) Zone 1 is ready to launch secondary storage VM > 2014-02-11 08:29:30,096 DEBUG [c.c.c.ConsoleProxyManagerImpl] > (consoleproxy-1:ctx-c27b2197) Zone 1 is ready to launch console proxy > 2014-02-11 08:29:31,838 DEBUG [c.c.s.StatsCollector] > (StatsCollector-2:ctx-23559d75) HostStatsCollector is running... > 2014-02-11 08:29:31,843 DEBUG [c.c.a.m.DirectAgentAttache] > (DirectAgent-452:ctx-00e12566) Seq 1-1734084357: Executing request > 2014-02-11 08:29:31,843 DEBUG [c.c.h.h.r.HypervDirectConnectResource] > (DirectAgent-452:ctx-00e12566) POST request to > https://10.129.151.52:8250/api/HypervResource/com.cloud.agent.api.GetHostStatsCommandwith > contents > > {"hostGuid":"ee306959-650b-3b83-b491-6119b6d585c1-HypervResource","hostName":"10.129.151.52","hostId":1,"contextMap":{},"wait":0} > > > Regards, > Tejas >
Re: SSVM & CPVM agent disconnected on cloudstack 4.3 with hyperv
Hi Thanks for replay It's working fine. Regards, Tejas On Tue, Feb 11, 2014 at 10:54 AM, Rajesh Battala wrote: > Credentials for the systemvm's running in any kind of hypervisor are > root/ password > check whether caps lock is on. > > Thanks > Rajesh Battala > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: Tuesday, February 11, 2014 10:24 AM > To: dev@cloudstack.apache.org > Subject: Re: SSVM & CPVM agent disconnected on cloudstack 4.3 with hyperv > > Hi Rajesh, > > Thanks for the replay, > > After disabled the zone, I destroyed both system vm's and CS has > re-created. > It's working fine now. > > What is the password to login to system vm's ? > Password I used to login with in system vm's of cloudstack 4.0.2, seems to > be not working here. > > Regards, > Tejas > > > On Tue, Feb 11, 2014 at 9:52 AM, Rajesh Battala > wrote: > > > Are the cloud agents running in the ssvm and cpvm? > > Check the agent log in the systemvms to find the reason. > > > > CS will create them again if you destroy the systemvms > > > > Thanks > > Rajesh Battala > > > > -Original Message- > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > > Sent: Tuesday, February 11, 2014 9:21 AM > > To: dev@cloudstack.apache.org > > Subject: SSVM & CPVM agent disconnected on cloudstack 4.3 with hyperv > > > > Hi, > > I am using cloudstack 4.3 with hyperv hypervisor. > > At first when I have created SSVM and CPVM both were in 'running' > > state and agent was connected but unfortunately my network goes down, > > almost after half an hour it comes up and I had to restart > > cloud-managment service, later Secondary Storage VM & Console Proxy VM > > in 'Running' State but Agent shows disconnected. > > > > Log says SSL: Fail to find the generated keystore. Loading fail-safe > > one to continue. > > > > Is this because of time diff. between management server & hyperv host > > ? & Why this Agent is require? > > > > 2014-02-11 08:29:07,905 DEBUG > > [c.c.n.r.VirtualNetworkApplianceManagerImpl] > > (RouterStatusMonitor-1:ctx-2d7e5554) Found 0 networks to update RvR > status. > > 2014-02-11 08:29:13,847 DEBUG [c.c.h.d.HostDaoImpl] > > (ClusteredAgentManager > > Timer:ctx-ea4ddaad) Resetting hosts suitable for reconnect > > 2014-02-11 08:29:13,848 DEBUG [c.c.h.d.HostDaoImpl] > > (ClusteredAgentManager > > Timer:ctx-ea4ddaad) Completed resetting hosts suitable for reconnect > > 2014-02-11 08:29:13,848 DEBUG [c.c.h.d.HostDaoImpl] > > (ClusteredAgentManager > > Timer:ctx-ea4ddaad) Acquiring hosts for clusters already owned by this > > management server > > 2014-02-11 08:29:13,849 DEBUG [c.c.h.d.HostDaoImpl] > > (ClusteredAgentManager > > Timer:ctx-ea4ddaad) Completed acquiring hosts for clusters already > > owned by this management server > > 2014-02-11 08:29:13,849 DEBUG [c.c.h.d.HostDaoImpl] > > (ClusteredAgentManager > > Timer:ctx-ea4ddaad) Acquiring hosts for clusters not owned by any > > management server > > 2014-02-11 08:29:13,849 DEBUG [c.c.h.d.HostDaoImpl] > > (ClusteredAgentManager > > Timer:ctx-ea4ddaad) Completed acquiring hosts for clusters not owned > > by any management server > > > > *2014-02-11 08:29:16,909 WARN [c.c.u.n.Link] > > (AgentManager-Selector:null) > > SSL: Fail to find the generated keystore. Loading fail-safe one to > > continue.2014-02-11 08:29:26,920 WARN [c.c.u.n.Link] > > (AgentManager-Selector:null) SSL: Fail to find the generated keystore. > > Loading fail-safe one to continue.* > > 2014-02-11 08:29:29,822 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] > > (secstorage-1:ctx-0844b3f5) Zone 1 is ready to launch secondary > > storage VM > > 2014-02-11 08:29:30,096 DEBUG [c.c.c.ConsoleProxyManagerImpl] > > (consoleproxy-1:ctx-c27b2197) Zone 1 is ready to launch console proxy > > 2014-02-11 08:29:31,838 DEBUG [c.c.s.StatsCollector] > > (StatsCollector-2:ctx-23559d75) HostStatsCollector is running... > > 2014-02-11 08:29:31,843 DEBUG [c.c.a.m.DirectAgentAttache] > > (DirectAgent-452:ctx-00e12566) Seq 1-1734084357: Executing request > > 2014-02-11 08:29:31,843 DEBUG [c.c.h.h.r.HypervDirectConnectResource] > > (DirectAgent-452:ctx-00e12566) POST request to > > https://10.129.151.52:8250/api/HypervResource/com.cloud.agent.api.GetH > > ostStatsCommandwith > > contents > > > > {"hostGuid":"ee306959-650b-3b83-b491-6119b6d585c1-HypervResource","hos > > tName":"10.129.151.52","hostId":1,"contextMap":{},"wait":0} > > > > > > Regards, > > Tejas > > >
Re: SSVM & CPVM agent disconnected on cloudstack 4.3 with hyperv
Hi Rajesh, Thanks for info. Regards, Tejas On Tue, Feb 11, 2014 at 10:59 AM, Rajesh Battala wrote: > Great to know its working fine for you. > > Regarding the i/o error , your storage could have went offline hence you > were able to see the issue. And that's the reason for agents not showing in > the running status. > > Thanks > Rajesh Battala > > -Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: Tuesday, February 11, 2014 10:58 AM > To: dev@cloudstack.apache.org > Subject: Re: SSVM & CPVM agent disconnected on cloudstack 4.3 with hyperv > > Hi > Thanks for replay > > It's working fine. > > Regards, > Tejas > > > On Tue, Feb 11, 2014 at 10:54 AM, Rajesh Battala > wrote: > > > Credentials for the systemvm's running in any kind of hypervisor are > > root/ password > > check whether caps lock is on. > > > > Thanks > > Rajesh Battala > > > > -Original Message- > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > > Sent: Tuesday, February 11, 2014 10:24 AM > > To: dev@cloudstack.apache.org > > Subject: Re: SSVM & CPVM agent disconnected on cloudstack 4.3 with > > hyperv > > > > Hi Rajesh, > > > > Thanks for the replay, > > > > After disabled the zone, I destroyed both system vm's and CS has > > re-created. > > It's working fine now. > > > > What is the password to login to system vm's ? > > Password I used to login with in system vm's of cloudstack 4.0.2, > > seems to be not working here. > > > > Regards, > > Tejas > > > > > > On Tue, Feb 11, 2014 at 9:52 AM, Rajesh Battala > > wrote: > > > > > Are the cloud agents running in the ssvm and cpvm? > > > Check the agent log in the systemvms to find the reason. > > > > > > CS will create them again if you destroy the systemvms > > > > > > Thanks > > > Rajesh Battala > > > > > > -Original Message- > > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > > > Sent: Tuesday, February 11, 2014 9:21 AM > > > To: dev@cloudstack.apache.org > > > Subject: SSVM & CPVM agent disconnected on cloudstack 4.3 with > > > hyperv > > > > > > Hi, > > > I am using cloudstack 4.3 with hyperv hypervisor. > > > At first when I have created SSVM and CPVM both were in 'running' > > > state and agent was connected but unfortunately my network goes > > > down, almost after half an hour it comes up and I had to restart > > > cloud-managment service, later Secondary Storage VM & Console Proxy > > > VM in 'Running' State but Agent shows disconnected. > > > > > > Log says SSL: Fail to find the generated keystore. Loading fail-safe > > > one to continue. > > > > > > Is this because of time diff. between management server & hyperv > > > host ? & Why this Agent is require? > > > > > > 2014-02-11 08:29:07,905 DEBUG > > > [c.c.n.r.VirtualNetworkApplianceManagerImpl] > > > (RouterStatusMonitor-1:ctx-2d7e5554) Found 0 networks to update RvR > > status. > > > 2014-02-11 08:29:13,847 DEBUG [c.c.h.d.HostDaoImpl] > > > (ClusteredAgentManager > > > Timer:ctx-ea4ddaad) Resetting hosts suitable for reconnect > > > 2014-02-11 08:29:13,848 DEBUG [c.c.h.d.HostDaoImpl] > > > (ClusteredAgentManager > > > Timer:ctx-ea4ddaad) Completed resetting hosts suitable for reconnect > > > 2014-02-11 08:29:13,848 DEBUG [c.c.h.d.HostDaoImpl] > > > (ClusteredAgentManager > > > Timer:ctx-ea4ddaad) Acquiring hosts for clusters already owned by > > > this management server > > > 2014-02-11 08:29:13,849 DEBUG [c.c.h.d.HostDaoImpl] > > > (ClusteredAgentManager > > > Timer:ctx-ea4ddaad) Completed acquiring hosts for clusters already > > > owned by this management server > > > 2014-02-11 08:29:13,849 DEBUG [c.c.h.d.HostDaoImpl] > > > (ClusteredAgentManager > > > Timer:ctx-ea4ddaad) Acquiring hosts for clusters not owned by any > > > management server > > > 2014-02-11 08:29:13,849 DEBUG [c.c.h.d.HostDaoImpl] > > > (ClusteredAgentManager > > > Timer:ctx-ea4ddaad) Completed acquiring hosts for clusters not owned > > > by any management server > > > > > > *2014-02-11 08:29:16,909 WARN [c.c.u.n.Link] > > > (AgentManager-Selector:null) > > > SSL: Fail to find the generated keystore. Loading fail-safe on
Cloudstack 4.3 with hyper-v
Hi, Secondary storage mount point entry recorded multiple time on management server which is I think not necessary. I have created one instance, It's working fine. [root@hyperv ~]# df -hT FilesystemTypeSize Used Avail Use% Mounted on /dev/mapper/VolGroup-lv_root ext4 36G 4.1G 30G 13% / tmpfstmpfs1.9G 0 1.9G 0% /dev/shm /dev/sda1 ext4485M 37M 423M 8% /boot //10.129.151.55/Secondary cifs250G 24G 227G 10% /var/cloudstack/mnt/VM/345051498628.49893dd0 //10.129.151.55/Secondary cifs250G 24G 227G 10% /var/cloudstack/mnt/VM/345051498628.4f2cf0e9 //10.129.151.55/Secondary cifs250G 24G 227G 10% /var/cloudstack/mnt/VM/345051498628.7eb00501 Regards, Tejas
Re: Cloudstack 4.3 with hyper-v
Hi Rajesh, Thanks for replay, but multiple mount point are necessary? because all three mount point contains files and sub-directory with same name and size. Regards, Tejas On Tue, Feb 11, 2014 at 4:00 PM, Rajesh Battala wrote: > Mount point you are seeing is used to copy the systemvm.iso to secondary > storage. > > -Original Message----- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: Tuesday, February 11, 2014 3:11 PM > To: dev@cloudstack.apache.org > Subject: Cloudstack 4.3 with hyper-v > > Hi, > > Secondary storage mount point entry recorded multiple time on management > server which is I think not necessary. > I have created one instance, It's working fine. > > > [root@hyperv ~]# df -hT > FilesystemTypeSize Used Avail Use% Mounted on > /dev/mapper/VolGroup-lv_root > ext4 36G 4.1G 30G 13% / > tmpfstmpfs1.9G 0 1.9G 0% /dev/shm > /dev/sda1 ext4485M 37M 423M 8% /boot > //10.129.151.55/Secondary > cifs250G 24G 227G 10% > /var/cloudstack/mnt/VM/345051498628.49893dd0 > //10.129.151.55/Secondary > cifs250G 24G 227G 10% > /var/cloudstack/mnt/VM/345051498628.4f2cf0e9 > //10.129.151.55/Secondary > cifs250G 24G 227G 10% > /var/cloudstack/mnt/VM/345051498628.7eb00501 > > > Regards, > Tejas >
Re: Cloudstack 4.3 with hyper-v
Hi Devdeep Thanks for replay, FYI, I have installed CS through RPMs. Regards, Tejas On Tue, Feb 11, 2014 at 5:33 PM, Devdeep Singh wrote: > If you are using a development environment you may see multiple mount > points getting created. I'll look into addressing this. You shouldn't see > this if you have installed cloudstack from rpm. The management server will > clean up the mount points. > > Regards, > Devdeep > > -----Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: Tuesday, February 11, 2014 4:51 PM > To: dev@cloudstack.apache.org > Subject: Re: Cloudstack 4.3 with hyper-v > > Hi Rajesh, > > Thanks for replay, > > but multiple mount point are necessary? > because all three mount point contains files and sub-directory with same > name and size. > > Regards, > Tejas > > > On Tue, Feb 11, 2014 at 4:00 PM, Rajesh Battala > wrote: > > > Mount point you are seeing is used to copy the systemvm.iso to > > secondary storage. > > > > -Original Message- > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > > Sent: Tuesday, February 11, 2014 3:11 PM > > To: dev@cloudstack.apache.org > > Subject: Cloudstack 4.3 with hyper-v > > > > Hi, > > > > Secondary storage mount point entry recorded multiple time on > > management server which is I think not necessary. > > I have created one instance, It's working fine. > > > > > > [root@hyperv ~]# df -hT > > FilesystemTypeSize Used Avail Use% Mounted on > > /dev/mapper/VolGroup-lv_root > > ext4 36G 4.1G 30G 13% / > > tmpfstmpfs1.9G 0 1.9G 0% /dev/shm > > /dev/sda1 ext4485M 37M 423M 8% /boot > > //10.129.151.55/Secondary > > cifs250G 24G 227G 10% > > /var/cloudstack/mnt/VM/345051498628.49893dd0 > > //10.129.151.55/Secondary > > cifs250G 24G 227G 10% > > /var/cloudstack/mnt/VM/345051498628.4f2cf0e9 > > //10.129.151.55/Secondary > > cifs250G 24G 227G 10% > > /var/cloudstack/mnt/VM/345051498628.7eb00501 > > > > > > Regards, > > Tejas > > >
Unable to deploy Guest VM Cloudstack 4.3
Hi, While creating Virtual router its giving below error, 2014-02-14 18:19:53,948 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-50:ctx-3520609f) Use router's private IP for SSH control. IP : 10.129.151.89 2014-02-14 18:19:54,135 ERROR [c.c.u.s.SshHelper] (DirectAgent-50:ctx-3520609f) Failed to authentication SSH user root on host 10.129.151.89 2014-02-14 18:19:54,136 ERROR [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-50:ctx-3520609f) GetDomRVersionCmd failed due to java.lang.Exception: Failed to authentication SSH user root on host 10.129.151.89 java.lang.Exception: Failed to authentication SSH user root on host 10.129.151.89 at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:144) at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:37) at com.cloud.hypervisor.hyperv.resource.HypervDirectConnectResource.execute(HypervDirectConnectResource.java:1545) at com.cloud.hypervisor.hyperv.resource.HypervDirectConnectResource.executeRequest(HypervDirectConnectResource.java:411) 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-02-14 18:19:54,138 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-50:ctx-3520609f) Seq 1-2053505129: Cancelling because one of the answers is false and it is stop on error. 2014-02-14 18:19:54,138 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-50:ctx-3520609f) Seq 1-2053505129: Cancelling because one of the answers is false and it is stop on error. Regards, Tejas
Re: Unable to deploy Guest VM Cloudstack 4.3
Hi Santosh, Thanks for replay, I have followed the given link, and deleted systemvm-4.3.0 from /secondary/systemvm/ still it's giving same error. Also I followed below link and varifed public key it's they are same. https://issues.apache.org/jira/browse/CLOUDSTACK-3014 [root@hyperv is]# cat /var/cloudstack/management/.ssh/id_rsa.pub ssh-rsa B3NzaC1yc2EBIwAAAQEAzQUMQc5H2UwsFyLYMuy7vEtIqfhlhDLSZ8BcaitZvy47J+2rNrrJX/W/tL7gaEMlKh05IBiXSw+/KeT+bnnuMvarlqO/U60tWMUoBEPqiUC2PYKpVYVI/vsNVd+m16TWhyyKIvj643llFDcEIiidihSfsV+689lny36spscmS4jYZZf/JteSy2Nx+Qkx9RUueMAHUX2Ecpk1oEG4Gs5z47Xjc7BdiHc39duUhLgSERCQ8CDyaBuItU38KzyZrzeR01fvXIlP+t+JQOpVqhs1tIrhJPaK9Oc4tlZq/l1z+P4PRdP6MDuzyH2if7LgEL4yYPe/O7EmJWzOj5sM4vZIfw== cloud@hyperv.cloud.local[root@hyperv is]# [root@hyperv is]# cat authorized_keys ssh-rsa B3NzaC1yc2EBIwAAAQEAzQUMQc5H2UwsFyLYMuy7vEtIqfhlhDLSZ8BcaitZvy47J+2rNrrJX/W/tL7gaEMlKh05IBiXSw+/KeT+bnnuMvarlqO/U60tWMUoBEPqiUC2PYKpVYVI/vsNVd+m16TWhyyKIvj643llFDcEIiidihSfsV+689lny36spscmS4jYZZf/JteSy2Nx+Qkx9RUueMAHUX2Ecpk1oEG4Gs5z47Xjc7BdiHc39duUhLgSERCQ8CDyaBuItU38KzyZrzeR01fvXIlP+t+JQOpVqhs1tIrhJPaK9Oc4tlZq/l1z+P4PRdP6MDuzyH2if7LgEL4yYPe/O7EmJWzOj5sM4vZIfw== cloud@hyperv.cloud.local[root@hyperv is]# Regards, Tejas On Fri, Feb 14, 2014 at 9:46 PM, Santhosh Edukulla < santhosh.eduku...@citrix.com> wrote: > Check this. > http://comments.gmane.org/gmane.comp.apache.cloudstack.devel/22230 > > Santhosh > ________ > From: Tejas Gadaria [refond.g...@gmail.com] > Sent: Friday, February 14, 2014 8:06 AM > To: us...@cloudstack.apache.org > Cc: dev@cloudstack.apache.org > Subject: Unable to deploy Guest VM Cloudstack 4.3 > > Hi, > > While creating Virtual router its giving below error, > > > 2014-02-14 18:19:53,948 DEBUG [c.c.h.h.r.HypervDirectConnectResource] > (DirectAgent-50:ctx-3520609f) Use router's private IP for SSH control. IP : > 10.129.151.89 > 2014-02-14 18:19:54,135 ERROR [c.c.u.s.SshHelper] > (DirectAgent-50:ctx-3520609f) Failed to authentication SSH user root on > host 10.129.151.89 > 2014-02-14 18:19:54,136 ERROR [c.c.h.h.r.HypervDirectConnectResource] > (DirectAgent-50:ctx-3520609f) GetDomRVersionCmd failed due to > java.lang.Exception: Failed to authentication SSH user root on host > 10.129.151.89 > java.lang.Exception: Failed to authentication SSH user root on host > 10.129.151.89 > at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:144) > at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:37) > at > > com.cloud.hypervisor.hyperv.resource.HypervDirectConnectResource.execute(HypervDirectConnectResource.java:1545) > at > > com.cloud.hypervisor.hyperv.resource.HypervDirectConnectResource.executeRequest(HypervDirectConnectResource.java:411) > 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-02-14 18:19:54,138 DEBUG [c.c.a.m.DirectAgentAttache] > (DirectAgent-50:ctx-3520609f) Seq 1-2053505129: Cancelling because one of > the answers is false and it is stop on error. > 2014-02-14 18:19:54,138 DEBUG [c.c.a.m.DirectAgentAttache] > (DirectAgent-50:ctx-3520609f) Seq 1-2053505129: Cancelling because one of > the answers is false and it is stop on error. > > > Regards, > Tejas >
Unable to set permissions Cloudstack 4.3
Though I am able to create system VMs successfully on hyperv, was showing following in the logs, Is this related to storage permission for management server. ? what kind of problem it can create? 2014-02-17 16:26:45,777 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-20:ctx-c2a52c69) Seq 1-92012587: Executing request 2014-02-17 16:26:46,435 DEBUG [c.c.h.h.m.HypervManagerImpl] (DirectAgent-56:ctx-a1715f20) Execution is successful. 2014-02-17 16:26:46,436 DEBUG [c.c.h.h.m.HypervManagerImpl] (DirectAgent-56:ctx-a1715f20) Executing: sudo chmod -R 777 /var/cloudstack/mnt/VM/345049283025.8748e72 2014-02-17 16:26:46,454 DEBUG [c.c.h.h.m.HypervManagerImpl] (DirectAgent-56:ctx-a1715f20) Exit value is 1 2014-02-17 16:26:46,455 DEBUG [c.c.h.h.m.HypervManagerImpl] (DirectAgent-56:ctx-a1715f20) chmod: changing permissions of `/var/cloudstack/mnt/VM/345049283025.8748e72':* Permission denied* 2014-02-17 16:26:46,455 WARN [c.c.h.h.m.HypervManagerImpl] (DirectAgent-56:ctx-a1715f20) *Unable to set permissions for /var/cloudstack/mnt/VM/345049283025.8748e72 due to chmod: changing permissions of `/var/cloudstack/mnt/VM/345049283025.8748e72': Permission denied* 2014-02-17 16:26:46,459 INFO [c.c.h.h.m.HypervManagerImpl] (DirectAgent-56:ctx-a1715f20) Copy System VM patch ISO file to secondary storage. source ISO: /usr/share/cloudstack-common/vms/systemvm.iso, destination: /var/cloudstack/mnt/VM/345049283025.8748e72/systemvm/systemvm-4.3.0.iso 2014-02-17 16:27:06,940 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-11ca781d) Found 0 routers to update status. 2014-02-17 16:27:06,941 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-11ca781d) Found 0 networks to update RvR status. Regards, Tejas
Re: Unable to set permissions Cloudstack 4.3
Hi Rajesh, Yes system vms are working fine. Regards, Tejas On Mon, Feb 17, 2014 at 5:16 PM, Rajesh Battala wrote: > Were the systemvm's came up and reported as "UP" in the infra page? > If yes, it's not an issue to be worried. > > -----Original Message- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: Monday, February 17, 2014 4:41 PM > To: us...@cloudstack.apache.org; dev@cloudstack.apache.org > Subject: Unable to set permissions Cloudstack 4.3 > > Though I am able to create system VMs successfully on hyperv, was showing > following in the logs, Is this related to storage permission for management > server. ? > what kind of problem it can create? > > > 2014-02-17 16:26:45,777 DEBUG [c.c.a.m.DirectAgentAttache] > (DirectAgent-20:ctx-c2a52c69) Seq 1-92012587: Executing request > 2014-02-17 16:26:46,435 DEBUG [c.c.h.h.m.HypervManagerImpl] > (DirectAgent-56:ctx-a1715f20) Execution is successful. > 2014-02-17 16:26:46,436 DEBUG [c.c.h.h.m.HypervManagerImpl] > (DirectAgent-56:ctx-a1715f20) Executing: sudo chmod -R 777 > /var/cloudstack/mnt/VM/345049283025.8748e72 > 2014-02-17 16:26:46,454 DEBUG [c.c.h.h.m.HypervManagerImpl] > (DirectAgent-56:ctx-a1715f20) Exit value is 1 > 2014-02-17 16:26:46,455 DEBUG [c.c.h.h.m.HypervManagerImpl] > (DirectAgent-56:ctx-a1715f20) chmod: changing permissions of > `/var/cloudstack/mnt/VM/345049283025.8748e72':* Permission denied* > 2014-02-17 16:26:46,455 WARN [c.c.h.h.m.HypervManagerImpl] > (DirectAgent-56:ctx-a1715f20) *Unable to set permissions for > /var/cloudstack/mnt/VM/345049283025.8748e72 due to chmod: changing > permissions of `/var/cloudstack/mnt/VM/345049283025.8748e72': Permission > denied* > 2014-02-17 16:26:46,459 INFO [c.c.h.h.m.HypervManagerImpl] > (DirectAgent-56:ctx-a1715f20) Copy System VM patch ISO file to secondary > storage. source ISO: /usr/share/cloudstack-common/vms/systemvm.iso, > destination: > /var/cloudstack/mnt/VM/345049283025.8748e72/systemvm/systemvm-4.3.0.iso > 2014-02-17 16:27:06,940 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] > (RouterStatusMonitor-1:ctx-11ca781d) Found 0 routers to update status. > 2014-02-17 16:27:06,941 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] > (RouterStatusMonitor-1:ctx-11ca781d) Found 0 networks to update RvR status. > > > Regards, > Tejas >