Skip to main content

Installer hangs on "microk8s : Wait for microk8s to be ready" task

Issue

  • The installer is hanging at this step:
    2022-10-20 18:41:25,994 p=304 u=element-user n=ansible | TASK [microk8s : Wait for microk8s to be ready] ********************************
    

Environment

  • Element Enterprise Installer 2022-09.02
  • Red Hat Enterprise Linux 8.6
  • Airgapped

Resolution

In parameters.yml, make sure the following is set for local_registry:

local_registry: localhost:32000

Once you have set this to localhost instead of 127.0.0.1, you can re-run the installer and the issue should be resolved.

Root Cause

The root cause of this issue is that specifying 127.0.0.1 for the local_registry causes microk8s to not be able to access the local registry and thus cannot finish setting itself up. As a result, the installer constantly waits for microk8s to be up, which never happens.