VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
6 Replies Last post: Nov 20, 2009 5:38 AM by Todor Todorov  

Placement of Request Fails posted: Nov 5, 2009 1:57 PM

Click to view sstover's profile Lurker 5 posts since
Apr 15, 2009

After upgrading to 1.0.2 and applying the hotfix I cannot place a vm. The server log has the following entries:

2009-11-05 15:42:45.490-0600 INFO SCRIPTING_LOG TypeError: Cannot read property "name" from null (Workflow:Clone VM from Properties / Get Nic1 Values (item15)#2)
2009-11-05 15:42:45.490-0600 WARN WorkflowItemTaskRunner Script execution error on workflow : Provision one VM / 'Get Nic1 Values'(item15) : TypeError: Cannot read property "name" from null (Workflow:Clone VM from Properties / Get Nic1 Values (item15)#2)
2009-11-05 15:42:45.553-0600 INFO SCRIPTING_LOG TypeError: Cannot set property "isFree" of null to "true" (Workflow:Provision VM / Free IP Address (item10)#9772)
2009-11-05 15:42:45.553-0600 WARN WorkflowItemTaskRunner Script execution error on workflow : Provision one VM / 'Free IP Address'(item10) : TypeError: Cannot set property "isFree" of null to "true" (Workflow:Provision VM / Free IP Address (item10)#9772)

Any thoughts?

Re: Placement of Request Fails

1. Nov 9, 2009 3:18 AM in response to: sstover
Click to view Todor Todorov's profile Enthusiast 35 posts since
Nov 19, 2007
Hi sstover,

What is the story of this VM? Was it created after the upgrade to 1.0.2 or before that?
Is the VM automatically or manually placed (i.e. going through the steps of the placement wizard)?
Is this reproducible for all VMs or only for a specific one?
The problem seems to be in the network associated with the VM.. Is it doable to dump the content of the LCM_TOKEN_DATA database table after the problem occurs?

Regards,
Todor

Re: Placement of Request Fails

3. Nov 18, 2009 1:51 AM in response to: sstover
Click to view Todor Todorov's profile Enthusiast 35 posts since
Nov 19, 2007
Hi sstover,

Can you give a little bit more information on your setup? What VC version are you using (2.5 or 4.0)? Is your request going through manual or through auto placement? How are your LCM network objects configured - using DHCP or using static IPs? When you reproduce your issue again can you please dump somehow the contents of several DB tables in order to debug your problem: LCM_TOKEN, LCM_TOKEN_DATA, NET_NETWORK_DOMAIN. From the logs you provided we can see where the exact problem is, however, without getting your DB data we can isolate the problem further.

Thanks and regards,
Todor

Re: Placement of Request Fails

4. Nov 18, 2009 2:04 AM in response to: Todor Todorov
Click to view Todor Todorov's profile Enthusiast 35 posts since
Nov 19, 2007
Hi again,

One more question: when you're placing (automatically or manually) the request are you using a Domain or a Workgroup object? And if you're using a Domain with what networks is it associated?

Regards,
Todor

Re: Placement of Request Fails

6. Nov 20, 2009 5:38 AM in response to: sstover
Click to view Todor Todorov's profile Enthusiast 35 posts since
Nov 19, 2007
Hi sstover,

Can you share how your criteria mappings are configured - are you using same criteria for all objects or not?
Will it be possible to send a dump from tables LCM_INF_ELEMENT and LCM_CRITERIA_VALUE_INF_ELEMENT?
When you're making the manual placement which objects are you selecting during the wizard?
While we're investigating the problem further can you try to associate all objects (especially networks and domains) with the same criteria and try again to see if this fixes the issue?

Thanks and regards,
Todor

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities