-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
minion id ends with non-existing domain ".mshome.net" #52162
Comments
If it's not part of a domain, it will use the workgroup. What is the workgroup setting on this machine? |
Which command shall I execute for the workgroup settings? |
The Python 2 Minion does show the correct domain. C:>\salt\salt-call --versions-report Dependency Versions: System Versions: |
I would log on to the machine and check the domain settings. Is it connected to a domain? What domain/workgroup name is shown in the GUI? Windows Key+Break |
The client is in a domain which is still properly reported in the domain grain of the Python 2 minion. I will continue to use the Python 2 client. The grains unit test For the long term, I suggest that the unit test also covers values, starting with the domain. The domain name should be in I can only add a test that is run by Jenkins, or I need to learn how to run the tests locally. |
OK. I'll take a look at it and get some tests written up. |
@markuskramerIgitt Would you mind verifying the above PR? |
@markuskramerlgitt So, there is a grain called |
Please continue to distinguish |
I wrongly get "mshome.net" from Salt of Py2, Py3 and directly from socket.getfqdn().
|
As this is not a Salt issue, I close it |
The Python issue is https://bugs.python.org/issue36382 |
I found another client with I guess under some conditions and from the viewpoint of Python, the Hyper-V adapter takes precedence over all other network adapters and therefore |
|
Still an issue with version 3001 physical minions. Probably caused when client starts "offline" (cannot initially connect to the salt-master). workaround exist with |
Description of Issue/Question
The domain grain is "mshome.net" which is not correct
This domain appears also in the fqdn
Setup
Installed 2018.3.4 Py3 on Windows 10.
Versions Report
(Provided by running
salt --versions-report
. Please also mention any differences in master/minion versions.)salt-call --versions-report
Salt Version:
Salt: 2018.3.4
Dependency Versions:
cffi: 1.10.0
cherrypy: 10.2.1
dateutil: 2.6.1
docker-py: Not Installed
gitdb: 2.0.5
gitpython: 2.1.3
ioflo: Not Installed
Jinja2: 2.9.6
libgit2: Not Installed
libnacl: 1.6.1
M2Crypto: Not Installed
Mako: 1.0.6
msgpack-pure: Not Installed
msgpack-python: 0.4.8
mysql-python: Not Installed
pycparser: 2.17
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: Not Installed
Python: 3.5.3 (v3.5.3:1880cb95a742, Jan 16 2017, 16:02:32) [MSC v.1900 64 bit (AMD64)]
python-gnupg: 0.4.1
PyYAML: 3.12
PyZMQ: 16.0.3
RAET: Not Installed
smmap: 2.0.5
timelib: 0.2.4
Tornado: 4.5.1
ZMQ: 4.1.6
System Versions:
dist:
locale: cp1252
machine: AMD64
release: 10
system: Windows
version: 10 10.0.16299 SP0 Multiprocessor Free
The text was updated successfully, but these errors were encountered: