From dev-return-1606-archive-asf-public=cust-asf.ponee.io@openwhisk.apache.org Sat Mar 3 00:34:45 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 16287180671 for ; Sat, 3 Mar 2018 00:34:44 +0100 (CET) Received: (qmail 18855 invoked by uid 500); 2 Mar 2018 23:34:44 -0000 Mailing-List: contact dev-help@openwhisk.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwhisk.apache.org Delivered-To: mailing list dev@openwhisk.apache.org Received: (qmail 18570 invoked by uid 99); 2 Mar 2018 23:34:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2018 23:34:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 04D08C0144 for ; Fri, 2 Mar 2018 23:34:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.129 X-Spam-Level: X-Spam-Status: No, score=0.129 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id BJw75lICQ6Il for ; Fri, 2 Mar 2018 23:34:41 +0000 (UTC) Received: from mail-yw0-f181.google.com (mail-yw0-f181.google.com [209.85.161.181]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 9B96A5F17A for ; Fri, 2 Mar 2018 23:34:40 +0000 (UTC) Received: by mail-yw0-f181.google.com with SMTP id d205so3864746ywe.2 for ; Fri, 02 Mar 2018 15:34:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4odmpIkiliFTNcUIDAAXVDUzA0MBXxCKCnjfbeZtA5A=; b=Qt788CMQ6pBy6XubH3Fm4jyR2NEb47NrqQldqV3r2zMVuMwyPK/yZC/cKrqqtXdZGf 5H/H1SP8VcagVQmcfP1ydJ10JGVq//OSs+9ihuzlqFEL5EhVPdJJOhDvfbfmmefiDCiB FuZBHmwjEDACnpbRHYvLI9nDVl66rrN30gz4aHX2NVKm3qjj4fT4aLPbfUDnJWtbO1uY wK0Y3B8FtDv6iD5Yw3B2uD0pC92GE3ohUOhL7R7UmJlJNUmoqbfmiszlX4LfQbHn23lU XdW3V+GuGEeXTLIYh+fwc/O2DkQ7Vo4MFPAMMM3P7f2DDpN3An9H8dDjy9UjrFLP82yw YkJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4odmpIkiliFTNcUIDAAXVDUzA0MBXxCKCnjfbeZtA5A=; b=PDMhx2uaG1dPS7PFPmeNPDFU26MGHNoA0r94p5kIjJn21dIBFpBZ+g9YKFQmKTL2xo CLq/uolcsXLGHTVV/+XIjUaa7QWd8Hi1VD9E2C1Czo0RQkZP/hP7sBicI1LudvO8r60y wQKs5wxoMDN+60NoR1cYjQetjXpDswZ4MLd/kEXnx/Y9Dyyz9d6pzFrRj6H6/MSxkRbv zFCJO6GRVSFJsM8WoGIMYW7RnayPaRiLaN3B2GGf/tQk28tVq9pQxXS5otNXvRXbPRaU Sqo2b9Xk8bilSRdlIEuzn5ea+Ja5WAs8I23TX/VgqquaW4ggmizkwGV7QhmCtEgHcPSc TRQA== X-Gm-Message-State: AElRT7HdFDl8KjozRMLU574QfPE9h5lXt7yepj+Y20ua5jEQrYe92ArD xuGLbPeJ68P6wIlNyNue3PJdLM/y X-Google-Smtp-Source: AG47ELulqBjnuCT8rZdnTgbpX18ab5WepsZl25JploXi7Jc4iw2n+PDKEgd4pFMzM2d+Y435StaAjA== X-Received: by 10.129.233.3 with SMTP id d3mr5033081ywm.121.1520033679384; Fri, 02 Mar 2018 15:34:39 -0800 (PST) Received: from ?IPv6:2600:380:5346:94e4:b0e1:86e5:8cd5:187a? ([2600:380:5346:94e4:b0e1:86e5:8cd5:187a]) by smtp.gmail.com with ESMTPSA id x15sm2963564ywj.99.2018.03.02.15.34.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Mar 2018 15:34:38 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: Error when deploying Whisk-Controller in dcos From: Carlos Santana X-Mailer: iPhone Mail (15D100) In-Reply-To: <74371A54-808A-4EC4-A562-2F639251EBB6@vmware.com> Date: Fri, 2 Mar 2018 18:34:38 -0500 Cc: "dev@openwhisk.incubator.apache.org" Content-Transfer-Encoding: quoted-printable Message-Id: <67E481CF-E713-4BAD-808E-6F82003E24A3@gmail.com> References: <3E5C6133-DEC7-4BE8-96CD-2BCE0347622F@adobe.com> <986C62B7-0264-4E58-8EFE-073AB7B29B07@adobe.com> <5B82FE0F-5456-48B4-80D0-7364F3B3CA59@vmware.com> <74371A54-808A-4EC4-A562-2F639251EBB6@vmware.com> To: dev@openwhisk.apache.org No that it=E2=80=99s still in PR=20 Just pull the changes locally and build=20 - Carlos Santana @csantanapr > On Mar 2, 2018, at 6:20 PM, Kumar Subramanian wr= ote: >=20 > Is that change at https://github.com/chetanmeh/incubator-openwhisk/blob/fa= 302249f4f9b4e6b3084956f18bda987674f46f/core/controller/Dockerfile not merged= ? I don=E2=80=99t see change in master https://github.com/apache/incubator-o= penwhisk/blob/master/core/controller/Dockerfile >=20 > Thanks, > Kumar.=20 >=20 > On 3/2/18, 2:59 PM, "Kumar Subramanian" wrote: >=20 > Ok, I will try to build the controller image and see. Will keep you pos= ted. >=20 > On 3/2/18, 2:39 PM, "Tyson Norris" wrote: >=20 > Thanks Carlos - I think you=E2=80=99re right.=20 >=20 >=20 >=20 > Kumar you can either build the controller image with that PR, or el= se you should be able to manually set the docker cmd, e.g. /bin/sh -c \"exec= /init.sh 0 >> /dev/stdout\=E2=80=9D on the dcos service for controller;=20 >=20 >=20 >=20 > I think you will have similar issue with invoker, mostly because th= is universe is far out of date from current openwhisk images.=20 >=20 >=20 >=20 > For invoker can you use the docker cmd as /bin/sh -c \"exec /init.s= h --name $LIBPROCESS_IP >> /dev/stdout\=E2=80=9D >=20 >=20 >=20 > Additionally, the env vars (both invoker and controller) have chang= ed substantially, so I would expect a few hiccups there as well.=20 >=20 >=20 >=20 > We are working on getting updates to the universe so that our inter= nal deployment details are not included, and it will actually work with rece= nt openwhisk images (and stay working) but haven=E2=80=99t gotten everything= set just yet.=20 >=20 >=20 >=20 > Hope that helps >=20 > Tyson >=20 >=20 >=20 >>> On Mar 2, 2018, at 2:21 PM, Carlos Santana wrote:= >>=20 >>=20 >=20 >> Maybe for the init.sh this PR is related >=20 >> https://urldefense.proofpoint.com/v2/url?u=3Dhttps-3A__na01.safelinks.pro= tection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fgithub.com-252Fapache-252Fi= ncubator-2Dopenwhisk-252Fpull-252F3374-252Ffiles-2523diff-2D8f445fbdf6253dd1= 76975ff6c629def4R18-26data-3D02-257C01-257Ctnorris-2540adobe.com-257C605cc50= c7a484ccb833708d5808bfe64-257Cfa7b1b5a7b34438794aed2c178decee1-257C0-257C0-2= 57C636556261107863657-26sdata-3Dtk8Des10hubLs7FNSgzDlsk1ibxDTIqSlXti-252FcAU= yz0-253D-26reserved-3D0&d=3DDwIGaQ&c=3DuilaK90D4TOVoH58JNXRgQ&r=3DF5C8fYlpBJ= 270qrdwLq2iRQrPd1CLap8zItxk8laWpo&m=3DLUthdew4Dt10vSAZSYRBbREqgwWk2PUWc4KDBJ= tt0uU&s=3D3UqWljTQjItMnzWhPrsfD1AF2IX6abtc9dYRfrxb2_M&e=3D >=20 >>=20 >=20 >>=20 >=20 >> On Fri, Mar 2, 2018 at 5:09 PM Tyson Norris >=20 >> wrote: >=20 >>=20 >=20 >>> Check your marathon/dcos service config to verify what image is used, an= d >=20 >>> that you have the latest image pulled? >=20 >>>=20 >=20 >>> The default should be openwhisk/controller - but I see that universe >=20 >>> package marathon config is not set to force pull, so if you are using th= at >=20 >>> image, make sure you have pulled the latest manually (or change the conf= ig >=20 >>> to force pull in dcos/marathon ui). >=20 >>>=20 >=20 >>> Tyson >=20 >>>=20 >=20 >>>> On Mar 2, 2018, at 12:45 PM, Kumar Subramanian >=20 >>> wrote: >=20 >>>>=20 >=20 >>>> Hi, >=20 >>>> I have installed the following in DCOS successfully: >=20 >>>> 1. Apigateway >=20 >>>> 2. Exhibitor-dcos >=20 >>>> 3. Kafka (name given is mykafka at the time of installation) >=20 >>>> 4. Whisk-couchdb >=20 >>>> 5. Consul >=20 >>>> 6. Registrator >=20 >>>>=20 >=20 >>>> Eror when deploying Whisk-Controller in DCOS: >=20 >>>> When I tried to deploy whisk-controller with default settings, then the= >=20 >>> service fails to deploy (it just kills and redploys the service >=20 >>> continuously on its own when deploying) >=20 >>>>=20 >=20 >>>> Here is the content in the Error and Output >=20 >>>>=20 >=20 >>>> STDERR: >=20 >>>> (AT BEGINNING OF FILE) >=20 >>>> I0302 20:38:35.176177 19822 exec.cpp:162] Version: 1.2.3 >=20 >>>> I0302 20:38:35.180703 19824 exec.cpp:237] Executor registered on agent >=20 >>> 995020e0-5129-44a3-8cf4-65900838b3af-S6 >=20 >>>> docker: Error response from daemon: Container command 'init.sh' not >=20 >>> found or does not exist.. >=20 >>>>=20 >=20 >>>> OUTPUT: >=20 >>>> (AT BEGINNING OF FILE) >=20 >>>> Registered docker executor on 10.0.6.55 >=20 >>>> Starting task whisk-controller.adb62c44-1e59-11e8-8754-3afdc003616b >=20 >>>>=20 >=20 >>>> Can you please provide your valuable inputs on how to get >=20 >>> whisk-controller deployed in dcos? >=20 >>>>=20 >=20 >>>> Thanks, >=20 >>>> Kumar. >=20 >>>>=20 >=20 >>>=20 >=20 >>>=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20