Hello Marcus,

I met some problems in running ansible script in master branch. After following 
the readme file, when I ran

ansible-playbook -i inventories/develop site.yml


I got the error:


TASK [database : create databases] *********************************************
fatal: [149.165.156.184]: FAILED! => {"failed": true, "msg": "['{{ app_catalog 
}}', '{{ exp_catalog }}', '{{ replica_catalog }}', '{{ workflow_catalog }}', 
'{{ credential_store }}', '{{ sharing_catalog }}', '{{ profile_service }}']: 
'profile_service' is undefined"}
    to retry, use: --limit @/home/huqy/airavata/dev-tools/ansible/site.retry


When I ran


ansible-playbook -i inventories/scigap/production site.yml


I got the error:


ERROR! Attempted to read 
"/home/huqy/airavata/dev-tools/ansible/inventories/scigap/production/pga_config/NCSAIndustry/vault.yml"
 as YAML: Decryption failed on 
b'/home/huqy/airavata/dev-tools/ansible/inventories/scigap/production/pga_config/NCSAIndustry/vault.yml'
Attempted to read 
"/home/huqy/airavata/dev-tools/ansible/inventories/scigap/production/pga_config/NCSAIndustry/vault.yml"
 as ini file: Decryption failed on 
b'/home/huqy/airavata/dev-tools/ansible/inventories/scigap/production/pga_config/NCSAIndustry/vault.yml'


Anywhere to find further instructions about configurations?


Thanks,

Qiyang


________________________________
From: Hu, Qiyang <[email protected]>
Sent: Wednesday, August 23, 2017 10:17:33 AM
To: [email protected]
Subject: Re: help for airavata installation


Hello Marcus,


You are right. Supun's response does resolve the problem. Sorry for my careless 
typo.


I'll check with the ansible deployment.


Thanks,

Qiyang

________________________________
From: Christie, Marcus Aaron <[email protected]>
Sent: Wednesday, August 23, 2017 6:58:51 AM
To: [email protected]
Subject: Re: help for airavata installation


On Aug 22, 2017, at 3:40 PM, Hu, Qiyang 
<[email protected]<mailto:[email protected]>> wrote:

security.manager.class=org.apache.airavata.server.security.DefaultAiravataSecurityManager

Hi Qiyang,

This should be

security.manager.class=org.apache.airavata.service.security.DefaultAiravataSecurityManager

When it comes to deploying Airavata I would encourage you to look at the 
Ansible deployment scripts in dev-tools/ansible in the airavata repo [1].  I’m 
not sure what branch you are using, but if you are using the master branch then 
you can look also at the inventory directory we use for production deployments 
here in SciGaP [2], as this will give you an idea of what Ansible variables 
need to be configured to do a deployment.

[1] https://github.com/apache/airavata/tree/master/dev-tools/ansible
[2] 
https://github.com/apache/airavata/tree/master/dev-tools/ansible/inventories/scigap/production

Thanks,

Marcus

Reply via email to