juju4 / ansible-MISP

ansible role to setup MISP, Malware Information Sharing Platform & Threat Sharing
BSD 2-Clause "Simplified" License
51 stars 21 forks source link

Ansible Installation on Ubuntu 22.04 error installing pip requirements #27

Open letmeadministratethisforyou opened 4 months ago

letmeadministratethisforyou commented 4 months ago

Prerequisites

Your Environment

Expected behavior

Ansible Skript will install misp by executing the provided role.

Actual behavior

I included the Role in an extra Playbook:

---
- name: install ansible-misp role
  hosts: all
  gather_facts: yes
  remote_user: "{{ remoteuser }}"
  become: True
  become_user: root
  roles:
    - ansible-MISP

remoteuser is a working ssh user with sudo privileges.

If i run the role i get the output shown in 240328_misp_ansible_ubuntu2204_error.

If i run the role with -vvv i get the output shown in 240328_misp_ansible_ubuntu2204_error-vvv.

If i try to run the Command directly i get the errors shown in 240328_misp_ansible_ubuntu2204_error_manueller_fehler.

Steps to reproduce

Possible Solution (Not obligatory)

No response

More context

I am not able to get misp on Ubuntu 22.04 server running. There seems to be an issue installing the pip requirements. I tried installing them by hand but kept running in errors.

Relevant log output

See attached Files

Extra attachments

240328_misp_ansible_ubuntu2204_error_manueller_fehler.txt 240328_misp_ansible_ubuntu2204_error-vvv.txt 240328_misp_ansible_ubuntu2204_error.txt

Code of Conduct

juju4 commented 4 months ago

Thanks for reporting. Sadly, I won't be able to review/fix anytime soon. Please submit a PR if find a fix.

From a very quick look, it seems related to numpy. possibly a python version support issue. From https://numpy.org/news/, supported python is 3.9-3.12 so maybe a dependency... no match in https://github.com/search?q=repo%3AMISP%2FMISP+numpy&type=issues

juju4 commented 1 month ago

Any update here? I did review a bit role yesterday and currently, for github actions, it completes successfully on 22.04 (and only. need to check current supported distrib+php).