Hmmm. That means that we have to recreate a new image for VirtualBox like Rohit did for Debian Wheezy to start now DevCloud using CentOS. That could be interesting if a CloudStack user could share such a image to avoid that we spend so many times when we simply would like for testing purposes to use a Linux OS running qemu or KVM + nfs + config required to communicate with CloudStack management server.
Is there a CloudStack provider that we could use like Amazon or RackSpace to make tests ? On Wed, Dec 5, 2012 at 10:48 AM, Kirk Kosinski <kirkkosin...@gmail.com>wrote: > Hi, Charles. That script only allows adding a non-HVM XenServer/XCP > host (it disables the HVM check performed by CloudStack). It won't let > you boot HVM mode VMs since XenServer/XCP require AMD-V / VT-x to do so. > Try running a supported Linux OS in a PV mode VM as Anthony recommended. > > Best regards, > Kirk > > On 12/05/2012 01:27 AM, Charles Moulliard wrote: > > So I should create a new host using web ui. Will try to make a test > > tomorrow. > > > > > > On Wed, Dec 5, 2012 at 10:02 AM, Marc Cirauqui <mcirau...@gmail.com> > wrote: > > > >> Hi, > >> > >> Now when adding a host it does not check for hvm and you should be able > to > >> boot VMs... Never tried though... > >> > >> > >> On Wed, Dec 5, 2012 at 9:53 AM, Charles Moulliard <ch0...@gmail.com> > >> wrote: > >> > >>> Hi Marc, > >>> > >>> I have run the MySQL script. So what should be the next step now ? > >>> > >>> Regards, > >>> > >>> Charles > >>> > >>> > >>> > >>> > >>> On Wed, Dec 5, 2012 at 8:50 AM, Marc Cirauqui <mcirau...@gmail.com> > >> wrote: > >>> > >>>> Check this out... > >>>> > >>>> > >>>> > >>> > >> > http://docs.cloudstack.org/Knowledge_Base/How_to_use_CloudStack_without_Hardware_Virtualization > >>>> > >>>> thx > >>>> > >>>> > >>>> On Tue, Dec 4, 2012 at 11:23 PM, Anthony Xu <xuefei...@citrix.com> > >>> wrote: > >>>> > >>>>> I don't think you can run HVM on devCloud. > >>>>> Since XCP&ubuntu is running on virtual box, the VCPU ubuntu is > >> running > >>>>> doesn't support VTX( hardware virtualization acceleration). > >>>>> Or nested VTX is not supported. > >>>>> > >>>>> > >>>>> What's guest OS you are running? > >>>>> Try to run CentOS 5.6, it should work. > >>>>> > >>>>> > >>>>> Anthony > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>> -----Original Message----- > >>>>>> From: Charles Moulliard [mailto:ch0...@gmail.com] > >>>>>> Sent: Tuesday, December 04, 2012 12:45 PM > >>>>>> To: cloudstack-users@incubator.apache.org > >>>>>> Subject: Re: MEMORY_CONSTRAINT_VIOLATIONMemory limits must satisfy: > >>>>>> > >>>>>> BTW if I define different a compute offering with the following > >>> config, > >>>>>> I > >>>>>> get the following error message. Is it also related to the same > >>>>>> problem ? > >>>>>> > >>>>>> --> Offering : 200MB, 200 Hz, Local Storage to create an instance > >> of > >>>>>> CentOS > >>>>>> 6.3 > >>>>>> > >>>>>> WARN [xen.resource.CitrixResourceBase] (DirectAgent-80:) Unable to > >>>>>> start > >>>>>> i-2-13-VM due to > >>>>>> com.cloud.utils.exception.CloudRuntimeException: Unable to start > >>>>>> VM(i-2-13-VM) on host(9d4c9db8-32f7-25c3-0435-eab4bf3adcea) due to > >>> Task > >>>>>> failed! Task record: uuid: > >>>>>> 56466789-c4bd-d26d-5bee-47b240316b4f > >>>>>> nameLabel: Async.VM.start_on > >>>>>> nameDescription: > >>>>>> allowedOperations: [] > >>>>>> currentOperations: {} > >>>>>> created: Tue Dec 04 18:52:11 CET 2012 > >>>>>> finished: Tue Dec 04 18:52:11 CET 2012 > >>>>>> status: FAILURE > >>>>>> residentOn: com.xensource.xenapi.Host@3ba61fa8 > >>>>>> progress: 1.0 > >>>>>> type: <none/> > >>>>>> result: > >>>>>> errorInfo: [VM_HVM_REQUIRED, > >>>>>> OpaqueRef:6ae4a574-e4af-7cb8-a7d7-fd30de95cc0c] > >>>>>> otherConfig: {} > >>>>>> subtaskOf: com.xensource.xenapi.Task@aaf13f6f > >>>>>> subtasks: [] > >>>>>> > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.startVM(CitrixReso > >>>>>> urceBase.java:3269) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixReso > >>>>>> urceBase.java:1292) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssResource > >>>>>> .java:142) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Cit > >>>>>> rixResourceBase.java:497) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssR > >>>>>> esource.java:136) > >>>>>> at > >>>>>> > >>> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache. > >>>>>> java:191) > >>>>>> at > >>>>>> > >>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) > >>>>>> at > >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > >>>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138) > >>>>>> at > >>>>>> > >>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ac > >>>>>> cess$301(ScheduledThreadPoolExecutor.java:98) > >>>>>> at > >>>>>> > >>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ru > >>>>>> n(ScheduledThreadPoolExecutor.java:206) > >>>>>> at > >>>>>> > >>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecut > >>>>>> or.java:886) > >>>>>> at > >>>>>> > >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.j > >>>>>> ava:908) > >>>>>> at java.lang.Thread.run(Thread.java:680) > >>>>>> WARN [xen.resource.CitrixResourceBase] (DirectAgent-80:) Unable to > >>>>>> clean > >>>>>> up VBD due to > >>>>>> You gave an invalid object reference. The object may have recently > >>>>>> been > >>>>>> deleted. The class parameter gives the type of reference given, > >> and > >>>>>> the > >>>>>> handle parameter echoes the bad value given. > >>>>>> at com.xensource.xenapi.Types.checkResponse(Types.java:207) > >>>>>> at com.xensource.xenapi.Connection.dispatch(Connection.java:368) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConn > >>>>>> ection.dispatch(XenServerConnectionPool.java:909) > >>>>>> at com.xensource.xenapi.VBD.unplug(VBD.java:1054) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailu > >>>>>> re(CitrixResourceBase.java:1092) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixReso > >>>>>> urceBase.java:1353) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssResource > >>>>>> .java:142) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Cit > >>>>>> rixResourceBase.java:497) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssR > >>>>>> esource.java:136) > >>>>>> at > >>>>>> > >>> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache. > >>>>>> java:191) > >>>>>> at > >>>>>> > >>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) > >>>>>> at > >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > >>>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138) > >>>>>> at > >>>>>> > >>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ac > >>>>>> cess$301(ScheduledThreadPoolExecutor.java:98) > >>>>>> at > >>>>>> > >>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ru > >>>>>> n(ScheduledThreadPoolExecutor.java:206) > >>>>>> at > >>>>>> > >>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecut > >>>>>> or.java:886) > >>>>>> at > >>>>>> > >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.j > >>>>>> ava:908) > >>>>>> at java.lang.Thread.run(Thread.java:680) > >>>>>> WARN [xen.resource.CitrixResourceBase] (DirectAgent-80:) Unable to > >>>>>> clean > >>>>>> up VBD due to > >>>>>> You gave an invalid object reference. The object may have recently > >>>>>> been > >>>>>> deleted. The class parameter gives the type of reference given, > >> and > >>>>>> the > >>>>>> handle parameter echoes the bad value given. > >>>>>> at com.xensource.xenapi.Types.checkResponse(Types.java:207) > >>>>>> at com.xensource.xenapi.Connection.dispatch(Connection.java:368) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConn > >>>>>> ection.dispatch(XenServerConnectionPool.java:909) > >>>>>> at com.xensource.xenapi.VBD.unplug(VBD.java:1054) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailu > >>>>>> re(CitrixResourceBase.java:1092) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixReso > >>>>>> urceBase.java:1353) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssResource > >>>>>> .java:142) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Cit > >>>>>> rixResourceBase.java:497) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssR > >>>>>> esource.java:136) > >>>>>> at > >>>>>> > >>> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache. > >>>>>> java:191) > >>>>>> at > >>>>>> > >>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) > >>>>>> at > >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > >>>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138) > >>>>>> at > >>>>>> > >>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ac > >>>>>> cess$301(ScheduledThreadPoolExecutor.java:98) > >>>>>> at > >>>>>> > >>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ru > >>>>>> n(ScheduledThreadPoolExecutor.java:206) > >>>>>> at > >>>>>> > >>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecut > >>>>>> or.java:886) > >>>>>> at > >>>>>> > >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.j > >>>>>> ava:908) > >>>>>> at java.lang.Thread.run(Thread.java:680) > >>>>>> WARN [xen.resource.CitrixResourceBase] (DirectAgent-80:) Unable to > >>>>>> cleanup > >>>>>> VIF > >>>>>> You gave an invalid object reference. The object may have recently > >>>>>> been > >>>>>> deleted. The class parameter gives the type of reference given, > >> and > >>>>>> the > >>>>>> handle parameter echoes the bad value given. > >>>>>> at com.xensource.xenapi.Types.checkResponse(Types.java:207) > >>>>>> at com.xensource.xenapi.Connection.dispatch(Connection.java:368) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConn > >>>>>> ection.dispatch(XenServerConnectionPool.java:909) > >>>>>> at com.xensource.xenapi.VIF.unplug(VIF.java:804) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.handleVmStartFailu > >>>>>> re(CitrixResourceBase.java:1100) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixReso > >>>>>> urceBase.java:1353) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssResource > >>>>>> .java:142) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Cit > >>>>>> rixResourceBase.java:497) > >>>>>> at > >>>>>> > >>> com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssR > >>>>>> esource.java:136) > >>>>>> at > >>>>>> > >>> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache. > >>>>>> java:191) > >>>>>> at > >>>>>> > >>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) > >>>>>> at > >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > >>>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138) > >>>>>> at > >>>>>> > >>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ac > >>>>>> cess$301(ScheduledThreadPoolExecutor.java:98) > >>>>>> at > >>>>>> > >>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ru > >>>>>> n(ScheduledThreadPoolExecutor.java:206) > >>>>>> at > >>>>>> > >>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecut > >>>>>> or.java:886) > >>>>>> at > >>>>>> > >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.j > >>>>>> ava:908) > >>>>>> at java.lang.Thread.run(Thread.java:680) > >>>>>> INFO [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-7:job-19) > >>>>>> Unable > >>>>>> to start VM on Host[-1-Routing] due to Unable to start i-2-13-VM > >> due > >>> to > >>>>>> INFO [xen.resource.CitrixResourceBase] (DirectAgent-92:) VM does > >> not > >>>>>> exist > >>>>>> on XenServer9d4c9db8-32f7-25c3-0435-eab4bf3adcea > >>>>>> INFO [api.commands.DeployVMCmd] (Job-Executor-7:job-19) > >>>>>> com.cloud.exception.InsufficientServerCapacityException: Unable to > >>>>>> create a > >>>>>> deployment for VM[User|6d31c26c-c559-4393-b772- > >>>>>> d557c3143381]Scope=interface > >>>>>> com.cloud.dc.DataCenter; id=1 > >>>>>> > >>>>>> Regards, > >>>>>> > >>>>>> Charles > >>>>>> > >>>>>> > >>>>>> > >>>>>> On Tue, Dec 4, 2012 at 9:38 PM, Charles Moulliard < > >> ch0...@gmail.com> > >>>>>> wrote: > >>>>>> > >>>>>>> I'm using last code build (4.1.0-SNAPSHOT) from Git repo to run > >>> local > >>>>>>> management server and devcloud2 (VB). What should I do on > >> DevCloud2 > >>>>>> to > >>>>>>> upgrade xapi ? > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> On Tue, Dec 4, 2012 at 6:10 PM, Anthony Xu <xuefei...@citrix.com > >>> > >>>>>> wrote: > >>>>>>> > >>>>>>>> What's Cloudstack version you are using? > >>>>>>>> Looks like your are using a very old version. This issue is > >> fixed > >>>>>> in new > >>>>>>>> version. > >>>>>>>> > >>>>>>>> setMemoryStaticMin API is not used in new version. > >>>>>>>> > >>>>>>>> > >>>>>>>> Please upgrade to a newer version. > >>>>>>>> > >>>>>>>> > >>>>>>>> Anthony > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>> -----Original Message----- > >>>>>>>>> From: Charles Moulliard [mailto:ch0...@gmail.com] > >>>>>>>>> Sent: Tuesday, December 04, 2012 4:56 AM > >>>>>>>>> To: cloudstack-users@incubator.apache.org > >>>>>>>>> Subject: MEMORY_CONSTRAINT_VIOLATIONMemory limits must > >> satisfy: > >>>>>>>>> > >>>>>>>>> Hi, > >>>>>>>>> > >>>>>>>>> How can I figure out this exception when I try to create a new > >>>>>> instance > >>>>>>>>> using by example Centos 6.3 ISO (compute offering = 500MHertz, > >>>>>> 500MB, > >>>>>>>>> local > >>>>>>>>> storage) ? > >>>>>>>>> > >>>>>>>>> WARN [xen.resource.CitrixResourceBase] (DirectAgent-36:) > >> Catch > >>>>>>>>> Exception: > >>>>>>>>> class com.xensource.xenapi.Types$XenAPIException due to > >>>>>>>>> MEMORY_CONSTRAINT_VIOLATIONMemory limits must satisfy: > >>> static_min > >>>> ? > >>>>>>>>> dynamic_min ? dynamic_max ? static_max > >>>>>>>>> MEMORY_CONSTRAINT_VIOLATIONMemory limits must satisfy: > >>> static_min > >>>> ? > >>>>>>>>> dynamic_min ? dynamic_max ? static_max > >>>>>>>>> at com.xensource.xenapi.Types.checkResponse(Types.java:1732) > >>>>>>>>> at > >> com.xensource.xenapi.Connection.dispatch(Connection.java:368) > >>>>>>>>> at > >>>>>>>>> > >>>>>> > >>> com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConn > >>>>>>>>> ection.dispatch(XenServerConnectionPool.java:909) > >>>>>>>>> at com.xensource.xenapi.VM.setMemoryStaticMin(VM.java:3450) > >>>>>>>>> at > >>>>>>>>> > >>>>>> > >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.setMemory(CitrixRe > >>>>>>>>> sourceBase.java:3116) > >>>>>>>>> at > >>>>>>>>> > >>>>>> > >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.createVmFromTempla > >>>>>>>>> te(CitrixResourceBase.java:985) > >>>>>>>>> at > >>>>>>>>> > >>>>>> > >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixReso > >>>>>>>>> urceBase.java:1278) > >>>>>>>>> at > >>>>>>>>> > >>>>>> > >>> com.cloud.hypervisor.xen.resource.XcpOssResource.execute(XcpOssResource > >>>>>>>>> .java:142) > >>>>>>>>> at > >>>>>>>>> > >>>>>> > >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(Cit > >>>>>>>>> rixResourceBase.java:497) > >>>>>>>>> at > >>>>>>>>> > >>>>>> > >>> com.cloud.hypervisor.xen.resource.XcpOssResource.executeRequest(XcpOssR > >>>>>>>>> esource.java:136) > >>>>>>>>> at > >>>>>>>>> > >>>>>> > >>> com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache. > >>>>>>>>> java:191) > >>>>>>>>> at > >>>>>>>>> > >>>>>> > >>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) > >>>>>>>>> at > >>>>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > >>>>>>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138) > >>>>>>>>> at > >>>>>>>>> > >>>>>> > >>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ac > >>>>>>>>> cess$301(ScheduledThreadPoolExecutor.java:98) > >>>>>>>>> at > >>>>>>>>> > >>>>>> > >>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ru > >>>>>>>>> n(ScheduledThreadPoolExecutor.java:206) > >>>>>>>>> at > >>>>>>>>> > >>>>>> > >>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecut > >>>>>>>>> or.java:886) > >>>>>>>>> at > >>>>>>>>> > >>>>>> > >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.j > >>>>>>>>> ava:908) > >>>>>>>>> at java.lang.Thread.run(Thread.java:680) > >>>>>>>>> > >>>>>>>>> Regards, > >>>>>>>>> > >>>>>>>>> -- > >>>>>>>>> Charles Moulliard > >>>>>>>>> Apache Committer / Sr. Enterprise Architect (RedHat) > >>>>>>>>> Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com > >>>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> -- > >>>>>>> Charles Moulliard > >>>>>>> Apache Committer / Sr. Enterprise Architect (RedHat) > >>>>>>> Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>> > >>>>>> > >>>>>> -- > >>>>>> Charles Moulliard > >>>>>> Apache Committer / Sr. Enterprise Architect (RedHat) > >>>>>> Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com > >>>>> > >>>> > >>> > >>> > >>> > >>> -- > >>> Charles Moulliard > >>> Apache Committer / Sr. Enterprise Architect (RedHat) > >>> Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com > >>> > >> > > > > > > > -- Charles Moulliard Apache Committer / Sr. Enterprise Architect (RedHat) Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com