eldadc
Contributor
Contributor

The operation failed because no suitable resource was found

Jump to solution

Hi All,

I have installed vCloud OVF evelation version on my ESXi. I managed to install all compontes, including organzization & VDC.

No Error spoted in my settings.

I'm getting alwayes when trying to run vApps/VM this error :

- The operation failed because no suitable resource was found.The operation failed because no suitable resource was found.

What resource is missing ? I have availbe storage...so what is the case.

I have no idea where to look for....I tried to change the VM hardware settings , did not resolve the issue.

Thanks a lot.

Tags (3)
0 Kudos
1 Solution

Accepted Solutions

First off NEVER change anything in vCenter that vCD controls. It can really mess up your environment. I made that mistake when testing vCD 1.0 and 1.5 to try and match some things we were doing in Lab Manager.

Next, don't worry about nested ESXi because it is the same concepts once you get the environment up and running.  We run our test environment this way as well and don't have any issues.

What resources does your ESXi hosts (the nested ones being used by vCD) have as far as # of vCPU's (and speed) and amount of memory?  How many other VM's are running on them (such as your vCD cell, vCenter, vCNS, etc...)?

As far as your Allocations I wouldn't guarantee that much resources to the VM's.  In our software development environment we only guarantee 10% for CPU/Memory and we match vCPU speed to that of the ESXi hosts.  It looks like from your screen shot you only have capacity for 3.95 GHz  but you've allocated 3.5 for the first VM. At that point you won't be  able to spin up any more VM's.  If you only guarentee 10% you will be able to spin more up.  Since you are just testing the product I wouldn't worry about CPU contention at this point.  When you get into production you'll have more resources to tune this.  You're other options is to add more vCPU's to your nested ESXi hosts.

Eric

VCP5-DV twitter - @ericblee6 blog - http://vEric.me

View solution in original post

0 Kudos
16 Replies

Did you setup networking?  You'll need to setup an External network, organizational network, and a network pool.  The organizational network will need to be setup under the administration tab within the organization.

Eric

VCP5-DV twitter - @ericblee6 blog - http://vEric.me
0 Kudos
eldadc
Contributor
Contributor

Hi,

Thanks on the quick response.

Yes I have set network configuration under org->administration tab. But I'm not sure if I did it correctly.

Can you please elabrate which settings are required for basic operations.

Do I need to set External + isolated ?

Thanks in Advanced.

0 Kudos

To do some basic testing of vCD you need to have a network pool, external network, and organizational network setup.  A basic setup would look like this:

Setup the network pool as Network-Isolation backed.  You must have 2 different VLAN's configured on the switch your NIC's connect to. Only one will be setup within your dvSwitch and the other will be used here. I personally think this is easier than the other two methods though.

Then create an External Network which will connect to your dvSwitch Port Group you created.  Give it some IP's not in use and not in a DHCP scope.

No you'll create your Org Network by selecting "Connect directly to an external network"

When you create your vApp you'll have to add a network to it.  This network will be your Org Network. Make sure the nic also is set for "IP Pool" for it's IP address.

Eric

VCP5-DV twitter - @ericblee6 blog - http://vEric.me
qc4vmware
Virtuoso
Virtuoso

You may be hitting a bug depending on how you setup your vdc.  I have encountered a similar issue when the cpu speed is set to match exactly the processor speed.  It looks like a rounding issue.  Check the logs in vCenter and see what the error is there.  I have found that often vCloud director is giving a very bland error but vCenter will be more spefific.  Not that vCenter is the greatest where its errors are concerned but I will stop my griping.  it is bound to expose more of the problem.  Anyway if say you have processors that are reported to be running at 2.67Ghz they are likely really running at 2.659 or some number like that.  So if in your virtual datacenter you have specified that the cpu speed is 2.67 **and** you set your reservations to 100% vCenter will report back that there are no available processors that can meet this.  If you drop it down to 2.66 or maybe 2.65 then the the deployment should succeed.

eldadc
Contributor
Contributor

I appreciate your help. I will re-check vCenter and update. my findings.

Thanks so much.

0 Kudos
eldadc
Contributor
Contributor

Thanks so much on your efforts to help me.

I will update you.

Thanks

0 Kudos
eldadc
Contributor
Contributor

Hi,

Well after changing the resource numbers, I was able to power on a machine.

Looks like the VDC resource are not configured correctly.

I set up my vcloud, vcenter, vshiled manager and my ESXi host in my ESXi , nested host.

I'm still able to power on just one VM machine.....,I got a resource error when trying more the one VM.

I guess My machine resources are very limited....8GB memory.

But still how do I need to set my VDC in order to run minimal number of virtual machines?

Thanks

0 Kudos

What Allocation model did you use for your Organizational VDC?  If you used Reservation Pool you may not have enough resources available as well.

VCP5-DV twitter - @ericblee6 blog - http://vEric.me
0 Kudos
eldadc
Contributor
Contributor

Hi Eric,

Thanks so much on your help and efforts. BTW Happy New year !!.

My issue is probably resource usage, I'm running my hosts in a nested ESXi and not in a powerful machine. I set up "Allocation Pool" in my virtual datacenter.

I have attached a screen shot of my organization allocation details, I tried to play with those settings , over commit resources and still I'm getting " The Organization VDC has run out of its configured CPU resources. Please contact the System Administrator." error. I tried also  to cancel all reservation in my pool via vCenter.

Do you have any idea where I can "starch" my resources...

Thanks in Advanced

0 Kudos

First off NEVER change anything in vCenter that vCD controls. It can really mess up your environment. I made that mistake when testing vCD 1.0 and 1.5 to try and match some things we were doing in Lab Manager.

Next, don't worry about nested ESXi because it is the same concepts once you get the environment up and running.  We run our test environment this way as well and don't have any issues.

What resources does your ESXi hosts (the nested ones being used by vCD) have as far as # of vCPU's (and speed) and amount of memory?  How many other VM's are running on them (such as your vCD cell, vCenter, vCNS, etc...)?

As far as your Allocations I wouldn't guarantee that much resources to the VM's.  In our software development environment we only guarantee 10% for CPU/Memory and we match vCPU speed to that of the ESXi hosts.  It looks like from your screen shot you only have capacity for 3.95 GHz  but you've allocated 3.5 for the first VM. At that point you won't be  able to spin up any more VM's.  If you only guarentee 10% you will be able to spin more up.  Since you are just testing the product I wouldn't worry about CPU contention at this point.  When you get into production you'll have more resources to tune this.  You're other options is to add more vCPU's to your nested ESXi hosts.

Eric

VCP5-DV twitter - @ericblee6 blog - http://vEric.me
0 Kudos
eldadc
Contributor
Contributor

Hi Eric,

Ok, I managed to power On an additional machine once I increased my CPU allocation (The allocation I set was over the total size of my capacity) and vCPU speed, decreased the CPU resources guaranteed for vm's as you recommended.

My machine where I'm doing my testing doesn't have a lot of recourses , it is Intel i5 2.67 Ghz + 8 GM memory machine. On my primary host I have 2 vCenter machines, one for the primary host and one for the vCD, I have also vShiled manager + vCD + ESXi host for vCD.

vCenter1(primary) - 280 Mhz 781 MB (XP machine) it is a 4.1 ESXi.

vCenter2 (for vCD) - 140 Mhz 2 GB

vCD - 196Mhz  1.56GB

vShield- 168 Mhz  631 MB

Esxi (nested) - 1.12 Ghz 1.15 GB

I will try to increase the number of CPU in my nested ESXi (vCD host), it may help in my performance.

I appreiate your effrot and help.

0 Kudos

Glad to help. Let me know if you need anything else.

VCP5-DV twitter - @ericblee6 blog - http://vEric.me
0 Kudos
eldadc
Contributor
Contributor

Hi Eric,

With your permission can you please reply and comment on my response in the following link :

http://communities.vmware.com/message/2171342#2171342

Thanks a lot.

0 Kudos

I think you hit admission control of the org vdc. Be aware that lowering the reservation on allocation pool model does not increase the consolidation ratio of the resource pool.

Please read this article: http://frankdenneman.nl/vmware/admission-control-and-vcloud-allocation-pool-model/

Blogging: frankdenneman.nl Twitter: @frankdenneman Co-author: vSphere 4.1 HA and DRS technical Deepdive, vSphere 5x Clustering Deepdive series
0 Kudos
sergiomunhoz
Contributor
Contributor

We've the same problem with the vCloud Director 5.1, I have opened a VMware Support Request, this is a issue known by VMware. Please read these articles http://pubs.vmware.com/vcd-51/index.jsp?topic=%2Fcom.vmware.vcloud.admin.doc_51%2FGUID-D512EE6A-0B53... and http://www.vmware.com/support/vcd/doc/rel_notes_vcloud_director_51.html .

Sérgio Munhoz.

0 Kudos
eldadc
Contributor
Contributor

Hi Frank,

Thanks on your post, your Blog is very constructive and absorbing.

0 Kudos