Hi to all,
I trying to deploy an ovf from local repository but every execution of command "ovftool" return me "killed".
Someone can help me?
Regards
I don't know why on this host (it's a nested lab) there is this issue, but the error "killed" depends from Out-of-Memory (OOM).
Trying on physical host it works fine.
Thanks to all
Please share the command line that you use for the deployment.
André
/vmfs/volumes/datastore1/ovf/ovftool --X:logFile=upload.log --X:logLevel=verbose --noSSLVerify --skipManifestCheck --name="VMLABEL" /vmfs/volumes/datastore1/ova/VM.ovf vi://root:PASSWORD@127.0.0.1
This is the first time that I see someone trying to run ovftool directly on an ESXi host.
Maybe https://williamlam.com/2012/05/how-to-deploy-ovfova-in-esxi-shell.html (already some years old) will help.
André
Just check this William guide and it doesn't help me
So you changed the shell as William suggested?
@depping yes as follow:
#!/bin/sh
# ------------------------
# Start Script for ovftool
# ------------------------
# resolve links - $0 may be a softlink
PRG="$0"
if [ -z "$LC_CTYPE" ]; then
export LC_CTYPE=en_US.UTF-8
fi
if [ -L "$PRG" ]; then
PRG=`readlink "$PRG"`
fi
PRGDIR=`dirname "$PRG"`
OVFTOOL_BIN="$PRGDIR"/ovftool.bin
export LD_LIBRARY_PATH="$PRGDIR":"$LD_LIBRARY_PATH"
if [ ! -e "$OVFTOOL_BIN" ]; then
echo "Cannot find $OVFTOOL_BIN"
exit 1
fi
exec "$OVFTOOL_BIN" "$@"
exit $?
Okay. not much unfortunately then I can help with unfortunately. OVFTOOL was never intended to run on ESXi.
@depping I know this but I don't understand why in another host with the same version of ESxi it works fine.
I think there's some settings that I have to change.
Probably something different, but no idea, maybe someone else.
I don't know why on this host (it's a nested lab) there is this issue, but the error "killed" depends from Out-of-Memory (OOM).
Trying on physical host it works fine.
Thanks to all