How about we add feature in CloudMonkey to do HTTP post for non-listing APIs? Should we do it, or add a specific if-else for this API call?
On 16-Jul-2015, at 9:31 pm, Pierre-Luc Dion <pd...@cloudops.com<mailto:pd...@cloudops.com>> wrote: Martins, post will work, if there is no feature request on cloudmonkey could you add one in Jira ? I found too that it could be a valuable feature to cloudmonkey. ref: http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.5/virtual_machines.html#user-data-and-meta-data Cheers, On Thu, Jul 16, 2015 at 9:31 AM, Mārtiņš Jakubovičs <mart...@vertigs.lv> wrote: Looks like API calls with GET method can have only 4KB of userdata, but with POST it can be till 32 KB. https://github.com/apache/cloudstack/blob/master/server/src/com/cloud/vm/UserVmManagerImpl.java#L3434 CloudMonkey use GET method, when change method in source code to POST it is possible to send API calls with bigger userdata. On 2015.07.16. 15:31, Mārtiņš Jakubovičs wrote: Hello, I try to push 8KB user-data when deploy new instance though cloudmonkey, but I receive error message: Error 431: User data is too long for an http GET request cserrorcode = 4350 errorcode = 431 errortext = User data is too long for an http GET request uuidList: Looks like CloudStack can't handle so big request, but as documentation describe, it should handle till 32KB. http://cloudstack-administration.readthedocs.org/en/4.3/api.html ACS 4.3.2. Best regards, Martins Regards, Rohit Yadav Software Architect, ShapeBlue [cid:9DD97B41-04C5-45F0-92A7-951F3E962F7A] M. +91 88 262 30892 | rohit.ya...@shapeblue.com<mailto:rohit.ya...@shapeblue.com> Blog: bhaisaab.org<http://bhaisaab.org> | Twitter: @_bhaisaab Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/> CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/> This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.