Quantcast
Channel: VMware Communities: Message List - VMware vCloud Director
Viewing all 7719 articles
Browse latest View live

"Cannot start" VM due to "OUT_OF_VRP_CONFIGURED_MEMORY_RESOURCES"

$
0
0

Hello there.

vCloud Director 9.1 Build 7905680 (Centos 7.2.1511)

vCenter Server (VCSA) 6.5.0 Build 7312210

ESXi 6.5.0 Build 7388607

 

There was a single VM (Windows) in the organization with 4GB RAM and 11Ghz resource allocation, CPU speed is 2.6Ghz, so 4 vCPUs can be provided for VMs of this organization. This VM was configured with 4 CPUs and 4 GB RAM, but then org admin tried to deploy and power on a new VM (Mikrotik Cloud Hosted Router). Well Mikrotik CHR was successfully deployed, however this VM could not be powered on for a good reason - insufficient resources. VM Windows was reconfigured later to use 2 vCPU and 2 GB RAM, and Mikrotik VM is configured now to use 1 vCPU and 1 GB RAM, so the picture now is as follows:

VM1 (Windows): 2 vCPU, 2 GB RAM

VM2 (Mikrotik): 1 vCPU, 1 GB RAM

Total pvDC allocation: 11 Ghz (vCPU Speed 2.6 Ghz), 4096 MB RAM, 1028 GB HDD (only 20% of storage allocation is used atm).

 

But attempt to start VM Mikrotik is still unsuccessful: "-ValidationException OUT_OF_VRP_CONFIGURED_MEMORY_RESOURCES". If I try to allocate 6 GB RAM to the organization, then VM can be powered on without any issues.

Also this VM can be powered on with no problems from vSphere side even with 4 GB RAM limit on the organization.

 

I've tried to reproduce this issue in my test organization without any luck: my test org has 16 GB RAM limit and my VMs was reconfigured few times, however they still can be powered on with no problems.


ERROR: how to download vApps/vApps from Catalog vCloud Director?

$
0
0

vCloud Director version - 8.2

Desktop - Windows7

 

trying to download vApps from vCloud Director with no success:

  • tried to download from UI but I'm facing an issue with the Client Integration Plugin.

        after installing it is still not working! trying to add and change configurations in my FireFox, work from IE11 and make vCD and vCenter to be in the trusted sites and nothing work!

  • tried to use ovftool and I get an error:

[win7-pc] ➤ ./ovftool.exe "vcloud://username:password@vcdipaddr:443?org=name-org&vdc=name-vdc&vappTemplate=Product-15.1.760-01&catalog=Product-Catalog" "C:\Temp"

Error: cURL error: SSL connect error

Completed with errors

anyone has an idea how to download the vApps? didn't find any related commands in PowerCli

Console on one Org VDC fails to connect?

$
0
0

Hi Guys

 

I'm a bit lost as to where I should begin to troubleshoot this issue:

 

vCloud Director 9.1

 

Logged in as Organisation Administrator

 

- I have 1 tenant with 2  VDC's:  VDC1 and VDC2 in this case for simplcity.

 

- I have 1 OrgVDC Network that is shared between the 2 VDC's and 1 Edge Gateway.

 

On VM's in VDC1, I can connect to console on all VM's

 

On VM's in VDC2, I get "Connecting" on all VM's and does not get any further than that. This is also the case when using the Flex portal.

 

 

The console is obviously working (not SSL / NTP / DNS related) on one of the VDC's - I just cannot figure out why it should be different on VDC2 whe nVDC1 is working?

 

If someone could point me in a direction I would appreciate it

 

Best regards

 

Kenneth

OVF2.0 Support

$
0
0

Hello.

Do you know if vCloudDirector 8.20 and vSphere 6.5 products support the OVF2.0 specification to deploy a new vApp?

If this is the case, if a vApp was deployed with an OVF1.0 descriptor file, can it be upgraded to ovf2.0 some way?

We'd need to add the "Support for Network Ports" feature to a running vApp deployed with OVF1.0 by adding the <ovf:EthernetPortItem > under the VirtualHardwareSection.

Interface Microsoft VSTS to vCloud Director (not to vCenter)

$
0
0

Hi

 

We've been asked to provide access for Microsoft VSTS to provision VMs on behalf of one of our vCloud tenants.  I understand that VSTS has a vCenter endpoint capability but there's nothing I can find to allow it to talk to vCloud Director.

 

Has anyone had any experience with configuring VSTS access to vCloud, perhaps via REST API?

 

 

Thanks

 

Jonathan

Configuring Edge Gateway shaping/rate-limiting using vCD 8.20 API ?

$
0
0

Hello

 

I've been looking for a way to configure Edge Gateway shaping/rate-limiting using vCD 8.20 API but could not find a way to achieve this. Am I correct?

 

It looks possible using NSX API ("Working With a Specific Edge Services Gateway Interface"). We would prefer to use vCD API though.

 

thanks

Re: Configuring Edge Gateway shaping/rate-limiting using vCD 8.20 API ?

$
0
0

Use <Link rel="edgeGateway:configureServices" href="https://vcloud.local/api/admin/edgeGateway/{ID}/action/configureServices" type="application/vnd.vmware.admin.edgeGatewayServiceConfiguration+xml"/> and add to config part of Gateway Interface rate limit settings:

 

<GatewayInterface>

...

    <ApplyRateLimit>true</ApplyRateLimit>

    <InRateLimit>100.0</InRateLimit>

    <OutRateLimit>100.0</OutRateLimit>

</GatewayInterface>

The question about CPU allocation in reservation pool of OrgVDC

$
0
0

Hi experts,

I have a question about CPU allocation in reservation pool of OrgVDC.

I want to know if the configured CPU allcation value is only correlation with the vCPU of the vAPP in the reservation pool OrgVDC?

For example, I have a vApp which has 6 vCPU in the reservation pool OrgVDC. This vApp has multiple vmxnet3 vnics, and is used for packets forwarding,

so it will consume additional system CPU to assist the vnics to receive and transimit packets.

Does this consumed system CPU be accumulated to the CPU allocation of the reservation pool?

Or only the 6 vCPUs of vApp were accumulated to the CPU allocation?

 

Thank you very much!

 

BR.

Haifeng.


Re: The question about CPU allocation in reservation pool of OrgVDC

$
0
0

When you create reservation pool you would have entered -> Enter the maximum amount of CPU, in GHz, to allocate to virtual machines running in the organization vDC which is the key CPU matrix for reservation pool VDC Vapps(VM's) . Behind the scene what happens is the allocated CPU is immediately taken out from PvDC and that resource is no more available for other VDC's and if needed we can set VM level reservation as well. What is tbeing reserved (since the model is reservation pool) VM will use the same set of resources unless we manually go and change the reservations. Irrespective of the packet flow pattern (Ingress/Egress) , what is being reserved is the only resource for VM .

 

In general below points are considered for network performance from hardware perspective.

  • Checksum offload
  • TCP segmentation offload (TSO)
  • Ability to handle high-memory DMA (that is, 64-bit DMA addresses)
  • Ability to handle multiple Scatter Gather elements per Tx frame
  • Jumbo frames (JF)
  • Large receive offload (LRO)
  • When using a virtualization encapsulation protocol, such as VXLAN or GENEVE, the NICs should support offload of that protocol’s encapsulated packets.
  • Receive Side Scaling (RSS)

vCD 9.1 + Postman and estabilish a session / results: 401 Unauthorized

$
0
0

Hello.

 

Im trying start journey with vCD 9.1 API (27.0) and downloaded postman and used for steps this blog post: Getting Started with vCloud Director 9.0 API – Part 1

 

I stopped on STEP3:  ESTABLISHING A SESSION with status 401 Unauthorized

 

Connection in postman configured for "basic auth"

 

In vCD web gui im using (without domain name) for login user:  sebastian.grugel

 

 

and i tried different configuration for POSTMAN

examples:

"sebastian.grugel@test_seba"   ( where "test_seba" = organization name)

"sebastian.grugel@domainName@test_seba"  ( where "test_seba" = organization name)

and still that same issue...

 

 

 

Some suggestion... im new in API world what can i check more ?

Re: vCD 9.1 + Postman and estabilish a session / results: 401 Unauthorized

$
0
0

I think what may be happening here is that you are trying to use a federated (domain) account against the API - vCD only supports local authentication via the API.

 

You have a number of ways around this - either create a local account in the vCD portal to use with the API and basic authentication, or first connect using a browser session with your federated account and then extract the x-vcloud-authorization token and use that for subsequent API requests - I wrote up a blog post on how to do this for vcd-cli and PowerCLI (but can be used in Postman too) here: https://kiwicloud.ninja/2018/03/using-vcloud-director-powercli-and-vcd-cli-with-federated-user-accounts/

 

Once you have the token value from a browser session you can add a new header in Postman with the name 'x-vcloud-authorization' and the value of your token and then use that in your request (e.g. GET against <your cloud endpoint>/api/org to get the initial link for your vCD organization).

Re: VCloud Director 9.1 and CSE Kubernetes : Failure during Ubuntu Guest Customization

$
0
0

Yes, I have to fix this issue every time I (re)deploy the Ubuntu template, pretty sure I logged an issue on the CSE github, it got fixed for a while and has now broken again.

 

It appears to be caused by the template VM being restarted while packages are still being installed resulting in a corrupt package database.

 

If I remember rightly, the fix (well not really a fix, more a workaround is):

 

- Go through the install process and wait until that error appears.

- Log in manually to the ubuntu template VM (you need to grab the root password from the vCD guest properties).

- run 'dpkg --reconfigure' in the guest - it will come up with all sorts of warnings that you need to clear.

- Reinstall open-vm-tools (apt-get install open-vm-tools) - this usually won't work until you've fixed the dkpg issues.

- Once the open-vm-tools install has completed, you *may* need to do a 'systemctl start vmtoolsd' (can't remember offhand if this is done automatically by the install).

 

As soon as the open-vm-tools service is running again the CSE installation should continue and your template get generated correctly.

 

This is all from memory from the last time I rebuilt our templates, hopefully will be enough to get you up and running, but should probably be re-logged as an issue on the CSE github repo.

 

If you still have issues let me know and I'll re-run our Ubuntu template installation and write proper notes...

Re: ERROR: how to download vApps/vApps from Catalog vCloud Director?

$
0
0

Easiest way for now - install Firefox ESR 52 version from here (the '60' version does NOT work) and the VMware 6.20 client integration plugin.

 

In vCD 9.x you have the HTML5 UI which allows native downloads in modern browsers, but this obviously doesn't help for 8.20.

 

The error your seeing in OVFTool (which should work fine also) is likely being caused by using the IP address of the vCD instance rather than a domain name which matches the SSL certificate being presented by the vCD cell service. It may also be caused by other OVFTool issues though - commonly having non-escaped symbols in the password string which is a complete pain.

Re: How to check if vCloud Director 9 API is working...

$
0
0

Reading your original question - be careful with the case of your request as these are case-sensitive:

<vCD FQDN>/API/versions - is not valid.

<vCD FQDN>/api/versions - is valid

Re: vCD 9.1 + Postman and estabilish a session / results: 401 Unauthorized

$
0
0

Hello John.

 

I used cookie:

 

What should i configure in  "Authorization" TAB ? because i used "No Auth" or "Basic auth" (sebastian.grugel@system) but now i have error "403 Forbiden"

 

 


Re: The question about CPU allocation in reservation pool of OrgVDC

$
0
0

Hi Sree,

Thank you for your response. Your statement is quite correct I think.

But I'm still confused about whether the system CPU will be accumulated to the VDC or VM's reservation value or not?

suppose I have an intel CPU , 2.5GHz per core,  and I create a reservation pool with the CPU reservation 10G Hz(which means 4 physical cores).

Then I create a VM in the vDC with 4 vCPU and reservation value is 10G Hz too.

Then this VM begin to transmit and receive packets at its full speed. I have added the addvanced parameter ctxPerDev=1 to each vmxnet3 vnic of the VM,

so the ESXi will assgin multiple threads to assist the VM to transmit the packets. and ESXi also has other assistant threads to receive packets.

If these assistant threads consumed CPU is accumulated to the reservation value(10G Hz), then the vCPU in the VM can't obtain the full 10GHz.

I just want to make it clarify.

 

Thank you very much!

BR.

Haifeng.

Re: vCD 9.1 + Postman and estabilish a session / results: 401 Unauthorized

$
0
0

I tried your a second recommendation with local account and created test local account "test_seba" and this time again i have results: 401 Unauthorized

 

 

and the configured postman in that way:


Authorization:

Should i click options: "Preview Request" ? because when i use this... in header show up greyed line Authorization with some value... but i cant select checkmark for this line...

 

Headers:

 

vCD 9.1 - change default console from HTML5 to VMRC when click on the computer icon

$
0
0

Is it possible to change a default console in vCD 9.1? We have troubles with HTML5 console (repeated characters while typing) and wish to change the default to VMRC.

vCD 9.1 - Repeated characters in HTML5 console

$
0
0

Is anyone else facing repeated characters when using vCloud Director tenant or FLEX portal? Article VMware Knowledge Base does not help. Also we have 4ms latency to the datacentre so it should not affect.

Re: vCD 9.1 - change default console from HTML5 to VMRC when click on the computer icon

$
0
0

Hi celoxgroup,

 

Unfortunately this is currently not possible. The users need to to go Actions > Launch VM Remote Console in order to do that.

Viewing all 7719 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>