Hi Lahiru,
Thanks, I was able to run it with the modifications suggested by Yasas. I believe it should be fine? Regards Karan ________________________________ From: Lahiru Jayathilake <[email protected]> Sent: Friday, July 27, 2018 6:57 PM To: [email protected] Subject: Re: Installation of Apache Airavata Hi Karan, You can fix it adding the following code block before line number 120 in /ansible/roles/database/tasks/main.yml - name: update facts setup: delegate_to: '{{item}}' delegate_facts: yes when: hostvars[item]["ansible_default_ipv4"] is not defined with_items: - '{{groups["api-orch"]}}' - "localhost" become: sudo tags: - always Regards, Lahiru On 28 July 2018 at 03:30, Kotabagi, Karan <[email protected]<mailto:[email protected]>> wrote: ?Hi Yasas, ?Thanks, it worked now, I will continue with the set-up. Regards Karan ________________________________ From: Yasas Gunarathne <[email protected]<mailto:[email protected]>> Sent: Friday, July 27, 2018 5:38 PM To: [email protected]<mailto:[email protected]> Subject: Re: Installation of Apache Airavata Hi Karan, I think for the moment you can modify line number 121 and 128 at dev-tools/ansible/roles/database/tasks/main.yml as follows and continue. mysql_user: name="{{ db_user }}" password="{{ db_password }}" host="{{ item }}" Regards On Sat, Jul 28, 2018 at 2:06 AM Kotabagi, Karan <[email protected]<mailto:[email protected]>> wrote: Hi Yasas, I have attached the result of the "ip r"(from VM) in the screenshot. Can you please check and advise, if it is Ok? Also please note that this is the error I am facing with the ?staging branch, this had worked in the master branch. Regards Karan ________________________________ From: Yasas Gunarathne <[email protected]<mailto:[email protected]>> Sent: Friday, July 27, 2018 4:05 PM To: [email protected]<mailto:[email protected]> Subject: Re: Installation of Apache Airavata Hi Karan, If you have no default routes defined for your IPv4 or IPv6 addresses ansible_default_ipv4 will stay undefined. Can you check this with, ip r and confirm? Regards On Sat, Jul 28, 2018 at 1:02 AM Kotabagi, Karan <[email protected]<mailto:[email protected]>> wrote: *************Re-sending the mail with the attached error screenshot***************** Hi All, I working to set-up the Apache Airavata locally using a CentOS VM. I have set-up using the guide at the link: https://docs.google.com/document/d/1dFhajiYlPtNymIKbMvCXeLivLHujLjvE107QyUDEgdA/edit?usp=sharing for the master branch and completed the set-up but was getting the error with the pga not starting up at the port 8008. Since, in order to debug or test the new adapter locally I was advised by Dimuthu to use the staging branch and use some settings to debug the pga client to start up. At the stage of setting up the database using the ansible with the following command: ansible-playbook -i inventories/standalone database.yml (Error Screenshot as attached in error.png) Although, this was successful with the master branch. I am getting this error with the staging branch and I have checked the quotes message in the error and I believe the error is not related to this? Please provide your inputs to resolve this issue and move ahead with the set-up. Regards Karan -- Yasas Gunarathne Undergraduate at Department of Computer Science and Engineering Faculty of Engineering - University of Moratuwa Sri Lanka LinkedIn<https://www.linkedin.com/in/yasasgunarathne/> | GitHub<https://github.com/yasgun> | Mobile : +94 77 4893616 -- Yasas Gunarathne Undergraduate at Department of Computer Science and Engineering Faculty of Engineering - University of Moratuwa Sri Lanka LinkedIn<https://www.linkedin.com/in/yasasgunarathne/> | GitHub<https://github.com/yasgun> | Mobile : +94 77 4893616 -- Lahiru Jayathilake Department of Computer Science and Engineering, Faculty of Engineering, University of Moratuwa [https://docs.google.com/uc?id=0B5tEBQ-dYBjOQndlTjdfUUNzTXM&export=download]<https://lk.linkedin.com/in/lahirujayathilake>
