@dev, Consider this link [1] to add compute resource.
[1] https://drive.google.com/drive/folders/1nASuGx8zXlMrVqU9Emk9BOeFsTF9xWuH?usp=sharing Regards, Lahiru On 30 July 2018 at 22:21, Kotabagi, Karan <[email protected]> wrote: > @Lahiru: > > Got this resolved with Dimuthu's help, the keystore password was incorrect. > > > > Please provide the public access to the video link if there are is > no sensitive information. > > > @Devlist: > > This is the video link shared by Yasas and Lahiru to add the compute > resource. > > > https://drive.google.com/file/d/1Nh8221euvG7wusNCY_ > LgvZkdJwqgCV2y/view?usp=sharing > > > Regards > > Karan > ------------------------------ > *From:* Kotabagi, Karan <[email protected]> > *Sent:* Monday, July 30, 2018 10:47 AM > > *To:* Lahiru Jayathilake > *Cc:* [email protected] > *Subject:* Re: Installation of Apache Airavata > > > Hi Lahiru, > > > Token is not generated when I click the button, it is just blank. > > > Regards > > Karan > ------------------------------ > *From:* Lahiru Jayathilake <[email protected]> > *Sent:* Monday, July 30, 2018 2:00 AM > *To:* Kotabagi, Karan > *Cc:* [email protected] > *Subject:* Re: Installation of Apache Airavata > > Hi Karan, > > What do you mean by you are not able to generate the token? Is “Generate a > new token” button is disabled? or is there some kind of an error? > > Regards, > Lahiru > > On Jul 29, 2018, at 1:31 PM, Kotabagi, Karan <[email protected]> wrote: > > Hi Lahiru/Yasas, > > After running the helix installation, I was following the video that you > have sent to add the compute resource. > > After setting up the Application Interfaces I am not able to generate the > token (in the credential store tab) as attached in the screenshot I believe > there is some issue with the credential store module. > > Can you please look into it? > > Regards > Karan > > ------------------------------ > *From:* Kotabagi, Karan <[email protected]> > *Sent:* Saturday, July 28, 2018 12:11 PM > *To:* [email protected] > *Subject:* Re: Installation of Apache Airavata > > Lahiru, > > Thanks! Will let you know for any of the clarifications. > > Regards > Karan > ------------------------------ > *From:* Lahiru Jayathilake <[email protected]> > *Sent:* Saturday, July 28, 2018 11:33 AM > *To:* [email protected] > *Subject:* Re: Installation of Apache Airavata > > Hi Karan, > > To add Helix related components run the *helix.yml* ansible playbook. > I have given access for the two videos, setting up compute resources. Let > me know if you have anything to be clarified. > > Regards, > Lahiru > > On 28 July 2018 at 20:32, Kotabagi, Karan <[email protected]> wrote: > >> Hi Yasas, >> >> Thanks! >> >> This worked fine, although there is an error message every time I login >> as attached, after reload it works fine. >> >> Can you please advise if you have the further configuration steps to >> include the helix components and set-up the compute resources and other >> configurations if necessary? >> >> Regards >> Karan >> ------------------------------ >> *From:* Yasas Gunarathne <[email protected]> >> *Sent:* Saturday, July 28, 2018 7:43 AM >> >> *To:* [email protected] >> *Subject:* Re: Installation of Apache Airavata >> >> Hi Karan, >> >> I tried installing Airavata using the staging branch and was able to >> recreate your issue. Please follow the below steps to fix it. >> >> - Stop all running instances with /home/pga/master-deployme >> >> nt/api-orchestrator/apache-airavata-server-0.17-SNAPSHOT/bin/airavata-server-stop.sh >> -f api-orch >> - Drop app_catalog database and recreate it with CREATE DATABASE >> app_catalog; >> - Configure KeyCloak if you haven't done it after creating databases. >> Since, you have already installed PGA, the auth_client_secret (see image) >> can be set directly to Laravel config at /var/www/portals/default/ap >> p/config/pga_config.php >> - ( Run php artisan cache:clear to reload Laravel configurations) >> >> <keycloak.png> >> >> - Goto /home/pga/master-deployment/api-orchestrator/apache- >> airavata-server-0.17-SNAPSHOT/bin/database_scripts and open >> appcatalog-mysql.sql >> - Search for USER_COMPUTE_RESOURCE_PREFERENCE table and replace the >> line SCRATCH_LOCATION varchar(255) NOT NULL DEFAULT NULL, with >> SCRATCH_LOCATION >> varchar(255) DEFAULT NULL, >> - Start servers again with /home/pga/master-deployme >> >> nt/api-orchestrator/apache-airavata-server-0.17-SNAPSHOT/bin/airavata-server-start.sh >> -d api-orch >> >> Please note that this is just a workaround and it needs to be fixed. Let >> me know if anything needs to be explained. >> >> Regards >> >> On Sat, Jul 28, 2018 at 10:51 AM Kotabagi, Karan <[email protected]> wrote: >> >>> Hi Yasas, >>> >>> As discussed please find the attached files. >>> >>> Regards >>> Karan >>> ------------------------------ >>> *From:* Kotabagi, Karan <[email protected]> >>> *Sent:* Friday, July 27, 2018 11:41 PM >>> *To:* Lahiru Jayathilake >>> *Cc:* [email protected] >>> *Subject:* Re: Installation of Apache Airavata >>> >>> Hi Lahiru, >>> >>> Please find the terminal output in the file attached. >>> >>> Regards >>> Karan >>> ------------------------------ >>> *From:* Lahiru Jayathilake <[email protected]> >>> *Sent:* Friday, July 27, 2018 11:19 PM >>> *To:* Kotabagi, Karan >>> *Subject:* Re: Installation of Apache Airavata >>> >>> Hi Karan, >>> >>> According to the banner the Airavata server is not active. Can you share >>> the terminal output running the command, >>> *ps -ef | grep airavata* >>> >>> gfac is not needed if you are going with the helix-integration >>> (helix-controller, helix-participant, helix-pre-wm, and helix-post-wm) if >>> not you need it as well. >>> >>> Regards, >>> >>> On 28 July 2018 at 06:05, Kotabagi, Karan <[email protected]> wrote: >>> >>>> Hi Yasas / Lahiru, >>>> >>>> After the set-up is completed from the guide the pga portal starts up >>>> but I am unable to login with the default-admin and I have attached the >>>> screenshot. >>>> >>>> I have followed these troubleshooting steps: >>>> >>>> 1> Check if the service httpd is running (It was active and running). >>>> >>>> 2> . Started the airavata server at the following path in VM: >>>> >>>> 1. A) go to /home/pga/master-deployment/ap >>>> i-orchestrator/apache-airavata-server-<version>-SNAPSHOT/bin and >>>> run ./airavata-server-start.sh -d api-orch >>>> >>>> >>>> Although I was not able to find the gfac-instance to start it with >>>> "./airavata-server-start.sh >>>> -d gfac", I believe that gfac won't be there with the staging? >>>> >>>> Please can you further advise if I have to do any more configuration to >>>> successfully login and set the pga configuration? >>>> >>>> Regards >>>> Karan >>>> ------------------------------ >>>> *From:* Kotabagi, Karan <[email protected]> >>>> *Sent:* Friday, July 27, 2018 7:53 PM >>>> *To:* [email protected] >>>> *Cc:* [email protected] >>>> >>>> *Subject:* Re: Installation of Apache Airavata >>>> >>>> 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]> wrote: >>>> >>>>> Hi Yasas, >>>>> >>>>> Thanks, it worked now, I will continue with the set-up. >>>>> >>>>> Regards >>>>> Karan >>>>> ------------------------------ >>>>> *From:* Yasas Gunarathne <[email protected]> >>>>> *Sent:* Friday, July 27, 2018 5:38 PM >>>>> >>>>> *To:* [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]> >>>>> 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]> >>>>>> *Sent:* Friday, July 27, 2018 4:05 PM >>>>>> *To:* [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]> >>>>>> 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 >>>>>>> <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://lk.linkedin.com/in/lahirujayathilake> >>>> >>> >>> >>> >>> -- >>> Lahiru Jayathilake >>> Department of Computer Science and Engineering, >>> Faculty of Engineering, >>> University of Moratuwa >>> >>> <https://lk.linkedin.com/in/lahirujayathilake> >>> >> >> >> -- >> *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://lk.linkedin.com/in/lahirujayathilake> > <credential_Store.png> > > > -- Lahiru Jayathilake Department of Computer Science and Engineering, Faculty of Engineering, University of Moratuwa <https://lk.linkedin.com/in/lahirujayathilake>
