Skip to content

Salt-minion fails to restart after upgrade #22973

Closed

Description

@syphernl

After upgrading from 2014.7.4 => 2014.7.5 some of the minions failed to start again and required manual intervention to get it back up (service salt-minion start)

This occurred on Raspbian (Debian) and Ubuntu 14.04.

Unfortunately nothing in the salt-minion log to indicate what went wrong.

Activity

  1. joehealy commented on Apr 23, 2015

    @joehealy
    Contributor

    some of them or all?

  2. joehealy commented on Apr 23, 2015

    @joehealy
    Contributor

    also, are you using the packages?

  3. syphernl commented on Apr 23, 2015

    @syphernl
    ContributorAuthor

    For both we are using the repo's provided.

    The issue became a little weirder as at one point several of our servers had two minions running causing all kinds of weird things (the old one of 2014.7.4 remained active which has an issue addressed in 2014.7.5).

    So:

    1. Some servers didn't have Salt-minion running at all
    2. Some servers had two Salt-minions running of different versions.
    3. Some servers were OK

    I had to go in to each of the servers and manually kill of all the salt-minion processes and start them again via the the service script.

  4. joehealy commented on Apr 23, 2015

    @joehealy
    Contributor

    Are the raspbian minions running systemd? unlikely, but worth checking

  5. syphernl commented on Apr 23, 2015

    @syphernl
    ContributorAuthor

    Nope, Raspbian doesn't appear to be using systemd.
    But we only have two Pi's with Salt (both affected), but other than that a whole bunch of "normal" systems with Ubuntu 14.04.

  6. added
    bug
    Packaging
    severity-high
    P3
    on Apr 23, 2015
  7. added this to the Approved milestone on Apr 23, 2015
  8. jfindlay commented on Apr 23, 2015

    @jfindlay
    Contributor

    @syphernl, thanks for the report.

  9. joehealy commented on Apr 24, 2015

    @joehealy
    Contributor

    what version of python-zmq did you (plural) have?

    On Fri, Apr 24, 2015 at 7:16 PM, joeto0 [email protected] wrote:

    I hit this issue yesterday. I manage to fix it with

    apt-get -y remove python-zmq ; apt-get -y install python-zmq salt-minion

    —
    Reply to this email directly or view it on GitHub
    #22973 (comment).

  10. joeto0 commented on Apr 24, 2015

    @joeto0

    Sorry, it was different issue.

  11. added
    Platform
    on Nov 19, 2015
  12. 22 remaining items

  13. modified the milestones: C 10, B -3 on May 9, 2016
  14. modified the milestones: C 7, C 10 on Jun 6, 2016
  15. modified the milestones: C 6, C 7 on Jul 18, 2016
  16. modified the milestones: C 5, C 6 on Aug 8, 2016
  17. meggiebot commented on Aug 18, 2016

    @meggiebot

    This should be fixed with 2016.3.3

  18. modified the milestones: C 4, C 5 on Aug 26, 2016
  19. dmurphy18 commented on Sep 14, 2016

    @dmurphy18
    Contributor

    @syphernl Upgrading with recent versions now automatically restart the minion, for example: 2015.8.12 to 2016.3.3. Hence I am going to close this old issue. Note versions of Salt (2016.3) are now available for Raspbian (Pi-2 and Pi-3), see URL: repo.saltstack.com Raspbian tab.

    If you are still experiencing issues with upgrading, please re-open this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3PackagingPlatformbugseverity-medium

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions