VMware Cloud Community
Roger15
Enthusiast
Enthusiast
Jump to solution

Adding Custom memory and CPU from self service portal for a user fails for a blueprint design - VRA7.0

Hi Team,

Initially I had created property  for CPU and memory with datatype: String, after including it to a blueprint, I got the below error.

So I have once again deleted my property groups for CPU and memory, re-added it back with integer providing minimum and maximum values. Now adding the property back to my blueprint design still throws an error considering my property was a string, though originally I have mentioned datatype as integer.

Had a doubt like whether my property updation wasn't properly checked in IaaS. So restarted my complete IaaS server along with appliance, no luck.

Would be helpful if anyone can suggest.

pastedImage_0.png

Reply
0 Kudos
1 Solution

Accepted Solutions
daphnissov
Immortal
Immortal
Jump to solution

That's all well and good, but what I'm saying is you can already do that without having to add any custom properties or mess with the deployment. Look at my screenshot below.

pastedImage_1.png

You can see I've clicked on the vSphere machine item (not the deployment) and can adjust CPU and memory because I've set minimum and maximum allowable values in the blueprint. It could be left wide open as well. This all comes out of the box. There are no custom properties needed to achieve what you see.

View solution in original post

Reply
0 Kudos
7 Replies
daphnissov
Immortal
Immortal
Jump to solution

Why is it that you're trying to create properties for CPU and Memory when those are built-in to the form on the vSphere machine type below the deployment? When you start a deployment, any adjustments to the vSphere machine resources that need to be made (provided blueprint, entitlement, and approval policy allow it) should be done on that object directly. A deployment has no concept of CPU or Memory, it's just a logical container for anything contained within.

Reply
0 Kudos
Roger15
Enthusiast
Enthusiast
Jump to solution

Hi Daphin,

I have a use case where my developers would choose the VM resources, so  I am giving them an option to enter their required CPU and memory in self service portal, along with IP address details as well.

I am able to ensure that IP address provided on portal is getting added as static IP after the deployment. Now I just wanted to try adding CPU and memory as per user requirement.

Thanks.

Reply
0 Kudos
daphnissov
Immortal
Immortal
Jump to solution

That's all well and good, but what I'm saying is you can already do that without having to add any custom properties or mess with the deployment. Look at my screenshot below.

pastedImage_1.png

You can see I've clicked on the vSphere machine item (not the deployment) and can adjust CPU and memory because I've set minimum and maximum allowable values in the blueprint. It could be left wide open as well. This all comes out of the box. There are no custom properties needed to achieve what you see.

Reply
0 Kudos
Roger15
Enthusiast
Enthusiast
Jump to solution

Hi Daphin,

Am unable to get the options you specfied in my user portal , can you guide me through on where you enabled user to increase the resources.

I have given additional values in my blueprint but still it looks the same, and I dont see a drop down like yours.

Thanks.

Reply
0 Kudos
daphnissov
Immortal
Immortal
Jump to solution

Post screenshots of the blueprint in question and the request form that shows the vSphere machine element.

Reply
0 Kudos
Roger15
Enthusiast
Enthusiast
Jump to solution

Hi Daphin,

By provding re-configure action privledge to the blueprint, I was able to sucessfully see the user modifying his resoures.

Thanks.

Reply
0 Kudos
daphnissov
Immortal
Immortal
Jump to solution

If you're happy then great, but providing a reconfigure action isn't the same thing as what I showed. You should be able to change CPU and Memory on the request form itself. If you aren't able to do that, then you've misconfigured something somewhere.

Reply
0 Kudos