Ticket #8621 (closed defect: obsolete)

Opened 6 years ago

Last modified 11 months ago

Broken import of the machine from OVA/OVF container by vboxjws.jar on the linux host running VirtualBox 4.0.4

Reported by: cyxob Owned by:
Priority: critical Component: virtual disk
Version: VirtualBox 4.0.4 Keywords: vboxjws import media
Cc: Guest type: Windows
Host type: Linux

Description (last modified by aeichner) (diff)

After the import operation of the machine from OVA container with the help of Java API on the linux host running VirtualBox 4.0.4 the imported machine does not have its disks. This bug doesn't reproduces on the windows host and early VirtualBox versions. Here is part of code which extracts the machine from container:

IAppliance app = vbox.createAppliance(); IProgress prog ="/home/vboxuser/container.ova"); prog.waitForCompletion(-1); app.interpret(); List<String> warn = app.getWarnings(); for (String w : warn) System.out.println("Warning: " + w); prog = app.importMachines(); prog.waitForCompletion(-1);

Change History

comment:1 Changed 6 years ago by cyxob

Here is workaround:

IMachine created_vm = vbox.findMachine(name); List<IMediumAttachment> mediums = created_vm.getMediumAttachments(); for (IMediumAttachment a : mediums) {

IMedium medium = a.getMedium(); if (medium != null) medium.refreshState();


But, I've done enough tests and came to the conclusion that this but is not constant.

comment:2 Changed 11 months ago by aeichner

  • Status changed from new to closed
  • Resolution set to obsolete
  • Description modified (diff)

Closing as obsolete, please reopen if still relevant.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use