DeepSea icon indicating copy to clipboard operation
DeepSea copied to clipboard

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

Open theanalyst opened this issue 7 years ago • 2 comments

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 avatar Feb 09 '17 14:02 theanalyst

https://github.com/saltstack/salt/issues/36619

theanalyst avatar Feb 09 '17 14:02 theanalyst

https://bugs.python.org/issue5004

noelmcloughlin avatar Jul 12 '19 01:07 noelmcloughlin