# unmanaged database fails with 0.29 The error was: 'dict object' has no attribute 'username

**URL:** <https://forum.ansible.com/t/unmanaged-database-fails-with-0-29-the-error-was-dict-object-has-no-attribute-username/37131>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [September 20, 2022, 1:14pm UTC](https://forum.ansible.com/t/unmanaged-database-fails-with-0-29-the-error-was-dict-object-has-no-attribute-username/37131 "2022-09-20T13:14:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HG1](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@HG1](https://forum.ansible.com/u/HG1)\
**Post date:** [September 20, 2022, 1:14pm UTC](https://forum.ansible.com/t/unmanaged-database-fails-with-0-29-the-error-was-dict-object-has-no-attribute-username/37131/1 "2022-09-20T13:14:12Z")

</div>

Hi all,

Using an unmanaged database fails with 0.29 of awx-operator/awx-on-k3s.

2022-09-20T15:07:01.450232991+02:00 stdout F TASK [Store Database Configuration] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
2022-09-20T15:07:01.450246091+02:00 stdout F fatal: [localhost]: FAILED! =\> {  
2022-09-20T15:07:01.450261991+02:00 stdout F “msg”: “The task includes an option with an undefined variable. The error was: ‘dict object’ has no attribute ‘username’\n\nThe error appears to be in ‘/opt/ansible/roles/installer/tasks/database\_configuration.yml’: line 97, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Store Database Configuration\n ^ here\n”  
2022-09-20T15:07:01.450274991+02:00 stdout F }

See the attached file.  
I have added a debug that dumps the dict.

Regards Hans-Peter

> **(attachments)**
>
> [apply-k-base-awx-on-k3s.log](https://forum.ansible.com/uploads/short-url/f9FSpSczVjSf7LA6yWm9EmUXnN8.log) (46.2 KB)

---

<div class="post-metadata">

**Author:** ![HG1](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@HG1](https://forum.ansible.com/u/HG1)\
**Post date:** [September 23, 2022, 6:18am UTC](https://forum.ansible.com/t/unmanaged-database-fails-with-0-29-the-error-was-dict-object-has-no-attribute-username/37131/2 "2022-09-23T06:18:54Z")

</div>

Don’t know what happened .  
But I tried again today with 0.29 and an external database.  
It worked.

Sorry for the confusion.

Regards Hans
