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

Gustavo Soares Souza commented on CLOUDSTACK-8298:
--------------------------------------------------

I'm very glad to have found this issue and just for the record:

we have been using a cloudstack version based on the 4.4.x release with some 
other modifications. we got this error message when we have a certain amount of 
virtualmachine with userdata. depending on the size of the userdata and number 
os vms, the virtual router will not boot. as a preliminary solution, we were 
reseting the userdata for those vms to be able to restart VR. 

some of our xen hosts went down and as consequence all VR under them. some of 
them could not be restarted due to the problem related in this issue. I've 
applied the patch in our base code and it worked like a charm.

here a the tests that I've done:

1) create a project
2) create only one network
3) create 3 VM's with 256MB of RAM and a 27kb userdata in the network created 
in step 2
4) create 4 VM's with 256MB of RAM and  a 2.6kb userdata in the network created 
in step 2

Total userdata size: 91.4kb

In this scenario, the VR won't start/restart. However, if we created 3 vms  
with 2.6kb instead of 4 (summing of 88.8kb userdata) the VR starts.

> 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