Closed dragoslav closed 9 years ago
I have another case. Look at the following log.
You can see that route 37367151-3eb9-4e64-ad13-379a4f71a75e_9050
gets created & updated correctly. Later, a completely new route (for the 9060 port) get created. But at that instance Core tries to start deleting the 9050 route, prepended with the UUID of the 9060 route.
11:54:39.742 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router remove: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9050
11:54:39.760 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router create: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9060
a little bit further down, Core tries to remove the 9060 route, prepended with the UUID of the 9050 route. Somehow the UUID's are flipped. Both routes do not exist in router, so Core just keeps trying.
11:54:41.561 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router remove: 37367151-3eb9-4e64-ad13-379a4f71a75e_9060
11:54:41.582 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router remove: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9050
1:52:14.142 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router create: 37367151-3eb9-4e64-ad13-379a4f71a75e_9050
11:52:14.441 | INFO | i.v.c.c.marathon.MarathonDriver | | marathon create app: /37367151-3eb9-4e64-ad13-379a4f71a75e/6fd83b1fd01f7dd9eb7f
11:52:14.441 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router update: 37367151-3eb9-4e64-ad13-379a4f71a75e_9050
11:52:15.459 | INFO | i.v.c.c.marathon.MarathonDriver | | marathon create app: /37367151-3eb9-4e64-ad13-379a4f71a75e/6fd83b1fd01f7dd9eb7f
11:52:15.459 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router update: 37367151-3eb9-4e64-ad13-379a4f71a75e_9050
11:52:16.458 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router update: 37367151-3eb9-4e64-ad13-379a4f71a75e_9050
11:52:18.464 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router create: 37367151-3eb9-4e64-ad13-379a4f71a75e_sava_80
11:53:17.650 | INFO | i.v.c.c.marathon.MarathonDriver | | marathon create app: /37367151-3eb9-4e64-ad13-379a4f71a75e/2e2fc6ab8a1cdbe79dc3
11:53:17.651 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router update: 37367151-3eb9-4e64-ad13-379a4f71a75e_sava_80
11:53:20.459 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router update: 37367151-3eb9-4e64-ad13-379a4f71a75e_sava_80
11:54:03.406 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router update: 37367151-3eb9-4e64-ad13-379a4f71a75e_sava_80
11:54:39.742 | INFO | i.v.c.c.marathon.MarathonDriver | | marathon create app: /eb2d505e-f5cf-4aed-b4ae-326a8ca54577/2c8fb1128ab9a09fda8f
11:54:39.742 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router remove: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9050
11:54:39.760 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router create: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9060
11:54:39.822 | INFO | i.v.c.c.marathon.MarathonDriver | | marathon create app: /eb2d505e-f5cf-4aed-b4ae-326a8ca54577/43f71c7977ba711c70f4
11:54:40.502 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router remove: 37367151-3eb9-4e64-ad13-379a4f71a75e_9060
11:54:40.502 | INFO | i.v.c.c.marathon.MarathonDriver | | marathon create app: /eb2d505e-f5cf-4aed-b4ae-326a8ca54577/2c8fb1128ab9a09fda8f
11:54:40.524 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router remove: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9050
11:54:40.541 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router update: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9060
11:54:40.579 | INFO | i.v.c.c.marathon.MarathonDriver | | marathon create app: /eb2d505e-f5cf-4aed-b4ae-326a8ca54577/43f71c7977ba711c70f4
11:54:41.561 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router remove: 37367151-3eb9-4e64-ad13-379a4f71a75e_9060
11:54:41.582 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router remove: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9050
11:54:41.635 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router update: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9060
11:54:42.496 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router remove: 37367151-3eb9-4e64-ad13-379a4f71a75e_9060
11:54:42.513 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router remove: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9050
11:54:42.530 | INFO | i.v.c.router_driver.DefaultRouterDriver | | router update: eb2d505e-f5cf-4aed-b4ae-326a8ca54577_9060
It happened Core was keeping removing a route and there were 2 endpoints (9050 & 9060) defined for the same deployment (i.e. UUID) even though the endpoints were for different deployments.
It happens also when routes are removed manually and deployment is marked for deletion - investigate that case as well.
Postman: