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 35CEC200D13 for ; Sat, 30 Sep 2017 20:24:58 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3491F1609EE; Sat, 30 Sep 2017 18:24:58 +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 542F51609C2 for ; Sat, 30 Sep 2017 20:24:57 +0200 (CEST) Received: (qmail 16307 invoked by uid 500); 30 Sep 2017 18:24:56 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 16297 invoked by uid 99); 30 Sep 2017 18:24:56 -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; Sat, 30 Sep 2017 18:24:56 +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 BB0A9C3495 for ; Sat, 30 Sep 2017 18:24:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.981 X-Spam-Level: * X-Spam-Status: No, score=1.981 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=umail-iu-edu.20150623.gappssmtp.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 XUSetsjx1Drl for ; Sat, 30 Sep 2017 18:24:54 +0000 (UTC) Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 3E5395FB2E for ; Sat, 30 Sep 2017 18:24:54 +0000 (UTC) Received: by mail-wm0-f42.google.com with SMTP id i124so4180707wmf.3 for ; Sat, 30 Sep 2017 11:24:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umail-iu-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=M/hdmgAA1r1z1WSIoS/5ilf0eg61242hC6NKdcBcaMQ=; b=wmiNqfyuLSo4GVShXKkUufH6zpDhKP/0kvEFghG/W6VaqNDzyrnzgiJYO51O7c5uV0 GSPPFNGN9l1d+X9rrJx1MihqDNMPyVrqo9rcHT4N0Um820tubuVtXbMDgHJ32PPWvrJO DTZsPGGCbznLix3B/XJzmvRkHDEUk1HBqBO8QwdlRjq3pTm6ygFCKae5OtvhU+r2sU7C R4QKfpXdZd4t62xoR0tEEiLYkpzEy2/m2pCoAgU3gRnueScd4BN1ktS0tQNuvgtFAyAo WbXZONZO8U6eXD+gj8Kb9fX3hh3fpSCm60R+kiF6GyBlJd3vwVojg2532VxPU2/38TIo Dr5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=M/hdmgAA1r1z1WSIoS/5ilf0eg61242hC6NKdcBcaMQ=; b=P7gvc5XlFRlzXmr4Iv8w6zuYQltyW0d1uzfc4HrQ9QDEfyBO1IQ2uu4S621N7ZFRh3 Y64WNW8xinjYCWXcYjG22GU2xWqMf4jM1WYc1ee1NlHBq5G7hTkbM5jx8MT348SnfNTn hJ/H7hD06JPIYcKuuEeY8wGG4H6EKCfkLSRUy1xZpTziigjJC0z7mmDWrc4LZxzfnNYN OYHtVW6xOlQ6OuokKqs2iX958JuPIoBPIsY3kSOyChs6TuI87A7ZBHj8Q4qSuUhwSgG4 ErahYoQTEjfqmWq7907c/CkKw6Zm9Ekw9d9vJ8K4sKbdoOw299SvFHD6PsHtOIk2gHn7 GB5g== X-Gm-Message-State: AMCzsaVx7LVYdxrA5FQMtON8sPmuBu6zUtejPO7K8taYPQHbBfbGaYFs ln57I0ZxIVDUpQzjlNbBk8tDA2/uCMwG0vnq1VlD7JI= X-Google-Smtp-Source: AOwi7QDg/Q6TybummFViPdL1ocSoM8oO3G5LFwPtsl9sDGj5+BF3YwVct9efaghCO9zOfUvZaUHch6NzG6ikW10NXVk= X-Received: by 10.28.66.202 with SMTP id k71mr6788811wmi.19.1506795893550; Sat, 30 Sep 2017 11:24:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.5.72 with HTTP; Sat, 30 Sep 2017 11:24:53 -0700 (PDT) From: Hitesh Kumar Dasika Date: Sat, 30 Sep 2017 14:24:53 -0400 Message-ID: Subject: [FALL-2017] Dockerizing Airavata PGA To: dev@airavata.apache.org Content-Type: multipart/alternative; boundary="94eb2c07398afc28e1055a6c41d6" archived-at: Sat, 30 Sep 2017 18:24:58 -0000 --94eb2c07398afc28e1055a6c41d6 Content-Type: text/plain; charset="UTF-8" Hello Dev I am in the process of writing a Dockerfile for Dockerizing Airavata PGA Gateway. My end goal is to replace the current ansible installation of Airavata PGA Gateway with a Docker Container PR which is still developing: https://github.com/apache/airavata/pull/122 Some Considerations that I want to make: 1. Through the ansible playbook, firewalld is installed and is configured. But when the app is installed in a container, there is no need for firewalld as we can access the container only through the port exposed. The host system can be configured with firewalld which makes more sense. 2. The second thing is default configurations which need to be copied. There are many conf files and there are placeholders in those which are replaced by ansible. Whereas in Docker container creation, such configurations need to be copied without placeholders into the containers. To achieve this, my plan is to include a volume which is mounted to the container and that volume will have all the configuration files in it. The user will have the option to change configurations in those files. Any Suggestions would be appreciated. @Gourav The PR contains a single dockerfile for all the services. But won't it be good if there are different containers with different components in them? This approach will also be helpful for orchestration Regards Hitesh Kumar Dasika --94eb2c07398afc28e1055a6c41d6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Dev

I am in the process of writin= g a Dockerfile for Dockerizing Airavata PGA Gateway. My end goal is to repl= ace the=C2=A0current ansible installation of Airavata PGA Gateway with a Do= cker Container

PR which is still developing: https://github.com/apach= e/airavata/pull/122

Some Considerations th= at I want to make:

1. Through the ansible playbook= , firewalld is installed and is configured. But when the app is installed i= n a container, there is no need for firewalld=C2=A0as we can access the con= tainer only through the port exposed. The host system can be configured wit= h firewalld=C2=A0which makes more sense.

2.=C2=A0 = The second thing is default configurations which need to be copied. There a= re many conf files and there are placeholders in those which are replaced b= y ansible. Whereas in Docker container creation, such configurations need t= o be copied without placeholders into the containers. To achieve this, my p= lan is to include a volume which is mounted to the container and that volum= e will have all the configuration files in it. The user will have the optio= n to change configurations in those files.

Any Sug= gestions would be appreciated.

@Gourav
T= he PR contains a single dockerfile=C2=A0for all the services. But won't= it be good if there are different containers with different components in = them? This approach will also be helpful for orchestration



Regards

Hit= esh Kumar Dasika=C2=A0



--94eb2c07398afc28e1055a6c41d6--