lhmachado edited a comment on issue #2805: Start timeout - Virtual router
URL: https://github.com/apache/cloudstack/issues/2805#issuecomment-414676823
 
 
   @DaanHoogland I agree with you.
   
   the code with 'None'  (String with value None), is wrong, beacause makes 
arping called in any situation on if steatment with value 'None'. 
   The result in bash is : 
    $ "arping .... None" 
   this command takes at least 1 minute to run (peer VM configured on router), 
so in a cenario then we have a lot of VM's in the same network, eventually we 
receive a failure on router start up.
   
   But when the value is '' (empty string)
   the if steatement is correct evaluated and router can start up.
   
   We cannot use None (Type) as value because later on code there is a string 
concatenation.
   So in this particular case,  i think the best value is  '' (Empty string)
   
   So, the real problem is:
   An invalid command ($ "arping .... None") has been called every VM on router 
startup.
   
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to