[Bug 231300] sysutils/py-salt master fails to start with only tcp transport selected

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 11 14:12:54 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231300

            Bug ID: 231300
           Summary: sysutils/py-salt master fails to start with only tcp
                    transport selected
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: alexander at polyvizor.com
                CC: christer.edwards at gmail.com
                CC: christer.edwards at gmail.com
             Flags: maintainer-feedback?(christer.edwards at gmail.com)

If in port config of py-salt select only tcp transport than ZeroMQ transport
wouldn't be installed and it is normal. But then when saltstack is started it
shows the next error message:

Traceback (most recent call last):
  File "/usr/local/bin/salt-master", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
3098, in <module>                                                               
    @_call_aside
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
3082, in _call_aside                                                            
    f(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
3111, in _initialize_master_working_set                                         
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
573, in _build_master                                                           
    ws.require(__requires__)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
891, in require                                                                 
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
777, in resolve                                                                 
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pyzmq>=2.2.0' distribution was not
found and is required by salt

This error is caused by line in
/usr/local/lib/python2.7/site-packages/salt-2018.3.1-py2.7.egg-info/requires.txt:
pyzmq>=2.2.0

Removing of it solves the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list