stephanl
Contributor
Contributor

Failure to set IP on RHEL VM

Greetings,

I'm trying to set the IP on a RHEL4U5 template that I'm cloning to a VM during the cloning process, and am receiving the below error. We are running the most recent build of ESX Server (3.5), along with whatever version (presumably recent) of VMWare tools is available through it. For reference, I'm also attaching the code. Ideas anybody?

Curiously, I have been unable to set the IP on a VM programmatically, regardless if trying this during the clone process of as a 'standalone' operation.

Thanks,

- Stephan

Fault Server.generalException

Message Customization of the guest operating system 'rhel4Guest' is not supported in this configuraton. Microsoft Vista (TM) and Linux guests with Logical Volume Manager are supported only for recent ESX host and VMware Tools versions. Please refer to Virtual Center documentation for supported confgurations.

Tags (3)
0 Kudos
5 Replies
Kiarna
Contributor
Contributor

Hi,

I have the same error and believe the issue is with the template's drive layout. I have an earlier template with only the system disk layout which I can deploy sucessfully through the UI. Same OS on both templates but the problem template has two attached Virtual disks while the successful template only has the system Virtual disk. I am going to experiment a bit but I suspect the solution is not very elegant as my server layout will require hand adding the second disk.

I'm curious about your disk layout if it is a similar situation?

0 Kudos
ifonul
Contributor
Contributor

Uhhh... 4 years later, anybody has an answer to this?

In my case it's ubuntu 11.10, ESX 5.0, latest VMTools. LVM vs. non-LVM makes no difference, still same (very "explicit") error.

0 Kudos
stumpr
Virtuoso
Virtuoso

There is a GuestOS type check that the customization process uses.  Look at http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=519581... (KB 5195811).

Usually the fix is to change the VM GuestOS to another value (same OS different version number), run the customization and revert it.

There's some more depreciated OS versions in vSphere 5: http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=2005981&sl...

Customization Support Matrix:  http://www.vmware.com/files/pdf/compatibility-guide/guest-os-customization-metrics.pdf

This work around may still work, but remain unsupported if you switch to a similar version. No guarantees until tested of course.

Reuben Stump | http://www.virtuin.com | @ReubenStump
0 Kudos
ifonul
Contributor
Contributor

Thanks stumpr, these are some great pointers! I'll see if I can do the version swap programatically, that does not seem possible for ubuntu, the only options being Ubuntu Linux (32-bit) and Ubuntu Linux (64-bit). The compatibility list shows Ubuntu 10.04 as supported, 11.10 as not supported. Yikes Smiley Sad

0 Kudos
stumpr
Virtuoso
Virtuoso

I haven't tried it for Ubuntu, but you could try setting it to RHEL3.  If you're just doing IP customization may work.

Reuben Stump | http://www.virtuin.com | @ReubenStump
0 Kudos