VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
10 Replies Last post: Nov 6, 2009 6:50 AM by klassenvmware  

ovftool coredumped posted: Aug 10, 2009 12:55 AM

Click to view luger_lee's profile Novice 28 posts since
Jan 16, 2008

I use ovftool to deploy an appliance to a host (esx 3.5i). after disk copy done, I got an error message and the tool core dumped.

What does the message means ?

Thanks in advance.

Opening OVF source: /home/luger_lee/tmpout/VMware-VIPerl-Toolkit-1.6.0-104313-Appliance/VMware-RCLI-3.5-U2-Appliance.ovf
Warning: No manifest file
Opening VI target: vi://root@alaska/
Target: vi://alaska/

Disk progress: 1%
...
Disk progress: 99%
Disk Transfer Failed
Error: Unable to get NFC ticket for target disk
Error: Failed to clean up after failure. Reason: vim.fault.NotAuthenticated
terminate called after throwing an instance of 'Vim::Fault::NotAuthenticated::Exception'

what(): vim.fault.NotAuthenticated
Terminate process signal received - aborting operation/usr/bin/ovftool: line 23: 32361 Aborted (core dumped) $OVFTOOL_BIN "$@"

Re: ovftool coredumped

1. Aug 12, 2009 11:47 PM in response to: luger_lee
Click to view Eske's profile Enthusiast 53 posts since
May 25, 2009
would it be possible for you to post some logs here or PM them to me?


eske

Re: ovftool coredumped

3. Aug 17, 2009 12:40 PM in response to: luger_lee
Click to view Eske's profile Enthusiast 53 posts since
May 25, 2009
will with be possible for you to run the same again with these options to ovftool

ovftool --X:logToConsole=true --X:logLevel="verbose" SAME_AS_BEFORE and pipe the log to a file and PM me the log file so I can take a look at it.

eske

Re: ovftool coredumped

4. Nov 4, 2009 12:48 PM in response to: Eske
Click to view Khal's profile Novice 14 posts since
Nov 17, 2008
I'm getting the same thing using ovftool on the command line. This happened even with the VM in question being powered off.

 [root@thardus ovftool]# /opt/vmware/ovftool/ovftool /nfsroot/VM/auth/Virtual\ Machine.vmx /nfsroot/OVF/auth.ova
Opening VMX source: /nfsroot/VM/auth/Virtual Machine.vmx
Opening OVA target: /nfsroot/OVF/auth.ova
Target: /nfsroot/OVF/auth.ova
Disk progress: 99%
Terminate process signal received - aborting operation
Terminate process signal received - aborting operation/opt/vmware/ovftool/ovftool: line 23:  2050 Aborted                 $OVFTOOL_BIN "$@"
[root@thardus ovftool]# 


I tried both the i386 and x86_64 versions of ovftool. I've done about 10 VMs successfully prior to this. Ovftool versions:

VMware-ovftool-installer-1.0.0-166674-lin.i386.sh
VMware-ovftool-installer-1.0.0-166674-lin.x86_64.sh

Re: ovftool coredumped

5. Nov 4, 2009 1:26 PM in response to: luger_lee
Click to view Khal's profile Novice 14 posts since
Nov 17, 2008
I ran the ovftool with verbose logging piped to a file and it looks like some assert failed:

 Exception: Assert Failed: "s.length() < len" @ /build/mts/release/bora-166674/bora/vim/apps/ovfTool/tar.cpp:250
Type: N7Vmacore9ThrowableE
Backtrace:
[00] eip 0x31746db
[01] eip 0x3061e2b
[02] eip 0x3011845
[03] eip 0x30118e9
[04] eip 0x30123bb
[05] eip 0x510ff3
[06] eip 0x511575
[07] eip 0x511f71
[08] eip 0x501c93
[09] eip 0x5078ae
[10] eip 0x4aabb8
[11] eip 0x4ab20e
[12] eip 0x464ec6
[13] eip 0xb8e1d974
[14] eip 0x463cca


Terminate process signal received - aborting operation[2009-11-04 16:17:51.804 2B3B047209A0 error 'ovftool'] Backtrace:
[00] eip 0x31746db
[01] eip 0x3061e2b
[02] eip 0x3174d73
[03] eip 0x300eb1f
[04] eip 0x30118f1
[05] eip 0x30123bb
[06] eip 0x510ff3
[07] eip 0x511575
[08] eip 0x511f71
[09] eip 0x501c93
[10] eip 0x5078ae
[11] eip 0x4aabb8
[12] eip 0x4ab20e
[13] eip 0x464ec6
[14] eip 0xb8e1d974
[15] eip 0x463cca


Terminate process signal received - aborting operation


Command was:
[root@thardus ~]# /opt/vmware/ovftool/ovftool --X:logToConsole=true --X:logLevel="verbose" /nfsroot/VM/auth/Virtual\ Machine.vmx /nfsroot/OVF/auth.ova > ovftool.log

Re: ovftool coredumped

6. Nov 4, 2009 11:32 PM in response to: Khal
Click to view klassenvmware's profile Enthusiast 15 posts since
May 25, 2009
Hi Khal,

How big is the VMX you are trying to convert? There is a known limitation in OVF Tool 1.0 which means that none of the files in an OVA can be bigger than 8 GB (actually bigger than 8^11 -1 bytes). This is fixed in the next version of OVF Tool.

  • Kristian

Re: ovftool coredumped

7. Nov 5, 2009 5:07 PM in response to: klassenvmware
Click to view Khal's profile Novice 14 posts since
Nov 17, 2008
The source VMDK is about 36 gb. If I run the same command with ".ovf" instead of ".ova" as the target file, it completes (resulting in 2 small files and a 9.6 GB VMDK).

Re: ovftool coredumped

8. Nov 5, 2009 10:42 PM in response to: Khal
Click to view klassenvmware's profile Enthusiast 15 posts since
May 25, 2009
The 9.6 GB VMDK file is the problem. You can create an OVA manually that contain your VM. The way you do it is to create an OVF with chunked file references and then use tar to create an OVA. Here is how to do it:

ovftool --chunkSize=7gb <source file> vm.ovf

This will create an OVF package where each file reference has a name on the form file.000000000, file.000000001 and so on. Besides the files for the disks it will create the OVF descriptor (.ovf) and manifest file (.mf). Now check the manifest file for the order in which the files are written. If you it says

SHA1(file.ovf) = ...
SHA1(fileG) = ...
SHA1(fileJ) = ...
SHA1(fileA) = ...

you can create the OVA with the tar command:

tar cf file.ova file.ovf file.mf fileG* fileJ* fileA*

In the next version of OVF Tool you will not need to do this since it supports chunking directly in the OVA generation as well as large files (> 8 GB).

Please note, that you will only be able to use OVF Tool to deploy this package, since the VI client 4.0 does not support chunking in OVA files. It will in the next version.

  • Kristian

Re: ovftool coredumped

9. Nov 6, 2009 6:40 AM in response to: klassenvmware
Click to view Khal's profile Novice 14 posts since
Nov 17, 2008
Great info, thank you. Do you have any idea when the updated ovftool will be available?

Re: ovftool coredumped

10. Nov 6, 2009 6:50 AM in response to: Khal
Click to view klassenvmware's profile Enthusiast 15 posts since
May 25, 2009
We expect the next version to be released about the same time as the next version of vSphere.

  • Kristian

Developer Social Media

Communities