PDA

View Full Version : Failed to alloc application (using iso2class)


DavidC
01-26-2009, 03:19 PM
Hello -

We have just recently upgraded from AppLogic 2.1.1 to 2.4.7 and I am trying to create a Ubuntu appliance with the iso2class utility.

Creating application ubuntu_install2...
Creating descriptors for application 'ubuntu_install2'...
Modifying application descriptors...
Creating singleton volumes...
Importing volume http://releases.ubuntu.com/hardy/ubuntu-8.04.2-desktop-i386.iso...
Retrieving volume image size... Done
Importing volume 'ubuntu_install2:iso_volume1' ... Done
Creating target volume for the OS install...
Creating volume ubuntu_install2:ISO2CLASS.boot ... Done

Volume 'ubuntu_install2:ISO2CLASS.boot' created.

Starting application ubuntu_install2...
Building application...
Configuring application...Done

Loading application...
Scheduling application...
Failed to alloc application ubuntu_install2 - insufficient resources.
Unloading application...
Failed to start application



The servers are not full, so there shouldn't be a problem with allocating CPU, RAM, or BW for this application, and I am able to start up others. Is there a specific configuration that needs to be set to enable this application to run?

Thanks,

David

JosephD
01-26-2009, 04:15 PM
DavidC

If I am seeing correctly... You are installing ubuntu desktop eddition?

I would like to take a look at the ISO and what you are trying to install, as for the error can you do a

>list log

and show any output that may have to do with the failed start.

Joseph
3tera

DavidC
01-26-2009, 04:41 PM
It appears that our servers are not HVM compatible.


Jan 26 18:37:57 Grid [8775]: SC_SCH.c(1728): schedule_comps(): name=ubuntu_install3:main.iso2class
Jan 26 18:37:57 Grid [8775]: SC_SCH.c(1728): schedule_comps(): name=ubuntu_install3:main.iso2class
Jan 26 18:37:57 Grid [8775]: applogic scheduler: Failed to schedule components:
Jan 26 18:37:57 Grid [8775]: applogic scheduler: insufficient number of HVM capable servers
Jan 26 18:37:57 Grid applogic: [66310:error s:20]: ubuntu_install3: failed to schedule components

Are there any other options?

PeterNic
01-26-2009, 09:50 PM
David,

(Note: this is really a maintainer forum question -- i.e., these steps are needed by those who license AppLogic; those who use AppLogic Virtual Private Datacenters as a service can simply call their service provider to deal with this.)

You need to (a) ensure the CPU on the servers supports hardware virtualization and (b) virtualization support is enabled in the server's BIOS (most servers ship with HVM disabled by default).

Does this help?

-- Peter

obriendp
03-09-2009, 02:03 PM
I've run into the same problem trying to install Windows Server 2003.

I have 5 Dell 1425's in the grid and I looked in the BIOS for virtualization support, but I only saw "Logical Processor" and something about CPU power management. I enabled both settings and rebooted the grid, no change. I removed each server, reimaged and then added them back to the grid, no change.

I'm stuck.

PeterNic
03-10-2009, 10:01 AM
obriendp,

Can you post the output of cat /proc/cpuinfo from this server?

(There are some models with HVM-capable CPU, their BIOS does not enable HVM support; Dell's models weren't among them, as far as I know.)

Regards,
- Peter

obriendp
03-13-2009, 08:03 AM
Thanks Peter, here's the output:

processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.60GHz
stepping : 1
cpu MHz : 3600.126
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu de tsc msr pae cx8 apic sep mtrr cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx lm constant_tsc pni cid
bogomips : 7203.99

LeoKalev
03-13-2009, 10:40 AM
The processor ID (family 15, model 4 - Pentium 4 and early Xeon processors) belongs to CPUs manufactured much before the virtualization technology was introduced. This server motherboard will most likely not have the BIOS support for HVM, even if a newer CPU were installed in it.

PeterNic
03-13-2009, 10:46 AM
In not so many words, obriendp, you need a newer server that has hardware virtualization support in order to run Windows (pretty much all Xeon Core 2 and newer have it). The servers you have now can run only 32-bit paravirtualized appliances under AppLogic (any Linux, OpenSolaris, maybe *BSD when those come out).

Regards,
-- Peter

obriendp
03-13-2009, 11:30 AM
Awesome, that's the info I needed.

Thanks for the help Leo and Peter!!