all cluster nodes in development environment have the same UUID
#13,029 创建于 2022年10月10日
仓库指标
- Star
- (13,071 star)
- PR 合并指标
- (平均合并 24天 6小时) (30 天内合并 30 个 PR)
描述
Please confirm the following
- I agree to follow this project's code of conduct.
- I have checked the current issues for duplicates.
- I understand that AWX is open source software provided for free and that I might not receive a timely response.
Bug Summary
All the cluster nodes when you use https://github.com/ansible/awx/blob/882d2fdbe859d475b1fd9fb47e71a22f68fe4fd8/Makefile#L453 have the same UUID: https://github.com/ansible/awx/blob/41e3a69001508836f3b19c10f15d6df0812006da/tools/docker-compose/ansible/roles/sources/files/local_settings.py#L22
This causes issues with some metrics, because they use the UUID: https://github.com/ansible/awx/blob/882d2fdbe859d475b1fd9fb47e71a22f68fe4fd8/awx/main/analytics/collectors.py#L257
So for those metrics in the dev environment, we don't get one per instance when we don't have unique UUIDs.
AWX version
devel
Select the relevant components
- UI
- API
- Docs
- Collection
- CLI
- Other
Installation method
docker development environment
Modifications
no
Ansible version
No response
Operating system
No response
Web browser
No response
Steps to reproduce
run with multiple cluster nodes
Expected results
different UUIDs for each node
Actual results
same UUID
Additional information
No response