Mirantis nova: Can we modify quotas in instance from the default infinite(-1) value set by fuel?

Asked by Danny

The limit to the number of instances launched in mirantis nova is set to infinite(-1). Can we change this value to say set the quotas as 100?

On giving the below command:
nova quota-update --instances 100 c525392fa9bf4ebaad54b6769c39ffe5

This was the error thrown:
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-bceb9d66-74be-4e5f-9704-5621deaeb223)

Question information

Language:
English Edit question
Status:
Answered
For:
Fuel for OpenStack Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Fabrizio Soppelsa (fsoppelsa) said :
#1

Hello Dhanvi,
in order to set quotas, you have to enable them, either by enabling the checkbox 'Nova quotas' in the Fuel settings pane (before a deployment), or by editing nova.conf and substituting

quota_driver=nova.quota.NoopQuotaDriver

with

quota_driver=nova.quota.DbQuotaDriver

and finally restarting all the nova services.

Best regards,
Fabrizio
Mirantis Fuel Team

Can you help with this problem?

Provide an answer of your own, or ask Danny for more information if necessary.

To post a message you must log in.