Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 16.04 install issue #58

Open
banhao opened this issue Jan 21, 2019 · 6 comments
Open

Ubuntu 16.04 install issue #58

banhao opened this issue Jan 21, 2019 · 6 comments

Comments

@banhao
Copy link

banhao commented Jan 21, 2019

ansible-playbook -K -i 127.0.0.1, local.yml

SUDO password:

PLAY [minemeld playbook] *******************************************************************************************************************

TASK [Gathering Facts] *********************************************************************************************************************
ok: [127.0.0.1]

TASK [infrastructure : debug] **************************************************************************************************************
ok: [127.0.0.1] => {
"msg": "Loading vars for Ubuntu 16.04"
}

TASK [infrastructure : include_vars] *******************************************************************************************************
ok: [127.0.0.1] => (item=/root/minemeld-ansible/roles/infrastructure/vars/Ubuntu-16.04.yml)

TASK [infrastructure : create minemeld group] **********************************************************************************************
ok: [127.0.0.1]

TASK [infrastructure : include task based on distribution] *********************************************************************************
skipping: [127.0.0.1]

TASK [infrastructure : install packages] ***************************************************************************************************
ok: [127.0.0.1] => (item=rabbitmq-server)
ok: [127.0.0.1] => (item=redis-server)
ok: [127.0.0.1] => (item=collectd-core)
ok: [127.0.0.1] => (item=nginx)

TASK [infrastructure : start rabbitmq-server] **********************************************************************************************
ok: [127.0.0.1]

TASK [infrastructure : start redis-server] *************************************************************************************************
ok: [127.0.0.1]

TASK [infrastructure : start collectd] *****************************************************************************************************
ok: [127.0.0.1]

TASK [infrastructure : start nginx] ********************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : include_vars] *************************************************************************************************************
ok: [127.0.0.1] => (item=/root/minemeld-ansible/roles/minemeld/vars/Ubuntu-16.04.yml)

TASK [minemeld : include pre-task based on distribution] ***********************************************************************************
skipping: [127.0.0.1]

TASK [minemeld : minemeld user] ************************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : main directory] ***********************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : local directory] **********************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : data directory] ***********************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : config directory] *********************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : traced config directory] **************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : API config directory] *****************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : trace directory] **********************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : library directory] ********************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : certs directory] **********************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : local certs directory] ****************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : prototypes local directory] ***********************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : supervisor config directory] **********************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : log directory] ************************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : PID directory] ************************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : www directory] ************************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : install packages] *********************************************************************************************************
ok: [127.0.0.1] => (item=p7zip-full)
ok: [127.0.0.1] => (item=git)
ok: [127.0.0.1] => (item=g++)
ok: [127.0.0.1] => (item=libleveldb-dev)
ok: [127.0.0.1] => (item=librrd-dev)
ok: [127.0.0.1] => (item=libxslt1-dev)
ok: [127.0.0.1] => (item=libc-ares-dev)
ok: [127.0.0.1] => (item=libsnappy-dev)

TASK [minemeld : minemeld-node-prototypes repo] ********************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : minemeld-node-prototypes current link] ************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : minemeld-core repo] *******************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : virtualenv] ***************************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : minemeld virtualenv] ******************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : virtualenv permissions] ***************************************************************************************************
changed: [127.0.0.1]

TASK [minemeld : requirements] *************************************************************************************************************
fatal: [127.0.0.1]: FAILED! => {"changed": false, "cmd": "/opt/minemeld/engine/current/bin/pip2 freeze", "msg": "\n:stderr: Traceback (most recent call last):\n File "/opt/minemeld/engine/current/bin/pip2", line 7, in \n from pip._internal import main\n File "/usr/local/lib/python2.7/dist-packages/pip/_internal/init.py", line 19, in \n from pip._vendor.urllib3.exceptions import DependencyWarning\n File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/init.py", line 8, in \n from .connectionpool import (\n File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/connectionpool.py", line 29, in \n from .connection import (\n File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/connection.py", line 2, in \n import datetime\nImportError: No module named datetime\n"}
to retry, use: --limit @/root/minemeld-ansible/local.retry

PLAY RECAP *********************************************************************************************************************************
127.0.0.1 : ok=33 changed=1 unreachable=0 failed=1

@banhao
Copy link
Author

banhao commented Jan 21, 2019

Ubuntu 16.04 is just upgraded from 14.04
apt-get update
apt-get upgrade
all the packs are latest.

@jtschichold
Copy link
Member

It seems generated by the upgrade itself: https://askubuntu.com/questions/509283/python-no-module-named-datetime

@isaeed22
Copy link

TASK [minemeld : minemeld user] ******************************************************************************************************************************
fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "usermod: user minemeld is currently used by process 1224\n", "name": "minemeld", "rc": 8}

I have got this error.
Do you know what can I do?

@banhao
Copy link
Author

banhao commented May 26, 2023

I didn't fix this issue. I switched to use Docker image, current version is 0.9.70. Have been running more than 4 years, still stable no issue.

@isaeed22
Copy link

I didn't fix this issue. I switched to use Docker image, current version is 0.9.70. Have been running more than 4 years, still stable no issue.

Could you please share how to install it with Docker? where can I download the image?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants