# Failed to create Preload Data

**URL:** <https://forum.ansible.com/t/failed-to-create-preload-data/35214>\
**Category:** AWX Project\
**Tags:** awx-project, awx\
**Created:** [May 24, 2021, 4:23am UTC](https://forum.ansible.com/t/failed-to-create-preload-data/35214 "2021-05-24T04:23:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chuck\_Payne](https://avatars.discourse-cdn.com/v4/letter/c/3be4f8/32.png) [@Chuck\_Payne](https://forum.ansible.com/u/Chuck_Payne)\
**Post date:** [May 24, 2021, 4:23am UTC](https://forum.ansible.com/t/failed-to-create-preload-data/35214/1 "2021-05-24T04:23:00Z")

</div>

So instead of virtual installed, I tried a docker installed for once. I am using Debian 10 with docker. AWX version 17.0.1, but when it got the last task, it failed. I can log in into awx, but I don’t see a local host.

TASK [local\_docker : Create Preload data] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [localhost]: FAILED! =\> {“changed”: false, “cmd”: [“docker”, “exec”, “awx\_task”, “bash”, “-c”, “/usr/bin/awx-manage create\_preload\_data”], “delta”: “0:00:22.153473”, “end”: “2021-05-24 00:17:22.087501”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2021-05-24 00:16:59.934028”, “stderr”: “Traceback (most recent call last):\n File "/usr/bin/awx-manage", line 8, in \n sys.exit(manage())\n File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/ **init**.py", line 154, in manage\n execute\_from\_command\_line(sys.argv)\n File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/ **init**.py", line 381, in execute\_from\_command\_line\n utility.execute()\n File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/ **init**.py", line 375, in execute\n self.fetch\_command(subcommand).run\_from\_argv(self.argv)\n File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run\_from\_argv\n self.execute(\*args, \*\*cmd\_options)\n File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute\n output = self.handle(\*args, \*\*options)\n File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/management/commands/create\_preload\_data.py", line 41, in handle\n ‘username’: superuser.username\nAttributeError: ‘NoneType’ object has no attribute ‘username’”, “stderr\_lines”: [“Traceback (most recent call last):”, " File "/usr/bin/awx-manage", line 8, in “, " sys.exit(manage())”, " File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/ **init**.py", line 154, in manage", " execute\_from\_command\_line(sys.argv)“, " File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/ **init**.py", line 381, in execute\_from\_command\_line”, " utility.execute()“, " File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/ **init**.py", line 375, in execute”, " self.fetch\_command(subcommand).run\_from\_argv(self.argv)“, " File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run\_from\_argv”, " self.execute(\*args, \*\*cmd\_options)“, " File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute”, " output = self.handle(\*args, \*\*options)“, " File "/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/management/commands/create\_preload\_data.py", line 41, in handle”, " ‘username’: superuser.username", “AttributeError: ‘NoneType’ object has no attribute ‘username’”], “stdout”: “”, “stdout\_lines”: }

PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
localhost : ok=20 changed=11 unreachable=0 failed=1 skipped=73 rescued=0 ignored=1

Is this normal? Should I tried to install again?
