-
Notifications
You must be signed in to change notification settings - Fork 67
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
update-space-users erroring with pagination #423
Comments
We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story. The labels on this github issue will be updated when the story is started. |
Added this logic on one of the test environments as found errors in v3 api pagination, rebuilt environment and could not re-produce. This appeared to be an error with v3 api. Would be interested to see if this script shows duplicates as used to to troubleshoot when seeing this before
|
Also would be interested to see if anything insightful is returned from
|
cf curl /v3/roles/ab5e8f26-5ae3-4a35-8388-2db030ccc31c |
|
This script will detect if there is the same issue with pagination that cf-mgmt is checking for. So if running on a foundation and it shows duplicates cf-mgmt should also see those duplicates. |
@msawant060 are you still having this issue or have you fixed it? Wanting to know if we can close this issue or need to do more analysis |
hello @calebwashburn We ran into the same issue with 1.0.69. As indicated by another user above, there are no duplicates after running your script. But I have noticed something odd about the roles that the script printed... most of them have "cac2-11ed-bcec-005056a01210" common at the end. See below.
|
@supp429 if you can recreate the problem I would like to provide a build of this to better capture what is happening thru some debug output to see if we can isolate why this pagination issue is happening. |
@supp429 I have create a development build to see if we can better trap this scenario as unable to duplicate in any of our labs. If you could change to use |
Closing this issue and should be resolved in https://github.com/vmware-tanzu-labs/cf-mgmt/releases/tag/v1.0.85 |
Hello @calebwashburn I apologize for no response on the earlier posts. we ran into this again with v1.0.88. We did an upgrade today to the latest version to take advantage of the fixes related to log running sync jobs and API timeout issues. I believe it was the same environment that we had seen this issue lat year. Also, there were no duplicates returned by your script above. Please let me know if you want me to capture any additional traces. Thank you! UPDATE: Debug logs below.
|
@supp429 if you are having issues with the latest version please open a new issue describing the problem and include and output from the specific step that shows the error. Ideally adding DEBUG output is helpful. |
I will create a new issue. Thanks! |
update-space-users job failing with an error after the 1.0.60 release .
error: got errors processing update space users [role for type space with GUID[ab5e8f16-5ae3-4a35-8388-2db030ccc31c] is returned multiple times, pagination for v3 roles is not working role for type space with GUID[ed0d4cb5-7e52-4f52-ba60-9f78629aa230] is returned multiple times, pagination for v3 roles is not working]
To Reproduce
Steps to reproduce the behavior:
Currently not reproducible
Expected behavior
job should pass without the pipeline failing
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
With release 1.0.59 there seem to be no issue , but since then for any further release we are noticing this error in the build logs.
This PR seems to have introduced the issue
#386
in this release
v1.0.59...v1.0.60
The text was updated successfully, but these errors were encountered: