You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/04/23 19:19:17 UTC

[jira] [Commented] (CLOUDSTACK-1086) DeployVirtualMachine userdata enhancements

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13639263#comment-13639263 ] 

ASF subversion and git services commented on CLOUDSTACK-1086:
-------------------------------------------------------------

Commit 495a7292839d37551ad5c35253f02870fd44e876 in branch refs/heads/http_post from [~vijayendrabvs]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=495a729 ]

CLOUDSTACK-1086: DeployVirtualMachine userdata enhancements

Description:

	Currently, userdata sent over to the DeployVMCmd and
	updateVMCmd commands can be upto 2K in length, whether
	sent over GET or POST. We remove this limitation for
	POST to change this limit to 32K. Also enabling lazy
	load on userdata to improve performance during reads
	of large sized userdata from user VM records.

Signed-off-by: Min Chen <mi...@citrix.com>

                
> DeployVirtualMachine userdata enhancements
> ------------------------------------------
>
>                 Key: CLOUDSTACK-1086
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1086
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.0.0
>            Reporter: Hari Kannan
>            Assignee: Venkata Siva Vijayendra Bhamidipati
>             Fix For: 4.2.0
>
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/DeployVirtualMachine+userdata+enhancements
> Currently querying the userData is using HTTP GET method, with a limit of 2k length.  Since HTTP GET has a length limit, to support the 32k user data, we will use HTTP POST to increase the userData size to 32k. HTTP POST does not have a length limit. 
> 1. We will use HTTP POST method; 
> 2. DB change: We need to modify the VM VO object . The expanded userData will be a transient record.  The normal VM query still returns the usual userData up to 2k. We only return the 32k transient userData when specified. 
>   

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira