Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 58BB2200C35 for ; Sun, 26 Feb 2017 01:32:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 54308160B7B; Sun, 26 Feb 2017 00:32:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4DE2B160B5D for ; Sun, 26 Feb 2017 01:32:45 +0100 (CET) Received: (qmail 72075 invoked by uid 500); 26 Feb 2017 00:32:44 -0000 Mailing-List: contact dev-help@brooklyn.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.apache.org Delivered-To: mailing list dev@brooklyn.apache.org Received: (qmail 72062 invoked by uid 99); 26 Feb 2017 00:32:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2017 00:32:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A6568C10EE for ; Sun, 26 Feb 2017 00:32:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id FNP8FBx_e5It for ; Sun, 26 Feb 2017 00:32:40 +0000 (UTC) Received: from mail-oi0-f42.google.com (mail-oi0-f42.google.com [209.85.218.42]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 8ADAB5F30F for ; Sun, 26 Feb 2017 00:32:39 +0000 (UTC) Received: by mail-oi0-f42.google.com with SMTP id 65so25529682oig.1 for ; Sat, 25 Feb 2017 16:32:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=138we1o+nHWW/hXqVhyL4sehm1Hbou779OtoNcsJQ0M=; b=AVvRmywZquQeb+yGcgH/SwLGZlwYkZGQzE3hxOVPafr6667YO3m5E3vZRLCSfubYRU kS/jNhAHd50hOsA2BGRwKioSRu5LduyBXzZA8hd2cAvHhbLlrKXjBjfFMCXfNE+CBSbx eC7utRQ7Ko90vEmL9ZYtK+gCp38lA+nUPDjQ88i+7drAknxW8vEeGKLn5TAmbqfYdjKM q2HMVCmhZjlSQY/VrqpeGChgwIEmQrmJiJG9iHD9BaLMHqrHNV6e3x8wsEeX5tLkOA8x M9O81vwzuo0VlNJUIElEYZC4rhp6rdfXhhdG0wPXI3qc9wFzVtvR7uWFNPTq+DgYYNk8 jigA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=138we1o+nHWW/hXqVhyL4sehm1Hbou779OtoNcsJQ0M=; b=Ncp/yfn1dcJUTynHZETWFc41U+RyXZvZQwhqAcl3PUataGRmdQmCFUTyfliyLmvuCY B+2365OpHJgrKrIWpSpNnu1viLEL/htrcrDdW/BaV0ICFsyIaKetAc8hL7LQmFckithv 9ONh8T312FQONdaLBTaBBLrPkWcj2RC/VLVvifck9BKES+qBqzCTnOiuDQ7zLO4R/Unq PARguquOpNSfd546vSvN3/7/NbQk3DJPgArwT0Ms18bnxWAPMvgwbg02j4wwKXIRFqY7 hQe5s7P08a4LoP4yTW92rWVhOMXM1TEYP71VPU1bHdCSQ7wLPCUKlUzwbt5ZYV+mSmP6 GChg== X-Gm-Message-State: AMke39mMkfGtFt+et8mtEqSi5AuyaEjg+PQmlKPFvzuAemk0mpAeVPPKNYv03XExP8OcmtjKBGEHHlL1kCDpKA== X-Received: by 10.202.215.4 with SMTP id o4mr5514159oig.209.1488069151897; Sat, 25 Feb 2017 16:32:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.16.202 with HTTP; Sat, 25 Feb 2017 16:32:31 -0800 (PST) In-Reply-To: References: <783EBA1D-A5B5-4DB6-B3D8-9FDE2D9DA379@cloudsoftcorp.com> From: Rupinder Singh Date: Sun, 26 Feb 2017 06:02:31 +0530 Message-ID: Subject: Re: Beginner's issue in launching brooklyn from vagrant To: dev@brooklyn.apache.org Content-Type: multipart/alternative; boundary=001a113d5154333eeb054964199b archived-at: Sun, 26 Feb 2017 00:32:46 -0000 --001a113d5154333eeb054964199b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi svet, I have the file. I'll try. Yes. It is expected to be slow as is my existing ubuntu installation. rupinder On Sun, Feb 26, 2017 at 5:14 AM, Rupinder Singh wrote: > Hi svet, > The attachment hasn't come through. Could you re-send plz? > > Rupinder > On 26 Feb 2017 01:26, "Svetoslav Neykov" cloudsoftcorp.com> wrote: > >> Hi Rupinder, >> >> The missing step is to set the "cpus" in the Vagrantfile to 1. See >> attached file. >> While this should be able to boot the machines it might be too slow to >> actually be usable. >> If that's the case you can still run Brooklyn directly on the machine. >> >> Svet. >> >> >> >> >> On 25.02.2017 =D0=B3., at 4:57, Rupinder Singh wrot= e: >> >> Hi Svet, John >> >> I changed the Vagrantfile as suggested, as attached here. The output >> remains as before. >> >> Rupinder >> >> On Sat, Feb 25, 2017 at 7:00 AM, John McCabe wrote= : >> >>> Hi Rupinder, >>> I think you've added Svets suggested config update in the wrong place. = It >>> should be added in the following block (note you're just adding the >>> vb.customize here): >>> >>> server_config.vm.provider :virtualbox do |vb| >>> vb.name =3D server["name"] >>> vb.memory =3D server["ram"] >>> vb.cpus =3D server["cpus"] >>> vb.customize ["modifyvm", :id, "--hwvirtex", "off"] >>> end >>> >>> Make sure to remove your earlier changes. >>> >>> (Note: I don't have a non-VT-X system to validate this on) >>> >>> /John >>> >>> On Sat, 25 Feb 2017 at 00:57 Rupinder Singh wrote: >>> >>> attachments, which I missed in earlier email, here. >>> >>> On Sat, Feb 25, 2017 at 5:57 AM, Rupinder Singh >>> wrote: >>> >>> Hi Svet, >>> Thanks for your continued support. >>> I tried to change Vagrantfile as attached here in raw. The output remai= ns >>> as before as attached here. >>> >>> Rupinder >>> >>> On Fri, Feb 24, 2017 at 9:42 PM, Svetoslav Neykov < >>> svetoslav.neykov@cloudsoftcorp.com> wrote: >>> >>> Hi rupinder, >>> >>> In the Vagrantfile try to disable virtualization. Insert the following >>> before the end of the configure section [1]: >>> >>> config.vm.provider :virtualbox do |vb| >>> vb.customize ["modifyvm", :id, "--hwvirtex", "off"] >>> end >>> >>> Svet. >>> >>> [1] >>> https://github.com/apache/brooklyn-dist/blob/c9c688ccdea1508 >>> 17800b05d0a39aa0e812e27f4/vagrant/src/main/vagrant/Vagrantfile#L84 >>> >>> > On 24.02.2017 =D0=B3., at 18:06, Rupinder Singh = wrote: >>> > >>> > 1. my pc doesn't have VT-X for sure. >>> > >>> > 2. But I run ubuntu out of Oracle VirtualBox and installation works. >>> > >>> > rupinder >>> > >>> > >>> > >>> > On Mon, Feb 20, 2017 at 9:02 PM, Rupinder Singh >>> wrote: >>> >> >>> >> >>> >> Hi Svet >>> >> 1. No. I am not running vagrant inside another VM. >>> >> >>> >> 2. Windows 7. So it doesn't have hyper-V installed. >>> >> >>> >> rupinder >>> >> >>> >> On Mon, Feb 20, 2017 at 8:43 PM, Svetoslav Neykov < >>> > svetoslav.neykov@cloudsoftcorp.com> wrote: >>> >>> >>> >>> Hi Rupinder, >>> >>> >>> >>> If your machine doesn't support virtualisation you can still give >>> > Brooklyn a try by executing it directly in Windows. >>> >>> Download the zip[1] archive, extract it and run "bin/brooklyn launc= h" >>> > from the extracted folder. You can configure a cloud location >>> >>> and deploy an example blueprint to it. Drop by in our IRC channel >>> > #brooklyncentral (on FreeNode) if you need guidance on how to do that= . >>> >>> >>> >>> Having said that, all recent processors should support >>> virtualisation. >>> > If you don't have the option it could mean that it's already enabled. >>> >>> The error you get could (alternatively) be caused by one of the >>> > following: >>> >>> * You are trying to run vagrant inside another VM. Is your Windows >>> > running locally in a VM? Are you working through an RDP session? >>> >>> * You have Hyper-V (which is Microsoft's alternative to Virtualbox= ) >>> > enabled. Need to disable it - see the stackoverflow link sent by Mike >>> below. >>> >>> >>> >>> >>> >>> Svet. >>> >>> >>> >>> >>> >>> [1] >>> > >>> https://www.apache.org/dyn/closer.lua?action=3Ddownload&filena >>> me=3Dbrooklyn/apache-brooklyn-0.10.0/apache-brooklyn-0.10.0-bin.zip >>> >>> >>> >>> >>> >>>> On 20.02.2017 =D0=B3., at 16:13, Rupinder Singh >>> wrote: >>> >>>> >>> >>>> I have Compaq R191B. Virtualization option is not there in BIOS. >>> > Doesn't >>> >>>> support VT-X. >>> >>>> >>> >>>> On Mon, Feb 20, 2017 at 1:06 AM, Valentin Aitken < >>> >>>> valentin.aitken@cloudsoftcorp.com> wrote: >>> >>>> >>> >>>>> Hi Rupinder, >>> >>>>> >>> >>>>> The last log says vagrant cannot find rsync. >>> >>>>> Could you try installing and adding to PATH some Windows port of >>> > rsync? >>> >>>>> I suggest to try Cygwin [1]. >>> >>>>> >>> >>>>> Valentin. >>> >>>>> >>> >>>>> [1] https://en.wikipedia.org/wiki/Cygwin >>> >>>>> >>> >>>>> =D0=9D=D0=B0 19/02/17 =D0=B2 18:25, Rupinder Singh =D0=BD=D0=B0= =D0=BF=D0=B8=D1=81=D0=B0: >>> >>>>> >>> >>>>>> Hi Mark, Duncan, >>> >>>>>> >>> >>>>>> Fresh output is as attached. Would this work? >>> >>>>>> >>> >>>>>> Rupinder >>> >>>>>> >>> >>>>>> On Sun, Feb 19, 2017 at 8:45 PM, Rupinder Singh < >>> rupi.pal@gmail.com >>> >>>>>> > wrote: >>> >>>>>> >>> >>>>>> Thanks Mark, Duncan! >>> >>>>>> >>> >>>>>> I'll try out and revert. >>> >>>>>> >>> >>>>>> Rupinder >>> >>>>>> >>> >>>>>> On Sun, Feb 19, 2017 at 8:28 PM, Mark Mc Kenna >>> >>>>>> > wrote: >>> >>>>>> >>> >>>>>> Hi Rupinder, >>> >>>>>> >>> >>>>>> As Duncan said the ubuntu image is no longer supported by >>> > vagrant. >>> >>>>>> >>> >>>>>> The updated centos7 version can be downloaded from the >>> apache >>> >>>>>> maven repo >>> >>>>>> [1] >>> >>>>>> It is worth noting that this is configured for the >>> >>>>>> 0.11.0-SNAPSHOT version >>> >>>>>> of brooklyn. To change this please amend BROOKLYN_VERSION = in >>> >>>>>> servers.yaml >>> >>>>>> [2]. >>> >>>>>> >>> >>>>>> I have confirmed the above is working for >>> >>>>>> vagrant: 1.9.1 >>> >>>>>> virtualbox: 5.0.30 r112061 >>> >>>>>> >>> >>>>>> [1] >>> >>>>>> https://repository.apache.org/content/groups/snapshots/org= / >>> a >>> >>>>>> pache/brooklyn/brooklyn-vagrant/0.11.0-SNAPSHOT/ >>> >>>>>> >> / >>> >>>>>> apache/brooklyn/brooklyn-vagrant/0.11.0-SNAPSHOT/> >>> >>>>>> [2] >>> >>>>>> https://github.com/apache/brooklyn-dist/blob/master/vagran= t >>> / >>> >>>>>> src/main/vagrant/servers.yaml#L50 >>> >>>>>> >> t >>> >>>>>> /src/main/vagrant/servers.yaml#L50> >>> >>>>>> >>> >>>>>> Cheers >>> >>>>>> >>> >>>>>> *Mark McKenna* >>> >>>>>> >>> >>>>>> *Web :: markmckenna.ie >>> >>>>>> * >>> >>>>>> >>> >>>>>> *Work :: mark.mckenna@cloudsoft.io >>> >>>>>> < >>> mark.mckenna@cloudsoft.io >>> >>>>>> >* >>> >>>>>> >>> >>>>>> *PGP :: A7A9 24DE 638C 681A 8DEA FAD4 2B5D C759 B1EB 76A7 >>> >>>>>> < >>> > https://pgp.mit.edu/pks/lookup?op=3Dget&search=3D0x2B5DC759B1EB76A7 >>> >>>>>> < >>> > https://pgp.mit.edu/pks/lookup?op=3Dget&search=3D0x2B5DC759B1EB76A7 >>> >>>>>>>> * >>> >>>>>> >>> >>>>>> On 19 February 2017 at 13:15, Duncan Godwin >>> >>>>>> >> >>>>>> >>> >>>>>>> wrote: >>> >>>>>> >>> >>>>>>> Hi Rupinder >>> >>>>>>> >>> >>>>>>> So I imagine the version of Ubuntu used in the vagrant >>> >>>>>> example is no >>> >>>>>>> longer supported. Fortunately this was upgraded a few weeks >>> >>>>>> ago to centos >>> >>>>>>> 7. This is expected in version 0.11 but is currently >>> >>>>>> available in the >>> >>>>>>> snapshot version here: >>> >>>>>>> >>> >>>>>>> https://brooklyn.apache.org/meta/versions.html >>> >>>>>> >>> >>>>>>> >>> >>>>>>> Thanks >>> >>>>>>> >>> >>>>>>> Duncan >>> >>>>>>> >>> >>>>>>> >>> >>>>>>> >>> >>>>>>> On 19 Feb 2017 13:08, "Richard Downer" >> >>>>>> > wrote: >>> >>>>>>> >>> >>>>>>> Hi Rupinder, >>> >>>>>>> >>> >>>>>>> A few months back on an unrelated project I had a similar >>> >>>>>> problem and it >>> >>>>>>> was caused by a bug in Vagrant on Windows. I can't remember >>> >>>>>> the details and >>> >>>>>>> I'm on the road at the moment so I can't look it up, but it >>> >>>>>> may be worth >>> >>>>>>> searching Google for the error message. When I'm back in the >>> >>>>>> office I'll >>> >>>>>>> see if I can find more details for you. >>> >>>>>>> >>> >>>>>>> Sent from my Android phone >>> >>>>>>> >>> >>>>>>> On 19 Feb 2017 1:35 a.m., "Rupinder Singh" >>> >>>>>> > wrote: >>> >>>>>>> >>> >>>>>>> Hi Mark, >>> >>>>>>> >>> >>>>>>> The output from those two commands is as attached. >>> >>>>>>> >>> >>>>>>> vagrant version is 1.9.1 >>> >>>>>>> >>> >>>>>>> thanks >>> >>>>>>> >>> >>>>>>> On Sat, Feb 18, 2017 at 10:54 PM, Mark Mc Kenna >>> >>>>>> > >>> >>>>>>> wrote: >>> >>>>>>> >>> >>>>>>>> Hi Rupinder, >>> >>>>>>>> Can you try running the below commands and provide the >>> >>>>>> output ... Also >>> >>>>>>> can >>> >>>>>>>> you provide the vagrant version >>> >>>>>>>> >>> >>>>>>>> vagrant box add ubuntu/wily64 >>> >>>>>>>> vagrant up >>> >>>>>>>> >>> >>>>>>>> Cheers >>> >>>>>>>> Mark >>> >>>>>>>> >>> >>>>>>>> On 18 Feb 2017 16:44, "Rupinder Singh" >> >>>>>> > wrote: >>> >>>>>>>> >>> >>>>>>>> I am beginner in brooklyn. I am trying to bring up >>> >>>>>> brooklyn from vagrant >>> >>>>>>> on >>> >>>>>>>> my windows 7 machine. I am getting 404 error >>> >>>>>>>> >>> >>>>>>>> downloading >>> >>>>>>>> https://atlas.hashicorp.com/ubuntu/boxes/wily64/versions/ >>> >>>>>> >>> >>>>>>>> 20160715.0.0/providers/virtualbox >>> >>>>>>>> >>> >>>>>>>> thats from where it says. file not found 404 >>> >>>>>>>> >>> >>>>>>>> can anybody help? >>> >>>>>>>> >>> >>>>>>> >>> >>>>>>> >>> >>>>>>> >>> >>>>>> >>> >>>>>> >>> >>>>>> >>> >>>>>> >>> >>>>> -- >>> >>>>> Valentin Aitken >>> >>>>> Software Engineer >>> >>>>> Cloudsoft Corporation Ltd. >>> >>>>> www.cloudsoft.io >>> >>>>> >>> >>>>> >>> >>> >>> >> >>> >> >> >> >> >> >> --001a113d5154333eeb054964199b--