summaryrefslogtreecommitdiffstats
path: root/node-repository
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8317 from vespa-engine/mpolden/lb-zone-idMartin Polden2019-02-017-6/+74
|\ | | | | Add DNS zone to load balancer
| * Add DNS zone to load balancerMartin Polden2019-01-317-6/+74
| |
* | Resolve conflict with HEADHåkon Hallingstad2019-01-311-1/+2
| |
* | Merge branch 'master' into hakonhall/support-node-reports-in-node-repositoryHåkon Hallingstad2019-01-3122-30/+484
|\|
| * Code review fixesValerij Fredriksen2019-01-316-8/+13
| |
| * Add provision maintainersValerij Fredriksen2019-01-307-4/+450
| |
| * Relax node IP requirementValerij Fredriksen2019-01-302-6/+4
| |
| * Fix method name typoValerij Fredriksen2019-01-305-5/+5
| |
| * Implement Iterable in NodeListValerij Fredriksen2019-01-308-15/+20
| |
* | Fixes after review roundHåkon Hallingstad2019-01-314-4/+4
| |
* | Support node reports in node repositoryHåkon Hallingstad2019-01-3013-5/+540
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a "reports" field of the node JSON: - A JSON object mapping report IDs (e.g. cpuCyclesInGHz) to the report. - Supports GET and PATCH. Setting a report to null clears it. Setting "reports" to null clears all reports. Setting an already existing report will overwrite the previous. A report is of the form: { // The time the report was created/PATCHed, in millis since epoch (long). // If missing from the PATCH, it is set to now. "createdMillis": 123456, // Optional description. If set the NodeFailer should fail the node (for // now). "description": "Frequency...", // opaque additional data determined by the exact report (ID). // Can be queried by e.g. the NodeFailer, is saved in ZK, and will be // displayed as part of the report under "reports". // // Most hardware divergence reports will get a '"value": 1234' field with // the actually measured value (which was outside the threshold). ... } The host admin will be changed to upload to "reports" instead of hardware divergence. The NodeFailer will then be able to query the reports to decide which nodes, if any, to fail out.
* Merge pull request #8262 from ↵Valerij Fredriksen2019-01-3016-129/+203
|\ | | | | | | | | vespa-engine/freva/refuse-to-activate-nodes-on-non-ready-hosts Refuse to activate nodes on not ready hosts
| * ParentHostNotReadyException -> ParentHostUnavailableExceptionValerij Fredriksen2019-01-292-4/+4
| |
| * Code review fixesValerij Fredriksen2019-01-292-13/+19
| |
| * Refuse to allocate nodes if parent is not activeValerij Fredriksen2019-01-285-11/+98
| |
| * Simplify NodeListValerij Fredriksen2019-01-281-31/+27
| |
| * Rename methods, simplify argumentsValerij Fredriksen2019-01-284-69/+74
| |
| * Remove unused importsValerij Fredriksen2019-01-289-20/+0
| |
* | Verify fields in authorative constructorHåkon Hallingstad2019-01-291-10/+11
| |
* | Make node builderHåkon Hallingstad2019-01-286-71/+179
|/ | | | | | | | | While trying to add another field to Node I came upon the multitude of places the constructor is called. This is simplified by using a builder. The builder is internal to Node for now. If wanted/needed, it can be made public (especially tests may be interested - I have touched as few as possible).
* Merge pull request #8232 from ↵Martin Polden2019-01-253-6/+5
|\ | | | | | | | | vespa-engine/freva/allow-provisioned-ready-transition Allow provisioned -> ready transition
| * Allow provisioned -> ready transitionValerij Fredriksen2019-01-253-6/+5
| |
* | Merge pull request #8227 from vespa-engine/freva/aws-dynamic-provisioningValerij Fredriksen2019-01-2517-33/+134
|\ \ | |/ |/| Create and inject ProvisionServiceProvider
| * Create and inject ProvisionServiceProviderValerij Fredriksen2019-01-2417-33/+134
| |
* | Merge pull request #8185 from vespa-engine/mpolden/lb-aclMartin Polden2019-01-2415-114/+224
|\ \ | | | | | | Add load balancer networks to node ACLs
| * | Move inactive filter to LoadBalancerListMartin Polden2019-01-172-13/+13
| | |
| * | Add load balancer networks to node ACLMartin Polden2019-01-173-25/+63
| | |
| * | SimplifyMartin Polden2019-01-171-5/+5
| | |
| * | Extract filterable load balancer listMartin Polden2019-01-176-40/+69
| | |
| * | Add networks fieldMartin Polden2019-01-174-3/+23
| | |
| * | Ensure unique ports and realsMartin Polden2019-01-176-34/+55
| | |
| * | Require non-null fieldsMartin Polden2019-01-171-4/+6
| | |
* | | Use same reservation expiry in all zonesHarald Musum2019-01-231-2/+1
| |/ |/| | | | | | | There is no difference in how we build models in dev and other zones anymore, and there are customers with large apps that need more than 10 minutes
* | 6-SNAPSHOT -> 7-SNAPSHOTArnstein Ressem2019-01-211-2/+2
|/
* Firmware check timestamps in node-repo, accessible through REST APIJon Marius Venstad2019-01-1511-14/+252
|
* Merge pull request #8123 from ↵Jon Bratseth2019-01-1510-58/+66
|\ | | | | | | | | vespa-engine/mpolden/disallow-removing-allocated-nodes Disallow removal of allocated nodes
| * Remove duplicated child node filteringMartin Polden2019-01-149-40/+35
| |
| * Disallow removal of allocated nodesMartin Polden2019-01-142-21/+34
| |
* | Use correct container portMartin Polden2019-01-153-9/+10
| |
* | Merge pull request #8127 from vespa-engine/mpolden/order-reals-by-hostnameMorten Tokle2019-01-143-8/+12
|\ \ | | | | | | Order reals by hostname
| * | Order reals by hostnameMartin Polden2019-01-143-8/+12
| |/ | | | | | | Previous order was non-deterministic and failed on 7 branch.
* / Validate IP addresses when serializingMartin Polden2019-01-143-36/+44
|/
* Merge branch 'master' into ↵Jon Marius Venstad2019-01-1328-139/+588
|\ | | | | | | jvenstad/remove-feature-flag-for-cache-invalidation-strategy
| * Merge pull request #8113 from vespa-engine/hakonhall/authorization-of-flagsv1Håkon Hallingstad2019-01-122-19/+51
| |\ | | | | | | Authorization of /flags/v1
| | * Authorization of /flags/v1Håkon Hallingstad2019-01-112-19/+51
| | |
| * | Sort IP addresses when serializingMartin Polden2019-01-113-7/+8
| | |
| * | Merge pull request #8106 from vespa-engine/hakonhall/avoid-periodic-removalHåkon Hallingstad2019-01-112-6/+25
| |\ \ | | | | | | | | Avoid periodic removal
| | * | Avoid periodic removalHåkon Hallingstad2019-01-112-6/+25
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The controller log contains errors about refusing to handle the config server application since the controller application is active. The message is misleading: Only the controller application will be activated, while the config server application will be tried removed, and the message comes as part of this removal. This PR adds a check that actual removal from duper model and provisioner will only be done if it is active in the duper model. There are edge cases that the application may be active in the provisioner while not in duper model, but it's fixed on a restart.
| * | Merge pull request #8088 from vespa-engine/mpolden/load-balancers-apiMorten Tokle2019-01-1110-34/+222
| |\ \ | | |/ | |/| Add /loadbalancers/v1/
| | * SimplifyMartin Polden2019-01-111-7/+3
| | |