Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use thread pool for health monitoring in service-monitor | Håkon Hallingstad | 2018-12-17 | 32 | -539/+1231 |
| | | | | | This is necessary to avoid using too many threads when monitoring the host-admin on the tenant Docker hosts. | ||||
* | Monitor health of host infra applications | Håkon Hallingstad | 2018-12-08 | 7 | -26/+135 |
| | |||||
* | Simplify infrastructure applications | Håkon Hallingstad | 2018-12-07 | 16 | -156/+168 |
| | |||||
* | Remove infra app from duper model only if it is supposed to be in duper model | Håkon Hallingstad | 2018-12-07 | 3 | -8/+15 |
| | |||||
* | Make service monitors aware of infra applications in duper model. | Håkon Hallingstad | 2018-12-06 | 59 | -574/+772 |
| | | | | | | | | | | | | | | | - Notify monitors of infrastructure application activation. Live-flipping the content of the duper model is non-trivial and has been removed. - Split out DuperModel as a simple mutable and thread-unsafe container of the applications in the duper model, that also handles calls listeners on changes. The previous DuperModel has been renamed to DuperModelManager. - Replace SuperModelProvider::snapshot method (fast but difficult to use right) with registerListener. - Shorten the fully qualified package names by 1-2 levels for mosts classes. Next steps: - Make HA query the real orchestrator - Start experimenting with health monitoring of infra apps | ||||
* | Use config server from ConfigserverConfig in DuperModel for controller | Håkon Hallingstad | 2018-12-03 | 3 | -35/+62 |
| | |||||
* | Revert "Revert "Add infrastructure applications to DuperModel"" | Håkon Hallingstad | 2018-12-03 | 25 | -217/+474 |
| | |||||
* | Revert "Add infrastructure applications to DuperModel" | Harald Musum | 2018-12-03 | 25 | -474/+217 |
| | |||||
* | Fixes after review round | Håkon Hallingstad | 2018-12-03 | 1 | -1/+1 |
| | |||||
* | Add infrastructure applications to DuperModel | Håkon Hallingstad | 2018-11-30 | 25 | -217/+474 |
| | | | | | | | | | | | | | | | | | | | | | | | DuperModel is (will be) responsible for both active tenant applications (through SuperModel) and infrastructure applications. This PR is one step in that direction: - All infrastructure applications (config, confighost, controller, controllerhost, and proxyhost) are owned and managed by DuperModel. - The InfrastructureProvisioner retrieves all possible infra apps from the DuperModel (through a reduced API), and "activates" each of them if target is set and there are any nodes etc. - The InfrastructureProvisioner then notifies the DuperModel which apps have been activated, and with which hosts. - The DuperModel can then build delegate artificially create ApplicationInfo, which gets translated into the application model, and finally the service model. - The resulting service model has NOT_CHECKED for each hostadmin service instance. This is sufficient for goal 1 of this sprint. - The config server application currently has health, so that's kept as-is for now. - Feature flags have been tried and works and allows 1. to disable adding the infra apps in the DuperModel, and 2. to enable the infra configserver instead of the currently created configserver w/health. | ||||
* | Cleanup | Harald Musum | 2018-11-20 | 1 | -1/+1 |
| | |||||
* | Use simpler map for models | Harald Musum | 2018-11-05 | 1 | -6/+3 |
| | | | | | Need to keep old constructor and make a temporary one with an ignored argument to make this work (since arguments will be equal due to type erasure) | ||||
* | Inject Zone and remove unused method | Harald Musum | 2018-10-28 | 1 | -2/+2 |
| | |||||
* | Add controller-host application | Martin Polden | 2018-10-03 | 1 | -0/+18 |
| | |||||
* | Allocate nodes of type controller to controller app | Martin Polden | 2018-09-19 | 2 | -0/+24 |
| | |||||
* | Simplify HealthClient by using ServiceIdentitySslSocketFactory | Bjørn Christian Seime | 2018-08-14 | 6 | -72/+14 |
| | |||||
* | Fixes after review round | Håkon Hallingstad | 2018-06-13 | 5 | -11/+11 |
| | |||||
* | Monitor cfg app health if activated | Håkon Hallingstad | 2018-06-13 | 11 | -118/+560 |
| | |||||
* | Fix test | Håkon Hallingstad | 2018-06-08 | 1 | -1/+1 |
| | |||||
* | Single-tenancy has config server as part of application model | Håkon Hallingstad | 2018-06-08 | 6 | -9/+34 |
| | |||||
* | Revert "Revert "Use HTTP and remove Athenz injection"" | Håkon Hallingstad | 2018-06-08 | 34 | -418/+1255 |
| | |||||
* | Revert "Always enable synthetic config server app in service monitor" | Håkon Hallingstad | 2018-06-06 | 1 | -3/+8 |
| | |||||
* | Revert "Use HTTP and remove Athenz injection" | Håkon Hallingstad | 2018-06-06 | 34 | -1255/+413 |
| | |||||
* | Wrap immutable List in unmodifiableList | Håkon Hallingstad | 2018-06-06 | 1 | -1/+3 |
| | |||||
* | Use HTTP and remove Athenz injection | Håkon Hallingstad | 2018-06-06 | 11 | -132/+73 |
| | |||||
* | Revert "Revert "Make health client wo using it"" | Håkon Hallingstad | 2018-06-05 | 34 | -394/+1293 |
| | |||||
* | Always enable synthetic config server app in service monitor | Håkon Hallingstad | 2018-06-05 | 1 | -8/+3 |
| | |||||
* | Revert "Make health client wo using it" | Harald Musum | 2018-05-31 | 34 | -1295/+399 |
| | |||||
* | Use ConfigServerUtil and fix copyright | Håkon Hallingstad | 2018-05-31 | 3 | -19/+4 |
| | |||||
* | Make health client wo using it | Håkon Hallingstad | 2018-05-31 | 34 | -398/+1309 |
| | | | | | | | | | | | | | | | | | | | | | This PR should not have any functional changes. - Make a synthetic ApplicationInfo for the config server and "activate" it during bootstrap. - Make an ApplicationInstanceGenerator that converts an ApplicationInfo to an ApplicationInstance. Used by ModelGenerator. - Make a "DuperModel" that combines the SuperModel (deployed apps) with the set of synthetic apps. - Prefer health over Slobrok service status, if available (!= NOT_CHECKED). Health monitoring is structured as: - A manager responsible for adding and removing applications - An ApplicationHealthMonitor responsible for all monitoring for a given app - A HealthMonitor responsible for monitoring the health of a single service - A HealthClient responsible for issuing health requests to fixed endpoint Some of the lower-level health monitoring is not entirely finished, as it depends on refactoring of an athenz dependency tbd later. | ||||
* | [service-monitor] Make it easier to add synthesized apps | Håkon Hallingstad | 2018-05-24 | 18 | -216/+294 |
| | |||||
* | Do not set cluster group | Valerij Fredriksen | 2018-05-04 | 1 | -9/+3 |
| | |||||
* | Add ExportPackage for application | Valerij Fredriksen | 2018-04-20 | 1 | -0/+8 |
| | |||||
* | Always use cluster group 0 | Valerij Fredriksen | 2018-04-20 | 5 | -8/+7 |
| | |||||
* | Make variables private, add getters | Valerij Fredriksen | 2018-04-20 | 2 | -8/+19 |
| | |||||
* | Move application out of internal | Valerij Fredriksen | 2018-04-20 | 12 | -12/+12 |
| | |||||
* | Define infrastructure applications | Valerij Fredriksen | 2018-04-20 | 12 | -14/+134 |
| | |||||
* | filedistributorservice does not exist anymore | Harald Musum | 2018-03-10 | 1 | -1/+0 |
| | |||||
* | Constructor needs to be public | Harald Musum | 2018-02-26 | 1 | -1/+1 |
| | |||||
* | Refer to HealthMonitorManager in services.xml | Håkon Hallingstad | 2018-02-26 | 1 | -0/+2 |
| | |||||
* | Support reporting UP for node admin outside zone app | Håkon Hallingstad | 2018-02-26 | 13 | -48/+289 |
| | | | | | | | | | If the nodeAdminInContainer ConfigserverConfig has been set, with this PR, the service monitor will always report the node admin container service as UP, thereby avoiding issues related to standalone node admin seemingly being down when not running as part of the application. This postpones checking /status/v1/health for later. | ||||
* | Use no_aop classifier for guice. | gjoranv | 2017-12-01 | 1 | -0/+1 |
| | |||||
* | Split parent + container-dependency-versions from root pom. | gjoranv | 2017-12-01 | 1 | -0/+1 |
| | | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent. | ||||
* | Revert "Gjoranv/split parent2" | gjoranv | 2017-11-30 | 1 | -2/+0 |
| | |||||
* | Use no_aop classifier for guice. | gjoranv | 2017-11-30 | 1 | -0/+1 |
| | |||||
* | Split parent + container-dependency-versions from root pom. | gjoranv | 2017-11-30 | 1 | -0/+1 |
| | | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent. | ||||
* | Revert "Gjoranv/split parent" | gjoranv | 2017-11-29 | 1 | -2/+0 |
| | |||||
* | Use no_aop classifier for guice. | gjoranv | 2017-11-29 | 1 | -0/+1 |
| | |||||
* | Split parent + container-dependency-versions from root pom. | gjoranv | 2017-11-29 | 1 | -0/+1 |
| | | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent. | ||||
* | Initialize super model in start | Håkon Hallingstad | 2017-11-03 | 1 | -5/+4 |
| |