apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.09k stars 1.11k forks source link

ImportRole fails with CSV containing more then 333 lines #9667

Open scottsignal opened 2 months ago

scottsignal commented 2 months ago
ISSUE TYPE
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.19.1.1
CONFIGURATION

N/A

OS / ENVIRONMENT

N/A

SUMMARY

If you have more then 333 Lines in a CSV File and attempt to import it, you get a 400 Server error image

STEPS TO REPRODUCE

Import new Role and use the following file with 334 lines. The import will fail with a 400 Server error. If you remove any line from this file, and try importing again, it will succeed.

https://gist.github.com/scottsignal/737022dba6f3d3b7847d3d0665adc6f3
EXPECTED RESULTS
Import is successful beyond 333 APIs
ACTUAL RESULTS
Import fails beyond 333 APIs
DaanHoogland commented 1 month ago

I can confirm the issue as reproduced, @scottsignal.