-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Organization Quota Definition fails with unlimited routes and zero (default) total_reserved_route_ports #656
Comments
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/127361335 The labels on this github issue will be updated when the story is started. |
Thanks for bringing this to our attention! I suspect that your problem was taken care of by commit ba7e082 in April. Am I correct in assuming that you are running a Cloud Foundry from before then? We were unable to replicate this error running against the current cloud controller. Given that this issue appears to have been fixed by a specific commit a few months ago, I'm going to close this issue. Please feel free to reopen it, though, if the problem persists, or if you are running on an updated CF! Best, @thausler786 |
It is hard for me to run on anything but the latest available PcfDev (18 as reported above) and if that doesn't have the latest Cloud Controller updates, I won't see them. I'm currently running on PcfDev 19 (2.54.0 API) so I may have better luck. Can you please confirm which level of the API this fix went into, so I can be sure to check it when it becomes available? |
The code looks wrong to me, but I may not understand |
Well, if the fix isn't in 2.54 (currently running in Latest PcfDev 19) then what version is it in? So I don't have to keep testing until it is fixed? |
@Zteve that commit made it into CF-237 / CC 2.56.0. I'll ask our interrupt pair to look into your comment RE: |
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/128239719 The labels on this github issue will be updated when the story is started. |
Hello @Zteve, We agree that the logic around this is confusing. We just pushed up a commit that will hopefully improve the readability. As Nick said above, you should not see this in deployments using CF-237/ CC 2.56.0 If you feel that your issue has been resolved, please go ahead and close it. Thank you, |
Issue
Create Organization Quota Definition with body fields
total_routes : -1
and omittedtotal_reserved_route_ports
(defaulting to 0) fails with:Context
I'm using API version: 2.54.0 on the latest PcfDev (0.18.0).
Steps to Reproduce
Issue the following REST call:
with payload
Expected result
201 Created, and a payload of a (fully populated) Organization Quota Definition. (See doc.)
Current result
400 Bad Request, and the message payload:
Possible Fix
Make special comparisons between fields with special values.
The text was updated successfully, but these errors were encountered: