Skip to content

Network GC error on master/4.12 #2935

Closed

Description

@yadvr

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
  • Bug Report
COMPONENT NAME
Mgmt server, network/db
CLOUDSTACK VERSION
master/4.12

Activity

  1. added a commit that references this issue on Dec 31, 2018
    435dc83
  2. added a commit that references this issue on Jan 13, 2019
    8849382
  3. added this to the unplanned milestone on Sep 18, 2025
  4. added a commit that references this issue on Jan 28, 2026
    1978c18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions