Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix headless awx build #13744

Closed
wants to merge 1 commit into from

Conversation

TheRealHaoLiu
Copy link
Member

SUMMARY

headless build of awx end in following error

 => ERROR [builder 12/12] RUN AWX_SETTINGS_FILE=/dev/null SKIP_SECRET_KEY_CHEC  2.1s
------
 > [builder 12/12] RUN AWX_SETTINGS_FILE=/dev/null SKIP_SECRET_KEY_CHECK=yes SKIP_PG_VERSION_CHECK=yes /var/lib/awx/venv/awx/bin/awx-manage collectstatic --noinput --clear:
#19 1.839 Traceback (most recent call last):
#19 1.839   File "/var/lib/awx/venv/awx/bin/awx-manage", line 8, in <module>
#19 1.839     sys.exit(manage())
#19 1.839   File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/__init__.py", line 200, in manage
#19 1.840     execute_from_command_line(sys.argv)
#19 1.840   File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
#19 1.840     utility.execute()
#19 1.840   File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/django/core/management/__init__.py", line 413, in execute
#19 1.840     self.fetch_command(subcommand).run_from_argv(self.argv)
#19 1.840   File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/django/core/management/base.py", line 354, in run_from_argv
#19 1.840     self.execute(*args, **cmd_options)
#19 1.840   File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/django/core/management/base.py", line 398, in execute
#19 1.840     output = self.handle(*args, **options)
#19 1.840   File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 187, in handle
#19 1.841     collected = self.collect()
#19 1.841   File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 105, in collect
#19 1.841     for path, storage in finder.list(self.ignore_patterns):
#19 1.841   File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/django/contrib/staticfiles/finders.py", line 130, in list
#19 1.841     for path in utils.get_files(storage, ignore_patterns):
#19 1.841   File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/django/contrib/staticfiles/utils.py", line 23, in get_files
#19 1.841     directories, files = storage.listdir(location)
#19 1.841   File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/django/core/files/storage.py", line 330, in listdir
#19 1.841     for entry in os.scandir(path):
#19 1.841 FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/awx/venv/awx/lib64/python3.9/site-packages/awx/ui/build/static'
------
executor failed running [/bin/sh -c AWX_SETTINGS_FILE=/dev/null SKIP_SECRET_KEY_CHECK=yes SKIP_PG_VERSION_CHECK=yes /var/lib/awx/venv/awx/bin/awx-manage collectstatic --noinput --clear]: exit code: 1
make: *** [awx-kube-build] Error 1
ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • Other
AWX VERSION
awx: 21.13.1.dev105+g0e6f49288a
ADDITIONAL INFORMATION

test:

make clean
HEADLESS=yes make awx-kube-build

@TheRealHaoLiu
Copy link
Member Author

turns out the regression is not introduced by ui-next... its been broken..?

close in favor of #13745

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant