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

mon creation + salt's fqdn system is broken depending on the version of salt being used #104

Open
theanalyst opened this issue Feb 9, 2017 · 2 comments
Labels

Comments

@theanalyst
Copy link
Contributor

tf-salt-master:/srv/salt # python
Python 2.7.9 (default, Dec 21 2014, 11:02:59) [GCC] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import salt.utils.network
>>> import socket
>>> socket.gethostname()
'tf-salt-master.localdomain'
>>> salt.utils.network.get_fqhostname()
'localhost'

And depending on the version of salt used we may have different values as the hueristics used in getting the fqdn, minion_id is generally guaranteed to be unique or salt wouldn't accept the keys, we could use that to create monitors

@theanalyst
Copy link
Contributor Author

saltstack/salt#36619

@noelmcloughlin
Copy link
Contributor

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

No branches or pull requests

3 participants