TechDufus / FluxNodeInstall

Install a RunOnFlux Node with 100% Ansible.
MIT License
8 stars 4 forks source link

[BUG] Ubuntu22 with AVX=0 Fails to install either Mongo Option. #83

Open TechDufus opened 7 months ago

TechDufus commented 7 months ago

Environment

Self-Hosted

System

Ubuntu 22 LTS

Version

Latest

Describe the problem

When running the mongo tag on a VM that has AVX=0 on Ubuntu22, neither mongo version will install, and the playbook will fail on Start MongoDB task.

fatal: [dufus-stratus0]: FAILED! => {
    "changed": false,
    "invocation": {
        "module_args": {
            "daemon_reexec": false,
            "daemon_reload": false,
            "enabled": true,
            "force": null,
            "masked": null,
            "name": "mongod",
            "no_block": false,
            "scope": "system",
            "state": "started"
        }
    },
    "msg": "Could not find the requested service mongod: host"
}

image image

We should PROBABLY install Mongo4 even if it's Ubuntu22 if AVX is still an issue for v6.

Additional info

No response

Please tick the boxes

JKTUNING commented 5 months ago

MongoDB 4.4 does not support Ubuntu 22.04 and also is now at EOL.

The best case scenario is to make sure the CPU has the AVX instruction set enabled.

https://www.mongodb.com/docs/v4.4/installation/#supported-platforms