VMware Cloud Community
akoznov
Contributor
Contributor

vCloud Powercli New-OrgVdc 403 error

Hello!

I've got strange situation with creating organization's VDC with powercli.

When i create Org in web i've got over-commit by CPU but i can go further to next options with clicking Yes.

pastedImage_1.png

But when i'm trying to create Org VDC with New-OrgVdc i've got 403 error - Forbidden:

pastedImage_3.png

If i go to another vCloud area without CPU over-commit and try to use New-OrgVdc to create Org VDC - it works fine.

Maybe there is any option to Force New-OrgVdc command to create Org VDC and dont check for over-commiting resources?

Thanks in advance.

Reply
0 Kudos
2 Replies
akoznov
Contributor
Contributor

Any ideas?

Reply
0 Kudos
akoznov
Contributor
Contributor

After updating Powercli to latest version our error expands to this words:

New-OrgVdc : 6/15/2018 2:22:31 PM       New-OrgVdc              CPU resource over-commit is forbidden

At C:\Scripts\vCloudCreateOrg.ps1:118 char:1

+ New-OrgVdc -Name $orgvDCName -AllocationModelAllocationPool -CPUAlloc ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [New-OrgVdc], VimException

    + FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VimAutomation.Cloud.Commands.Cmdlets.NewOrgVdc

Reply
0 Kudos