On 17 Apr 15:12, Robert Nagy wrote:
> On 17/04/20 11:28 +0000, Uwe Werler wrote:
> > On 16 Apr 21:42, Robert Nagy wrote:
> > > Okay well the fix for that particular issue is easy:
> > > 
> > > $OpenBSD$
> > > 
> > > Index: salt/utils/network.py
> > > --- salt/utils/network.py.orig
> > > +++ salt/utils/network.py
> > > @@ -1678,7 +1678,7 @@ def _openbsd_remotes_on(port, which_end):
> > >          log.error('Failed netstat')
> > >          raise
> > >  
> > > -    lines = data.split('\n')
> > > +    lines = salt.utils.stringutils.to_str(data).split('\n')
> > >      for line in lines:
> > >          if 'ESTABLISHED' not in line:
> > >              continue
> > > 
> > > ----
> > > 
> > > However there is another issue which is more complex. This version
> > > of salt is completely broken with py-tornado 5.x. This is an acknowledged
> > > fact from their developers and their solution was to vendor ship tornado 
> > > 4.x
> > > in salt version 3000 and up.
> > > 
> > > So we either update to salt version 3000.1 which is the current stable
> > > release or just forget the update all together.
> > > 
> > > Opinions?
> > > 
> > 
> > Hi all,
> > 
> > I will try to upgrade to 3000.1 for Python 2 first. The next step then to 
> > try
> > to upgrade to Python 3? Opinions?
> > 
> > mbk Uwe
> > 
> 
> No need. Here is the diff that updates salt to 3000.1 and py3.
> I think we should get that in after unlock.
> 

Hi Robert,

just patched all our salt masters and it works like a charm till now :)

Thank you very much!

mbk Uwe

Reply via email to