Repository navigation
Closed
Labels
P3Priority 3PackagingRelated to packaging of Salt, not Salt's support for package management.PlatformRelates to OS, containers, platform-based utilities like FS, system based appsZDThe issue is related to a Zendesk customer support ticket.ZRELEASED - 2015.8.12ZRELEASED - 2016.3.3bugbroken, incorrect, or confusing behaviorfixed-pls-verifyfix is linked, bug author to confirm fixseverity-high2nd top severity, seen by most users, causes major problems
Milestone
Description
Description of Issue/Question
When upgrading the salt-minion from 2015.8.10 to 2016.3.0 I have to restart the salt-minion twice in order for it to communicate back with the master.
Setup
- 2015.8.10 minion connected to a master
Steps to Reproduce Issue
- Install 2015.8.10
- point the local minion to the master
- veryify you can communicate with minion:
[root@ip-10-181-53-46 ~]# salt '*' test.version
ip-10-89-12-242.eu-west-1.compute.internal:
2015.8.10
4.. upgrade to 2016.3.0
yum update salt-minion
7. restart processes;
[root@ip-10-181-53-46 ~]# service salt-minion restart
- the minion shuts down
2016-05-25 21:04:52,364 [salt.cli.daemons ][INFO ][11430] Setting up the Salt Minion "ch3ll-redhat7"
2016-05-25 21:04:52,364 [salt.cli.daemons ][ERROR ][11430] Salt minion is already running. Exiting.
None
2016-05-25 21:04:52,365 [salt.cli.daemons ][INFO ][11430] The salt minion is shutting down..
2016-05-25 21:04:52,365 [salt.cli.daemons ][INFO ][11430] The Salt Minion is shut down
2016-05-25 21:04:56,116 [salt.scripts ][ERROR ][10488] Minion process encountered exception: [Errno 3] No such process
cannot communicate with the master due to the minion shutting down.
I have to restart the minion process twice
Versions Report
[root@ch3ll-redhat7 ~]# salt --versions-report
Salt Version:
Salt: 2016.3.0
Dependency Versions:
cffi: Not Installed
cherrypy: 3.2.2
dateutil: 1.5
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.7.2
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: 0.21.1
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.7
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: 2.6.1
pygit2: Not Installed
Python: 2.7.5 (default, Oct 11 2015, 17:47:16)
python-gnupg: Not Installed
PyYAML: 3.10
PyZMQ: 14.7.0
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.2.1
ZMQ: 4.0.5
System Versions:
dist: redhat 7.2 Maipo
machine: x86_64
release: 3.10.0-327.18.2.el7.x86_64
system: Linux
version: Red Hat Enterprise Linux Server 7.2 Maipo
Reacted by Garrick Peterson, Christopher and Calle Pettersson
Metadata
Metadata
Assignees
Labels
P3Priority 3PackagingRelated to packaging of Salt, not Salt's support for package management.PlatformRelates to OS, containers, platform-based utilities like FS, system based appsZDThe issue is related to a Zendesk customer support ticket.ZRELEASED - 2015.8.12ZRELEASED - 2016.3.3bugbroken, incorrect, or confusing behaviorfixed-pls-verifyfix is linked, bug author to confirm fixseverity-high2nd top severity, seen by most users, causes major problems
Activity
deuscapturus commentedon Jun 9, 2016
I'm in a terrible place after updating my 2015.8.10 minions to 2016.3. The first restart didn't work, and I was unable to perform a second restart remotely from the master.
Upon looking I couldn't find an official minion upgrade procedure. So I did what has worked in the past
pkg.install salt-minionthenservice.restart salt-minion. What should we be doing?I now need to manually recover all of these minions. 😭
wwentland commentedon Jun 9, 2016
https://docs.saltstack.com/en/latest/ref/roster/all/salt.roster.cache.html#module-salt.roster.cache might come in handy to restart minions with salt-ssh from the master.
Ch3LL commentedon Jun 21, 2016
@deuscapturus as @BABILEN stated you can use salt-ssh to restart the minion.
Also there is some docs on how to handle an upgrade here as well.
c4t3l commentedon Jun 21, 2016
In my case, a workaround is to utilize the 'at' command similarly to what is described here
sjmh commentedon Jul 5, 2016
Does this happen on RHEL5/RHEL6? We plan on upgrading to 2016.3, but this would be a big blocker for us doing that.
10 remaining items
plastikos commentedon Aug 3, 2016
Have any of you tried
minion.killorminion.restart?meggiebot commentedon Aug 3, 2016
ZD-828
meggiebot commentedon Aug 3, 2016
We believe this is caused by: #33803
Let's chat early next week about how we want to resolve this
meggiebot commentedon Aug 3, 2016
Possibly related to: #22973
deuscapturus commentedon Aug 11, 2016
Another workaround for those running a newer version of systemd.
terminalmage commentedon Aug 17, 2016
Resolved by #35510, also depends on vmware-archive/salt-pack#131 on the packaging end.