Hi Ian, I thought the above error was raised because of limited resources allocated for the XenServer so I increased those by Memory 5 GB and CPUs 8. But I still get the same error:
Following is the error I noticed in /var/log/cloudstack/management/management-server.log file: 014-11-18 01:59:14,350 DEBUG [c.c.a.m.a.i.FirstFitAllocator] (Job-Executor-22:ctx-c91238ea ctx-b4c8800f FirstFitRoutingAllocator) Host Allocator returning 0 suitable hosts 2014-11-18 01:59:14,350 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) No suitable hosts found 2014-11-18 01:59:14,350 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) No suitable hosts found under this Cluster: 1 2014-11-18 01:59:14,352 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Could not find suitable Deployment Destination for this VM under any clusters, returning. 2014-11-18 01:59:14,354 DEBUG [c.c.d.FirstFitPlanner] (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Searching all possible resources under this Zone: 1 2014-11-18 01:59:14,356 DEBUG [c.c.d.FirstFitPlanner] (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Listing clusters in order of aggregate capacity, that have (atleast one host with) enough CPU and RAM capacity under this Zone: 1 2014-11-18 01:59:14,361 DEBUG [c.c.d.FirstFitPlanner] (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Removing from the clusterId list these clusters from avoid set: [1] 2014-11-18 01:59:14,371 DEBUG [c.c.d.FirstFitPlanner] (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) No clusters found after removing disabled clusters and clusters in avoid list, returning. 2014-11-18 01:59:14,376 DEBUG [c.c.v.UserVmManagerImpl] (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Destroying vm VM[User|VM-f8680a86-1976-435a-94e3-cd8758644940] as it failed to create on Host with Id:null 2014-11-18 01:59:14,396 DEBUG [c.c.c.CapacityManagerImpl] (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) VM state transitted from :Stopped to Error with event: OperationFailedToErrorvm's original host id: null new host id: null host id before state transition: null 2014-11-18 01:59:14,422 WARN [o.a.c.alerts] (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) alertType:: 8 // dataCenterId:: 1 // podId:: null // clusterId:: null // message:: Failed to deploy Vm with Id: 7, on Host with Id: null 2014-11-18 01:59:14,461 INFO [o.a.c.a.c.u.v.DeployVMCmd] (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|VM-f8680a86-1976-435a-94e3-cd8758644940]Scope=interface com.cloud.dc.DataCenter; id=1 2014-11-18 01:59:14,461 INFO [o.a.c.a.c.u.v.DeployVMCmd] (Job-Executor-22:ctx-c91238ea ctx-b4c8800f) Unable to create a deployment for VM[User|VM-f8680a86-1976-435a-94e3-cd8758644940] com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|VM-f8680a86-1976-435a-94e3-cd8758644940]Scope=interface com.cloud.dc.DataCenter; id=1 at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserveVirtualMachine(VMEntityManagerImpl.java:210) at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.reserve(VirtualMachineEntityImpl.java:196) at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3549) at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3157) at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3143) 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:606) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy169.startVirtualMachine(Unknown Source) at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:443) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161) at com.cloud.api.ApiAsyncJobDispatcher.runJobInContext(ApiAsyncJobDispatcher.java:109) at com.cloud.api.ApiAsyncJobDispatcher$1.run(ApiAsyncJobDispatcher.java:66) 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 com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:63) at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:509) 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.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 2014-11-18 01:59:14,475 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-22:ctx-c91238ea) Complete async job-25, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":533,"errortext":"Unable to create a deployment for VM[User|VM-f8680a86-1976-435a-94e3-cd8758644940]"} 2014-11-18 01:59:14,498 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-22:ctx-c91238ea) Done executing org.apache.cloudstack.api.command.user.vm.DeployVMCmd for job-25 2014-11-18 01:59:14,508 INFO [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-22:ctx-c91238ea) Remove job-25 from job monitoring Asanka: I tried your suggestion but didn't work. Many Thanks On Mon, Nov 17, 2014 at 10:26 AM, Asanka sanjaya Herath <angal...@gmail.com> wrote: > Hi Imesh, > > I also had the same issue. I assume that you got insufficient server > capacity exception. If so Go to mysql database and navigate to vm_template > table. If the hvm flag for your ISO has been set as 1, change it to 0. Then > try to create an instance again. > > Thank you. > > > On Mon, Nov 17, 2014 at 1:30 AM, Ian Duffy <i...@ianduffy.ie> wrote: > > > Thomas, > > > > There's different setups here: > > > > 1) Basic - You are expected to run the management server on your host > > machine. Only a MySQL, NFS box is supplied along with a Hypervisor box. > > 2) Advanced - same as above > > 3) Binary-installation-basic - Full cloud within a virtual environment > > 4) Binary-installation-advanced - Full cloud within a virtual environment > > > > On 16 November 2014 19:51, Thomas Munn <symgr...@gmail.com> wrote: > > > > > Just figured it out. I have go to the 'advanced' directory then run > > vagrant > > > up! Might want to include that in docs! > > > > > > On Sun, Nov 16, 2014 at 2:50 PM, Thomas Munn <symgr...@gmail.com> > wrote: > > > > > > > Can you just attach a 'proper' Vagrant file? I am a little confused > > what > > > > things are supposed to look like? Might want to include in your GIT > > > > repository!!! > > > > > > > > On Sun, Nov 16, 2014 at 4:37 AM, Ian Duffy <i...@ianduffy.ie> wrote: > > > > > > > >> Great! Thanks for the information Thomas, you have pretty much the > > same > > > >> environment as myself. > > > >> > > > >> Really unsure what is causing the issue. The error suggests its > > looking > > > >> for > > > >> a box labelled base, which is never specified in any of the vagrant > > > files. > > > >> > > > >> Can you try something for me? In whatever folder your running > vagrant > > up > > > >> from (assuming binary-installation-advanced or > > > binary-installation-basic) > > > >> delete the .vagrant folder and modify the VagrantFile to include: > > > >> > > > >> xenserver.vm.box_url: " > > > >> > > > >> > > > > > > https://vagrantcloud.com/duffy/boxes/xenserver/versions/4/providers/virtualbox.box > > > >> " > > > >> management.vm.box_url: " > > > >> > > > >> > > > > > > https://vagrantcloud.com/chef/boxes/centos-6.5/versions/1/providers/virtualbox.box > > > >> " > > > >> > > > >> underneath the respective <type>.vm.box variables. Hopefully this > > will > > > >> resolve any issues its have automatically finding the boxes through > > > >> vagrant-cloud. > > > >> > > > >> > > > >> > > > >> On 16 November 2014 07:07, Thomas Munn <symgr...@gmail.com> wrote: > > > >> > > > >> > I did do a 'vagrant init' and didn't change anything. > > > >> > > > > >> > On Sun, Nov 16, 2014 at 2:04 AM, Thomas Munn <symgr...@gmail.com> > > > >> wrote: > > > >> > > > > >> > > I am using brew version of mac. Works fine with other vagrant > > boxes. > > > >> > > Vagrant 1.6.5 > > > >> > > > > > >> > > OSX Yosemite using brew (osx 10.10) > > > >> > > > > > >> > > Darwin lilly.munnster.com 14.0.0 Darwin Kernel Version 14.0.0: > > Fri > > > >> Sep > > > >> > 19 > > > >> > > 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64 > > > >> > > > > > >> > > Virtualbox 4.3.18 > > > >> > > > > > >> > > Ran your commands, but not sure how to vigure out omnibus/chef > > .... > > > >> > > > > > >> > > On Sun, Nov 16, 2014 at 1:22 AM, Ian Duffy <i...@ianduffy.ie> > > wrote: > > > >> > > > > > >> > >> Thomas, > > > >> > >> > > > >> > >> Can you tell me more about your environment? > > > >> > >> > > > >> > >> OS? Vagrant Version? Vagrant plugin versions (onmibus and > > > >> > chef-librarian)? > > > >> > >> VirtualBox version? > > > >> > >> > > > >> > >> The error suggests some issue communicating with vagrant-cloud > > for > > > >> > >> downloading the box. > > > >> > >> > > > >> > >> On 16 November 2014 06:10, Thomas Munn <symgr...@gmail.com> > > wrote: > > > >> > >> > > > >> > >> > I also tried it. I cloned into git, did the > > > >> > >> > > > > >> > >> > bash scripts/vagrant_prep.sh vbox > > > >> > >> > > > > >> > >> > then I did a vagrant init > > > >> > >> > > > > >> > >> > and vagrant up and I get: > > > >> > >> > vagrant up > > > >> > >> > Bringing machine 'default' up with 'virtualbox' provider... > > > >> > >> > ==> default: Box 'base' could not be found. Attempting to > find > > > and > > > >> > >> > install... > > > >> > >> > default: Box Provider: virtualbox > > > >> > >> > default: Box Version: >= 0 > > > >> > >> > ==> default: Adding box 'base' (v0) for provider: virtualbox > > > >> > >> > default: Downloading: base > > > >> > >> > An error occurred while downloading the remote file. The > error > > > >> > >> > message, if any, is reproduced below. Please fix this error > and > > > try > > > >> > >> > again. > > > >> > >> > > > > >> > >> > Couldn't open file /Users/tjmunn/devcloud4/base > > > >> > >> > > > > >> > >> > This looks mondo cool if it can get working!!!! > > > >> > >> > > > > >> > >> > > > > >> > >> > > > > >> > >> > On Sun, Nov 16, 2014 at 12:05 AM, Ian Duffy <i...@ianduffy.ie > > > > > >> wrote: > > > >> > >> > > > > >> > >> > > Great to hear Imesh. If you hit any more issues just shout. > > > >> > >> > > > > > >> > >> > > Thinks to keep in mind.... Devcloud runs VMs in PV mode. > When > > > you > > > >> > >> upload > > > >> > >> > an > > > >> > >> > > ISO it will be registered as hvm only. There's a HVM flag > in > > > the > > > >> DB > > > >> > >> under > > > >> > >> > > the templates table you can flick to 0 so it boots on PV. > > > >> > >> > > > > > >> > >> > > Ubuntu will install no problem just make sure you do it on > a > > > >> service > > > >> > >> > > offering that gives 256mb of ram. > > > >> > >> > > > > > >> > >> > > Also keep in mind the default CloudStack service offerings > > are > > > >> set > > > >> > to > > > >> > >> use > > > >> > >> > > shared storage. In devcloud we only have local storage. > > > >> > >> > > > > > >> > >> > > If your machine has lots of ram 16gb> let me know and we > can > > > >> discuss > > > >> > >> > giving > > > >> > >> > > more ram to the hypervisor and system VMS to get better > > > >> performance. > > > >> > >> > > On 16 Nov 2014 03:17, "Imesh Gunaratne" <im...@apache.org> > > > >> wrote: > > > >> > >> > > > > > >> > >> > > > Hi Ian, > > > >> > >> > > > > > > >> > >> > > > Great! It worked! The vagrant binary advanced > installation > > > >> > completed > > > >> > >> > > > succefully and I was able to access the CloudStack client > > > >> without > > > >> > >> any > > > >> > >> > > > problem. It has also executed the deployment > configuration > > > with > > > >> > >> Marvin > > > >> > >> > > > successfully. > > > >> > >> > > > > > > >> > >> > > > Thank you very much for your help! I'm now going to > create > > an > > > >> > Ubuntu > > > >> > >> > > > template and integrate Stratos with it. > > > >> > >> > > > > > > >> > >> > > > Many Thanks > > > >> > >> > > > > > > >> > >> > > > On Sun, Nov 16, 2014 at 8:23 AM, Imesh Gunaratne < > > > >> > im...@apache.org> > > > >> > >> > > wrote: > > > >> > >> > > > > > > >> > >> > > > > Hi Ian, > > > >> > >> > > > > > > > >> > >> > > > > Thanks for the quick response, I just started a new > > > >> installation > > > >> > >> with > > > >> > >> > > > your > > > >> > >> > > > > latest changes. Will let you know the status soon. > > > Appreciate > > > >> > it. > > > >> > >> > > > > > > > >> > >> > > > > Many Thanks > > > >> > >> > > > > > > > >> > >> > > > > On Sun, Nov 16, 2014 at 6:35 AM, Thomas Munn < > > > >> > symgr...@gmail.com> > > > >> > >> > > wrote: > > > >> > >> > > > > > > > >> > >> > > > >> What is the URL for the new branch? > > > >> > >> > > > >> > > > >> > >> > > > >> Sent from my iPad > > > >> > >> > > > >> > > > >> > >> > > > >> > On Nov 15, 2014, at 17:44, Ian Duffy < > i...@ianduffy.ie > > > > > > >> > wrote: > > > >> > >> > > > >> > > > > >> > >> > > > >> > That almost looks like a vagrant-omnibus book.... > > > 11.16.0 > > > >> is > > > >> > a > > > >> > >> > valid > > > >> > >> > > > >> > version. > > > >> > >> > > > >> > > > > >> > >> > > > >> > Anyways, I've changed it to use :latest. > > > >> > >> > > > >> > > > > >> > >> > > > >> > Can you do a git pull again? Should hopefully fix > it. > > > >> > >> > > > >> > > > > >> > >> > > > >> > My testing just finished, It worked successfully > with > > > the > > > >> > >> earlier > > > >> > >> > > > >> changes. > > > >> > >> > > > >> > > > > >> > >> > > > >> >> On 15 November 2014 22:08, Imesh Gunaratne < > > > >> > im...@apache.org> > > > >> > >> > > wrote: > > > >> > >> > > > >> >> > > > >> > >> > > > >> >> Hi Ian, > > > >> > >> > > > >> >> > > > >> > >> > > > >> >> I got your fix and did another test, I see the > below > > > >> error > > > >> > >> with > > > >> > >> > the > > > >> > >> > > > >> latest > > > >> > >> > > > >> >> changes: > > > >> > >> > > > >> >> > > > >> > >> > > > >> >> ==> management: Machine booted and ready! > > > >> > >> > > > >> >> ==> management: Checking for guest additions in > VM... > > > >> > >> > > > >> >> ==> management: Configuring and enabling network > > > >> > interfaces... > > > >> > >> > > > >> >> ==> management: Mounting shared folders... > > > >> > >> > > > >> >> management: /vagrant => > > > >> > >> > > > >> >> > > > >> > >> > > > >> >> > > > >> > >> > > > >> > > > >> > >> > > > > > > >> > >> > > > > > >> > >> > > > > >> > >> > > > >> > > > > >> > > > > > > /Users/imesh/sandboxes/apache/cloudstack/vagrant/devcloud4/binary-installation-advanced > > > >> > >> > > > >> >> management: > > > /tmp/vagrant-chef-2/chef-solo-1/cookbooks > > > >> => > > > >> > >> > > > >> >> > > > >> > >> > > > >> >> > > > >> > >> > > > >> > > > >> > >> > > > > > > >> > >> > > > > > >> > >> > > > > >> > >> > > > >> > > > > >> > > > > > > /Users/imesh/sandboxes/apache/cloudstack/vagrant/devcloud4/common/management/cookbooks > > > >> > >> > > > >> >> There are errors in the configuration of this > > machine. > > > >> > Please > > > >> > >> fix > > > >> > >> > > > >> >> the following errors and try again: > > > >> > >> > > > >> >> > > > >> > >> > > > >> >> vagrant-omnibus: > > > >> > >> > > > >> >> * '11.16.0' is not a valid version of Chef. > > > >> > >> > > > >> >> > > > >> > >> > > > >> >> Many Thanks > > > >> > >> > > > >> >> > > > >> > >> > > > >> >>> On Sun, Nov 16, 2014 at 3:28 AM, Imesh Gunaratne < > > > >> > >> > > im...@apache.org> > > > >> > >> > > > >> wrote: > > > >> > >> > > > >> >>> > > > >> > >> > > > >> >>> Great thanks Ian, will do a vagrant destroy, > vagrant > > > up > > > >> > now. > > > >> > >> > > > >> >>> > > > >> > >> > > > >> >>> Thanks > > > >> > >> > > > >> >>> > > > >> > >> > > > >> >>> On Sun, Nov 16, 2014 at 3:24 AM, Ian Duffy < > > > >> > i...@ianduffy.ie> > > > >> > >> > > wrote: > > > >> > >> > > > >> >>> > > > >> > >> > > > >> >>>>> No problem at all, I really appreciate your help > > on > > > >> this. > > > >> > >> > > > >> >>>> > > > >> > >> > > > >> >>>> No worries, the breaks are my fault. I often > forget > > > how > > > >> > many > > > >> > >> > > > linking > > > >> > >> > > > >> >>>> dependencies are involved with devcloud. > > > >> > >> > > > >> >>>> > > > >> > >> > > > >> >>>> I'm after pushing a fix for the marvin issue, you > > can > > > >> do a > > > >> > >> git > > > >> > >> > > pull > > > >> > >> > > > >> and > > > >> > >> > > > >> >>>> try > > > >> > >> > > > >> >>>> do a vagrant destroy vagrant up if you wish. I'm > > > >> testing > > > >> > it > > > >> > >> at > > > >> > >> > > the > > > >> > >> > > > >> >> moment > > > >> > >> > > > >> >>>> if you prefer to wait :) > > > >> > >> > > > >> >>>> > > > >> > >> > > > >> >>>>> On 15 November 2014 21:48, Imesh Gunaratne < > > > >> > >> im...@apache.org> > > > >> > >> > > > >> wrote: > > > >> > >> > > > >> >>>>> > > > >> > >> > > > >> >>>>> Hi Ian, > > > >> > >> > > > >> >>>>> > > > >> > >> > > > >> >>>>> No problem at all, I really appreciate your help > > on > > > >> this. > > > >> > >> > > > >> >>>>> > > > >> > >> > > > >> >>>>> Asanka: I tried your instructions but the marvin > > > >> deploy > > > >> > >> > command > > > >> > >> > > > >> fails > > > >> > >> > > > >> >>>> with > > > >> > >> > > > >> >>>>> the following: > > > >> > >> > > > >> >>>>> > > > >> > >> > > > >> >>>>> 2014-11-15 21:43:39,438 - DEBUG - Parsing Test > > data > > > >> > >> successful > > > >> > >> > > > >> >>>>> 2014-11-15 21:43:39,438 - DEBUG - Payload: > > > {'account': > > > >> > >> > 'admin', > > > >> > >> > > > >> >>>> 'command': > > > >> > >> > > > >> >>>>> 'listUsers', 'response': 'json'} > > > >> > >> > > > >> >>>>> 2014-11-15 21:43:39,438 - DEBUG - > ========Sending > > > GET > > > >> > Cmd : > > > >> > >> > > > >> >>>>> listUsers======= > > > >> > >> > > > >> >>>>> 2014-11-15 21:43:39,467 - ERROR - > > __sendGetReqToCS : > > > >> > >> Exception > > > >> > >> > > > >> >> Occurred: > > > >> > >> > > > >> >>>>> ('Connection aborted.', error(111, 'Connection > > > >> refused')) > > > >> > >> > > > >> >>>>> > > > >> > >> > > > >> >>>>> May be the xenserver credentials provided > > > >> (root/password) > > > >> > >> are > > > >> > >> > > not > > > >> > >> > > > >> >>>> correct. > > > >> > >> > > > >> >>>>> > > > >> > >> > > > >> >>>>> Many Thanks > > > >> > >> > > > >> >>>>> > > > >> > >> > > > >> >>>>>> On Sun, Nov 16, 2014 at 3:09 AM, Ian Duffy < > > > >> > >> i...@ianduffy.ie> > > > >> > >> > > > >> wrote: > > > >> > >> > > > >> >>>>>> > > > >> > >> > > > >> >>>>>> Hi Imesh, > > > >> > >> > > > >> >>>>>> > > > >> > >> > > > >> >>>>>> Sorry about that. I've moved some things around > > > >> > recently. > > > >> > >> I > > > >> > >> > > will > > > >> > >> > > > >> >> push > > > >> > >> > > > >> >>>>> out a > > > >> > >> > > > >> >>>>>> fix for that. > > > >> > >> > > > >> >>>>>> > > > >> > >> > > > >> >>>>>> On 15 November 2014 21:27, Asanka sanjaya > Herath > > < > > > >> > >> > > > >> >> angal...@gmail.com> > > > >> > >> > > > >> >>>>>> wrote: > > > >> > >> > > > >> >>>>>> > > > >> > >> > > > >> >>>>>>> Hi Imesh, > > > >> > >> > > > >> >>>>>>> > > > >> > >> > > > >> >>>>>>> If the management server is up, I think you > > don't > > > >> need > > > >> > to > > > >> > >> > run > > > >> > >> > > > >> >>>> 'vagrant > > > >> > >> > > > >> >>>>>> up' > > > >> > >> > > > >> >>>>>>> command again. So try follow these steps. > > > >> > >> > > > >> >>>>>>> > > > >> > >> > > > >> >>>>>>> 1. Find the Marvin-0.1.0.tar.gz from a locally > > > build > > > >> > >> > > repository > > > >> > >> > > > of > > > >> > >> > > > >> >>>>>>> cloudstack. > > > >> > >> > > > >> >>>>>>> 2. Run this command. "pip install > > > >> Marvin-0.1.0.tar.gz" > > > >> > >> > > > >> >>>>>>> 3. Change IPs in advanced/advanced.json file > > > >> according > > > >> > to > > > >> > >> > vbox > > > >> > >> > > > >> >>>>>>> adapters(22-24). > > > >> > >> > > > >> >>>>>>> 4. Run this command. python -m > > > >> marvin.deployDataCenter > > > >> > -i > > > >> > >> > > > >> >>>>>>> advanced/advanced.json > > > >> > >> > > > >> >>>>>>> > > > >> > >> > > > >> >>>>>>> > > > >> > >> > > > >> >>>>>>> > > > >> > >> > > > >> >>>>>>> On Sun, Nov 16, 2014 at 1:06 AM, Imesh > > Gunaratne < > > > >> > >> > > > >> >> im...@apache.org> > > > >> > >> > > > >> >>>>>> wrote: > > > >> > >> > > > >> >>>>>>> > > > >> > >> > > > >> >>>>>>>> Hi Ian, > > > >> > >> > > > >> >>>>>>>> > > > >> > >> > > > >> >>>>>>>> Great! Thanks! Your suggestion worked, the > > > advance > > > >> > >> binary > > > >> > >> > > > >> >>>>> installation > > > >> > >> > > > >> >>>>>>> went > > > >> > >> > > > >> >>>>>>>> much far afterwards. Now I can see the below > > > error, > > > >> > >> seems > > > >> > >> > > like > > > >> > >> > > > >> >> the > > > >> > >> > > > >> >>>>>> marvin > > > >> > >> > > > >> >>>>>>>> tar is not there at the below link: > > > >> > >> > > > >> >>>>>>>> > > > >> > >> > > > >> >>>>>>>> http://ianduffy.ie/Marvin-0.1.0.tar.gz > > > >> > >> > > > >> >>>>>>>> > > > >> > >> > > > >> >>>>>>>> ==> management: [2014-11-15T19:26:55+00:00] > > INFO: > > > >> > >> > > > >> >>>>>>>> template[/etc/sysconfig/nfs] sending restart > > > >> action to > > > >> > >> > > > >> >>>> service[nfs] > > > >> > >> > > > >> >>>>>>>> (delayed) > > > >> > >> > > > >> >>>>>>>> ==> management: [2014-11-15T19:26:59+00:00] > > INFO: > > > >> > >> > > service[nfs] > > > >> > >> > > > >> >>>>>> restarted > > > >> > >> > > > >> >>>>>>>> ==> management: [2014-11-15T19:26:59+00:00] > > INFO: > > > >> > >> > > > >> >>>>>> template[/etc/exports] > > > >> > >> > > > >> >>>>>>>> sending run action to execute[exportfs] > > (delayed) > > > >> > >> > > > >> >>>>>>>> ==> management: [2014-11-15T19:26:59+00:00] > > INFO: > > > >> > >> > > > >> >>>> execute[exportfs] > > > >> > >> > > > >> >>>>> ran > > > >> > >> > > > >> >>>>>>>> successfully > > > >> > >> > > > >> >>>>>>>> ==> management: [2014-11-15T19:26:59+00:00] > > > ERROR: > > > >> > >> Running > > > >> > >> > > > >> >>>> exception > > > >> > >> > > > >> >>>>>>>> handlers > > > >> > >> > > > >> >>>>>>>> ==> management: [2014-11-15T19:26:59+00:00] > > > ERROR: > > > >> > >> > Exception > > > >> > >> > > > >> >>>> handlers > > > >> > >> > > > >> >>>>>>>> complete > > > >> > >> > > > >> >>>>>>>> ==> management: [2014-11-15T19:26:59+00:00] > > > FATAL: > > > >> > >> > Stacktrace > > > >> > >> > > > >> >>>> dumped > > > >> > >> > > > >> >>>>> to > > > >> > >> > > > >> >>>>>>>> /var/chef/cache/chef-stacktrace.out > > > >> > >> > > > >> >>>>>>>> ==> management: [2014-11-15T19:26:59+00:00] > > > ERROR: > > > >> > >> > > bash[Install > > > >> > >> > > > >> >>>>>>> Cloudstack > > > >> > >> > > > >> >>>>>>>> Marvin] (cloudstack::management-server line > 67) > > > >> had an > > > >> > >> > error: > > > >> > >> > > > >> >>>>>>>> Mixlib::ShellOut::ShellCommandFailed: > Expected > > > >> process > > > >> > >> to > > > >> > >> > > exit > > > >> > >> > > > >> >>>> with > > > >> > >> > > > >> >>>>>> [0], > > > >> > >> > > > >> >>>>>>>> but received '2' > > > >> > >> > > > >> >>>>>>>> ==> management: ---- Begin output of "bash" > > > >> > >> > > > >> >>>>>>>> "/tmp/chef-script20141115-3008-8jnekm" ---- > > > >> > >> > > > >> >>>>>>>> ==> management: STDOUT: Downloading/unpacking > > > >> > >> > > > >> >>>>>>>> http://ianduffy.ie/Marvin-0.1.0.tar.gz > > > >> > >> > > > >> >>>>>>>> ==> management: HTTP error 404 while > getting > > > >> > >> > > > >> >>>>>>>> http://ianduffy.ie/Marvin-0.1.0.tar.gz > > > >> > >> > > > >> >>>>>>>> ==> management: Cleaning up... > > > >> > >> > > > >> >>>>>>>> > > > >> > >> > > > >> >>>>>>>> While seeing this error I tried to access the > > > >> > CloudStack > > > >> > >> > > > >> >> console ( > > > >> > >> > > > >> >>>>>>>> http://localhost:8080/client) and it seems > to > > be > > > >> > >> working. > > > >> > >> > Do > > > >> > >> > > > >> >> you > > > >> > >> > > > >> >>>>>> think I > > > >> > >> > > > >> >>>>>>>> can ignore the above error and use CloudStack > > or > > > >> will > > > >> > I > > > >> > >> > need > > > >> > >> > > to > > > >> > >> > > > >> >>>> fix > > > >> > >> > > > >> >>>>> it > > > >> > >> > > > >> >>>>>>> and > > > >> > >> > > > >> >>>>>>>> re-install? > > > >> > >> > > > >> >>>>>>>> > > > >> > >> > > > >> >>>>>>>> Really appreciate your help. > > > >> > >> > > > >> >>>>>>>> > > > >> > >> > > > >> >>>>>>>> Many Thanks > > > >> > >> > > > >> >>>>>>>> > > > >> > >> > > > >> >>>>>>>> On Sun, Nov 16, 2014 at 12:29 AM, Ian Duffy < > > > >> > >> > i...@ianduffy.ie > > > >> > >> > > > > > > >> > >> > > > >> >>>> wrote: > > > >> > >> > > > >> >>>>>>>> > > > >> > >> > > > >> >>>>>>>>> Hi Imesh, > > > >> > >> > > > >> >>>>>>>>> > > > >> > >> > > > >> >>>>>>>>> Yes use 192.168.22.1 - 192.168.24.1. Sorry I > > > >> meant to > > > >> > >> add > > > >> > >> > a > > > >> > >> > > > >> >> /24 > > > >> > >> > > > >> >>>>>> prefix > > > >> > >> > > > >> >>>>>>> in > > > >> > >> > > > >> >>>>>>>>> on my original email. > > > >> > >> > > > >> >>>>>>>>> > > > >> > >> > > > >> >>>>>>>>> On 15 November 2014 18:16, Imesh Gunaratne < > > > >> > >> > > im...@apache.org> > > > >> > >> > > > >> >>>>> wrote: > > > >> > >> > > > >> >>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>> Hi Ian, > > > >> > >> > > > >> >>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>> Thanks again for the quick feedback. Yes it > > was > > > >> my > > > >> > >> > fault, I > > > >> > >> > > > >> >>>> have > > > >> > >> > > > >> >>>>>> used > > > >> > >> > > > >> >>>>>>>>> some > > > >> > >> > > > >> >>>>>>>>>> other IPv4 addresses in hostonly vboxnet > > > >> adapters. I > > > >> > >> just > > > >> > >> > > > >> >>>> started > > > >> > >> > > > >> >>>>>>>> another > > > >> > >> > > > >> >>>>>>>>>> test with the ones you have mentioned. > > > >> > >> > > > >> >>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>> Just to clarify, the README file in the > > > devcloud4 > > > >> > >> says to > > > >> > >> > > > >> >> set > > > >> > >> > > > >> >>>>> these > > > >> > >> > > > >> >>>>>>>>> values > > > >> > >> > > > >> >>>>>>>>>> to 192.168.22.1 - 192.168.24.1. Would there > > be > > > >> any > > > >> > >> > > > >> >> difference? > > > >> > >> > > > >> >>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>> Thanks > > > >> > >> > > > >> >>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>> On Sat, Nov 15, 2014 at 3:59 PM, Ian Duffy > < > > > >> > >> > > i...@ianduffy.ie > > > >> > >> > > > >> >>> > > > >> > >> > > > >> >>>>>> wrote: > > > >> > >> > > > >> >>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>> Hi Imesh, > > > >> > >> > > > >> >>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>> That almost looks like a possible issue > with > > > the > > > >> > >> vboxnet > > > >> > >> > > > >> >>>>>> adapters. > > > >> > >> > > > >> >>>>>>>>>>> Can you confirm you have 3 host only > > adapters > > > >> > >> assigned > > > >> > >> > > > >> >>>>>>> 192.168.22.0 - > > > >> > >> > > > >> >>>>>>>>>>> 192.168.24.0 with dhcp disabled on each? > > > >> > >> > > > >> >>>>>>>>>>> On 15 Nov 2014 02:19, "Imesh Gunaratne" < > > > >> > >> > im...@apache.org > > > >> > >> > > > >> >>> > > > >> > >> > > > >> >>>>>> wrote: > > > >> > >> > > > >> >>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>> Hi Ian, > > > >> > >> > > > >> >>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>> Thanks for your quick response. This is > the > > > >> issue > > > >> > I > > > >> > >> > > > >> >>>>> encountered > > > >> > >> > > > >> >>>>>>>> when > > > >> > >> > > > >> >>>>>>>>> I > > > >> > >> > > > >> >>>>>>>>>>>> executed devcloud4 > > > >> (binary-installation-advanced): > > > >> > >> > > > >> >>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>> ==> management: > [2014-11-15T02:09:23+00:00] > > > >> INFO: > > > >> > >> > > > >> >> Running > > > >> > >> > > > >> >>>>>> queued > > > >> > >> > > > >> >>>>>>>>>> delayed > > > >> > >> > > > >> >>>>>>>>>>>> notifications before re-raising exception > > > >> > >> > > > >> >>>>>>>>>>>> ==> management: > [2014-11-15T02:09:23+00:00] > > > >> ERROR: > > > >> > >> > > > >> >> Running > > > >> > >> > > > >> >>>>>>>> exception > > > >> > >> > > > >> >>>>>>>>>>>> handlers > > > >> > >> > > > >> >>>>>>>>>>>> ==> management: > [2014-11-15T02:09:23+00:00] > > > >> ERROR: > > > >> > >> > > > >> >>>> Exception > > > >> > >> > > > >> >>>>>>>> handlers > > > >> > >> > > > >> >>>>>>>>>>>> complete > > > >> > >> > > > >> >>>>>>>>>>>> ==> management: > [2014-11-15T02:09:23+00:00] > > > >> FATAL: > > > >> > >> > > > >> >>>> Stacktrace > > > >> > >> > > > >> >>>>>>>> dumped > > > >> > >> > > > >> >>>>>>>>> to > > > >> > >> > > > >> >>>>>>>>>>>> /var/chef/cache/chef-stacktrace.out > > > >> > >> > > > >> >>>>>>>>>>>> ==> management: > [2014-11-15T02:09:23+00:00] > > > >> ERROR: > > > >> > >> > > > >> >>>>>>>>>>>> package[cloudstack-management] > > > >> > >> > > > >> >>>> (cloudstack::management-server > > > >> > >> > > > >> >>>>>>> line > > > >> > >> > > > >> >>>>>>>>> 22) > > > >> > >> > > > >> >>>>>>>>>>> had > > > >> > >> > > > >> >>>>>>>>>>>> an error: Timeout::Error: execution > expired > > > >> > >> > > > >> >>>>>>>>>>>> ==> management: > [2014-11-15T02:09:23+00:00] > > > >> FATAL: > > > >> > >> > > > >> >>>>>>>>>>>> Chef::Exceptions::ChildConvergeError: > Chef > > > run > > > >> > >> process > > > >> > >> > > > >> >>>> exited > > > >> > >> > > > >> >>>>>>>>>>>> unsuccessfully (exit code 1) > > > >> > >> > > > >> >>>>>>>>>>>> Chef never successfully completed! Any > > errors > > > >> > >> should be > > > >> > >> > > > >> >>>>> visible > > > >> > >> > > > >> >>>>>>> in > > > >> > >> > > > >> >>>>>>>>> the > > > >> > >> > > > >> >>>>>>>>>>>> output above. Please fix your recipes so > > that > > > >> they > > > >> > >> > > > >> >>>> properly > > > >> > >> > > > >> >>>>>>>> complete. > > > >> > >> > > > >> >>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>> My host machine runs Yosemite (OSX > 10.10), > > > >> Vagrant > > > >> > >> > > > >> >> 1.6.5, > > > >> > >> > > > >> >>>>>>>> VirtualBox > > > >> > >> > > > >> >>>>>>>>>>>> 4.3.16. I have also attached the chef > > > >> stacktrace > > > >> > >> file > > > >> > >> > > > >> >> with > > > >> > >> > > > >> >>>>> this > > > >> > >> > > > >> >>>>>>>> mail. > > > >> > >> > > > >> >>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>> Really appreciate your help. > > > >> > >> > > > >> >>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>> Many Thanks > > > >> > >> > > > >> >>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>> On Fri, Nov 14, 2014 at 4:33 PM, Ian > Duffy > > < > > > >> > >> > > > >> >>>> i...@ianduffy.ie> > > > >> > >> > > > >> >>>>>>>> wrote: > > > >> > >> > > > >> >>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>>> Hi, > > > >> > >> > > > >> >>>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>>> I can help you get devcloud up. What > > issues > > > >> did > > > >> > you > > > >> > >> > > > >> >> have? > > > >> > >> > > > >> >>>>>>>>>>>>> On 14 Nov 2014 04:40, "Imesh Gunaratne" > < > > > >> > >> > > > >> >>>> im...@apache.org> > > > >> > >> > > > >> >>>>>>> wrote: > > > >> > >> > > > >> >>>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>>>> Hi All, > > > >> > >> > > > >> >>>>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>>>> We recently introduced CloudStack > support > > > in > > > >> > >> Apache > > > >> > >> > > > >> >>>>> Stratos > > > >> > >> > > > >> >>>>>>> and > > > >> > >> > > > >> >>>>>>>>>> trying > > > >> > >> > > > >> >>>>>>>>>>>>> to > > > >> > >> > > > >> >>>>>>>>>>>>>> figureout the best way to demonstrate > > this. > > > >> > >> > > > >> >>>>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>>>> Really appreciate if you could guide us > > on > > > >> the > > > >> > >> > > > >> >> simplest > > > >> > >> > > > >> >>>>> way > > > >> > >> > > > >> >>>>>> to > > > >> > >> > > > >> >>>>>>>>>> install > > > >> > >> > > > >> >>>>>>>>>>>>>> CloudStack on VirtualBox (may be using > > > >> Vagrant)? > > > >> > >> > > > >> >>>>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>>>> We tried following but did not work > > > >> perfectly: > > > >> > >> > > > >> >>>>>>>>>>>>>> - > > > >> > >> https://github.com/bvbharatk/VagrantSimulator.git > > > >> > >> > > > >> >>>>>>>>>>>>>> - > > > https://github.com/imduffy15/devcloud4.git > > > >> > >> > > > >> >>>>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>>>> Thanks > > > >> > >> > > > >> >>>>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>>>> -- > > > >> > >> > > > >> >>>>>>>>>>>>>> Imesh Gunaratne > > > >> > >> > > > >> >>>>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>>>> Technical Lead, WSO2 > > > >> > >> > > > >> >>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos > > > >> > >> > > > >> >>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>> -- > > > >> > >> > > > >> >>>>>>>>>>>> Imesh Gunaratne > > > >> > >> > > > >> >>>>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>>>> Technical Lead, WSO2 > > > >> > >> > > > >> >>>>>>>>>>>> Committer & PMC Member, Apache Stratos > > > >> > >> > > > >> >>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>> -- > > > >> > >> > > > >> >>>>>>>>>> Imesh Gunaratne > > > >> > >> > > > >> >>>>>>>>>> > > > >> > >> > > > >> >>>>>>>>>> Technical Lead, WSO2 > > > >> > >> > > > >> >>>>>>>>>> Committer & PMC Member, Apache Stratos > > > >> > >> > > > >> >>>>>>>> > > > >> > >> > > > >> >>>>>>>> > > > >> > >> > > > >> >>>>>>>> > > > >> > >> > > > >> >>>>>>>> -- > > > >> > >> > > > >> >>>>>>>> Imesh Gunaratne > > > >> > >> > > > >> >>>>>>>> > > > >> > >> > > > >> >>>>>>>> Technical Lead, WSO2 > > > >> > >> > > > >> >>>>>>>> Committer & PMC Member, Apache Stratos > > > >> > >> > > > >> >>>>>>> > > > >> > >> > > > >> >>>>>>> > > > >> > >> > > > >> >>>>>>> > > > >> > >> > > > >> >>>>>>> -- > > > >> > >> > > > >> >>>>>>> Thanks, > > > >> > >> > > > >> >>>>>>> Regards, > > > >> > >> > > > >> >>>>>>> ASH > > > >> > >> > > > >> >>>>> > > > >> > >> > > > >> >>>>> > > > >> > >> > > > >> >>>>> > > > >> > >> > > > >> >>>>> -- > > > >> > >> > > > >> >>>>> Imesh Gunaratne > > > >> > >> > > > >> >>>>> > > > >> > >> > > > >> >>>>> Technical Lead, WSO2 > > > >> > >> > > > >> >>>>> Committer & PMC Member, Apache Stratos > > > >> > >> > > > >> >>> > > > >> > >> > > > >> >>> > > > >> > >> > > > >> >>> > > > >> > >> > > > >> >>> -- > > > >> > >> > > > >> >>> Imesh Gunaratne > > > >> > >> > > > >> >>> > > > >> > >> > > > >> >>> Technical Lead, WSO2 > > > >> > >> > > > >> >>> Committer & PMC Member, Apache Stratos > > > >> > >> > > > >> >> > > > >> > >> > > > >> >> > > > >> > >> > > > >> >> > > > >> > >> > > > >> >> -- > > > >> > >> > > > >> >> Imesh Gunaratne > > > >> > >> > > > >> >> > > > >> > >> > > > >> >> Technical Lead, WSO2 > > > >> > >> > > > >> >> Committer & PMC Member, Apache Stratos > > > >> > >> > > > >> >> > > > >> > >> > > > >> > > > >> > >> > > > > > > > >> > >> > > > > > > > >> > >> > > > > > > > >> > >> > > > > -- > > > >> > >> > > > > Imesh Gunaratne > > > >> > >> > > > > > > > >> > >> > > > > Technical Lead, WSO2 > > > >> > >> > > > > Committer & PMC Member, Apache Stratos > > > >> > >> > > > > > > > >> > >> > > > > > > >> > >> > > > > > > >> > >> > > > > > > >> > >> > > > -- > > > >> > >> > > > Imesh Gunaratne > > > >> > >> > > > > > > >> > >> > > > Technical Lead, WSO2 > > > >> > >> > > > Committer & PMC Member, Apache Stratos > > > >> > >> > > > > > > >> > >> > > > > > >> > >> > > > > >> > >> > > > > >> > >> > > > > >> > >> > -- > > > >> > >> > ----------------------- > > > >> > >> > Two Wheels Good, Four Wheels Bad > > > >> > >> > > > > >> > >> > > > >> > > > > > >> > > > > > >> > > > > > >> > > -- > > > >> > > ----------------------- > > > >> > > Two Wheels Good, Four Wheels Bad > > > >> > > > > > >> > > > > >> > > > > >> > > > > >> > -- > > > >> > ----------------------- > > > >> > Two Wheels Good, Four Wheels Bad > > > >> > > > > >> > > > > > > > > > > > > > > > > -- > > > > ----------------------- > > > > Two Wheels Good, Four Wheels Bad > > > > > > > > > > > > > > > > -- > > > ----------------------- > > > Two Wheels Good, Four Wheels Bad > > > > > > > > > -- > Thanks, > Regards, > ASH > -- Imesh Gunaratne Technical Lead, WSO2 Committer & PMC Member, Apache Stratos