Fatal: [local]: FAILED! => {"msg": "input apps definitions should be 'dict' types"}
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.
Have you tried the following?
# Build development images
$ make build-dev
# Activate local image
$ source bin/activate
# Install trays (distributed apps)
$ bin/arnold -c eugene -e development install_trays
Hi Julien,
Thank you so much for taking your time and trying to help out.
I tried all above steps. When I then run the bootstrap command, the second error comes up
bin/arnold -c eugene -e development -a edxapp bootstrap
Response:
TASK [Decrypt vaulted credentials for the given customer and environment] ******
fatal: [local]: FAILED! => {"ansible_facts": {"EDXAPP_VAULT": {}}, "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"}
Any ideas?
Thanks in advance!
Hi, I followed the same steps described above and also encountered this error.
TASK [Import databases 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/databases.vault.yml"}