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

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

Commit 619f0142555d2245e3fa90036f825525191b31bd in cloudstack's branch 
refs/heads/master from Jayapal
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=619f014 ]

CLOUDSTACK-8298: Update copying large size VR config file in xenserver

 When there is large size VR configuration (aggregate commands) copying data to 
VR using vmops plugin was failed
 because of the ARG_MAX size limitation. The configuration data size is around 
300KB.

 Updated this to create file in host by scp with file contents. This will 
create file in host.
 Then copy the file from the host to VR using hte vmops createFileInDomr method.

  In host file get created in /tmp/ with name VR-<UUID>.cfg, once it copied to 
VR this file will be removed.


> xenserver VR start failed when the VR start config size is more
> ---------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8298
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8298
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Network Controller, Network Devices
>    Affects Versions: 4.5.0
>            Reporter: Jayapal Reddy
>            Assignee: Jayapal Reddy
>             Fix For: 4.6.0
>
>
> On VR restart/start CS sends the configuration to VR via vmops 
> 'createFileInDomr' method. The createFileInDomr method receives the content 
> and create temp file in xenserver and push this file to VR using SCP.
> When the VR configuration is more than ARG_MAX size of the xenserver host 
> then it command got failed.
> The below is the command to get the ARG_MAX value in the host.
> #getconf ARG_MAX
> 131072
> Reproducing steps:
> 1. create an isolated network and deploy vm in that network.
> 2. Create large size configuration to VR by creating more number of VMs or 
> configure more set of network rules on the network.
> 3. After this restart the VR. On starting the VR CS sends the configuration 
> to VR, You can see the configuration in MS log.
>  Error: callHostPlugin failed for cmd: createFileInDomr with args 
>    



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to