Skip to main content

Installer fails on firewalld, but firewalld is not installed

Issue

I'm seeing this with the installer, but I don't have firewalld installed:

2022-08-15 15:52:20,258 p=33 u=element n=ansible | TASK [microk8s : Check that firewalld is started if installed] ******************************************************************************************************************************************************************************
2022-08-15 15:52:20,299 p=33 u=element n=ansible | fatal: [localhost]: FAILED! => {
    "changed": false,
    "msg": "Firewalld is installed. Please start it for the installer to successfully configure it.\n"
}

Environment

  • Element Enterprise Installer 2022-08.01
  • Ubuntu 20.04

Resolution

Upgrade to Element Enterprise Installer 2022-08.02, which has the fixes for this.

Root Cause

On Ubuntu, systemd will report data for firewalld if it has been installed but is then uninstalled. Our installer did not account for this scenario and upon finding this scenario, we modified our checks. Those fixes went into 2022-08.02.