Comment 3 for bug 1662347

Revision history for this message
Feilong Wang (flwang) wrote : Re: Can not disable quota check for button availability check

This is a follow up for this bug but focusing on the instance panel. Based on my test, running Horizon Pike locally and using our public cloud API, I got below result:

1. For some reasons, the quota check/allowed of the launch instance button will be called 2 times, which takes about 0.14 seconds based on our prod env (prod API with local horizon)

2. The launch instance form will do the quota check again, so user will not be able to create instance and don't have to wait resp from nova if the quota has been exceeded.

See https://ibb.co/kor5Tw and https://ibb.co/kKm8Fb

So in summary, it's safe to remove the quota check for "Launch Instance" button and leave it to the form. I will propose a patch soon.