metaspace2020 / sm-engine-ansible

Setting up cloud infrastructure for the engine using Ansible
Apache License 2.0
2 stars 6 forks source link

ansible fails at create sm postgres user #14

Closed sean-ocall closed 7 years ago

sean-ocall commented 7 years ago

Hi, getting this error after the "ansible-playbook provision.yml" command:

TASK [sm_api : Create sm postgres user] **** fatal: [sm-vbox]: FAILED! => {"changed": false, "failed": true, "module_stderr": "sudo: unknown user: postgres\nsudo: unable to initialize policy plugin\n", "module_stdout": "", "msg": "MODULE FAILURE", "parsed": false}

I've tried logging into the virtual machine and setting up postgres manually but that just ends up causing other issues down the line. I'm sure this is something simple - can you look into it?

Thanks, Sean

intsco commented 7 years ago

Hi Sean,

Sorry for the late reply. So far, I couldn't quickly fix it. I will take a closer look at the issue, but only next week as we have a long weekend coming.

Best, Vitaly

intsco commented 7 years ago

The branch https://github.com/METASPACE2020/sm-engine-ansible/tree/vbox-artem should have this and many other issues related to SM engine installation into Virtual Box fixed.