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.
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.
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.
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.
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.
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.
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.
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.
Post screenshots of the blueprint in question and the request form that shows the vSphere machine element.
Hi Daphin,
By provding re-configure action privledge to the blueprint, I was able to sucessfully see the user modifying his resoures.
Thanks.
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.
