On Sat, Jul 25, 2020 at 08:43:55AM +0000, Martin wrote:
> I use python-3.8.3p0 from -current ports to run salt if it was matter.

> 
> Martin
> 
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Saturday, July 25, 2020 8:14 AM, Martin <martin...@protonmail.com> wrote:
> 
> > I'm very new in saltstack and first time I run it beginning from version 
> > 3001 from -current port.
> >
> > When I try to create a disk image as officially documented here:
> > https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.vmctl.html
> >
> > salt '*' vmctl.create_disk /home/vmm/disk.img size=10G
> >
> > =======================================================
> >
> > I receive error:
> >
> > web.host:
> > ERROR: Problem encountered creating disk image. Additional info follows:
> >
> > changes:
> > False
> > errors:
> > - could not create /home/vmm/disk.img: missing size argument
> > usage: vmctl [-v] create [-b base | -i disk] [-s size] disk

Looks like the vmctl.py module

https://github.com/saltstack/salt/blob/a670b4ae72ec11f5485c216c54059e14223019b8/salt/modules/vmctl.py

was never updated to be compatible with the "new" vmctl argument order
introduced in OpenBSD 6.6:

https://www.openbsd.org/faq/upgrade66.html
https://github.com/openbsd/src/commit/bd4b76f8bf7d2ecdff4c441cb97ece9ad94422c4

Reply via email to