Re: Cloudstack upgrade issue from 3.0.2 to 4.0.2
Hi, Np i have fixed this issue. i have manually restore the scheme for 4.0. NOTE:no separate scheme for 4.0.2 > Hi all, > >I am facing below error while upraded cloudstack from 3.0.2 to 4.0.2. > any suggesiotn for this issue. > > INFO [cloud.upgrade.DatabaseUpgradeChecker] (main:) Grabbing lock to > check for database upgrade. > INFO [cloud.upgrade.DatabaseUpgradeChecker] (main:) DB version = > 3.0.2.20120506223416 Code Version = 4.0.2.20130420145617 > INFO [cloud.upgrade.DatabaseUpgradeChecker] (main:) Database upgrade must > be performed from 3.0.2.20120506223416 to 4.0.2.20130420145617 > ERROR [cloud.upgrade.DatabaseUpgradeChecker] (main:) The end upgrade > version is actually at 4.0.0 but our management server code version is at > 4.0.2.20130420145617 > ERROR [utils.component.ComponentLocator] (main:) Problems with running > checker:DatabaseUpgradeChecker > com.cloud.utils.exception.CloudRuntimeException: The end upgrade version > is actually at 4.0.0 but our management server code version is at > 4.0.2.20130420145617 > at > com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:211) > at > com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:369) > at > com.cloud.utils.component.ComponentLocator.runCheckers(ComponentLocator.java:273) > at > com.cloud.utils.component.ComponentLocator.parse(ComponentLocator.java:245) > at > com.cloud.utils.component.ComponentLocator.getLocatorInternal(ComponentLocator.java:836) > at > com.cloud.utils.component.ComponentLocator.getLocator(ComponentLocator.java:874) > at > com.cloud.utils.component.ComponentLocator.getComponent(ComponentLocator.java:416) > at > com.cloud.utils.component.ComponentLocator.getComponent(ComponentLocator.java:409) > at > com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:44) > at javax.servlet.GenericServlet.init(GenericServlet.java:212) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173) > at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4496) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) > at > org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041) > at > org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964) > at > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) > at > org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) > at > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) > at > org.apache.catalina.core.StandardHost.start(StandardHost.java:722) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) > at > org.apache.catalina.core.StandardService.start(StandardService.java:516) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:710) > at org.apache.catalina.startup.Catalina.start(Catalina.java:593) > 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.catalina.startup.Bootstrap.start(Bootstrap.java:289) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) > > > Regards, > Prakash.M > > > >
Re: Cloudstack upgrade issue from 3.0.2 to 4.0.2
Hi, Np i have fixed this issue. i have manually restore the scheme for 4.0. NOTE:no separate scheme for 4.0.2 Regards, Prakash.M > Hi, > > > db scheme from 3.0.2 to 4.0.2 is not available. > > schema-302to40.sql > > so how can we upgrade cloudstack from 3.0.2 to 4.0.2 any ideas? > > Regards, > Prakash.M > >> Hi all, >> >>I am facing below error while upraded cloudstack from 3.0.2 to 4.0.2. >> any suggesiotn for this issue. >> >> INFO [cloud.upgrade.DatabaseUpgradeChecker] (main:) Grabbing lock to >> check for database upgrade. >> INFO [cloud.upgrade.DatabaseUpgradeChecker] (main:) DB version = >> 3.0.2.20120506223416 Code Version = 4.0.2.20130420145617 >> INFO [cloud.upgrade.DatabaseUpgradeChecker] (main:) Database upgrade >> must >> be performed from 3.0.2.20120506223416 to 4.0.2.20130420145617 >> ERROR [cloud.upgrade.DatabaseUpgradeChecker] (main:) The end upgrade >> version is actually at 4.0.0 but our management server code version is >> at >> 4.0.2.20130420145617 >> ERROR [utils.component.ComponentLocator] (main:) Problems with running >> checker:DatabaseUpgradeChecker >> com.cloud.utils.exception.CloudRuntimeException: The end upgrade version >> is actually at 4.0.0 but our management server code version is at >> 4.0.2.20130420145617 >> at >> com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:211) >> at >> com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:369) >> at >> com.cloud.utils.component.ComponentLocator.runCheckers(ComponentLocator.java:273) >> at >> com.cloud.utils.component.ComponentLocator.parse(ComponentLocator.java:245) >> at >> com.cloud.utils.component.ComponentLocator.getLocatorInternal(ComponentLocator.java:836) >> at >> com.cloud.utils.component.ComponentLocator.getLocator(ComponentLocator.java:874) >> at >> com.cloud.utils.component.ComponentLocator.getComponent(ComponentLocator.java:416) >> at >> com.cloud.utils.component.ComponentLocator.getComponent(ComponentLocator.java:409) >> at >> com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:44) >> at javax.servlet.GenericServlet.init(GenericServlet.java:212) >> at >> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173) >> at >> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) >> at >> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187) >> at >> org.apache.catalina.core.StandardContext.start(StandardContext.java:4496) >> at >> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) >> at >> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) >> at >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) >> at >> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041) >> at >> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964) >> at >> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) >> at >> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) >> at >> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) >> at >> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) >> at >> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) >> at >> org.apache.catalina.core.StandardHost.start(StandardHost.java:722) >> at >> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) >> at >> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) >> at >> org.apache.catalina.core.StandardService.start(StandardService.java:516) >> at >> org.apache.catalina.core.StandardServer.start(StandardServer.java:710) >> at org.apache.catalina.startup.Catalina.start(Catalina.java:593) >> 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.catalina.startup.Bootstrap.start(Bootstrap.java:289) >> at >> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) >> >> >> Regards, >> Prakash.M >> >> >> >> > >
Re: Cloudstack upgrade issue from 3.0.2 to 4.0.2
Hi, db scheme from 3.0.2 to 4.0.2 is not available. schema-302to40.sql so how can we upgrade cloudstack from 3.0.2 to 4.0.2 any ideas? Regards, Prakash.M > Hi all, > >I am facing below error while upraded cloudstack from 3.0.2 to 4.0.2. > any suggesiotn for this issue. > > INFO [cloud.upgrade.DatabaseUpgradeChecker] (main:) Grabbing lock to > check for database upgrade. > INFO [cloud.upgrade.DatabaseUpgradeChecker] (main:) DB version = > 3.0.2.20120506223416 Code Version = 4.0.2.20130420145617 > INFO [cloud.upgrade.DatabaseUpgradeChecker] (main:) Database upgrade must > be performed from 3.0.2.20120506223416 to 4.0.2.20130420145617 > ERROR [cloud.upgrade.DatabaseUpgradeChecker] (main:) The end upgrade > version is actually at 4.0.0 but our management server code version is at > 4.0.2.20130420145617 > ERROR [utils.component.ComponentLocator] (main:) Problems with running > checker:DatabaseUpgradeChecker > com.cloud.utils.exception.CloudRuntimeException: The end upgrade version > is actually at 4.0.0 but our management server code version is at > 4.0.2.20130420145617 > at > com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:211) > at > com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:369) > at > com.cloud.utils.component.ComponentLocator.runCheckers(ComponentLocator.java:273) > at > com.cloud.utils.component.ComponentLocator.parse(ComponentLocator.java:245) > at > com.cloud.utils.component.ComponentLocator.getLocatorInternal(ComponentLocator.java:836) > at > com.cloud.utils.component.ComponentLocator.getLocator(ComponentLocator.java:874) > at > com.cloud.utils.component.ComponentLocator.getComponent(ComponentLocator.java:416) > at > com.cloud.utils.component.ComponentLocator.getComponent(ComponentLocator.java:409) > at > com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:44) > at javax.servlet.GenericServlet.init(GenericServlet.java:212) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173) > at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4496) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) > at > org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041) > at > org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964) > at > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) > at > org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) > at > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) > at > org.apache.catalina.core.StandardHost.start(StandardHost.java:722) > at > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) > at > org.apache.catalina.core.StandardService.start(StandardService.java:516) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:710) > at org.apache.catalina.startup.Catalina.start(Catalina.java:593) > 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.catalina.startup.Bootstrap.start(Bootstrap.java:289) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) > > > Regards, > Prakash.M > > > >
Reg:Clodstack upgrade from 3.0.2 to 4.0.2
Hi, db scheme from 3.0.2 to 4.0.2 is not available. schema-302to40.sql so how can we upgrade cloudstack from 3.0.2 to 4.0.2 any ideas? Regards, Prakash.M
Cloudstack upgrade issue from 3.0.2 to 4.0.2
Hi all, I am facing below error while upraded cloudstack from 3.0.2 to 4.0.2. any suggesiotn for this issue. INFO [cloud.upgrade.DatabaseUpgradeChecker] (main:) Grabbing lock to check for database upgrade. INFO [cloud.upgrade.DatabaseUpgradeChecker] (main:) DB version = 3.0.2.20120506223416 Code Version = 4.0.2.20130420145617 INFO [cloud.upgrade.DatabaseUpgradeChecker] (main:) Database upgrade must be performed from 3.0.2.20120506223416 to 4.0.2.20130420145617 ERROR [cloud.upgrade.DatabaseUpgradeChecker] (main:) The end upgrade version is actually at 4.0.0 but our management server code version is at 4.0.2.20130420145617 ERROR [utils.component.ComponentLocator] (main:) Problems with running checker:DatabaseUpgradeChecker com.cloud.utils.exception.CloudRuntimeException: The end upgrade version is actually at 4.0.0 but our management server code version is at 4.0.2.20130420145617 at com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:211) at com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:369) at com.cloud.utils.component.ComponentLocator.runCheckers(ComponentLocator.java:273) at com.cloud.utils.component.ComponentLocator.parse(ComponentLocator.java:245) at com.cloud.utils.component.ComponentLocator.getLocatorInternal(ComponentLocator.java:836) at com.cloud.utils.component.ComponentLocator.getLocator(ComponentLocator.java:874) at com.cloud.utils.component.ComponentLocator.getComponent(ComponentLocator.java:416) at com.cloud.utils.component.ComponentLocator.getComponent(ComponentLocator.java:409) at com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:44) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:593) 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.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Regards, Prakash.M
Reg: Get Vm-Password Decrpty
Hi, I am used getvmpassword api () and followed below steps to decrpyt the password of vms. Binarytext file is empty while i ran command openssl enc -in ciphertext -out binarytext -d -a. Any one please suggest this syntax is correct. https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34014652 Note: - i have my encrypted password to ciphertext and try to generate binarytext. Regards, Prakash.M
Re: Reg: Get Vm-Password Decrpty
Hi, anyone face this issue. > Hi, > > I am used getvmpassword api () and followed below steps to decrpyt the > password of vms. Binarytext file is empty while i ran command openssl enc > -in ciphertext -out binarytext -d -a. Any one please suggest this syntax > is correct. > > > https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=34014652 > > Note: - i have my encrypted password to ciphertext and try to generate > binarytext. > > Regards, > Prakash.M > > >
Help with JUnits
Hi, Please can someone help me with identifying and amending junits for UserVmManagerImpl.commitUserVm? I see a test class called UserVmManagerTest but I dont see a good junits coverage here. Also link in the 'Developer > Testing > Unit testing with JUnit and Spring' doesnt give out lot of details on junits. 1. Am I looking at the right place for junits for the class UserVmManagerImpl.commitUserVm? 2. Is there any other link that provides more details on JUnits? 3. Any document or resource explaing cloudstack JUnit implementation in greater detail would be of great help. 4. If I want to track junit of this class, how do I track and execute them? Regards, Prakash
Re: Help with JUnits
Thanks Mike, I read through the link and also saw the video, this answers part of my question about executing the unit tests. The other part of the questions still remains ie were are junits written in Java for this class and operation UserVmManagerImpl.commitUserVm. How do we check the junit coverage for a particular class and implementation in it? Where do I start looking for them and confirm if they exist? From: Mike Tutkowski Sent: Monday, January 18, 2016 11:51 PM To: dev@cloudstack.apache.org Subject: Re: Help with JUnits Here's a video of a presentation I gave about Marvin (from CloudStack Days in Austin last year): https://www.youtube.com/watch?v=N_eKBA_TeOs On Mon, Jan 18, 2016 at 9:49 PM, Mike Tutkowski < mike.tutkow...@solidfire.com> wrote: > Does this help? > > > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Marvin+-+Testing+with+Python > > On Mon, Jan 18, 2016 at 8:56 PM, B Prakash wrote: > >> Hi, >> >> >> Please can someone help me with identifying and amending junits for >> UserVmManagerImpl.commitUserVm? I see a test class called >> UserVmManagerTest but I dont see a good junits coverage here. Also link in >> the 'Developer > Testing > Unit testing with JUnit and Spring' doesnt give >> out lot of details on junits. >> >> 1. Am I looking at the right place for junits for the class >> UserVmManagerImpl.commitUserVm? >> 2. Is there any other link that provides more details on JUnits? >> 3. Any document or resource explaing cloudstack JUnit implementation >> in greater detail would be of great help. >> 4. If I want to track junit of this class, how do I track and execute >> them? >> >> >> Regards, >> >> Prakash >> > > > > -- > *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>*™* > -- *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>*™*
Re: Help with JUnits
Yes it does, thanks. Next I am going through the code to identify a pattern (like class name ending with TEST :-)) to identify junit code. I am unable to zero in on few of the operations ie I am unable to find unit test for this operation UserVmManagerImpl.commitUserVm. I am still looking for it. Is the Junit coverage 100%? From: Mike Tutkowski Sent: Tuesday, January 19, 2016 3:01 AM To: dev@cloudstack.apache.org Subject: Re: Help with JUnits So, yeah, unit tests are written in Java while integration tests are written in Python using Marvin...if that helps clarify things a bit more. On Tue, Jan 19, 2016 at 12:45 AM, B Prakash wrote: > Thanks Mike, I read through the link and also saw the video, this answers > part of my question about executing the unit tests. The other part of the > questions still remains ie were are junits written in Java for this class > and operation UserVmManagerImpl.commitUserVm. > > How do we check the junit coverage for a particular class and > implementation in it? Where do I start looking for them and confirm if > they exist? > > > From: Mike Tutkowski > Sent: Monday, January 18, 2016 11:51 PM > To: dev@cloudstack.apache.org > Subject: Re: Help with JUnits > > Here's a video of a presentation I gave about Marvin (from CloudStack Days > in Austin last year): > > https://www.youtube.com/watch?v=N_eKBA_TeOs > > On Mon, Jan 18, 2016 at 9:49 PM, Mike Tutkowski < > mike.tutkow...@solidfire.com> wrote: > > > Does this help? > > > > > > > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Marvin+-+Testing+with+Python > > > > On Mon, Jan 18, 2016 at 8:56 PM, B Prakash wrote: > > > >> Hi, > >> > >> > >> Please can someone help me with identifying and amending junits for > >> UserVmManagerImpl.commitUserVm? I see a test class called > >> UserVmManagerTest but I dont see a good junits coverage here. Also > link in > >> the 'Developer > Testing > Unit testing with JUnit and Spring' doesnt > give > >> out lot of details on junits. > >> > >> 1. Am I looking at the right place for junits for the class > >> UserVmManagerImpl.commitUserVm? > >> 2. Is there any other link that provides more details on JUnits? > >> 3. Any document or resource explaing cloudstack JUnit implementation > >> in greater detail would be of great help. > >> 4. If I want to track junit of this class, how do I track and execute > >> them? > >> > >> > >> Regards, > >> > >> Prakash > >> > > > > > > > > -- > > *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>*™* > > > > > > -- > *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>*™* > -- *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>*™*
Re: Help with JUnits
Ok. I have extended rootdiskresize functionality for xenserver. It was an existing KVM implementation and I extended it to include xenserver. I was also hoping to reuse its junits but couldnt find. Please let me know if you are aware of any means of finding junits for UserVmManagerImpl.commitUserVm. If I am unable to trace this, I will write junits for this afresh. From: Mike Tutkowski Sent: Wednesday, January 20, 2016 12:38 AM To: dev@cloudstack.apache.org Subject: Re: Help with JUnits I'm not sure what CloudStack's test-coverage numbers look like (for either unit or integration), but I suspect we are quite well below 100% coverage. On Tue, Jan 19, 2016 at 10:34 PM, B Prakash wrote: > Yes it does, thanks. Next I am going through the code to identify a > pattern (like class name ending with TEST :-)) to identify junit code. I > am unable to zero in on few of the operations ie I am unable to find unit > test for this operation UserVmManagerImpl.commitUserVm. I am still > looking for it. Is the Junit coverage 100%? > > > From: Mike Tutkowski > Sent: Tuesday, January 19, 2016 3:01 AM > To: dev@cloudstack.apache.org > Subject: Re: Help with JUnits > > So, yeah, unit tests are written in Java while integration tests are > written in Python using Marvin...if that helps clarify things a bit more. > > On Tue, Jan 19, 2016 at 12:45 AM, B Prakash wrote: > > > Thanks Mike, I read through the link and also saw the video, this answers > > part of my question about executing the unit tests. The other part of > the > > questions still remains ie were are junits written in Java for this class > > and operation UserVmManagerImpl.commitUserVm. > > > > How do we check the junit coverage for a particular class and > > implementation in it? Where do I start looking for them and confirm if > > they exist? > > > > > > From: Mike Tutkowski > > Sent: Monday, January 18, 2016 11:51 PM > > To: dev@cloudstack.apache.org > > Subject: Re: Help with JUnits > > > > Here's a video of a presentation I gave about Marvin (from CloudStack > Days > > in Austin last year): > > > > https://www.youtube.com/watch?v=N_eKBA_TeOs > > > > On Mon, Jan 18, 2016 at 9:49 PM, Mike Tutkowski < > > mike.tutkow...@solidfire.com> wrote: > > > > > Does this help? > > > > > > > > > > > > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Marvin+-+Testing+with+Python > > > > > > On Mon, Jan 18, 2016 at 8:56 PM, B Prakash wrote: > > > > > >> Hi, > > >> > > >> > > >> Please can someone help me with identifying and amending junits > for > > >> UserVmManagerImpl.commitUserVm? I see a test class called > > >> UserVmManagerTest but I dont see a good junits coverage here. Also > > link in > > >> the 'Developer > Testing > Unit testing with JUnit and Spring' doesnt > > give > > >> out lot of details on junits. > > >> > > >> 1. Am I looking at the right place for junits for the class > > >> UserVmManagerImpl.commitUserVm? > > >> 2. Is there any other link that provides more details on JUnits? > > >> 3. Any document or resource explaing cloudstack JUnit > implementation > > >> in greater detail would be of great help. > > >> 4. If I want to track junit of this class, how do I track and > execute > > >> them? > > >> > > >> > > >> Regards, > > >> > > >> Prakash > > >> > > > > > > > > > > > > -- > > > *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>*™* > > > > > > > > > > > -- > > *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>*™* > > > > > > -- > *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>*™* > -- *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>*™*
Mentor
Hi, I am an experience Java EE professional (new to cloudstack though). I am interested in contributing to the development. As suggested in the newcomer section, I have been following the jira and the dev emails for a few days now, but I haven't been successful in identifying an opportunity to start. Please can someone help me identify/share a newcomer task/feature to implement? A good starting point perhaps. Thanks, B Prakash
Re: Mentor
Thanks Daan, Erik for your help, I really appreciate it! Also of these three tasks ie; 1. Refactoring massive blobs 2. Upgrading dependency 3. Root disk resize support for XenServer Do you have a priority of which one would be preferred first? I am glad to start with it first. Otherwise I will go in the order you shared it with me. Thanks, Prakash. From: Erik Weber Sent: Tuesday, October 27, 2015 3:42 AM To: dev Subject: Re: Mentor On Tue, Oct 27, 2015 at 7:57 AM, B Prakash wrote: > Hi, I am an experience Java EE professional (new to cloudstack though). > > >I am interested in contributing to the development. As suggested > in the newcomer section, I have been following the jira and the dev emails > for a few days now, but I haven't been successful in identifying an > opportunity to start. Please can someone help me identify/share a newcomer > task/feature to implement? A good starting point perhaps. > > Of you're looking for ideas of what you could do, I would really appreciate root disk resize support for XenServer :-) It was partially completed a long time ago (it might still exist on our old reviewboard somewhere), but never commited to master. -- Erik
Re: Mentor
Thanks Daan. Hi Erik, I am really eager to start work on 'Root disk resize support for XenServer', I am going through the preliminary setup documentation to keep everything ready. Would it please be possible to mentor me on this activity? Thanks, Prakash. From: Daan Hoogland Sent: Tuesday, October 27, 2015 5:28 PM To: dev Subject: Re: Mentor I think you will find most satisfaction with obliging Erik as it is a real user problem which is always more rewarding when done. The others are merely very good to get acquainted with the system. this is a volunteer job so if you don't have a boss telling you what is more important it is what you deem so. regards, On Tue, Oct 27, 2015 at 10:05 PM, B Prakash wrote: > Thanks Daan, Erik for your help, I really appreciate it! > > Also of these three tasks ie; > 1. Refactoring massive blobs > 2. Upgrading dependency > 3. Root disk resize support for XenServer > > Do you have a priority of which one would be preferred first? I am glad > to start with it first. Otherwise I will go in the order you shared it > with me. > > Thanks, > Prakash. > > > From: Erik Weber > Sent: Tuesday, October 27, 2015 3:42 AM > To: dev > Subject: Re: Mentor > > On Tue, Oct 27, 2015 at 7:57 AM, B Prakash wrote: > > > Hi, I am an experience Java EE professional (new to cloudstack though). > > > > > >I am interested in contributing to the development. As suggested > > in the newcomer section, I have been following the jira and the dev > emails > > for a few days now, but I haven't been successful in identifying an > > opportunity to start. Please can someone help me identify/share a > newcomer > > task/feature to implement? A good starting point perhaps. > > > > > Of you're looking for ideas of what you could do, I would really appreciate > root disk resize support for XenServer :-) > > > It was partially completed a long time ago (it might still exist on our old > reviewboard somewhere), but never commited to master. > > > -- > Erik > -- Daan
Re: Mentor
Sure Tim, thankyou. I dont know XenServer, I am looking forward to knowing it well while I work on this. Regards, Prakash. From: Tim Mackey Sent: Tuesday, October 27, 2015 7:05 PM To: dev@cloudstack.apache.org Subject: Re: Mentor Prakash, As you go through this, if you have questions related to how XenServer works, do feel free to ask me. Another good avenue is the xs-devel list on xenserver.org. On Oct 27, 2015 6:27 PM, "Erik Weber" wrote: > On Tue, Oct 27, 2015 at 10:34 PM, David Willard > wrote: > > > Hi B. Prakash, Daan, Erik, > > > > I have emailed many time requesting a mentor and still no responses. I > > have been following cloudstack for a few months. I am entry-level java > > completed a Java class as I have earned my bachelor in IT from > Northeastern > > University. I earned a 4.0 for the Java course. Even if I have to start > > troubleshooting code I am a quick learner and in a few months be able to > > code. I am a member of the OSI and my ultimate goal is to obtain a job in > > information security. > > > > > Hi David, > > I am sorry that your efforts to get into the community hasn't given the > wanted results yet. > > Coding CloudStack is beyond my skill set, so I can't really offer any > mentoring, but if you are looking for simple tasks to carry out to get more > familiar with the project I am sure we could come up with some issues for > you :-) > > Your first matter of business should be to get a CloudStack cloud up and > running so that you can test any changes you do. > This can be done on a single machine if needed. > > -- > Erik >
Build error
I am new to this and hence might be missing something, please could someone help me with this build error? I am having the latest build and getting the following error; 2015-10-29 23:37:07,435 INFO [utils.net.NetUtilsTest] (main:) IP is 1234:5678::c3d9:fa56:870:77a3 2015-10-29 23:37:07,560 ERROR [utils.net.NetUtils] (main:) Failed to convert a string to an IPv6 address java.lang.IllegalArgumentException: can not parse [] at com.googlecode.ipv6.IPv6Address.tryParseStringArrayIntoLongArray(IPv6Address.java:94) at com.googlecode.ipv6.IPv6Address.fromString(IPv6Address.java:80) at com.cloud.utils.net.NetUtils.countIp6InRange(NetUtils.java:1316) at com.cloud.utils.net.NetUtilsTest.testCountIp6InRangeWithNullStart(NetUtilsTest.java:152) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) I am using a windows 10 machine running on java 8, I tried build on both cygwin and eclipse, getting similar error (I know it no different but just to make sure till I get familiar). Complete build(mvn install) log, just in case this helps; [INFO] Scanning for projects... [INFO] [INFO] Reactor Build Order: [INFO] [INFO] Apache CloudStack Developer Tools - Checkstyle Configuration [INFO] Apache CloudStack [INFO] Apache CloudStack Maven Conventions Parent [INFO] Apache CloudStack Framework - Managed Context [INFO] Apache CloudStack Utils [INFO] Apache CloudStack Framework [INFO] Apache CloudStack Framework - Event Notification [INFO] Apache CloudStack Framework - Configuration [INFO] Apache CloudStack API [INFO] Apache CloudStack Framework - REST [INFO] Apache CloudStack Framework - IPC [INFO] Apache CloudStack Cloud Engine [INFO] Apache CloudStack Cloud Engine API [INFO] Apache CloudStack Framework - Security [INFO] Apache CloudStack Core [INFO] Apache CloudStack Agents [INFO] Apache CloudStack Framework - Clustering [INFO] Apache CloudStack Framework - Event Notification [INFO] Apache CloudStack Cloud Engine Schema Component [INFO] Apache CloudStack Framework - Jobs [INFO] Apache CloudStack Cloud Engine Internal Components API [INFO] Apache CloudStack Server [INFO] Apache CloudStack Usage Server [INFO] Apache CloudStack Cloud Engine Orchestration Component [INFO] Apache CloudStack Cloud Services [INFO] Apache CloudStack Secondary Storage [INFO] Apache CloudStack Secondary Storage Service [INFO] Apache CloudStack Engine Storage Component [INFO] Apache CloudStack Engine Storage Volume Component [INFO] Apache CloudStack Engine Storage Image Component [INFO] Apache CloudStack Engine Storage Data Motion Component [INFO] Apache CloudStack Engine Storage Cache Component [INFO] Apache CloudStack Engine Storage Snapshot Component [INFO] Apache CloudStack Cloud Engine API [INFO] Apache CloudStack Cloud Engine Service [INFO] Apache CloudStack Plugin POM [INFO] Apache CloudStack Plugin - API Rate Limit [INFO] Apache CloudStack Plugin - Storage Volume default provider [INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider [INFO] Apache CloudStack Plugin - API SolidFire [INFO] Apache CloudStack Plugin - API Discovery [INFO] Apache CloudStack Plugin - ACL Static Role Based [INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor [INFO] Apache CloudStack Plugin - Explicit Dedication Processor [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner [INFO] Apache CloudStack Plugin - Implicit Dedication Planner [INFO] Apache CloudStack Plugin - Skip Heurestics Planner [INFO] Apache CloudStack Plugin - Host Allocator Random [INFO] Apache CloudStack Plugin - Dedicated Resources [INFO] Apache CloudStack Plugin - Hypervisor OracleVM [INFO] Apache CloudStack Plugin - Open vSwitch [INFO] Apache CloudStack Plugin - Hypervisor XenServer [INFO] Apache CloudStack Plugin - Hypervisor KVM [INFO] Apache CloudStack Plugin - RabbitMQ Event Bus [INFO] Apache CloudStack Plugin - In Memory Event Bus [INFO] Apache CloudStack Plugin - Kafka Event Bus [INFO] Apache CloudStack Plugin - Hypervisor Baremetal [INFO] Apache CloudStack Plugin - Hypervisor UCS [INFO] Apache CloudStack Plugin - Hypervisor Hyper-V [INFO] Apache CloudStack Plugin - Hypervisor OracleVM3 [INFO] Apache CloudStack Plugin - Network Elastic Load Balancer [INFO] Apache CloudStack Plugin - Network Internal Load Balancer [INFO] Apache CloudStack Framework - Spring Life Cycle [INFO] Apache CloudStack Plugin - Network Juniper Contrail [INFO] Apache CloudStack Plugin - Palo Alto [INFO] Apache CloudStack Plugin - Network Netscaler [INFO] Apache CloudStack Plugin - Network Nicira NVP [INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment [INFO] Apache CloudStack Plugin - Network Brocade VCS [INFO] Apache CloudStack Plugin - Midokura Midonet [INFO] Apache CloudStack Plugin - Stratosphere SSP [INFO] Apache CloudS
Re: Build error
This is breaking my build, is there a work around for this? From: Remi Bergsma Sent: Friday, October 30, 2015 4:00 AM To: dev@cloudstack.apache.org; Wido den Hollander Subject: Re: Build error Please propose it as a new PR and we will include it soon. Easy enough to review, like last time. On 30/10/15 08:34, "Daan Hoogland" wrote: >@wido, is this one due to the temp dir path on windows thing as well? > >On Fri, Oct 30, 2015 at 7:55 AM, B Prakash wrote: > >> I am new to this and hence might be missing something, please could >> someone help me with this build error? I am having the latest build and >> getting the following error; >> >> >> 2015-10-29 23:37:07,435 INFO [utils.net.NetUtilsTest] (main:) IP is >> 1234:5678::c3d9:fa56:870:77a3 >> 2015-10-29 23:37:07,560 ERROR [utils.net.NetUtils] (main:) Failed to >> convert a string to an IPv6 address >> java.lang.IllegalArgumentException: can not parse [] >> at >> com.googlecode.ipv6.IPv6Address.tryParseStringArrayIntoLongArray(IPv6Address.java:94) >> at com.googlecode.ipv6.IPv6Address.fromString(IPv6Address.java:80) >> at com.cloud.utils.net.NetUtils.countIp6InRange(NetUtils.java:1316) >> at >> com.cloud.utils.net.NetUtilsTest.testCountIp6InRangeWithNullStart(NetUtilsTest.java:152) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >> >> >> I am using a windows 10 machine running on java 8, I tried build on both >> cygwin and eclipse, getting similar error (I know it no different but just >> to make sure till I get familiar). Complete build(mvn install) log, just >> in case this helps; >> >> >> [INFO] Scanning for projects... >> [INFO] >> >> [INFO] Reactor Build Order: >> [INFO] >> [INFO] Apache CloudStack Developer Tools - Checkstyle Configuration >> [INFO] Apache CloudStack >> [INFO] Apache CloudStack Maven Conventions Parent >> [INFO] Apache CloudStack Framework - Managed Context >> [INFO] Apache CloudStack Utils >> [INFO] Apache CloudStack Framework >> [INFO] Apache CloudStack Framework - Event Notification >> [INFO] Apache CloudStack Framework - Configuration >> [INFO] Apache CloudStack API >> [INFO] Apache CloudStack Framework - REST >> [INFO] Apache CloudStack Framework - IPC >> [INFO] Apache CloudStack Cloud Engine >> [INFO] Apache CloudStack Cloud Engine API >> [INFO] Apache CloudStack Framework - Security >> [INFO] Apache CloudStack Core >> [INFO] Apache CloudStack Agents >> [INFO] Apache CloudStack Framework - Clustering >> [INFO] Apache CloudStack Framework - Event Notification >> [INFO] Apache CloudStack Cloud Engine Schema Component >> [INFO] Apache CloudStack Framework - Jobs >> [INFO] Apache CloudStack Cloud Engine Internal Components API >> [INFO] Apache CloudStack Server >> [INFO] Apache CloudStack Usage Server >> [INFO] Apache CloudStack Cloud Engine Orchestration Component >> [INFO] Apache CloudStack Cloud Services >> [INFO] Apache CloudStack Secondary Storage >> [INFO] Apache CloudStack Secondary Storage Service >> [INFO] Apache CloudStack Engine Storage Component >> [INFO] Apache CloudStack Engine Storage Volume Component >> [INFO] Apache CloudStack Engine Storage Image Component >> [INFO] Apache CloudStack Engine Storage Data Motion Component >> [INFO] Apache CloudStack Engine Storage Cache Component >> [INFO] Apache CloudStack Engine Storage Snapshot Component >> [INFO] Apache CloudStack Cloud Engine API >> [INFO] Apache CloudStack Cloud Engine Service >> [INFO] Apache CloudStack Plugin POM >> [INFO] Apache CloudStack Plugin - API Rate Limit >> [INFO] Apache CloudStack Plugin - Storage Volume default provider >> [INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider >> [INFO] Apache CloudStack Plugin - API SolidFire >> [INFO] Apache CloudStack Plugin - API Discovery >> [INFO] Apache CloudStack Plugin - ACL Static Role Based >> [INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor >> [INFO] Apache CloudStack Plugin - Explicit Dedication Processor >> [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner >> [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner >> [INFO] Apache CloudStack Plugin - Implicit Dedication Planner >> [INFO] Apache CloudStack Plugin - Skip Heurestics Planner >> [INFO] Apache CloudStack Plugin - Host Allocator Random >> [INFO] A
"Unable to add the host" error, CS host XS
Issue while adding XS host, I get this "Unable to add the host" in the UI. I am have pool and pool master configured, XS is with local storage, CS logs is as follows, am I missing something? WARN [c.c.a.d.ParamGenericValidationWorker] (615054626@qtp-36819918-8:ctx-1a6ba54a ctx-73611d66) Received unknown parameters for command addHost. Unknown parameters : clustertype INFO [c.c.r.ResourceManagerImpl] (615054626@qtp-36819918-8:ctx-1a6ba54a ctx-73611d66) Trying to add a new host at http://192.168.0.19 in data center 1 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-9eb87638) Begin cleanup expired async-jobs INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-9eb87638) End cleanup expired async-jobs WARN [c.c.r.ResourceManagerImpl] (615054626@qtp-36819918-8:ctx-1a6ba54a ctx-73611d66) Unable to find the server resources at http://192.168.0.19 INFO [c.c.u.e.CSExceptionErrorCode] (615054626@qtp-36819918-8:ctx-1a6ba54a ctx-73611d66) Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions WARN [o.a.c.a.c.a.h.AddHostCmd] (615054626@qtp-36819918-8:ctx-1a6ba54a ctx-73611d66) Exception: com.cloud.exception.DiscoveryException: Unable to add the host at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:804)
Re: "Unable to add the host" error, CS host XS
Thanks Mike. I have added the host to its resource pool with the same host as pool master. I am able to ping XS host and the machine running CS. But when I try to configuring the XS host in CS, it doesnt identify the host ip. Thanks, Prakash. From: Mike Tutkowski Sent: Tuesday, November 10, 2015 8:34 PM To: dev@cloudstack.apache.org Subject: Re: "Unable to add the host" error, CS host XS In more recent versions of CloudStack, you have to add the XenServer host to its Resource Pool before adding it to its CloudStack cluster. Were you trying to do it that way? On Tue, Nov 10, 2015 at 6:23 PM, B Prakash wrote: > Issue while adding XS host, I get this "Unable to add the host" in the > UI. I am have pool and pool master configured, XS is with local storage, > CS logs is as follows, am I missing something? > > > WARN [c.c.a.d.ParamGenericValidationWorker] > (615054626@qtp-36819918-8:ctx-1a6ba54a > ctx-73611d66) Received unknown parameters for command addHost. Unknown > parameters : clustertype > INFO [c.c.r.ResourceManagerImpl] (615054626@qtp-36819918-8:ctx-1a6ba54a > ctx-73611d66) Trying to add a new host at http://192.168.0.19 in data > center 1 > INFO [o.a.c.f.j.i.AsyncJobManagerImpl] > (AsyncJobMgr-Heartbeat-1:ctx-9eb87638) Begin cleanup expired async-jobs > INFO [o.a.c.f.j.i.AsyncJobManagerImpl] > (AsyncJobMgr-Heartbeat-1:ctx-9eb87638) End cleanup expired async-jobs > WARN [c.c.r.ResourceManagerImpl] (615054626@qtp-36819918-8:ctx-1a6ba54a > ctx-73611d66) Unable to find the server resources at http://192.168.0.19 > INFO [c.c.u.e.CSExceptionErrorCode] (615054626@qtp-36819918-8:ctx-1a6ba54a > ctx-73611d66) Could not find exception: > com.cloud.exception.DiscoveryException in error code list for exceptions > WARN [o.a.c.a.c.a.h.AddHostCmd] (615054626@qtp-36819918-8:ctx-1a6ba54a > ctx-73611d66) Exception: > com.cloud.exception.DiscoveryException: Unable to add the host > at > com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:804) > > > -- *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>*™*
Re: "Unable to add the host" error, CS host XS
I am running XS 6.5 and CS 4.6. XS is on virtualbox. CS 4.6 is built/run on windows 10. From: Mike Tutkowski Sent: Tuesday, November 10, 2015 9:14 PM To: dev@cloudstack.apache.org Subject: Re: "Unable to add the host" error, CS host XS Which versions of XS and CloudStack are you running? On Tue, Nov 10, 2015 at 7:00 PM, B Prakash wrote: > Thanks Mike. I have added the host to its resource pool with the same > host as pool master. I am able to ping XS host and the machine running > CS. But when I try to configuring the XS host in CS, it doesnt identify > the host ip. > Thanks, > Prakash. > > From: Mike Tutkowski > Sent: Tuesday, November 10, 2015 8:34 PM > To: dev@cloudstack.apache.org > Subject: Re: "Unable to add the host" error, CS host XS > > In more recent versions of CloudStack, you have to add the XenServer host > to its Resource Pool before adding it to its CloudStack cluster. Were you > trying to do it that way? > > On Tue, Nov 10, 2015 at 6:23 PM, B Prakash wrote: > > > Issue while adding XS host, I get this "Unable to add the host" in the > > UI. I am have pool and pool master configured, XS is with local storage, > > CS logs is as follows, am I missing something? > > > > > > WARN [c.c.a.d.ParamGenericValidationWorker] (615054626@qtp-36819918-8 > :ctx-1a6ba54a > > ctx-73611d66) Received unknown parameters for command addHost. Unknown > > parameters : clustertype > > INFO [c.c.r.ResourceManagerImpl] (615054626@qtp-36819918-8:ctx-1a6ba54a > > ctx-73611d66) Trying to add a new host at http://192.168.0.19 in data > > center 1 > > INFO [o.a.c.f.j.i.AsyncJobManagerImpl] > > (AsyncJobMgr-Heartbeat-1:ctx-9eb87638) Begin cleanup expired async-jobs > > INFO [o.a.c.f.j.i.AsyncJobManagerImpl] > > (AsyncJobMgr-Heartbeat-1:ctx-9eb87638) End cleanup expired async-jobs > > WARN [c.c.r.ResourceManagerImpl] (615054626@qtp-36819918-8:ctx-1a6ba54a > > ctx-73611d66) Unable to find the server resources at http://192.168.0.19 > > INFO [c.c.u.e.CSExceptionErrorCode] (615054626@qtp-36819918-8 > :ctx-1a6ba54a > > ctx-73611d66) Could not find exception: > > com.cloud.exception.DiscoveryException in error code list for exceptions > > WARN [o.a.c.a.c.a.h.AddHostCmd] (615054626@qtp-36819918-8:ctx-1a6ba54a > > ctx-73611d66) Exception: > > com.cloud.exception.DiscoveryException: Unable to add the host > > at > > > com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:804) > > > > > > > > > -- > *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>*™* -- *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>*™*
Re: "Unable to add the host" error, CS host XS
I am adding this host to cluster in basic zone. I had bridge adapter for network, I also ran this command. My CS still doesnt identify XS host ip. From: Mike Tutkowski Sent: Tuesday, November 10, 2015 9:39 PM To: dev@cloudstack.apache.org Subject: Re: "Unable to add the host" error, CS host XS Are you adding this host to a cluster in a basic zone? If so, have you run this command on your XS host? xe-switch-network-backend bridge On Tue, Nov 10, 2015 at 7:22 PM, B Prakash wrote: > I am running XS 6.5 and CS 4.6. XS is on virtualbox. CS 4.6 is built/run > on windows 10. > > > From: Mike Tutkowski > Sent: Tuesday, November 10, 2015 9:14 PM > To: dev@cloudstack.apache.org > Subject: Re: "Unable to add the host" error, CS host XS > > Which versions of XS and CloudStack are you running? > > On Tue, Nov 10, 2015 at 7:00 PM, B Prakash wrote: > > > Thanks Mike. I have added the host to its resource pool with the same > > host as pool master. I am able to ping XS host and the machine running > > CS. But when I try to configuring the XS host in CS, it doesnt identify > > the host ip. > > Thanks, > > Prakash. > > > > From: Mike Tutkowski > > Sent: Tuesday, November 10, 2015 8:34 PM > > To: dev@cloudstack.apache.org > > Subject: Re: "Unable to add the host" error, CS host XS > > > > In more recent versions of CloudStack, you have to add the XenServer host > > to its Resource Pool before adding it to its CloudStack cluster. Were you > > trying to do it that way? > > > > On Tue, Nov 10, 2015 at 6:23 PM, B Prakash wrote: > > > > > Issue while adding XS host, I get this "Unable to add the host" in the > > > UI. I am have pool and pool master configured, XS is with local > storage, > > > CS logs is as follows, am I missing something? > > > > > > > > > WARN [c.c.a.d.ParamGenericValidationWorker] (615054626@qtp-36819918-8 > > :ctx-1a6ba54a > > > ctx-73611d66) Received unknown parameters for command addHost. Unknown > > > parameters : clustertype > > > INFO [c.c.r.ResourceManagerImpl] (615054626@qtp-36819918-8 > :ctx-1a6ba54a > > > ctx-73611d66) Trying to add a new host at http://192.168.0.19 in data > > > center 1 > > > INFO [o.a.c.f.j.i.AsyncJobManagerImpl] > > > (AsyncJobMgr-Heartbeat-1:ctx-9eb87638) Begin cleanup expired async-jobs > > > INFO [o.a.c.f.j.i.AsyncJobManagerImpl] > > > (AsyncJobMgr-Heartbeat-1:ctx-9eb87638) End cleanup expired async-jobs > > > WARN [c.c.r.ResourceManagerImpl] (615054626@qtp-36819918-8 > :ctx-1a6ba54a > > > ctx-73611d66) Unable to find the server resources at > http://192.168.0.19 > > > INFO [c.c.u.e.CSExceptionErrorCode] (615054626@qtp-36819918-8 > > :ctx-1a6ba54a > > > ctx-73611d66) Could not find exception: > > > com.cloud.exception.DiscoveryException in error code list for > exceptions > > > WARN [o.a.c.a.c.a.h.AddHostCmd] (615054626@qtp-36819918-8 > :ctx-1a6ba54a > > > ctx-73611d66) Exception: > > > com.cloud.exception.DiscoveryException: Unable to add the host > > > at > > > > > > com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:804) > > > > > > > > > > > > > > > -- > > *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>*™* > > > > > -- > *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>*™* > -- *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>*™*
Re: "Unable to add the host" error, CS host XS
aultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:124) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:91) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) 2015-11-10 19:13:00,419 INFO [c.c.a.ApiServer] (1034892751@qtp-1967400458-7:ctx-23ec1109 ctx-beece821) Unable to add the host 2015-11-10 19:13:00,422 DEBUG [c.c.a.ApiServlet] (1034892751@qtp-1967400458-7:ctx-23ec1109 ctx-beece821) ===END=== 0:0:0:0:0:0:0:1 -- POST command=addHost&response=json From: Mike Tutkowski Sent: Tuesday, November 10, 2015 10:24 PM To: dev@cloudstack.apache.org Subject: Re: "Unable to add the host" error, CS host XS Are there several exceptions printed out in vmops.log or just the one you posted in your original e-mail? On Tue, Nov 10, 2015 at 8:15 PM, B Prakash wrote: > I am adding this host to cluster in basic zone. I had bridge adapter for > network, I also ran this command. My CS still doesnt identify XS host ip. > > From: Mike Tutkowski > Sent: Tuesday, November 10, 2015 9:39 PM > To: dev@cloudstack.apache.org > Subject: Re: "Unable to add the host" error, CS host XS > > Are you adding this host to a cluster in a basic zone? If so, have you run > this command on your XS host? xe-switch-network-backend bridge > > On Tue, Nov 10, 2015 at 7:22 PM, B Prakash wrote: > > > I am running XS 6.5 and CS 4.6. XS is on virtualbox. CS 4.6 is > built/run > > on windows 10. > > > > > > From: Mike Tutkowski > > Sent: Tuesday, November 10, 2015 9:14 PM > > To: dev@cloudstack.apache.org > > Subject: Re: "Unable to add the host" error, CS host XS > > > > Which versions of XS and CloudStack are you running? > > > > On Tue, Nov 10, 2015 at 7:00 PM, B Prakash wrote: > > > > > Thanks Mike. I have added the host to its resource pool with the same > > > host as pool master. I am able to ping XS host and the machine running > > > CS. But when I try to configuring the XS host in CS, it doesnt > identify > > > the host ip. > > > Thanks, > > > Prakash. > > > > > > From: Mike Tutkowski > > > Sent: Tuesday, November 10, 2015 8:34 PM > > > To: dev@cloudstack.apache.org > > > Subject: Re: "Unable to add the host" error, CS host XS > > > > > > In more recent versions of CloudStack, you have to add the XenServer > host > > > to its Resource Pool before adding it to its CloudStack cluster. Were > you > > > trying to do it that way? > > > > > > On Tue, Nov 10, 2015 at 6:23 PM, B Prakash wrote: > > > > > > > Issue while adding XS host, I get this "Unable to add the host" in > the > > > > UI. I am have pool and pool master configured, XS is with local > > storage, > > > > CS logs is as follows, am I missing something? > > > > > > > > > > > > WARN [c.c.a.d.ParamGen
Re: "Unable to add the host" error, CS host XS
Thanks Mike, Remi. Cluster was up. I followed your instructions and got it working!! three changes 1. changing network configuration to bridge and 2.increasing the xenserver heatbeat timeout 3.global settings for secstorage.allowed.internal.sites and system.vm.use.local.storage... got the setup working. Thanks againg! I really appreciate your patience and help. - Prakash. From: Remi Bergsma Sent: Wednesday, November 11, 2015 12:38 AM To: dev@cloudstack.apache.org Subject: Re: "Unable to add the host" error, CS host XS Make sure management server can talk to the xenserver (xapi) over port 443 (firewalls?). Right now it says it cannot due to a timeout: Failed to read server's response: connect timed out @mike From the logs this seems the first host to be added to this zone. Sent from my iPhone > On 11 Nov 2015, at 04:36, B Prakash wrote: > > There are two more exceptions printed in vmops.log as follows; > > 2015-11-10 19:12:55,075 DEBUG [c.c.a.ApiServlet] > (1034892751@qtp-1967400458-7:ctx-23ec1109) ===START=== 0:0:0:0:0:0:0:1 -- > POST command=addHost&response=json > 2015-11-10 19:12:55,124 WARN [c.c.a.d.ParamGenericValidationWorker] > (1034892751@qtp-1967400458-7:ctx-23ec1109 ctx-beece821) Received unknown > parameters for command addHost. Unknown parameters : clustertype > 2015-11-10 19:12:55,160 INFO [c.c.r.ResourceManagerImpl] > (1034892751@qtp-1967400458-7:ctx-23ec1109 ctx-beece821) Trying to add a new > host at http://192.168.0.19 in data center 1 > 2015-11-10 19:12:56,041 DEBUG [c.c.c.ConsoleProxyManagerImpl] > (consoleproxy-1:ctx-620ccc56) Skip capacity scan as there is no Primary > Storage in 'Up' state > 2015-11-10 19:12:56,436 DEBUG [o.a.c.s.SecondaryStorageManagerImpl] > (secstorage-1:ctx-8341054e) Zone 1 is not ready to launch secondary storage > VM yet > 2015-11-10 19:12:57,366 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-c19ba5d9) Resetting hosts suitable for reconnect > 2015-11-10 19:12:57,370 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-c19ba5d9) Completed resetting hosts suitable for reconnect > 2015-11-10 19:12:57,370 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-c19ba5d9) Acquiring hosts for clusters already owned by this > management server > 2015-11-10 19:12:57,372 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-c19ba5d9) Completed acquiring hosts for clusters already owned by > this management server > 2015-11-10 19:12:57,372 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-c19ba5d9) Acquiring hosts for clusters not owned by any management > server > 2015-11-10 19:12:57,373 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-c19ba5d9) Completed acquiring hosts for clusters not owned by any > management server > 2015-11-10 19:13:00,405 DEBUG [c.c.h.x.r.XenServerConnectionPool] > (1034892751@qtp-1967400458-7:ctx-23ec1109 ctx-beece821) Unable to create > master connection to host(192.168.0.19) , due to > org.apache.xmlrpc.XmlRpcException: Failed to read server's response: connect > timed out > 2015-11-10 19:13:00,406 DEBUG [c.c.h.x.d.XcpServerDiscoverer] > (1034892751@qtp-1967400458-7:ctx-23ec1109 ctx-beece821) other exceptions: > com.cloud.utils.exception.CloudRuntimeException: Unable to create master > connection to host(192.168.0.19) , due to org.apache.xmlrpc.XmlRpcException: > Failed to read server's response: connect timed out > com.cloud.utils.exception.CloudRuntimeException: Unable to create master > connection to host(192.168.0.19) , due to org.apache.xmlrpc.XmlRpcException: > Failed to read server's response: connect timed out >at > com.cloud.hypervisor.xenserver.resource.XenServerConnectionPool.getConnect(XenServerConnectionPool.java:168) >at > com.cloud.hypervisor.xenserver.discoverer.XcpServerDiscoverer.find(XcpServerDiscoverer.java:217) >at > com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:748) >at > com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:599) >at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >at java.lang.reflect.Method.invoke(Method.java:497) >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.ReflectiveMethodInvoca
SR_BACKEND_FAILURE_61File SR creation error [opterr=fail to mount FileSR. Errno is 32]
Please can someone help me with this? I am trying to setup NFS secondary storage on ACS 4.6 hosted on Ubuntu 14.04 with host XS 6.5. NFS mount and its access is working fine on both the servers, but when I try to set up a secondary storage, I get this exception; 2015-11-19 13:24:00,841 WARN [c.c.h.x.r.XenServerStorageProcessor] (DirectAgent-62:ctx-c53368c0) createFileSR failed! due to the following: SR_BACKEND_FAILURE_61File SR creation error [opterr=fail to mount FileSR. Errno is 32] SR_BACKEND_FAILURE_61File SR creation error [opterr=fail to mount FileSR. Errno is 32] at com.xensource.xenapi.Types.checkResponse(Types.java:2021) at com.xensource.xenapi.Connection.dispatch(Connection.java:395) at com.cloud.hypervisor.xenserver.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:457) at com.xensource.xenapi.PBD.plug(PBD.java:457) at com.cloud.hypervisor.xenserver.resource.Xenserver625StorageProcessor.createFileSR(Xenserver625StorageProcessor.java:129) at com.cloud.hypervisor.xenserver.resource.Xenserver625StorageProcessor.createFileSr(Xenserver625StorageProcessor.java:162) at com.cloud.hypervisor.xenserver.resource.Xenserver625StorageProcessor.copyTemplateToPrimaryStorage(Xenserver625StorageProcessor.java:196) at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:82) at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:54) at com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStorageSubSystemCommandWrapper.execute(CitrixStorageSubSystemCommandWrapper.java:36) at com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStorageSubSystemCommandWrapper.execute(CitrixStorageSubSystemCommandWrapper.java:30) at com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixRequestWrapper.execute(CitrixRequestWrapper.java:122) at com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:1676) at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:302) 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)
Re: SR_BACKEND_FAILURE_61File SR creation error [opterr=fail to mount FileSR. Errno is 32]
ount FileSR. Errno is 32] From: Abhinandan Prateek Sent: Thursday, November 19, 2015 11:20 PM To: dev@cloudstack.apache.org Subject: Re: SR_BACKEND_FAILURE_61File SR creation error [opterr=fail to mount FileSR. Errno is 32] The error signifies that the creation of file storage repository failed on xenserver, check that the nfs can be mounted and is writable. The log file mentioned by Jayapal will give you further clues to the problem. Regards, Abhinandan Prateek M: +91 9701199011 abhinandan.prat...@shapeblue.com On 20/11/15, 9:30 AM, "Jayapal Reddy Uradi" wrote: >Hi Prakash, > >Can you also check the xenserver logs at /var/log/SMLog when this error is >coming. > >Thanks, >Jayapal >> On 20-Nov-2015, at 9:23 am, B Prakash wrote: >> >> Please can someone help me with this? I am trying to setup NFS secondary >> storage on ACS 4.6 hosted on Ubuntu 14.04 with host XS 6.5. >> >> >> NFS mount and its access is working fine on both the servers, but when I try >> to set up a secondary storage, I get this exception; >> >> >> 2015-11-19 13:24:00,841 WARN [c.c.h.x.r.XenServerStorageProcessor] >> (DirectAgent-62:ctx-c53368c0) createFileSR failed! due to the following: >> SR_BACKEND_FAILURE_61File SR creation error [opterr=fail to mount FileSR. >> Errno is 32] >> SR_BACKEND_FAILURE_61File SR creation error [opterr=fail to mount FileSR. >> Errno is 32] >> at com.xensource.xenapi.Types.checkResponse(Types.java:2021) >> at com.xensource.xenapi.Connection.dispatch(Connection.java:395) >> at >> com.cloud.hypervisor.xenserver.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:457) >> at com.xensource.xenapi.PBD.plug(PBD.java:457) >> at >> com.cloud.hypervisor.xenserver.resource.Xenserver625StorageProcessor.createFileSR(Xenserver625StorageProcessor.java:129) >> at >> com.cloud.hypervisor.xenserver.resource.Xenserver625StorageProcessor.createFileSr(Xenserver625StorageProcessor.java:162) >> at >> com.cloud.hypervisor.xenserver.resource.Xenserver625StorageProcessor.copyTemplateToPrimaryStorage(Xenserver625StorageProcessor.java:196) >> at >> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:82) >> at >> com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:54) >> at >> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStorageSubSystemCommandWrapper.execute(CitrixStorageSubSystemCommandWrapper.java:36) >> at >> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixStorageSubSystemCommandWrapper.execute(CitrixStorageSubSystemCommandWrapper.java:30) >> at >> com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixRequestWrapper.execute(CitrixRequestWrapper.java:122) >> at >> com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:1676) >> at >> com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:302) >> 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) >> >> > Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> CloudStack Consulting<http://shapeblue.com/cloudstack-consulta
Re: SR_BACKEND_FAILURE_61File SR creation error [opterr=fail to mount FileSR. Errno is 32]
Thanks Devdeep, I had missed seeding secondary storage, it is working fine after doing the same. regards, Prakash From: Devdeep Sent: Saturday, November 21, 2015 3:22 AM To: dev@cloudstack.apache.org Subject: Re: SR_BACKEND_FAILURE_61File SR creation error [opterr=fail to mount FileSR. Errno is 32] Have you seeded the secondary storage with the default systemvm template? Regards, Devdeep On Sat, Nov 21, 2015 at 8:33 AM, B Prakash wrote: > Thanks Jayapal, Abhinandan. > > log SMlog doesnt giveout much, I am able to mount and edit file on mount > from both server and agent. I get the same error as follows (timestamp is > different because I tried it again), is there anything else I am missing?: > > Nov 20 16:22:01 agent SM: [5432] ['mount', '--bind', > '/var/cloud_mount/b61521bd-ad7b-3e95-91e8-00762b28aeeb/template/tmpl/1/1', > '/var/run/sr-mount/e18ee8da-a45d-46b8-b361-ec50e9ddcb22'] > Nov 20 16:22:01 agent SM: [5432] FAILED in util.pread: (rc 32) stdout: '', > stderr: 'mount: special device > /var/cloud_mount/b61521bd-ad7b-3e95-91e8-00762b28aeeb/template/tmpl/1/1 > does not exist > Nov 20 16:22:01 agent SM: [5432] ' > Nov 20 16:22:02 agent SM: [5432] Raising exception [61, File SR creation > error [opterr=fail to mount FileSR. Errno is 32]] > Nov 20 16:22:02 agent SM: [5432] lock: released > /var/lock/sm/e18ee8da-a45d-46b8-b361-ec50e9ddcb22/sr > Nov 20 16:22:02 agent SM: [5432] * generic exception: sr_attach: > EXCEPTION SR.SROSError, File SR creation error [opterr=fail to mount > FileSR. Errno is 32] > Nov 20 16:22:02 agent SM: [5432] File "/opt/xensource/sm/SRCommand.py", > line 110, in run > Nov 20 16:22:02 agent SM: [5432] return self._run_locked(sr) > Nov 20 16:22:02 agent SM: [5432] File "/opt/xensource/sm/SRCommand.py", > line 159, in _run_locked > Nov 20 16:22:02 agent SM: [5432] rv = self._run(sr, target) > Nov 20 16:22:02 agent SM: [5432] File "/opt/xensource/sm/SRCommand.py", > line 322, in _run > Nov 20 16:22:02 agent SM: [5432] return > sr.attach(self.params['sr_uuid']) > Nov 20 16:22:02 agent SM: [5432] File "/opt/xensource/sm/FileSR", line > 164, in attach > Nov 20 16:22:02 agent SM: [5432] opterr='fail to mount FileSR. Errno > is %s' % inst.code) > Nov 20 16:22:02 agent SM: [5432] File "/opt/xensource/sm/xs_errors.py", > line 52, in __init__ > Nov 20 16:22:02 agent SM: [5432] raise SR.SROSError(errorcode, > errormessage) > Nov 20 16:22:02 agent SM: [5432] > Nov 20 16:22:02 agent SM: [5432] lock: closed > /var/lock/sm/e18ee8da-a45d-46b8-b361-ec50e9ddcb22/sr > Nov 20 16:22:30 agent SM: [5587] lock: opening lock file > /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/sr > Nov 20 16:22:30 agent SM: [5587] lock: acquired > /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/sr > Nov 20 16:22:30 agent SM: [5587] sr_attach {'sr_uuid': > '485be965-9bcd-4e76-8fa8-5881f0203645', 'subtask_of': > 'DummyRef:|fd400425-8c78-85c2-949c-230c0c39e03f|SR.attach', 'args': [], > 'host_ref': 'OpaqueRef:274f3e03-3513-61a8-40de-5b1ece53c1d7', > 'session_ref': 'OpaqueRef:5706f0b6-0fcb-7c5c-defa-36e537655059', > 'device_config': {'SRmaster': 'true', 'location': > '/var/cloud_mount/b61521bd-ad7b-3e95-91e8-00762b28aeeb/template/tmpl/1/1'}, > 'command': 'sr_attach', 'sr_ref': > 'OpaqueRef:5906daec-9b86-5fa3-58bc-e95969b77a4d'} > Nov 20 16:22:30 agent SM: [5587] lock: opening lock file > /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/running > Nov 20 16:22:30 agent SM: [5587] lock: opening lock file > /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/sr > Nov 20 16:22:30 agent SM: [5587] lock: acquired > /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/running > Nov 20 16:22:30 agent SM: [5587] lock: acquired > /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/sr > Nov 20 16:22:30 agent SM: [5587] RESET for SR > 485be965-9bcd-4e76-8fa8-5881f0203645 (master: True) > Nov 20 16:22:30 agent SM: [5587] lock: released > /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/sr > Nov 20 16:22:30 agent SM: [5587] lock: released > /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/running > Nov 20 16:22:30 agent SM: [5587] lock: closed > /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/sr > Nov 20 16:22:30 agent SM: [5587] lock: closed > /var/lock/sm/485be965-9bcd-4e76-8fa8-5881f0203645/running > Nov 20 16:22:30 agent SM: [5587] set_dirty > 'OpaqueRef:5906daec-9b86-5fa3-58bc-e95969b77a4d' succeeded > Nov 20 16:22
Compilation error "Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed"
Hi, I am unable to compile latest source due to the following error, please can someone help me with this? [ERROR] Failed to execute goal com.mycila:license-maven-plugin:2.11:check (cloudstack-checklicence) on project cloud-plugin-network-nvp: Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed: Plugin com.mycila:license-maven-plugin:2.11 or one of its dependencies could not be resolved: Could not transfer artifact javax.enterprise:cdi-api:jar:1.0 from/to central (https://repo.maven.apache.org/maven2): Connection timed out -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command Thanks and regards, B Prakash
Re: Compilation error "Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed"
Hi Rohit, thank you! I am using the main master branch. I have all the latest files. I am having this problem only since last few weeks, earlier my build was running fine.I tried this and I still have the same problem. I will will install nonoss deps and try again, meanwhile, following is the build error I have now; Downloaded: https://repo.maven.apache.org/maven2/org/apache/xmlrpc/xmlrpc-client/3.1.3/xmlrpc-client-3.1.3.jar (58 KB at 681.0 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/apache/xmlrpc/xmlrpc-common/3.1.3/xmlrpc-common-3.1.3.jar (107 KB at 1005.4 KB/sec) Aug 22, 2016 9:15:13 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Connection timed out Aug 22, 2016 9:15:13 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: Retrying request to {s}->https://repo.maven.apache.org:443 Aug 22, 2016 9:15:21 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Connection timed out Aug 22, 2016 9:15:21 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: Retrying request to {s}->https://repo.maven.apache.org:443 Aug 22, 2016 9:30:55 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: No route to host Aug 22, 2016 9:30:55 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: Retrying request to {s}->https://repo.maven.apache.org:443 Aug 22, 2016 9:31:06 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: No route to host Aug 22, 2016 9:31:06 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: Retrying request to {s}->https://repo.maven.apache.org:443 Downloaded: https://repo.maven.apache.org/maven2/org/apache/ws/commons/util/ws-commons-util/1.0.2/ws-commons-util-1.0.2.jar (34 KB at 0.0 KB/sec) Aug 22, 2016 9:46:47 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Connection timed out Aug 22, 2016 9:46:47 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: Retrying request to {s}->https://repo.maven.apache.org:443 Thanks and regards, B Prakash From: Rohit Yadav Sent: Monday, August 22, 2016 1:04 PM To: dev@cloudstack.apache.org Subject: Re: Compilation error "Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed" Hi B, how are you building CloudStack? Which branch is it? Can you try a full clean build: mvn clean install -Dnoredist -Dsimulator -P developer,systemvm You may install nonoss dependencies from here: https://github.com/rhtyd/cloudstack-nonoss [https://avatars1.githubusercontent.com/u/95203?v=3&s=400]<https://github.com/rhtyd/cloudstack-nonoss> GitHub - rhtyd/cloudstack-nonoss: Apache CloudStack - Non ...<https://github.com/rhtyd/cloudstack-nonoss> github.com cloudstack-nonoss - Apache CloudStack - Non OSS libraries ... Clone with HTTPS Use Git or checkout with SVN using the web URL. Regards. From: B Prakash Sent: 22 August 2016 21:17:50 To: dev@cloudstack.apache.org Subject: Compilation error "Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed" Hi, I am unable to compile latest source due to the following error, please can someone help me with this? [ERROR] Failed to execute goal com.mycila:license-maven-plugin:2.11:check (cloudstack-checklicence) on project cloud-plugin-network-nvp: Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed: Plugin com.mycila:license-maven-plugin:2.11 or one of its dependencies could not be resolved: Could not transfer artifact javax.enterprise:cdi-api:jar:1.0 from/to central (https://repo.maven.apache.org/maven2): Connection timed out -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/dis
Re: Compilation error "Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed"
Hi Rohit, I put-up another vm and built code on it, I got the same error. I downloaded non oss jars and ran a build offline, I still get the same error, unable to fix this. Thanks and regards, B Prakash From: Rohit Yadav Sent: Tuesday, August 23, 2016 5:05 AM To: dev@cloudstack.apache.org Subject: Re: Compilation error "Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed" Hi B, This seems like a network issue to me, you may try changing networks and see if that works, or identify if there are any firewall policies in your network barring you to access those url resources. Regards. ____ From: B Prakash Sent: 23 August 2016 10:22:45 To: dev@cloudstack.apache.org Subject: Re: Compilation error "Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed" Hi Rohit, thank you! I am using the main master branch. I have all the latest files. I am having this problem only since last few weeks, earlier my build was running fine.I tried this and I still have the same problem. I will will install nonoss deps and try again, meanwhile, following is the build error I have now; Downloaded: https://repo.maven.apache.org/maven2/org/apache/xmlrpc/xmlrpc-client/3.1.3/xmlrpc-client-3.1.3.jar (58 KB at 681.0 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/apache/xmlrpc/xmlrpc-common/3.1.3/xmlrpc-common-3.1.3.jar (107 KB at 1005.4 KB/sec) Aug 22, 2016 9:15:13 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Connection timed out Aug 22, 2016 9:15:13 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: Retrying request to {s}->https://repo.maven.apache.org:443 Aug 22, 2016 9:15:21 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Connection timed out Aug 22, 2016 9:15:21 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: Retrying request to {s}->https://repo.maven.apache.org:443 Aug 22, 2016 9:30:55 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: No route to host Aug 22, 2016 9:30:55 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: Retrying request to {s}->https://repo.maven.apache.org:443 Aug 22, 2016 9:31:06 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: No route to host Aug 22, 2016 9:31:06 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: Retrying request to {s}->https://repo.maven.apache.org:443 Downloaded: https://repo.maven.apache.org/maven2/org/apache/ws/commons/util/ws-commons-util/1.0.2/ws-commons-util-1.0.2.jar (34 KB at 0.0 KB/sec) Aug 22, 2016 9:46:47 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Connection timed out Aug 22, 2016 9:46:47 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: Retrying request to {s}->https://repo.maven.apache.org:443 Thanks and regards, B Prakash From: Rohit Yadav Sent: Monday, August 22, 2016 1:04 PM To: dev@cloudstack.apache.org Subject: Re: Compilation error "Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed" Hi B, how are you building CloudStack? Which branch is it? Can you try a full clean build: mvn clean install -Dnoredist -Dsimulator -P developer,systemvm You may install nonoss dependencies from here: https://github.com/rhtyd/cloudstack-nonoss [https://avatars1.githubusercontent.com/u/95203?v=3&s=400]<https://github.com/rhtyd/cloudstack-nonoss> GitHub - rhtyd/cloudstack-nonoss: Apache CloudStack - Non ...<https://github.com/rhtyd/cloudstack-nonoss> github.com cloudstack-nonoss - Apache CloudStack - Non OSS libraries ... Clone with HTTPS Use Git or checkout with SVN using the web URL. Regards. From: B Prakash Sent: 22 August 2016 21:17:50 To: dev@cloudstack.apache.org Subject: Compilation error "Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:c
Re: Compilation error "Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed"
Please ignore my previous email. Building offline worked. Thanks and regards, B Prakash From: B Prakash Sent: Sunday, August 28, 2016 3:06 PM To: dev@cloudstack.apache.org Subject: Re: Compilation error "Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed" Hi Rohit, I put-up another vm and built code on it, I got the same error. I downloaded non oss jars and ran a build offline, I still get the same error, unable to fix this. Thanks and regards, B Prakash From: Rohit Yadav Sent: Tuesday, August 23, 2016 5:05 AM To: dev@cloudstack.apache.org Subject: Re: Compilation error "Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed" Hi B, This seems like a network issue to me, you may try changing networks and see if that works, or identify if there are any firewall policies in your network barring you to access those url resources. Regards. ____ From: B Prakash Sent: 23 August 2016 10:22:45 To: dev@cloudstack.apache.org Subject: Re: Compilation error "Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed" Hi Rohit, thank you! I am using the main master branch. I have all the latest files. I am having this problem only since last few weeks, earlier my build was running fine.I tried this and I still have the same problem. I will will install nonoss deps and try again, meanwhile, following is the build error I have now; Downloaded: https://repo.maven.apache.org/maven2/org/apache/xmlrpc/xmlrpc-client/3.1.3/xmlrpc-client-3.1.3.jar (58 KB at 681.0 KB/sec) Downloaded: https://repo.maven.apache.org/maven2/org/apache/xmlrpc/xmlrpc-common/3.1.3/xmlrpc-common-3.1.3.jar (107 KB at 1005.4 KB/sec) Aug 22, 2016 9:15:13 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Connection timed out Aug 22, 2016 9:15:13 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: Retrying request to {s}->https://repo.maven.apache.org:443 Aug 22, 2016 9:15:21 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Connection timed out Aug 22, 2016 9:15:21 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: Retrying request to {s}->https://repo.maven.apache.org:443 Aug 22, 2016 9:30:55 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: No route to host Aug 22, 2016 9:30:55 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: Retrying request to {s}->https://repo.maven.apache.org:443 Aug 22, 2016 9:31:06 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: No route to host Aug 22, 2016 9:31:06 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: Retrying request to {s}->https://repo.maven.apache.org:443 Downloaded: https://repo.maven.apache.org/maven2/org/apache/ws/commons/util/ws-commons-util/1.0.2/ws-commons-util-1.0.2.jar (34 KB at 0.0 KB/sec) Aug 22, 2016 9:46:47 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->https://repo.maven.apache.org:443: Connection timed out Aug 22, 2016 9:46:47 PM org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec execute INFO: Retrying request to {s}->https://repo.maven.apache.org:443 Thanks and regards, B Prakash From: Rohit Yadav Sent: Monday, August 22, 2016 1:04 PM To: dev@cloudstack.apache.org Subject: Re: Compilation error "Execution cloudstack-checklicence of goal com.mycila:license-maven-plugin:2.11:check failed" Hi B, how are you building CloudStack? Which branch is it? Can you try a full clean build: mvn clean install -Dnoredist -Dsimulator -P developer,systemvm You may install nonoss dependencies from here: https://github.com/rhtyd/cloudstack-nonoss [https://avatars1.githubusercontent.com/u/95203?v=3&s=400]<https://github.com/rhtyd/cloudstack-nonoss> GitHub - rhtyd/cloudstack-nonoss: Apache CloudStack - Non ...<https://github.com/rhtyd/cloudstack-nonoss> github.com cloudstack-nonoss
marvin functional test cases or junits for the api 'deployVirtualMachine' and 'resizeVolume'
I am looking for marvin functional test cases or junits for the api 'deployVirtualMachine' and 'resizeVolume'. Please could someone share this info? Thanks and regards, Prakash
systems vms were not running , change the state in the database!! from stopping to stopped
Hi All: Live Scenario: When host (Physical machine) was shutdown because of power failure, the cloudstack system vms running on the logical host(vmware - hypervisor) were in STOPPING state (in the database-MySQL). Issue: When turned on the physcial machine follwed by CloudStack, the cloudstack system vm were not up and running. 1. Logon to CloudStack Management's Database server through putty. 2. Logon to Mysql: #mysql -p #Enter Password:p@ssw0rd #show databases; #use Cloud; #show tables; 3. All the information related to VMS are storade in the table vm_instance #select * from vm_instance 4. Should see systems vms status is in stopping mode. 5. Update the vm_instance table with the status stopped, so it could restart the system vms. #update vm_instance set state='stopped' where state='stopping' 6. You should see the systems vms are back up and running.
cloudstack login page - http error 4
Hi All: Installed multimode, it was working fine but next day When I turn it on , while accessing cloudstack login page, it says http error 404 Any highlights on this please Thank you Prakash
RE: cloudstack login page - http error 4
Hi Rajesh: I did this but in vain, more suggestions are appreciated please. Thank you Prakash -Original Message- From: raja sekhar [mailto:rajsekhar@gmail.com] Sent: Friday, April 04, 2014 4:29 PM To: dev@cloudstack.apache.org Subject: Re: cloudstack login page - http error 4 hii prakash, just restart the cloud setup once again and try. regards, rajasekhar. On Fri, Apr 4, 2014 at 1:37 PM, Prakash Rao Banuka wrote: > Hi All: > > Installed multimode, it was working fine but next day When I turn it > on , while accessing cloudstack login page, it says http error 404 > > Any highlights on this please > > Thank you > Prakash > >
Move one a vm from one host to another host which is local storage
Hi : This is Cloudstack Query, to move from one host to another host which is local storage (not Shared storage) My current setup is as follows: Zone has Host1: xenserver Host2: xenserver The VMS has local storage (root (C drive) and Data (D drive)). Requirement: I want to move one VM(zzz1) (root (C: drive) and data (D: drive)) from Host1 to Host2. I was success in moving one a vm(zzz1) (root(C:Drive)) by creating template from snapshot and deploying a vm on Host2 Query: How to move data (d drive) of vm(ZZZ1) from host1 to host2 (which is local storage) Thank you Prakash
How to increase size of root volume in Cloud stack 4.2.0
Hi, One of VMs root volume is getting filled,How to increase the size of root volume (Cloudstack 4.2.0) Thank you Prakash
RE: How to increase size of root volume in Cloud stack 4.2.0
Hi All: Is this method advisable to resize the root volume of an instance. http://www.techmediaconsulting.com/index.php/web-design/cloudstack-citrix-cloudplatform-volume-extension Thank you Prakash -Original Message- From: Wei ZHOU [mailto:ustcweiz...@gmail.com] Sent: Thursday, May 01, 2014 7:03 PM To: dev@cloudstack.apache.org Subject: Re: How to increase size of root volume in Cloud stack 4.2.0 try this: http://cloudstack.markmail.org/message/jamsjgkpduxwsah2 2014-04-29 21:26 GMT+02:00 Prakash Rao Banuka : > Hi, > > One of VMs root volume is getting filled,How to increase the size of > root volume (Cloudstack 4.2.0) > > Thank you > Prakash > >
Backups - Snapshots - issue
Hi: I have an issue with scheduled (daily and weekly )backups, To few of mine instances the: Daily Backup : status is "CreatedonPrimary" Weekly backup: status is "Allocated" What could be the cause for this issue? Most of the backups/snapshots are green in color (status is backedup) Thank you Prakash
Console Proxy Error!!
Hi, After upgrading from cloudstack 4.2 to cloudstack 4.3, the console proxy VM is running but when we actually go to an instance and click on view console then it is giving an error (Firefox can't find the server at 10-10-10-40.*.realhostip.com.)Google Chrome error is (Unable to resolve the server's DNS address.) Any Ideas? Thank you Prakash
Heart Bleed - Apache Cloud Stack - open ssl
Hi: It is learnt that openssl library is being called when console of system vms (secondarystorage , console proxy vm and router vm) is launched. Is it mandatory to update openssl library in Apache Cloud Stack? If yes, is there any official document. Thank you Prakash
Apache Cloudstack Error!!!
Hi: When I issue url http://ip:8080/client in the browser, it says HTTP Status 404 - type Status report message description The requested resource () is not available. Apache Tomcat/6.0.24 Any Ideas?? Thank you Prakash
List Usage Records using Cloud Monkey
Hi: I installed and configured cloud usage, The records are getting created and are stored in tables (Cloud_usage Database) I'm issuing the following command in cloud monkey environment. >list usagerecords startdate=-mm-dd enddate=-mm-dd The result is showing as None, but If I check in the Mysql database (cloud_usage) and the table (cloud_usage) , records does exists. Any Idea Please Thank you Prakash
RE: List Usage Records using Cloud Monkey
Hi Which version of cloud monkey is this ? And which version of CloudStack are you using ? Cloud Monkey version: 5.0.0 CloudStack : 4.2 and 4.3 Thank you Pakash -Original Message- From: sebgoa [mailto:run...@gmail.com] Sent: Tuesday, May 13, 2014 2:06 PM To: dev@cloudstack.apache.org Subject: Re: List Usage Records using Cloud Monkey On May 12, 2014, at 7:47 PM, Prakash Rao Banuka wrote: > Hi: > > I installed and configured cloud usage, The records are getting created and > are stored in tables (Cloud_usage Database) > > I'm issuing the following command in cloud monkey environment. > >> list usagerecords startdate=-mm-dd enddate=-mm-dd > > The result is showing as None, but If I check in the Mysql database > (cloud_usage) and the table (cloud_usage) , records does exists. > > Any Idea Please > Which version of cloud monkey is this ? And which version of CloudStack are you using ? > Thank you > Prakash >
RE: List Usage Records using Cloud Monkey
Hi Sam We are using 4.3 and 4.2 Thank you Prakash -Original Message- From: Sam Schmit [mailto:sam.sch...@appcore.com] Sent: Tuesday, May 13, 2014 6:43 PM To: dev@cloudstack.apache.org Cc: Venkata Suneel Babu Mallela Subject: Re: List Usage Records using Cloud Monkey Prakash, What version of CS are you using? We have seen issues with NPEs being thrown in 4.3 onward (prior to a fix I have submitted) when there were removed VMs. Sam On Mon, May 12, 2014 at 12:47 PM, Prakash Rao Banuka < prakas...@simplifydc.com> wrote: > Hi: > > I installed and configured cloud usage, The records are getting > created and are stored in tables (Cloud_usage Database) > > I'm issuing the following command in cloud monkey environment. > > >list usagerecords startdate=-mm-dd > enddate=-mm-dd > > The result is showing as None, but If I check in the Mysql database > (cloud_usage) and the table (cloud_usage) , records does exists. > > Any Idea Please > > Thank you > Prakash > >
Migrate from CS 4.2 to CS 4.3
Hi: Presently I'm with CS 4.2 and planning to move to CS 4.3. Options Available: 1. Upgrade CS 4.2 to CS 4.3 2. Setup a new environment with CS 4.3 and link to CS 4.2 's MySQL "cloud " / "usage" Database to CS 4.2 3. Setup a new environment with CS 4.3 and move all the VMs and Networks etc. infrastructure from CS 4.2 to CS 4.3. I would like to go with the option 3, is there any official document available in setting up a new environment with latest version and move all the infrastructure from earlier version to new version. Thank you Prakash
RE: Error while creating a snapshot!!
Read point 2 as follows: 2. I checked with resource_count table, it had the maximum value of type Secondary_storage (400 GB) for this user. From: Prakash Rao Banuka Sent: Friday, May 16, 2014 6:32 AM To: dev@cloudstack.apache.org Cc: Venkata Suneel Babu Mallela Subject: Error while creating a snapshot!! Hi, While creating a snapshot through cloudstack with a user (Role:user) I receive the following error message: Maximum number of resources of type 'secondary_storage' for account name=demo in domain id=4 has been exceeded. Secondary Storage limit is 400 GB which is 100% empty, but still it does displays the above error and does not allow me to create a snapshot or template. I tried the following steps 1. Initially I checked with resource_limit table and found no records. In CloudStack UI, I clicked on Accounts tab-account-->edit and apply then the records got created in the resource_limit table 2. Now I checked with resource_count table, it had the maximum value of type SNAPSHOT.CREATE (400 GB) for this user. 3. Then removed unwanted records from usage_event of type SNAPSHOT.CREATE table for this user 4. Still resource_count shows the same maximum value of (400 GB) 5. I removed all the projects, instances, snapshots and templates for this account, still some records are there in resource_count table Can I make all the values in the resource_count table to zero for this account? Or Is there any other best method to reflect the actual usage in resource_count table. Thank you Prakash
Error while creating a snapshot!!
Hi, While creating a snapshot through cloudstack with a user (Role:user) I receive the following error message: Maximum number of resources of type 'secondary_storage' for account name=demo in domain id=4 has been exceeded. Secondary Storage limit is 400 GB which is 100% empty, but still it does displays the above error and does not allow me to create a snapshot or template. I tried the following steps 1. Initially I checked with resource_limit table and found no records. In CloudStack UI, I clicked on Accounts tab-account-->edit and apply then the records got created in the resource_limit table 2. Now I checked with resource_count table, it had the maximum value of type SNAPSHOT.CREATE (400 GB) for this user. 3. Then removed unwanted records from usage_event of type SNAPSHOT.CREATE table for this user 4. Still resource_count shows the same maximum value of (400 GB) 5. I removed all the projects, instances, snapshots and templates for this account, still some records are there in resource_count table Can I make all the values in the resource_count table to zero for this account? Or Is there any other best method to reflect the actual usage in resource_count table. Thank you Prakash
Toad
Hi, If any one is playing with MYSQL cloud database or cloud usage database, May have Toad installed on your system and access MySQL database through Toad. It has good features, like switching between databases and tables is easy and retrieving schema and records is fast and simple. No need to use much of mysql statement. Thank you Prakash
Cloudmonkey complete list of commands to practice
Hi Can I have complete list of cloudmonkey commads to practice. Thank you Prakash
Cloudstack UI - Workflow
Hi All: I would like to know the sequence the .js files called in cloudstack. This would be help me in quickly troubleshooting the steps. Example: a. When enter the url in the browser (http://localhost:8080/client) we get login screen. (I would like to the sequence in which the .js files called) b. After entering username and password (to validate username and password which .js file is called) c. If the username and password is correct it will step in to next screen (which .js file is called here); Like-wise, I would like to know the entire flow. >From the login page (view source code) I understand that all the scripts are >being called. I do not understand the exactly flow of calling .js files Is there any document available which defines cloudstack workflow. Thank you Prakash
Add xenserver host with VMs to Cloud Stack - Wrok around
Hi All: I have a Xenserver on which VMs are being created through XenCenter. Now I would like to add this xenserver (which has VMS) to Cloud Stack. May I know the procedure / work around to accomplish this task successfully. Thank you Prakash