I did new VM with 6.7-current without swap.
salt_minion is run without any errors by 'rcctl -d start salt_minion' and reports ok, but actually no python-3.8, no salt is run according to ps. /var/log/salt/minon is clean too.
After testing I can conclude salt 3001 minion can't run without swap as salt's previous version.
Martin
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, July 27, 2020 5:21 AM, Jasper Lievisse Adriaanse <j@jasper.la> wrote:
> I think this was never really tested. Do you have a chance to use salt 3001 on this machine? As I recall there having been changes related to your particular issue.
>
> Cheers,
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> jasper
>
> > On 26 Jul 2020, at 23:50, Martin martingot@protonmail.com wrote:
> > Yes, this OpenBSD 6.7 VM has no swap configured at all. Can it be used without any swap aria?
> > Martin
> > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> > On Sunday, July 26, 2020 6:06 PM, Jasper Lievisse Adriaanse j@jasper.la wrote:
> >
> > > > > On 26 Jul 2020, at 10:39, Martin martingot@protonmail.com wrote:
> > > > > I try to connect salt_minions from VMs to host machine. VMM guests are OpenBSD 6.7-stable. salt-2018.3.3p4 has been installed from packages. After salt_minions configuring I run:
> > > >
> > > > rcctl -d start salt_minion
> > > > ===========================
> > > > Traceback (most recent call last):
> > > > File "/usr/local/bin/salt-minion", line 26, in <module>
> > > > salt_minion()
> > > > File "/usr/local/lib/python2.7/site-packages/salt/scripts.py", line 173, in salt_minion
> > > > import salt.cli.daemons
> > > > File "/usr/local/lib/python2.7/site-packages/salt/cli/daemons.py", line 48, in <module>
> > > > import salt.utils.parsers
> > > > File "/usr/local/lib/python2.7/site-packages/salt/utils/parsers.py", line 27, in <module>
> > > > import salt.config as config
> > > > File "/usr/local/lib/python2.7/site-packages/salt/config/init.py", line 98, in <module>
> > > > _DFLT_IPC_WBUFFER = _gather_buffer_space() * .5
> > > > File "/usr/local/lib/python2.7/site-packages/salt/config/init.py", line 91, in _gather_buffer_space
> > > > grains = salt.grains.core._memdata(os_data)
> > > > File "/usr/local/lib/python2.7/site-packages/salt/grains/core.py", line 570, in _memdata
> > > > grains.update(_bsd_memdata(osdata))
> > > > File "/usr/local/lib/python2.7/site-packages/salt/grains/core.py", line 491, in _bsd_memdata
> > > > grains.['swap_total'] = int(swap_total) // 1024 // 1024
> > > > ValueError: invalid literal for int() with base 10: 'no'
> > > > doing _rc_rm_runfile
> > > > (failed)
> > > > Does anybody stuck with it before?
> > > > Martin
> > >
> > > Hi Martin,
> > > Do your VMs have no swap configured?
> > > Jsaper
</module></module></module></module></j@jasper.la>
No comments:
Post a Comment