aboutsummaryrefslogtreecommitdiffstats
path: root/application-model
Commit message (Collapse)AuthorAgeFilesLines
* Update ↵Håkon Hallingstad2020-09-181-1/+1
| | | | | application-model/src/main/java/com/yahoo/vespa/applicationmodel/ClusterId.java Co-authored-by: Harald Musum <musum@verizonmedia.com>
* 30s down-moratorium before allowing suspensionHåkon Hallingstad2020-09-185-16/+79
|
* Orchestrator should assume 3 controllersHåkon Hallingstad2020-06-223-3/+18
|
* Moved to more specific methods on ServiceMonitorHåkon Hallingstad2020-02-281-13/+15
|
* Unit test 1-d map short form modify updateJon Bratseth2020-01-141-0/+1
|
* Assume at least 3 config server in OrchestratorHåkon Hallingstad2019-08-134-0/+11
|
* Health rest APIHåkon Hallingstad2019-01-311-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes a new REST API /orchestrator/v1/health/<ApplicationId> that shows the list of services that are monitored for health. This information is currently a bit difficult to infer from /orchestrator/v1/instances/<ApplicationInstanceReference> since it is the combined view of health and Slobrok. There are already APIs for Slobrok. Example content: $ curl -s localhost:19071/orchestrator/v1/health/hosted-vespa:zone-config-serve\ rs:default|jq . { "services": [ { "clusterId": "zone-config-servers", "serviceType": "configserver", "configId": "zone-config-servers/cfg6", "status": { "serviceStatus": "UP", "lastChecked": 1548939111.708718, "since": 1548939051.686223, "endpoint": "http://cfg4.prod.cd-us-central-1.vespahosted.ne1.yahoo.com:19071/state/v1/health" } }, ... ] } This view is slightly different from the application model view, just because that's exactly how the health monitoring is structured (individual monitors against endpoints). The "endpoint" information will also be added to /instances if the status comes from health and not Slobrok.
* Revert "Preserve serviceStatus in service instance for backwards compatibility"Jon Marius Venstad2019-01-281-2/+0
|
* Preserve serviceStatus in service instance for backwards compatibilityHåkon Hallingstad2019-01-251-0/+2
|
* Metadata about /state/v1/health statusHåkon Hallingstad2019-01-252-7/+108
| | | | | | | | | | | | | The service monitor uses /state/v1/health to monitor config servers and the host admins (but not yet tenant host admins). This commit adds some metadata about the status of a service: - The time the status was last checked - The time the status changed to the current This can be used to e.g. make more intelligent decisions in the Orchestrator, e.g. only allowing a service to suspend if it has been DOWN longer than X seconds (to avoid spurious DOWN to break redundancy and uptime guarantees).
* Nonfunctional changes onlyJon Bratseth2019-01-211-0/+1
|
* 6-SNAPSHOT -> 7-SNAPSHOTArnstein Ressem2019-01-211-2/+2
|
* Support monitoring health of tenant hostsHåkon Hallingstad2019-01-161-5/+0
|
* Revert "Revert "Add infrastructure applications to DuperModel""Håkon Hallingstad2018-12-031-0/+3
|
* Revert "Add infrastructure applications to DuperModel"Harald Musum2018-12-031-3/+0
|
* Add infrastructure applications to DuperModelHåkon Hallingstad2018-11-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove explicit maven-compiler-plugin config. Inherit from parent.gjoranv2018-04-251-10/+0
|
* Support reporting UP for node admin outside zone appHåkon Hallingstad2018-02-262-0/+7
| | | | | | | | | 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.
* Split parent + container-dependency-versions from root pom.gjoranv2017-12-011-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"gjoranv2017-11-301-1/+0
|
* Split parent + container-dependency-versions from root pom.gjoranv2017-11-301-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"gjoranv2017-11-291-1/+0
|
* Split parent + container-dependency-versions from root pom.gjoranv2017-11-291-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.
* Avoid recursive toStringHåkon Hallingstad2017-10-252-4/+0
|
* Avoid recursive hashCode and equalsHåkon Hallingstad2017-10-252-6/+4
|
* Provide more info in host Orchestrator REST APIHåkon Hallingstad2017-10-252-6/+36
|
* Remove status type parameter in application model classesHåkon Hallingstad2017-10-224-15/+26
|
* Include orchestrator and service-model fat jarsHåkon Hallingstad2017-10-191-0/+2
|
* Nonfunctional changesJon Bratseth2017-08-3011-0/+17
|
* Update copyright headersJon Bratseth2017-06-1413-2/+13
|
* Revert "Update copyright headers"Jon Bratseth2017-06-1413-13/+2
|
* Update copyright headersJon Bratseth2017-06-1413-2/+13
|
* Revert "Copyright header"Jon Bratseth2017-06-1313-13/+2
|
* Copyright headerJon Bratseth2017-06-1313-2/+13
|
* Adds classes to give the Orchestrator policy classes a simplified view of Vespa.Håkon Hallingstad2017-04-282-1/+10
| | | | | | | | | This should be a no-op. The only changes that actually could have an impact are the changes to getting the cluster controllers, but it should be functionally equivalent. This PR will make it easier to change the Orchestrator policy to allow suspending several nodes (NodeGroup) in an application on a single Docker host.
* Remove non-working provider for custom ObjectMapperBjørn Christian Seime2016-11-168-8/+8
|
* Replace Scala case classes with Java POJOsBjørn Christian Seime2016-11-1625-207/+548
|
* Revert "Bjorncs/rewrite to java"Harald Musum2016-11-1625-548/+207
|
* Remove non-working provider for custom ObjectMapperBjørn Christian Seime2016-11-168-8/+8
|
* Replace Scala case classes with Java POJOsBjørn Christian Seime2016-11-1625-207/+548
|
* Need to figure out what to do with the tests using DockerOperationsHåkon Hallingstad2016-09-011-0/+2
|
* Use Github username as authorBjørn Christian Seime2016-06-2910-10/+10
|
* Remove bakksjo as ownerBjørn Christian Seime2016-06-281-1/+1
|
* Move parent pom to toplevel directoryEirik Nygaard2016-06-231-1/+0
|
* PublishJon Bratseth2016-06-1516-0/+267