[ https://issues.apache.org/jira/browse/CLOUDSTACK-6014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajani Karuturi resolved CLOUDSTACK-6014. ----------------------------------------- Resolution: Fixed > Contrail:MS:syncDomain java.net.ConnectException: Connection refused > -------------------------------------------------------------------- > > Key: CLOUDSTACK-6014 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6014 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: API, Contrail, Management Server > Affects Versions: 4.2.1 > Environment: Master with Contrail and Xen > Reporter: Parth Jagirdar > Assignee: Parth Jagirdar > Priority: Critical > Fix For: 4.3.2 > > > On a fresh install, Following in seen in MS logs. > 2014-01-31 11:35:32,986 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] > (RouterMonitor-1:ctx-8103e482) Found 0 running routers. > 2014-01-31 11:35:32,989 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] > (RouterStatusMonitor-1:ctx-34cc0ed0) Found 0 routers to update status. > 2014-01-31 11:35:32,992 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] > (RouterStatusMonitor-1:ctx-34cc0ed0) Found 0 networks to update RvR status. > 2014-01-31 11:35:33,877 DEBUG [o.a.c.n.c.m.ContrailManager] > (DBSyncTimer:null) DB Sync task is running > 2014-01-31 11:35:33,877 DEBUG [o.a.c.n.c.m.ServerDBSync] (DBSyncTimer:null) > syncing cloudstack db with vnc > 2014-01-31 11:35:33,877 DEBUG [o.a.c.n.c.m.ServerDBSync] (DBSyncTimer:null) > sync start: Domain > 2014-01-31 11:35:33,881 INFO [n.j.c.a.ApiConnector] (DBSyncTimer:null) http > connection <localhost, 8082> does not exit > 2014-01-31 11:35:33,890 WARN [o.a.c.n.c.m.ServerDBSync] (DBSyncTimer:null) > syncDomain > java.net.ConnectException: Connection refused > at java.net.PlainSocketImpl.socketConnect(Native Method) > at > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327) > at > java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193) > at > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) > at java.net.Socket.connect(Socket.java:546) > at java.net.Socket.connect(Socket.java:495) > at java.net.Socket.<init>(Socket.java:392) > at java.net.Socket.<init>(Socket.java:206) > at > net.juniper.contrail.api.ApiConnectorImpl.checkConnection(ApiConnectorImpl.java:127) > at > net.juniper.contrail.api.ApiConnectorImpl.execute(ApiConnectorImpl.java:156) > at > net.juniper.contrail.api.ApiConnectorImpl.list(ApiConnectorImpl.java:433) > at > org.apache.cloudstack.network.contrail.management.ServerDBSyncImpl.syncDomain(ServerDBSyncImpl.java:231) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at > org.apache.cloudstack.network.contrail.management.DBSyncGeneric.sync(DBSyncGeneric.java:112) > at > org.apache.cloudstack.network.contrail.management.ServerDBSyncImpl.syncAll(ServerDBSyncImpl.java:139) > at > org.apache.cloudstack.network.contrail.management.ContrailManagerImpl.syncNetworkDB(ContrailManagerImpl.java:429) > at > org.apache.cloudstack.network.contrail.management.ContrailManagerImpl$DBSyncTask.run(ContrailManagerImpl.java:446) > at java.util.TimerThread.mainLoop(Timer.java:534) > at java.util.TimerThread.run(Timer.java:484) > 2014-01-31 11:35:33,891 WARN [o.a.c.n.c.m.ServerDBSync] (DBSyncTimer:null) > DB Synchronization > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at > org.apache.cloudstack.network.contrail.management.DBSyncGeneric.sync(DBSyncGeneric.java:112) > at > org.apache.cloudstack.network.contrail.management.ServerDBSyncImpl.syncAll(ServerDBSyncImpl.java:139) > at > org.apache.cloudstack.network.contrail.management.ContrailManagerImpl.syncNetworkDB(ContrailManagerImpl.java:429) > at > org.apache.cloudstack.network.contrail.management.ContrailManagerImpl$DBSyncTask.run(ContrailManagerImpl.java:446) > at java.util.TimerThread.mainLoop(Timer.java:534) > at java.util.TimerThread.run(Timer.java:484) > Caused by: java.net.ConnectException: Connection refused > at java.net.PlainSocketImpl.socketConnect(Native Method) > at > java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327) > at > java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193) > at > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) > at java.net.Socket.connect(Socket.java:546) > at java.net.Socket.connect(Socket.java:495) > at java.net.Socket.<init>(Socket.java:392) > at java.net.Socket.<init>(Socket.java:206) > at > net.juniper.contrail.api.ApiConnectorImpl.checkConnection(ApiConnectorImpl.java:127) > at > net.juniper.contrail.api.ApiConnectorImpl.execute(ApiConnectorImpl.java:156) > at > net.juniper.contrail.api.ApiConnectorImpl.list(ApiConnectorImpl.java:433) > at > org.apache.cloudstack.network.contrail.management.ServerDBSyncImpl.syncDomain(ServerDBSyncImpl.java:231) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ... 9 more > 2014-01-31 11:35:33,894 DEBUG [o.a.c.n.c.m.ContrailManager] > (DBSyncTimer:null) java.lang.reflect.InvocationTargetException > 2014-01-31 11:35:33,894 INFO [o.a.c.n.c.m.ContrailManager] > (DBSyncTimer:null) Unable to sync network db > 2014-01-31 11:35:41,125 DEBUG [c.c.c.ConsoleProxyManagerImpl] > (consoleproxy-1:ctx-c520eba6) Skip capacity scan due to there is no Primary > Storage UPintenance mode > 2014-01-31 11:35:42,906 DEBUG [c.c.n.l.LBHealthCheckManagerImpl] > (LBHealthCheck-1:ctx-8456fb73) LB HealthCheck Manager is running and getting > the updates from LB providers and updating service status > 2014-01-31 11:35:42,910 DEBUG [c.c.n.l.LBHealthCheckManagerImpl] > (LBHealthCheck-1:ctx-8456fb73) LB HealthCheck Manager is running and getting > the updates from LB providers and updating service status > 2014-01-31 11:35:47,817 DEBUG [c.c.s.StatsCollector] > (StatsCollector-2:ctx-b16e535e) HostStatsCollector is running... > 2014-01-31 11:35:47,819 DEBUG [c.c.s.StatsCollector] > (StatsCollector-3:ctx-b1aab871) VmStatsCollector is running... > 2014-01-31 11:35:47,827 DEBUG [c.c.s.StatsCollector] > (StatsCollector-1:ctx-e6e02f4c) StorageCollector is running... -- This message was sent by Atlassian JIRA (v6.3.4#6332)