Skip to content

[BUG]Initial install for version 3005 (not update) that install python3.9 in broken and salt-minion cannot start  #62681

Closed

Description

@sjaganat

Description of Issue
Salt-minion fails to start after install on a clean server for version 3005. (Please note updating existing works )

Setup
Salt-master and Salt-Minion verison 3005-1.
This happens after install, salt-minion cannot start

Steps to Reproduce Issue
Install salt-minion on clean server, i.e first install not update
Salt-minion fails to start with below error:

Active: failed (Result: exit-code) since Wed 2022-08-31 18:56:19 SAST; 30s ago
Docs: man:salt-minion(1)
file:///usr/share/doc/salt/html/contents.html
https://docs.saltproject.io/en/latest/contents.html
Process: 16611 ExecStart=/usr/bin/salt-minion (code=exited, status=1/FAILURE)
Main PID: 16611 (code=exited, status=1/FAILURE)

Aug 31 18:56:19 mmspsaltmaster01 salt-minion[16611]: File "/usr/lib/python3.9/site-packages/pkg_resources/init.py", line 567, in _build_master
Aug 31 18:56:19 mmspsaltmaster01 salt-minion[16611]: ws.require(requires)
Aug 31 18:56:19 mmspsaltmaster01 salt-minion[16611]: File "/usr/lib/python3.9/site-packages/pkg_resources/init.py", line 884, in require
Aug 31 18:56:19 mmspsaltmaster01salt-minion[16611]: needed = self.resolve(parse_requirements(requirements))
Aug 31 18:56:19 mmspsaltmaster01salt-minion[16611]: File "/usr/lib/python3.9/site-packages/pkg_resources/init.py", line 770, in resolve
Aug 31 18:56:19 mmspsaltmaster01 salt-minion[16611]: raise DistributionNotFound(req, requirers)
Aug 31 18:56:19 mmspsaltmaster01 salt-minion[16611]: pkg_resources.DistributionNotFound: The 'salt==3005' distribution was not found and is required by the application
Aug 31 18:56:19 mmspsaltmaster01 systemd[1]: salt-minion.service: Main process exited, code=exited, status=1/FAILURE
Aug 31 18:56:19 mmspsaltmaster01 systemd[1]: salt-minion.service: Failed with result 'exit-code'.
Aug 31 18:56:19 mmspsaltmaster01 systemd[1]: Failed to start The Salt Minion.

Activity

  1. added
    bug
    on Sep 13, 2022
  2. welcome commented on Sep 13, 2022

    @welcome

    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.
    Please be sure to review our Code of Conduct. Also, check out some of our community resources including:

    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.
    If you have additional questions, email us at [email protected]. We’re glad you’ve joined our community and look forward to doing awesome things with you!

  3. self-assigned this
    on Sep 13, 2022
  4. dmurphy18 commented on Sep 13, 2022

    @dmurphy18
    Contributor

    @sjaganat Specifically asked how you installed and on what OS, that information is missing, when I asked you to open this issue. Is this a bootstrap install ?

  5. sjaganat commented on Sep 14, 2022

    @sjaganat
    Author

    OS is RHEL8.6 and I used the latest saltstack repo https://repo.saltproject.io/py3/redhat/8/x86_64/latest.repo. Used yum to install the salt-minion and salt-master. It's bootstrap install.

  6. OrangeDog commented on Sep 14, 2022

    @OrangeDog
    Contributor

    Used yum to install the salt-minion and salt-master. It's bootstrap install.

    These are mutually-exclusive. Did you use yum or did you use bootstrap.saltproject.io?

  7. sjaganat commented on Sep 14, 2022

    @sjaganat
    Author

    I used yum to install salt-minion and salt-master.

  8. dmurphy18 commented on Sep 14, 2022

    @dmurphy18
    Contributor

    @sjaganat you state bootstrap install above and in private communications. The bug trace is percisely that seen by problems bootstrapping install with Salt 3005.
    I have already throughly tested package install using yum on RHEL 8 Streaming, Alma 8.6 and Rocky 8.6 without problems.

    I am therefore closing this as a duplicate issue since this issue has already been resolved by PR saltstack/salt-bootstrap#1863 among others.

  9. added
    Duplicate
    on Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Duplicatebugneeds-triage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions