summaryrefslogtreecommitdiffstats
path: root/node-maintainer
Commit message (Collapse)AuthorAgeFilesLines
* Interns/verification fix 4 (#3059)olaaun2017-08-0940-830/+486
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Made diskbenchmark heavier * Changed how net interface and connection is compared. No longer cares if node repo says shouldn't have interface, even though it actually has * Now supports taking in comma separated config server urls as parameter * Added VerifierSettings to be able to choose what tests to be executed based on node repo * Changed how SpecVerification reports. Now creates JSON containing only actual hardware values that are different from node repo * Changed reporting of benchmarks * Now tests config server url generation when comma separated list is passed to program * Added system exit in benchmarks to allow testing * Ping6 logger writes full error message * Added and changed some class level comments * Added verificationReport test and removed skipwords in parseInstructions * cleanup * Code cleanup * Added information to README for hardware verification * Readme to spec * Now retrieves interface speed independent of previous command * ethtool and ifconfig now ignores docker and veth-interfaces * Removed some references to prod.
* Remove corp referencesJon Bratseth2017-08-088-21/+23
|
* Interns/verification fix 3 (#3047)olaaun2017-08-0712-128/+59
| | | | | | | | * Fixed failing ping parsing * Replace regex with InetAddresses * NetRetriever now also accepts interfaces other than eth.
* Interns/logic changes to make testing easier (#3045)Sindre Grøstad2017-08-0314-71/+71
| | | | | | | | | | | | * Reformatted code * Faulty IP adresses now affects match metric * insideThreshold now takes threshold percentage as parameter * change in match logic to make testing easier * Changed IPv4 regex
* Increase number of connections and close streamvalerijf2017-08-022-6/+10
|
* Interns/verification fix (#3039)olaaun2017-08-0123-201/+499
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Now stores netInfo also if ping6 did not work * Added information to README * Changed disk benchmark command to use conv = fdatasync * Diskretriever now sums up all sizes from df to get disk size * Extracted test JSON strings to separate files * Disk retriever now ignores RAM and first row * Changed mock input for disk size retriever test * using pvdisplay to retrieve disk size * Changed to not assume IPv4 address exist in node repo * DiskRetriever now handles multiple disks by adding them to get tot disk size * IPAddressVerifier now verifies both IP addresses against hostname reported by node repo JSON * NetRetriever now throws exceptions in a consistent way * MemoryRetriver throws exception similar to other retrievers * More detailed logging in case of exception in DiskRetriever * Changed logging depending on exception type in NetRetriever * Now compares ipv6 connectivity with node repo * attempt to make Pogo seperate out verifications with errors * The complete match metric is now also dependent on ping response * Added check making sure spec verification is not run on virtual machines
* interns/bug-fixes-net-disksize (#3031)Sindre Grøstad2017-07-3111-21/+39
| | | | | | | | | | | | | | * Now stores netInfo also if ping6 did not work * Added information to README * Changed disk benchmark command to use conv = fdatasync * Diskretriever now sums up all sizes from df to get disk size * Extracted test JSON strings to separate files * Disk retriever now ignores RAM and first row
* Summer interns/node verification (#3025)Sindre Grøstad2017-07-3152-527/+1033
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed wrong case in file name * Interfacespeed string to double converting moved out to new function * Changed names and refactored SpecVerifier * Changed disk type from boolean to enum * Made HostURLGenerator tests and renamed one variable in specVerifier * Added test for SpecVerifier * added tests in some spec classes and a check for Ipv6 when retrieving from nodeRepo * Added tests for verifySpec * Hardwareverifier changed name to HardwareBenchmarker and som refactoring in this class * More tests. Made methods in SpecVerifier static * Fixed CommandExecutor * added configserver URL retriver * Fixed resource path names * Moved pinging to spec verification. Deleted Client and Server classes from hardware verification. Created TerminationController * Added tests for buildNodeInfoUrl * Calls static function without object instance instance in HostURLGeneratorTest * umount is now sudo * Changed BenchmarkResults attributes to primitives * Added more tests * added tests for HardwareBenckmarker and TerminationController * Change of name * Reformatted code * Removed done TODOs * Changed parameters of Diskbenchmark
* Ignore the correct test.Henning Baldersheim2017-07-251-1/+1
|
* Ignore failing test.Henning Baldersheim2017-07-251-0/+3
|
* Stick to primitives. I think that == will work as expected then too.Henning Baldersheim2017-07-251-9/+9
|
* Silence warnings.Henning Baldersheim2017-07-256-15/+15
|
* Node verification (#2999)olaaun2017-07-2577-0/+3584
| | | * Initial node verification commit
* fix copyright yearArne H Juul2017-06-281-1/+1
|
* use neutral namesArne H Juul2017-06-284-22/+22
|
* use underVespaHomeArne H Juul2017-06-283-12/+22
|
* Update copyright headersJon Bratseth2017-06-148-8/+8
|
* Revert "Update copyright headers"Jon Bratseth2017-06-148-8/+8
|
* Update copyright headersJon Bratseth2017-06-148-8/+8
|
* Revert "Copyright header"Jon Bratseth2017-06-138-8/+8
|
* Copyright headerJon Bratseth2017-06-138-8/+8
|
* Remove reference to internal URLMartin Polden2017-06-093-7/+18
|
* Fix deleteDirectories in node-maintainervalerijf2017-05-182-6/+17
|
* Fix coredump reportingvalerijf2017-05-102-3/+6
|
* Merge pull request #2297 from yahoo/freva/fix-coredump-reportingHarald Musum2017-04-262-23/+40
|\ | | | | Always check if metadata.json exists, if not - create it.
| * Always check if metadata.json exists, if not - create it.valerijf2017-04-262-23/+40
| |
* | Set connection timeoutsHarald Musum2017-04-261-1/+13
|/
* Remove unnecessary wrapping of commandvalerijf2017-04-072-5/+5
|
* Setup logging for node-maintainerHarald Musum2017-04-061-1/+3
| | | | * Setup logging and use vespa.log when started from node-admin
* Execute all maintenance jobs anywayvalerijf2017-03-141-3/+17
|
* Add support for reporting yinst state and rpm packagesvalerijf2017-03-145-12/+77
|
* handle-core-dumps deletes old core-dumpsvalerijf2017-03-143-33/+52
|
* Parse attributes field only once and in the right placeHarald Musum2017-03-131-1/+1
|
* Do not fail on optional argumentsvalerijf2017-03-131-2/+2
|
* Do not follow symbolic links when getting last modified timevalerijf2017-03-132-2/+16
|
* Removed unneeded dependenciesvalerijf2017-03-091-15/+0
|
* Removed node-maintainer REST APIvalerijf2017-03-095-329/+140
|
* Renamed DeleteOldAppData to FileHelpervalerijf2017-03-084-30/+30
|
* Created REST API for node-maintainervalerijf2017-03-083-127/+191
|
* Rewritted DeleteOldAppData to use java.niovalerijf2017-03-083-127/+153
|
* Renamed node-admin-maintenance to node-maintainerfreva2017-03-0714-0/+1561