aboutsummaryrefslogtreecommitdiffstats
path: root/node-repository
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Jvenstad/fix node repo cache""Jon Bratseth2018-12-189-100/+204
|
* Revert "Jvenstad/fix node repo cache"Arnstein Ressem2018-12-189-204/+100
|
* Increase counter on prepare as wellJon Marius Venstad2018-12-172-10/+16
|
* Add feature flag for cache invalidation method, default oldJon Marius Venstad2018-12-176-17/+54
|
* Avoid writing a cache with an outdated counter from the startJon Marius Venstad2018-12-121-5/+6
|
* Re-enable caching in cd-us-central-1Jon Marius Venstad2018-12-121-9/+1
|
* Update comments and reduce visibilityJon Marius Venstad2018-12-121-5/+4
|
* Defensively copy what you expose, but trust your sourceJon Marius Venstad2018-12-121-2/+2
|
* Simplify cache handlingJon Marius Venstad2018-12-121-34/+6
|
* Tighten visibility and update commentsJon Marius Venstad2018-12-123-8/+8
|
* Use a counter which increments in finally, if commitingJon Marius Venstad2018-12-123-25/+74
|
* Add unit test of caching, which fails nowJon Marius Venstad2018-12-121-1/+46
|
* Miniscule cleanupJon Marius Venstad2018-12-122-3/+6
|
* Simplify infrastructure applicationsHåkon Hallingstad2018-12-071-1/+1
|
* Remove infra app from duper model only if it is supposed to be in duper modelHåkon Hallingstad2018-12-071-0/+8
|
* Merge pull request #7891 from ↵Håkon Hallingstad2018-12-065-10/+10
|\ | | | | | | | | vespa-engine/hakonhall/notify-service-monitors-of-infra-apps Make service monitors aware of infra applications in duper model.
| * Make service monitors aware of infra applications in duper model.Håkon Hallingstad2018-12-065-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Include throttled active nodesMartin Polden2018-12-062-8/+17
| |
* | Emit metric for throttled node failuresMartin Polden2018-12-062-11/+32
| |
* | CleanupMartin Polden2018-12-061-3/+3
| |
* | Temporarily node repository disable caching in CDMartin Polden2018-12-061-1/+9
|/
* Merge pull request #7864 from ↵Håkon Hallingstad2018-12-041-0/+2
|\ | | | | | | | | vespa-engine/hakonhall/provision-infrastructure-nodes-asap-on-bootstrap Provision infrastructure nodes ASAP on bootstrap
| * Provision infrastructure nodes ASAP on bootstrapHåkon Hallingstad2018-12-041-0/+2
| |
* | Revert "Revert "Add infrastructure applications to DuperModel""Håkon Hallingstad2018-12-035-95/+224
|/
* Revert "Add infrastructure applications to DuperModel"Harald Musum2018-12-035-224/+95
|
* Fixes after review roundHåkon Hallingstad2018-12-032-9/+2
|
* Add infrastructure applications to DuperModelHåkon Hallingstad2018-11-305-93/+229
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Provision load balancers when feature flag is setMartin Polden2018-11-2818-90/+102
|
* Re-add failMartin Polden2018-11-281-1/+1
|
* Fix dual-stack IP allocationMartin Polden2018-11-284-55/+226
|
* Remove binding for non-existent APIMartin Polden2018-11-281-4/+0
|
* SimplifyMartin Polden2018-11-272-43/+20
|
* Support feature flags in node repositoryMartin Polden2018-11-2714-20/+589
| | | | | | | | | | | | | | | This implements feature flags for the node repository. A feature flag can be toggled on/off for the following dimensions: 1) The node repository (entire zone) 2) A specific node 3) A specific application Flags must be declared in the `FlagId` enum, this is typically done when implementing the feature that should be guarded by a flag. Flag status is stored in ZooKeeper. Inspecting and toggling flag status is done through a REST API, see `RestApiTest#test_flags()`.
* Merge pull request #7746 from vespa-engine/mpolden/load-balancer-provisioningMartin Polden2018-11-2314-5/+819
|\ | | | | Add load balancer provisioner
| * Rename fieldMartin Polden2018-11-235-20/+23
| |
| * Add load balancer provisionerMartin Polden2018-11-2314-5/+816
| |
* | Port 8443 no longer used by controllerBjørn Christian Seime2018-11-202-3/+2
|/
* Keep IP sets sortedMartin Polden2018-11-2030-99/+180
|
* Merge pull request #7691 from vespa-engine/mpolden/dual-stack-containersValerij Fredriksen2018-11-1917-155/+323
|\ | | | | Add support for dual-stack Docker containers
| * Avoid creating another NodeListMartin Polden2018-11-191-1/+1
| |
| * Explicitly ignore testMartin Polden2018-11-191-6/+2
| |
| * Add support for dual-stack Docker containersMartin Polden2018-11-1917-145/+321
| |
| * Remove unused methodMartin Polden2018-11-161-4/+0
| |
* | Merge pull request #7684 from vespa-engine/bjorncs/controller-nat-setupBjørn Christian Seime2018-11-192-2/+5
|\ \ | | | | | | Add 443 and 8443 as trusted ports for controller
| * | Add 443 and 8443 as trusted ports for controllerBjørn Christian Seime2018-11-162-2/+5
| |/
* | Don't reuse indexes of parked nodesJon Bratseth2018-11-181-1/+2
| |
* | Don't reuse indexes of inactive nodesJon Bratseth2018-11-181-1/+1
|/
* Revert "Revert "Revert "Revert "Enforce CC timeouts in Orchestrator 4""""Håkon Hallingstad2018-11-011-6/+0
|
* Revert "Revert "Revert "Enforce CC timeouts in Orchestrator 4"""Håkon Hallingstad2018-11-011-0/+6
|
* Merge pull request #7524 from ↵Håkon Hallingstad2018-11-011-6/+0
|\ | | | | | | | | vespa-engine/hakonhall/enforce-cc-timeouts-in-orchestrator-4 Revert "Revert "Enforce CC timeouts in Orchestrator 4""