ansible/awx

all cluster nodes in development environment have the same UUID

Open

#13,029 opened on 2022年10月10日

GitHub で見る
 (5 comments) (0 reactions) (0 assignees)Python (3,333 forks)batch import
Hacktoberfestgood first issuetype:bug

Repository metrics

Stars
 (13,071 stars)
PR merge metrics
 (平均マージ 24d 6h) (30d で 30 merged PRs)

説明

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

コントリビューターガイド