Skip to content

Fatal: [local]: FAILED! => {"msg": "input apps definitions should be 'dict' types"} #720

@moticanvm

Description

@moticanvm

Actual Behavior

When I run for instance bin/arnold -c eugene -e development -a edxapp bootstrap

I get this message:

TASK [Add meta-data to available applications]
fatal: [local]: FAILED! => {"msg": "input apps definitions should be 'dict' types"}

It happened because it's returning AnsibleUndefined for the applications ralph and grafana

I tried solve this issue by remove ralph and grafana from group_vars/customer/eugene/development/main.yml and run the same code again but I got the following error message:

TASK [Import registries variable]
fatal: [local]: FAILED! => {"ansible_facts": {}, "ansible_included_var_files": [], "changed": false, "message": "Decryption failed (no vault secrets were found that could decrypt) on /app/group_vars/customer/eugene/development/secrets/edxapp.vault.yml"}

Then I tried to recreate all the vault keys removing them and running the following:

bin/arnold -c eugene -e development -a edxapp create_db_vault
bin/arnold -c eugene -e development -a edxapp create_app_vaults

After I ran the bootstrap command again I didn't get any failure but I got this error message:

TASK [End play debug error message] **************************************************************************
ok: [local] => {
"msg": "No registries vault is associated with the namespace"
}

And as a result nothing was deployed on kubernetes

$ kubectl get pods
No resources found.

Any ideas? Much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions