ansible/awx

all cluster nodes in development environment have the same UUID

Open

#13.029 aperta il 10 ott 2022

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)Python (3333 fork)batch import
Hacktoberfestgood first issuetype:bug

Metriche repository

Star
 (13.071 star)
Metriche merge PR
 (Merge medio 24g 6h) (30 PR mergiate in 30 g)

Descrizione

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

Guida contributor