rhtyd opened a new issue #2935: Network GC error on master/4.12
URL: https://github.com/apache/cloudstack/issues/2935
 
 
   On latest master/4.12, network GC mysql errors are seen:
   
   ```
   2018-10-27 15:17:05,819 WARN  [o.a.c.e.o.NetworkOrchestrator] 
(Network-Scavenger-1:ctx-db281a94) (logid:2d18453c) Caught exception while 
running network gc:
   com.cloud.utils.exception.CloudRuntimeException: Caught: 
com.mysql.jdbc.JDBC4PreparedStatement@64b5357b: SELECT networks.id FROM 
networks  INNER JOIN network_offerings ON 
networks.network_offering_id=network_offerings.id  INNER JOIN op_networks ON 
networks.id=op_networks.id WHERE networks.removed IS NULL  AND  
(op_networks.nics_count = ** NOT SPECIFIED **  AND op_networks.gc = ** NOT 
SPECIFIED **  AND op_networks.check_for_gc = ** NOT SPECIFIED ** )
           at 
com.cloud.utils.db.GenericDaoBase.customSearchIncludingRemoved(GenericDaoBase.java:507)
           at 
com.cloud.utils.db.GenericDaoBase.customSearch(GenericDaoBase.java:518)
           at 
com.cloud.network.dao.NetworkDaoImpl.findNetworksToGarbageCollect(NetworkDaoImpl.java:461)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:498)
           at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
           at 
com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
           at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
           at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
           at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
           at com.sun.proxy.$Proxy64.findNetworksToGarbageCollect(Unknown 
Source)
           at 
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator$NetworkGarbageCollector.reallyRun(NetworkOrchestrator.java:2761)
           at 
org.apache.cloudstack.engine.orchestration.NetworkOrchestrator$NetworkGarbageCollector.runInContext(NetworkOrchestrator.java:2745)
   
   ```
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Mgmt server, network/db
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master 
branch.
   -->
   
   ~~~
   master/4.12
   ~~~

----------------------------------------------------------------
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