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

added guid filter for docker settings.py #9386

Closed
wants to merge 1 commit into from

Conversation

rokat
Copy link

@rokat rokat commented Feb 22, 2021

Signed-off-by: Mohamed Elhouderi 7518186+rokat@users.noreply.github.com

SUMMARY

Same as #9378 but missing guid filter for docker settings.py

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME
  • Installer
AWX VERSION
devel
ADDITIONAL INFORMATION
Before
awx-manage: --- Logging error ---
awx-manage: Traceback (most recent call last):
awx-manage: File "/usr/lib64/python3.6/logging/__init__.py", line 994, in emit
awx-manage: msg = self.format(record)
awx-manage: File "/usr/lib64/python3.6/logging/__init__.py", line 840, in format
awx-manage: return fmt.format(record)
awx-manage: File "/usr/lib64/python3.6/logging/__init__.py", line 580, in format
awx-manage: s = self.formatMessage(record)
awx-manage: File "/usr/lib64/python3.6/logging/__init__.py", line 549, in formatMessage
awx-manage: return self._style.format(record)
awx-manage: File "/usr/lib64/python3.6/logging/__init__.py", line 391, in format
awx-manage: return self._fmt % record.__dict__
awx-manage: KeyError: 'guid'
awx-manage: Call stack:
awx-manage: File "/usr/bin/awx-manage", line 11, in <module>
awx-manage: sys.exit(manage())
awx-manage: File "/usr/lib/python3.6/site-packages/awx/__init__.py", line 154, in manage
After
awx-manage: 2021-02-22 21:25:56,831 DEBUG    [4f6fc9d7d9514892b64fe18c7e199cc6] awx.main.models.inventory Going to update inventory computed fields, pk=1
awx-manage: 2021-02-22 21:25:56,848 DEBUG    [4f6fc9d7d9514892b64fe18c7e199cc6] awx.main.models.inventory Finished updating inventory computed fields, pk=1, in 0.014 seconds
awx-manage: 2021-02-22 21:25:56,983 DEBUG    [4f6fc9d7d9514892b64fe18c7e199cc6] awx.main.dispatch task c2a9a588-7200-42d3-9bd1-0073ee1c31bf starting awx.main.scheduler.tasks.run_task_manager(*[])
awx-manage: 2021-02-22 21:25:56,984 DEBUG    [4f6fc9d7d9514892b64fe18c7e199cc6] awx.main.scheduler Running Tower task manager.
awx-manage: 2021-02-22 21:25:56,989 DEBUG    [4f6fc9d7d9514892b64fe18c7e199cc6] awx.main.scheduler Starting Scheduler
awx-manage: 2021-02-22 21:25:57,057 DEBUG    [4f6fc9d7d9514892b64fe18c7e199cc6] awx.analytics.job_lifecycle job-7 acknowledged
awx-manage: 2021-02-22 21:25:57,087 DEBUG    [4f6fc9d7d9514892b64fe18c7e199cc6] awx.analytics.job_lifecycle projectupdate-8 created
awx-manage: 2021-02-22 21:25:57,144 DEBUG    [4f6fc9d7d9514892b64fe18c7e199cc6] awx.main.scheduler Spawned project_update 8 (pending) as dependency of job 7 (pending)
awx-manage: 2021-02-22 21:25:57,173 DEBUG    [4f6fc9d7d9514892b64fe18c7e199cc6] awx.main.scheduler Starting project_update 8 (pending) in group tower instance atw02.lab.momo (remaining_capacity=35)
awx-manage: 2021-02-22 21:25:57,185 DEBUG    [4f6fc9d7d9514892b64fe18c7e199cc6] awx.main.scheduler Submitting project_update 8 (waiting) to <instance group, instance> <1,atw02.lab.momo>.
awx-manage: 2021-02-22 21:25:57,218 DEBUG    [4f6fc9d7d9514892b64fe18c7e199cc6] awx.analytics.job_lifecycle projectupdate-8 waiting
awx-manage: 2021-02-22 21:25:57,219 DEBUG    [4f6fc9d7d9514892b64fe18c7e199cc6] awx.main.scheduler project_update 8 (waiting) consumed 1 capacity units from tower with prior total of 0
awx-manage: 2021-02-22 21:25:57,222 DEBUG    [4f6fc9d7d9514892b64fe18c7e199cc6] awx.analytics.job_lifecycle job-7 blocked by projectupdate-8
awx-manage: 2021-02-22 21:25:57,222 DEBUG    [4f6fc9d7d9514892b64fe18c7e199cc6] awx.main.scheduler Finishing Scheduler

Signed-off-by: Mohamed Elhouderi <7518186+rokat@users.noreply.github.com>
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@ryanpetrello
Copy link
Contributor

ryanpetrello commented Feb 22, 2021

Hey @rokat,

Thanks for contributing this. Unfortunately, we're unlikely to merge this, as we're actually on the cusp of removing/replacing the current Local Docker installation process:

https://groups.google.com/g/awx-project/c/47MjWSUQaOc/m/En0NrUiqAAAJ
#9125
#9289

If you'd like to continue to deploy against devel (which we don't recommend - as you've noticed, it tends to be fairly unstable), please feel free to carry this patch on your end:

https://github.com/ansible/awx/blob/devel/INSTALL.md#getting-started
image

@rokat
Copy link
Author

rokat commented Feb 22, 2021

Hello @ryanpetrello,

Sorry, haven't seen that coming yet, thanks for the info.
No problem :)

Good riddance on the local docker, long live compose method.
Will try tinker with it using podman instead of docker

Thanks a lot !

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.

3 participants