Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Apr 2024 18:05:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 278149] sysutils/py-salt: new version requires py39-tornado
Message-ID:  <bug-278149-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278149

            Bug ID: 278149
           Summary: sysutils/py-salt: new version requires py39-tornado
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: krion@FreeBSD.org
          Reporter: johan@stromnet.se
          Assignee: krion@FreeBSD.org
             Flags: maintainer-feedback?(krion@FreeBSD.org)

After upgrading py-salt from 3006.5 to 3007, neither master nor minion star=
ts:

 # service salt_master restart
Stopping salt_master.
Waiting for PIDS: 3735.
Starting salt_master.
Traceback (most recent call last):
  File "/usr/local/bin/salt-master", line 33, in <module>
    sys.exit(load_entry_point('salt=3D=3D3007.0', 'console_scripts',
'salt-master')())
  File "/usr/local/lib/python3.9/site-packages/salt/scripts.py", line 79, in
salt_master
    import salt.cli.daemons
  File "/usr/local/lib/python3.9/site-packages/salt/cli/daemons.py", line 1=
4,
in <module>
    from salt.utils.process import HAS_PSUTIL
  File "/usr/local/lib/python3.9/site-packages/salt/utils/process.py", line=
 23,
in <module>
    from tornado import gen
ModuleNotFoundError: No module named 'tornado'
[ERROR   ] An un-handled exception was caught by Salt's global exception
handler:
ModuleNotFoundError: No module named 'tornado'
Traceback (most recent call last):
  File "/usr/local/bin/salt-master", line 33, in <module>
    sys.exit(load_entry_point('salt=3D=3D3007.0', 'console_scripts',
'salt-master')())
  File "/usr/local/lib/python3.9/site-packages/salt/scripts.py", line 79, in
salt_master
    import salt.cli.daemons
  File "/usr/local/lib/python3.9/site-packages/salt/cli/daemons.py", line 1=
4,
in <module>
    from salt.utils.process import HAS_PSUTIL
  File "/usr/local/lib/python3.9/site-packages/salt/utils/process.py", line=
 23,
in <module>
    from tornado import gen
ModuleNotFoundError: No module named 'tornado'
/usr/local/etc/rc.d/salt_master: WARNING: failed to start salt_master


After installing py39-tornado (6.3.3), both master and minion starts.
But does not work properly. Executing 'salt' on the master seems to dispatc=
h a
job to the minion (I can see output in minion logs), but the salt CLI comma=
nd
only shows errors:

[WARNING ] TCP Publish Client encountered an exception while connecting to
/var/run/salt/master/master_event_pub.ipc: StreamClosedError('Stream is
closed'), will reconnect in 1 seconds -   File "/usr/local/bin/salt", line =
33,
in <module>=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
    sys.exit(load_entry_point('salt=3D=3D3007.0', 'console_scripts', 'salt'=
)())=20=20=20=20=20
...

Did not find anything obvious, my master config file is more or less empty =
with
only pillar & state path pointed out.
At this point I gave up and reverted to 3006.5, which seems to work.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278149-7788>