Installer fails with AnsibleUnsafeText object has no attribute 'addons'

Issue

TASK [microk8s : convert from list to dict] ***************************************************************************************************************************************************************************************
task path: /home/user/element-enterprise-installer-2022-05.06/ansible/roles/microk8s/tasks/addons.yml:12
fatal: [localhost]: FAILED! => {
    "msg": "'ansible.utils.unsafe_proxy.AnsibleUnsafeText object' has no attribute 'addons'"
}

Environment

Resolution

Run:

microk8s.start

and then restart the installer.

Root Cause

Situations exist where the installer can get in a state that microk8s has not started but the installer thinks microk8s is running.


Revision #1
Created 1 June 2022 13:21:05 by Karl Abbott
Updated 1 June 2022 13:24:26 by Karl Abbott