Number if Instances, and Instantiate as persistent ?
Instances can probably be covered by Quotos, but if we did that will end up with endless tickets with users stating when I set it to more than 1, it gives and error
In this case you don’t need quotas… you should hide those options in the custom Sunstone view configuration.
Both “Number of instances” and “Instantiate as persistent” are UI elements controlled by the Sunstone view definition. You can disable them in your custom view YAML by adjusting the instantiate dialog configuration.
Check the Sunstone views documentation here: Sunstone Views
Specifically, review how the instantiate dialog is defined in your sunstone-views.yaml. You can:
Remove or hide the vm_count field (Number of instances)
Disable the persistent option in the instantiate form
This way users will only be able to deploy a single non-persistent VM, without relying on quotas (which would indeed generate confusing errors).
After modifying the view, restart Sunstone for the changes to apply.
Thanks for your reply, we will need to find another method, to present an interface, or maybe creates a portal which uses the API, but sadly we might also experiment with Hyper-V and Proxmox, as there does not seem any value in using ON at present. It was the self service portal interface we wanted.
We’ve started to create our own portal, using the API ! but sadly this really negates maybe using ON, because this portal could drive Hyper-V or Proxmox !