VMware Cloud Community
SeanKohler
Expert
Expert

CloudClient and provider-VirtualMachine.Memory.Size

vra catalog request submit --id "Centos6" --groupid "XXXX" --reason "test-reason" --description "test-description" --requestedFor "XXXXX" --properties "provider-LinuxRoleApplication=IT Server (IT),provider-ServerPatchGroup=2.Patch Group 2,provider-VirtualMachine.Memory.Size=8192,provider-VirtualMachine.CPU.Count=2"

-------------------------------

Nothing I do will change the memory.  Minimum is set to 4096 in the blueprint.  No Maximum set.  The machine is always built with 4096 memory size.  CPU changes without issue with no maximum set and a minimum of 1 CPU.

 

What am I missing?

 


 

6 Replies
SeanKohler
Expert
Expert

This is when I just submit it without setting CPU and Memory.

cc1.jpg

When I submit it setting CPU and memory, the CPU changes to a string type... but the memory stays an integer and stays at 4096 even though 8192 is specified.

cc2.jpg

Reply
0 Kudos
SeanKohler
Expert
Expert

I should note that I also tried with a Min and Max set... and then picked a value in the range between the two.  Still to no avail...

Reply
0 Kudos
AndManLM
Contributor
Contributor

Try without the provider- prefix; VirtualMachine.Memory.Size=8192

SeanKohler
Expert
Expert

Worked perfectly... thanks!

Reply
0 Kudos
SeanKohler
Expert
Expert

Hi... in CloudClient 3.4 and 3.4.1 (for vRA 6.2.x), the correct memory key is...

MemoryMb=

e.g. (note, I also show Lease here which is also not intuitive)

vra catalog request submit --id "Centos6" --groupid "XXXX" --reason "test-reason" --description "test-description" --requestedFor "XXXXX" --properties "MemoryMb=8192,VirtualMachine.CPU.Count=2,LeaseDays=30,provider-SomeCustomProperty=someValue"

In the older versions of CC, the prior answer applies.

reneeckstein
Contributor
Contributor

Hi SeanKohler,

thanks for sharing! Smiley Happy I searched for a solution for this issue for months..

Regards,

René

Reply
0 Kudos