pangzhongliang / phpvirtualbox

Automatically exported from code.google.com/p/phpvirtualbox
Other
0 stars 0 forks source link

phpvirtualbox forever attempts to load ova file that fails #704

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
In phpvirtualbox: File -> Import Appliance
On the 'Appliance to import' screen: Select problematic ova file and then click 
'Next'
The 'Appliance settings' screen forever displays 'Loading...' and circle 
graphic forever spins around.

2.
When I go to the command line and attempt to import the ova file
VBoxManage import -n problem.ova 

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /home/vbox/Vanu_IBS.ova...
OK.
Disks:  
vmdisk1 8589934592  -1  http://www.vmware.com/interfaces/specifications/vmdk.html#
streamOptimized Vanu_IBS-disk1.vmdk -1  -1  
Virtual system 0:
 0: Suggested OS type: "Linux26_64"
    (change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)
 1: Suggested VM name "ProblemMachine"
    (change with "--vsys 0 --vmname <name>")
 2: Number of CPUs: 1
    (change with "--vsys 0 --cpus <n>")
 3: Guest memory: 2012 MB
    (change with "--vsys 0 --memory <MB>")
 4: Sound card (appliance expects "", can change on import)
    (disable with "--vsys 0 --unit 4 --ignore")
 5: USB controller
    (disable with "--vsys 0 --unit 5 --ignore")
 6: Network adapter: orig Bridged, config 3, extra slot=0;type=Bridged
 7: CD-ROM
    (disable with "--vsys 0 --unit 7 --ignore")
 8: IDE controller, type PIIX4
    (disable with "--vsys 0 --unit 8 --ignore")
 9: IDE controller, type PIIX4
    (disable with "--vsys 0 --unit 9 --ignore")
10: SATA controller, type AHCI
    (disable with "--vsys 0 --unit 10 --ignore")
11: Hard disk image: source image=ProblemMachine.vmdk, target 
path=/home/vbox/VirtualBox VMs/ProblemMachine/ProblemMachine.vmdk, 
controller=10;channel=0
    (change target path with "--vsys 0 --unit 11 --disk path";
    disable with "--vsys 0 --unit 11 --ignore")

What is the expected output? What do you see instead?

phpvirtualbox should immediately fail to load the ova file rather than giving 
the impression that it is working away. 

What version of phpVirtualBox, VirtualBox, and PHP are you using? On what
operating system?
phpvirtualbox: phpvirtualbox-4.2-4
virtualbox: VirtualBox-4.2-4.2.16_86992_el6-1.i686
php: php-5.3.3-22.el6.i686

OS: CentOS release 6.4
Kernel: 2.6.32-358.11.1.el6.i686

Original issue reported on code.google.com by conorlen...@gmail.com on 10 Jul 2013 at 3:46

GoogleCodeExporter commented 8 years ago
WOuld it be possible to obtain this ova or is it too large?

Original comment by imooreya...@gmail.com on 11 Jul 2013 at 4:47

GoogleCodeExporter commented 8 years ago
I've uploaded the bzip2'd ova file at http://ul.to/bgokxfkf

I can install this on a 32 bit OS running on 64 bit hardware when I use the 
VBoxManage command line.
However, phpvirtualbox is unable to import it.

Original comment by conorlen...@gmail.com on 19 Jul 2013 at 10:28

GoogleCodeExporter commented 8 years ago
Hrmmm... I am able to import it. What web browser are you using?

Original comment by imooreya...@gmail.com on 22 Jul 2013 at 3:23

GoogleCodeExporter commented 8 years ago
Project moved to Sourceforge.net

https://sourceforge.net/projects/phpvirtualbox/

Original comment by imooreya...@gmail.com on 25 Jul 2013 at 4:54

GoogleCodeExporter commented 8 years ago
Apologies for the delay in responding to this and for the incomplete 
information.
I've tried to import the ova file on a few machines and got mixed-up about 
which it worked on and which it didn't.

Here are the details for a machine where there is a problems:
$ cat /proc/cpuinfo 
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model       : 28
model name  : Intel(R) Atom(TM) CPU N455   @ 1.66GHz
stepping    : 10
microcode   : 0x105
cpu MHz     : 1000.000
cache size  : 512 KB
physical id : 0
siblings    : 2
core id     : 0
cpu cores   : 1
apicid      : 0
initial apicid  : 0
fdiv_bug    : no
hlt_bug     : no
f00f_bug    : no
coma_bug    : no
fpu     : yes
fpu_exception   : yes
cpuid level : 10
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat clflush 
dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs 
bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm movbe 
lahf_lm dtherm
bogomips    : 3324.79
clflush size    : 64
cache_alignment : 64
address sizes   : 32 bits physical, 48 bits virtual
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model       : 28
model name  : Intel(R) Atom(TM) CPU N455   @ 1.66GHz
stepping    : 10
microcode   : 0x105
cpu MHz     : 1667.000
cache size  : 512 KB
physical id : 0
siblings    : 2
core id     : 0
cpu cores   : 1
apicid      : 1
initial apicid  : 1
fdiv_bug    : no
hlt_bug     : no
f00f_bug    : no
coma_bug    : no
fpu     : yes
fpu_exception   : yes
cpuid level : 10
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat clflush 
dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs 
bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm movbe 
lahf_lm dtherm
bogomips    : 3325.00
clflush size    : 64
cache_alignment : 64
address sizes   : 32 bits physical, 48 bits virtual
power management:

$ uname -r
3.2.0-49-generic

$ cat /etc/issue
Ubuntu 12.04.2 LTS \n \l

I'm using phpvirtualbox-4.2-6.zip

The ova file imports fine when I use the standard VirtualBox GUI interface.
Can also import the ova on the command line.

However, when I try to import the ova file through phpvirtualbox, it spins 
forever on the Appliance setting page.

I have at least one other machine where I get this behaviour, although I do 
also have machines where I can import it fine.

Original comment by conorlen...@gmail.com on 25 Jul 2013 at 7:38

GoogleCodeExporter commented 8 years ago
can anyone help .. i also had the same problem while importing OVA file.. 
phpvirtualbox keeps on saying "Loading " and nothing happens .... 

apache log shows ---> 

[Mon Sep 15 17:37:29 2014] [debug] mod_deflate.c(700): [client 10.0.0.105] 
Zlib: Compressed 308 to 174 : URL /vbox431/phpvirtualbox-4.3-1/lib/ajax.php, 
referer: http://10.0.0.201/vbox431/phpvirtualbox-4.3-1/
[Mon Sep 15 17:37:32 2014] [debug] mod_deflate.c(700): [client 10.0.0.105] 
Zlib: Compressed 308 to 174 : URL /vbox431/phpvirtualbox-4.3-1/lib/ajax.php, 
referer: http://10.0.0.201/vbox431/phpvirtualbox-4.3-1/
[Mon Sep 15 17:37:35 2014] [debug] mod_deflate.c(700): [client 10.0.0.105] 
Zlib: Compressed 308 to 174 : URL /vbox431/phpvirtualbox-4.3-1/lib/ajax.php, 
referer: http://10.0.0.201/vbox431/phpvirtualbox-4.3-1/
[Mon Sep 15 17:37:38 2014] [debug] mod_deflate.c(700): [client 10.0.0.105] 
Zlib: Compressed 308 to 174 : URL /vbox431/phpvirtualbox-4.3-1/lib/ajax.php, 
referer: http://10.0.0.201/vbox431/phpvirtualbox-4.3-1/

nothing more happens ... 
but from ssh vboxmanage import filename.ova works perfectly .. 
but only from phpvirtualbox import function not working..
my phpvirtualbox version is 4.3.1 
can anybody help me ...  
attaching mt loading screen and apache log (debug) 

Original comment by p.eldh...@gmail.com on 15 Sep 2014 at 12:43

Attachments: