weizhouapache commented on issue #5452:
URL: https://github.com/apache/cloudstack/issues/5452#issuecomment-919839162


   > @weizhouapache so the console works for initial 30 seconds and then 
freezes.
   > the static route is added by python scripts or the java code? I added some 
logs under `CsRoute.py` `cs/CsStaticRoutes.py` but didnt see that in 
`/var/log/cloud.log`
   
   @ravening 
   it is added by java
   
   ```
       public void ensureRoute(String address) {
           if (_localgw != null) {
               if (s_logger.isDebugEnabled())
                   s_logger.debug("Ensure route for " + address + " via " + 
_localgw);
   
               // this method won't be called in high frequency, serialize 
access
               // to script execution
               synchronized (this) {
                   try {
                       addRouteToInternalIpOrCidr(_localgw, _eth1ip, _eth1mask, 
address);
                   } catch (Throwable e) {
                       s_logger.warn("Unexpected exception while adding 
internal route to " + address, e);
                   }
               }
           }
       }


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to