Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Document IdempotentTask::name | Håkon Hallingstad | 2018-02-14 | 1 | -5/+21 |
| | |||||
* | Migrate to open-source zpu | Bjørn Christian Seime | 2018-02-13 | 1 | -1/+2 |
| | |||||
* | Use DockerAdminComponent | Håkon Hallingstad | 2018-02-12 | 19 | -88/+141 |
| | |||||
* | Merge pull request #5004 from ↵ | Håkon Hallingstad | 2018-02-12 | 4 | -18/+7 |
|\ | | | | | | | | | vespa-engine/hakonhall/support-proprietary-contexts Support proprietary contexts | ||||
| * | Revert "Support node-admin.sh restart" | Håkon Hallingstad | 2018-02-11 | 1 | -13/+5 |
| | | | | | | | | This reverts commit 99cd46eb72d4c7758e8c56420b14c092f8724017. | ||||
| * | Support node-admin.sh restart | Håkon Hallingstad | 2018-02-11 | 1 | -5/+13 |
| | | |||||
| * | Support proprietary contexts | Håkon Hallingstad | 2018-02-11 | 4 | -18/+7 |
| | | |||||
* | | Support node-admin.sh restart | Håkon Hallingstad | 2018-02-11 | 1 | -5/+13 |
|/ | |||||
* | Merge pull request #4988 from ↵ | Håkon Hallingstad | 2018-02-09 | 4 | -144/+110 |
|\ | | | | | | | | | vespa-engine/hakonhall/use-terminal-for-yum-and-systemctl Use Terminal for Yum and SystemCtl | ||||
| * | Use Terminal for Yum and SystemCtl | Håkon Hallingstad | 2018-02-09 | 4 | -144/+110 |
| | | |||||
* | | Use BouncyCastle provider | Valerij Fredriksen | 2018-02-08 | 1 | -2/+25 |
|/ | |||||
* | Merge pull request #4964 from vespa-engine/hakonhall/add-file-editor | Valerij Fredriksen | 2018-02-08 | 5 | -0/+239 |
|\ | | | | | Add file editor | ||||
| * | Add file editor | Håkon Hallingstad | 2018-02-08 | 5 | -0/+239 |
| | | |||||
* | | Merge pull request #4956 from vespa-engine/freva/stabilize-node-admin-test | Valerij Fredriksen | 2018-02-08 | 1 | -4/+16 |
|\ \ | |/ |/| | Stabilize node-admin test | ||||
| * | Stabilize node-admin test | Valerij Fredriksen | 2018-02-07 | 1 | -4/+16 |
| | | |||||
* | | Provide default for logOnFailure | Håkon Hallingstad | 2018-02-07 | 1 | -1/+1 |
| | | |||||
* | | Revert "Revert "Add task scoped log and logOnFailure"" | Håkon Hallingstad | 2018-02-07 | 2 | -7/+44 |
| | | |||||
* | | Revert "Add task scoped log and logOnFailure" | Harald Musum | 2018-02-07 | 2 | -44/+7 |
| | | |||||
* | | Improve documentation | Håkon Hallingstad | 2018-02-07 | 1 | -0/+3 |
| | | |||||
* | | Avoid breaking interface | Håkon Hallingstad | 2018-02-07 | 1 | -1/+1 |
| | | |||||
* | | Add task scoped log and logOnFailure | Håkon Hallingstad | 2018-02-07 | 2 | -7/+41 |
|/ | |||||
* | Add debug of all spawned processes | Håkon Hallingstad | 2018-02-06 | 1 | -0/+10 |
| | |||||
* | Remove unnecessary recursive guard | Håkon Hallingstad | 2018-02-06 | 1 | -9/+0 |
| | |||||
* | Amend program output parse exceptions with command and output snippet | Håkon Hallingstad | 2018-02-06 | 6 | -3/+106 |
| | | | | | | | | | | | By using the CommandResult::map method, any exception thrown while parsing the output will automatically be wrapped in an exception that also dumps the command and (snippet of) the full output. It also facilitates simpler code, e.g.: List<String> volumeGroups = terminal.newCommandLine(context) .addTokens("vgs --noheadings --options vg_name") .executeSilently() .mapEachLine(String::trim); | ||||
* | Simplify try-finally | Håkon Hallingstad | 2018-02-06 | 1 | -12/+8 |
| | |||||
* | Make TerminalImpl implement Terminal and remove outcommented code | Håkon Hallingstad | 2018-02-06 | 2 | -16/+7 |
| | |||||
* | Simplify program execution and unit testing with Terminal and CommandLine | Håkon Hallingstad | 2018-02-05 | 32 | -5/+1457 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define new API for executing programs, the most significant being: - Terminal: Used to create new CommandLine for each command. A TestTerminal can be injected for unit testing that makes it easy to set up expectancy on commands, and specify the exit code/output. - CommandLine: Add arguments, execute, and retrieve output in various forms, and much more. The idea is to remove Command and friends after this is stable. It's not done in the same PR as multiple repos depends on it. Having being notified of commons-exec, this is quite similar on the surface. A few differences: - The Terminal-suite makes it much easier to get command logging correct with its execute() (=> logging) or executeSilently() (with recordSilentExecutionAsSystemModification if it turns out you need to log anyway, which is needed for e.g. YUM commands). - commons-exec doesn't seem to produce nice error message like I made some effort to do correctly: E.g. making a snippet of the output in case an exception is thrown. This can be vital to understanding an error. - commons-exec requires some discipline on behalf of the developer to get unit testable code. He Terminal and CommandLine classes could wrap and hide much of commons-exec to make this easier. - commons-exec is thread-heavy: using multiple threads for e.g. observing timeouts, for shuffling around the stdout, stderr, and stdin data, etc. - commons-exec doesn't seem to use SIGKILL in case SIGTERM doesn't stop the process. On the other hand, commons-exec supports some additional features like setting working directory or environment variables. This will have to be added to Terminal/CommandLine later. | ||||
* | Cleanup TaskContext | Håkon Hallingstad | 2018-02-02 | 16 | -93/+63 |
| | | | | | | | | | - Removes unnecessary isRunningLocally setting - Reduce TaskContext to (basically) recordSystemModification, e.g. removing FileSystem as that can be accessed through other means. - Remove DockerAdminConfig as it's still unused. - Remove unnecessary fields in NodeAdminConfig. - Move json configs to /etc/vespa. | ||||
* | Add more info when principal lookup fails | Håkon Hallingstad | 2018-02-01 | 2 | -2/+21 |
| | |||||
* | Correctly assign stderr to stdout | Håkon Hallingstad | 2018-01-31 | 1 | -1/+1 |
| | |||||
* | Merge pull request #4825 from vespa-engine/hakonhall/add-systemctl-support | Håkon Hallingstad | 2018-01-31 | 12 | -67/+567 |
|\ | | | | | Add systemctl support | ||||
| * | Extract util for formatting exception message | Håkon Hallingstad | 2018-01-31 | 6 | -47/+125 |
| | | |||||
| * | Export systemd package | Håkon Hallingstad | 2018-01-31 | 1 | -0/+5 |
| | | |||||
| * | Add systemctl support | Håkon Hallingstad | 2018-01-30 | 10 | -62/+479 |
| | | |||||
* | | Fix regex for no-op yum commands | Håkon Hallingstad | 2018-01-31 | 2 | -11/+9 |
|/ | |||||
* | Use AthenzSslContextBuilder in node-admin | Valerij Fredriksen | 2018-01-30 | 2 | -37/+7 |
| | |||||
* | Implement directory resource | Håkon Hallingstad | 2018-01-30 | 7 | -57/+330 |
| | |||||
* | Merge pull request #4799 from ↵ | Håkon Hallingstad | 2018-01-29 | 6 | -52/+167 |
|\ | | | | | | | | | vespa-engine/hakonhall/support-yum-upgrade-and-remove Support yum upgrade and remove | ||||
| * | Support yum upgrade and remove | Håkon Hallingstad | 2018-01-29 | 6 | -52/+167 |
| | | |||||
* | | Merge pull request #4744 from ↵ | Valerij Fredriksen | 2018-01-29 | 4 | -11/+51 |
|\ \ | |/ |/| | | | | | vespa-engine/freva/add-node-admin-hostname-verifier Add node-admin hostname verifier | ||||
| * | Add node-admin hostname verifier | Valerij Fredriksen | 2018-01-23 | 4 | -11/+51 |
| | | |||||
* | | Merge pull request #4775 from vespa-engine/freva/set-converge-time-at-the-end | Håkon Hallingstad | 2018-01-29 | 1 | -5/+15 |
|\ \ | | | | | | | Assume NodeAgent fails to retrieve node from node-repo after dirty | ||||
| * | | Expect node not in node-repo after dirty | Valerij Fredriksen | 2018-01-25 | 1 | -5/+15 |
| | | | |||||
* | | | Merge pull request #4795 from vespa-engine/hakonhall/implement-debug-handler | Håkon Hallingstad | 2018-01-29 | 21 | -11/+173 |
|\ \ \ | | | | | | | | | Implement debug handler | ||||
| * | | | Add author to other files I have added lately | Håkon Hallingstad | 2018-01-29 | 14 | -0/+48 |
| | | | | |||||
| * | | | Fix username | Håkon Hallingstad | 2018-01-29 | 2 | -2/+2 |
| | | | | |||||
| * | | | Add class documentation | Håkon Hallingstad | 2018-01-29 | 2 | -0/+13 |
| | | | | |||||
| * | | | Implement debug handler | Håkon Hallingstad | 2018-01-28 | 7 | -11/+112 |
| | | | | |||||
* | | | | Allow digits in yum repo id | Håkon Hallingstad | 2018-01-29 | 1 | -1/+1 |
| | | | | |||||
* | | | | Revert "ZPE policy updater is replaced by zpu" | Bjørn Christian Seime | 2018-01-28 | 1 | -1/+1 |
|/ / / |