-
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
Unhandled exception running status.ping_master #59142
Comments
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar. |
@krionbsd can you please triage this issue this week? |
@bhenderson69 we don't yet support Ubuntu 20.10, are you only seeing it on this OS? |
Yes we are using the Ubuntu 20.10. Do you think this is an OS issue? I am seeing this on the client side which is Windows 10. |
Also, I ran salt '*' status.ping_master localhost on the secondary master and got the following reply: root@qfmsdev2:~# salt '*' status.ping_master localhost I understand we are running a higher version of Ubuntu server for the master but it does feel like this is a server issue. Do you see this issue when running primary / failover configuration with Ubuntu 20.04? What is the client OS? Windows? Regards, |
+1, also experiencing this on windows minion
|
Description of Issue
I am getting the following exception when testing minion failover and recovery between two salt-masters. The exception happens when the minion attempts to recover to the primary salt master server.
[INFO ] Running scheduled job: __master_alive_gsosalt2
[DEBUG ] LazyLoaded status.master
[DEBUG ] LazyLoaded status.ping_master
[DEBUG ] LazyLoaded status.master
[DEBUG ] LazyLoaded status.master
[DEBUG ] LazyLoaded status.ping_master
[DEBUG ] Initializing new AsyncAuth for ('c:\salt\conf\pki\minion', 'ATDSalt5.corp.qorvo.com', 'tcp://10.103.30.119:4506')
[DEBUG ] Subprocess SignalHandlingProcess-15-Schedule-__master_alive_gsosalt2 added
[DEBUG ] LazyLoaded config.get
**[ERROR ] Unhandled exception running status.ping_master
Traceback (most recent call last):
File "C:\salt\bin\lib\site-packages\salt-3002-py3.7.egg\salt\utils\schedule.py", line 817, in handle_func
ret["return"] = self.functions[func](*args, **kwargs)
File "C:\salt\bin\lib\site-packages\salt-3002-py3.7.egg\salt\modules\status.py", line 1736, in ping_master
opts = copy.deepcopy(opts)
NameError: name 'copy' is not defined
[DEBUG ] LazyLoaded config.get
[DEBUG ] LazyLoaded config.get
[ERROR ] Unhandled exception running status.ping_master
Traceback (most recent call last):
File "C:\salt\bin\lib\site-packages\salt-3002-py3.7.egg\salt\utils\schedule.py", line 817, in handle_func
ret["return"] = self.functions[func](*args, kwargs)
File "C:\salt\bin\lib\site-packages\salt-3002-py3.7.egg\salt\modules\status.py", line 1736, in ping_master
opts = copy.deepcopy(opts)
NameError: name 'copy' is not defined
Setup
Two salt-master servers are setup with on minion accepted.
I have configured the masters using multi-master PKI with failover as outlined in the following link:
https://docs.saltstack.com/en/3000/topics/tutorials/multimaster_pki.html
Steps to Reproduce Issue
master:
verify_master_pubkey_sign: True
master_type: failover
master_alive_interval: 60
master_failback_interval: 90
Versions Report
Both masters:
Salt Version:
Salt: 3002.2
Dependency Versions:
cffi: Not Installed
cherrypy: unknown
dateutil: 2.8.1
docker-py: Not Installed
gitdb: 4.0.5
gitpython: 3.1.7
Jinja2: 2.11.2
libgit2: Not Installed
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 0.6.2
msgpack-pure: Not Installed
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: 2.6.1
pycryptodome: 3.9.7
pygit2: Not Installed
Python: 3.8.6 (default, Sep 25 2020, 09:36:53)
python-gnupg: 0.4.6
PyYAML: 5.3.1
PyZMQ: 19.0.2
smmap: 3.0.4
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.3.2
System Versions:
dist: ubuntu 20.10 groovy
locale: utf-8
machine: x86_64
release: 5.8.0-33-generic
system: Linux
version: Ubuntu 20.10 groovy
Minion:
Salt Version:
Salt: 3002
The text was updated successfully, but these errors were encountered: