From ed07a8ef71084d33d264bc49bc6b3ad981713763 Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Thu, 4 Jan 2024 11:58:27 +0000 Subject: [PATCH] Upgrade secrets VM CPU (#23) Mongo requires AVX https://jira.mongodb.org/browse/SERVER-54407. Otherwise logs: ``` infisical-mongo-1 | WARNING: MongoDB 5.0+ requires a CPU with AVX support, and your current system does not appear to have that! infisical-mongo-1 | see https://jira.mongodb.org/browse/SERVER-54407 infisical-mongo-1 | see also https://www.mongodb.com/community/forums/t/mongodb-5-0-cpu-intel-g4650-compatibility/116610/2 infisical-mongo-1 | see also https://github.com/docker-library/mongo/issues/485#issuecomment-891991814 infisical-mongo-1 | infisical-mongo-1 | /usr/local/bin/docker-entrypoint.sh: line 416: 26 Illegal instruction "${mongodHackedArgs[@]}" --fork ``` Reviewed-on: https://git.koval.net/cyclane/kovalhome/pulls/23 --- infra/secrets/0000_proxmox_playbook.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/infra/secrets/0000_proxmox_playbook.yaml b/infra/secrets/0000_proxmox_playbook.yaml index eb36ec4..37d9b94 100644 --- a/infra/secrets/0000_proxmox_playbook.yaml +++ b/infra/secrets/0000_proxmox_playbook.yaml @@ -103,6 +103,7 @@ onboot: true cores: 4 memory: 4096 + cpu: x86-64-v3,flags=+spec-ctrl;+aes - name: Retart VM community.general.proxmox_kvm: