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

Put snap hostname in M&C #498

Closed
dannyjacobs opened this issue Aug 18, 2020 · 3 comments
Closed

Put snap hostname in M&C #498

dannyjacobs opened this issue Aug 18, 2020 · 3 comments
Assignees

Comments

@dannyjacobs
Copy link
Contributor

At the present time one must construct the snap hostname by looking at the node and slot locations of the snap. There are several reasons why this is less than ideal. First it is an implicit algorithm, there is no guarantee that the correlator internally will adhere to this algorithm. ie if someone moves a snap from one node to another, they must change both M&C and the hostname in hera-snap-head:/etc/hosts . Second the query is slow and one of the reasons why the grafana antenna ownership table takes a while to load.

@bhazelton would like to find a better way.

@david-deboer
Copy link
Contributor

The /etc/hosts stuff above is part of the "config" stuff we spoke about. We could contain it all in this issue.

@david-deboer
Copy link
Contributor

This is related to issue #499

@david-deboer
Copy link
Contributor

This is being done in PR #500

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

No branches or pull requests

3 participants