Closed max-wittig closed 1 year ago
We solved this problem after days of debugging finally. Turns out that Fedora 36 suddenly has a more aggressive memory killer that always killed our dnf
install:
See also: https://bugzilla.redhat.com/show_bug.cgi?id=1941170
We're still not sure how this change could have happened, given that we even tried a Fedora 36 AMI from May 2022.
The solution for now was to simply increase the instance size used to build the image from.
Overview of the Issue
When trying to install dnf packages with Ansible, Ansible will lose connection when used with packer
Reproduction Steps
Shared connection to 127.0.0.1 closed
Plugin and Packer version
From
packer version
Docker image: hashicorp/packer:1.8.3 or 1.8.5
Simplified Packer Buildfile
Operating system and Environment details
Fedora 36 (x86_64 & aarch64), trying to be build with the packer Docker image inside Gitlab CI
Log Fragments and crash.log files
We've tried a lot to work around the issue and also haven't found anyone else with this problem so maybe we're doing something wrong here.
/cc @dlouzan