Comment 4 for bug 1463184

Revision history for this message
Aaron Rosen (arosen) wrote :

Right, I just confirmed. In NSX you cannot create a queue that has a value greater than 2147483kb.

It looks like we have a 2 options for handling this:

1) we could just raise a http 400 error telling the user that the max queue size is greater than 2gb. This isn't create because nova-compute is the one who is going to be getting this error and the rxtx-factor can push you to getting this error if one configures it to be a multiple higher than this value.

2) In neutron we can just cap the value to 2gb if the lqueue max is above this value.

The 3rd option isn't really an option but I figure I'll put it in here anyways. We won't be able to remove the lqueue from the port if the queue max is above 2gb. The reason for this is because it will require us to modify multiple ports at once and there is no way to guarantee that, that operation is going to succeed.

Do you guys have a preference between 1 & 2 or see another behavior that you would like?