Sure. Just looks for the lines related to firewalld in the Ansible role. For 
example, for the env_setup role you would comment out these lines [0].

[0] 
https://github.com/apache/airavata/blob/05db6bcd44e70067e154243401c16b3a1f96ac2d/dev-tools/ansible/roles/env_setup/tasks/main.yml#L32-L59

> On Feb 8, 2019, at 2:54 PM, Keerthi N <[email protected]> wrote:
> 
> Thank you Marcus, that's helpful. If you don't mind can you direct me to the 
> exact file where I can make appropriate changes.
> 
> Thanks,
> Keerthi
> 
> On Fri, Feb 8, 2019 at 1:59 PM Christie, Marcus Aaron <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi Keerthi,
> 
> I don't have experience trying to run Airavata in a CentOS 7 Docker 
> container. Honestly I hadn't thought of doing that, but it would be 
> interesting to see what it takes to get it working. I do have a couple 
> thoughts.
> 
> First, we've had good success using VirtualBox to run CentOS 7 in a VM. There 
> are many tutorials out there, but I also wrote up some notes on creating a 
> CentOS 7 VM [0], especially with respect to configuring the networking. So if 
> you get stuck with running on a Docker container, there is always the 
> VirtualBox VM approach.
> 
> Second, looks like the issue you are having is between firewalld and Docker. 
> A quick web search shows me that there may be some issues getting those two 
> to work together. That said, if there isn't a firewall running on the 
> container, perhaps you don't need to open ports in the firewall. You can just 
> comment out those parts of the Ansible scripts in that case.
> 
> Sincerely,
> 
> Marcus
> 
> [0] 
> https://marcus.4christies.com/2019/01/how-to-create-a-virtualbox-vm-with-a-static-ip-and-internet-access/
>  
> <https://marcus.4christies.com/2019/01/how-to-create-a-virtualbox-vm-with-a-static-ip-and-internet-access/>
> 
>> On Feb 8, 2019, at 11:53 AM, Keerthi N <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Hello,
>> 
>> I used centos 7 container for Airavata installation using guidelines 
>> mentioned in the Airavata+Django installation document. I encountered an 
>> error (attached below) at the Database installation step (ansible-playbook 
>> -i inventories/standalone database.yml)
>> 
>> The firewalld  is not running in the centos 7 container even after trying to 
>> enable/start firewalld and iptables. The error message for both cases are 
>> attached to this email. Also I tried to restart the docker but there is no 
>> difference in the errors.
>> 
>> 
>> If you have any suggestions to fix and move forward with the installation 
>> process, please let me know.
>> 
>> 
>> Thanks,
>> Keerthi
>> 
>> <ipaddr.png><current_status.png><firwalld.png><iptables.png>
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to