Commit Graph

  • 7c8e6ac01e use HaltTasks and EnsureBefore to make sure we schedule unblocked tasks Samuele Pedroni 2016-03-17 12:59:50 +01:00
  • a2caf8e66e Reinstate checkConsistency method, but with no snap-build related TODOs. Matt Goodall 2016-03-17 10:55:59 +00:00
  • d6bb27f575 Improve snap-revision doc comments that suggest snap-build coupling. Matt Goodall 2016-03-17 10:53:41 +00:00
  • 557e8ffd10 Improve snap-revision doc comments to mention store acknowledgement. Matt Goodall 2016-03-17 10:34:33 +00:00
  • df64f6e237 the relation is static, don't give the impression in the doc that is dynamic Samuele Pedroni 2016-03-17 11:15:30 +01:00
  • 55f64ae163 Task.HaltTasks() etc Samuele Pedroni 2016-03-17 11:02:27 +01:00
  • 2f2939cc4f explicit testing of marshalling wait-for relations Samuele Pedroni 2016-03-17 10:55:47 +01:00
  • d8be3e709b State.Tasks() Samuele Pedroni 2016-03-17 10:54:15 +01:00
  • 6262b6cfa1 Merge pull request #673 from emgee/asserts-identity-remove-unnecessary-check Samuele Pedroni 2016-03-17 10:37:52 +01:00
  • 0b5a03b7fe Merge remote-tracking branch 'upstream/master' into iface-disconnect Zygmunt Krynicki 2016-03-17 09:27:56 +01:00
  • 474271f06c Merge pull request #678 from pedronis/overlord-taskrunner-error-handling Samuele Pedroni 2016-03-17 09:02:49 +01:00
  • 8999540f0c Merge remote-tracking branch 'upstream/master' into fileset-janitor Zygmunt Krynicki 2016-03-17 08:57:27 +01:00
  • 1265d35999 Merge remote-tracking branch 'upstream/master' into iface-disconnect Zygmunt Krynicki 2016-03-17 08:23:16 +01:00
  • 9131c7215f osutil: describe unsupported security systems Zygmunt Krynicki 2016-03-17 00:07:34 +01:00
  • 8d564fd811 osutil: tweak comment for readability Zygmunt Krynicki 2016-03-16 23:45:52 +01:00
  • 2ddedf948a osutil: don't use backtick quotes needlessly Zygmunt Krynicki 2016-03-16 23:44:57 +01:00
  • 7cda9cf07b osutil: be more strict in writeFile() Zygmunt Krynicki 2016-03-16 23:42:39 +01:00
  • 0589425f39 osutil: do more checks on EnsureDirState() arguments Zygmunt Krynicki 2016-03-16 23:39:29 +01:00
  • 24ea8fa6fb comments Samuele Pedroni 2016-03-16 21:02:06 +01:00
  • dd3b766204 pass in tombs to handlers so that they support cancellation later Samuele Pedroni 2016-03-16 19:58:01 +01:00
  • 497d0432ec running task with gorouting should have the proper status set Samuele Pedroni 2016-03-16 19:43:38 +01:00
  • 87e583cd19 error is final (wip) Samuele Pedroni 2016-03-16 16:59:05 +01:00
  • cb5a6b22e3 call stop and use Wait now that we have it Samuele Pedroni 2016-03-16 16:50:40 +01:00
  • 021300afac wait for snapmanager to finsih Michael Vogt 2016-03-16 18:03:35 +01:00
  • eee6f06b73 update for the latest code Michael Vogt 2016-03-16 18:01:55 +01:00
  • a9a04b8406 update witnessManager to the new SnapManager interface Michael Vogt 2016-03-16 17:57:52 +01:00
  • 5080904db0 Merge remote-tracking branch 'upstream/master' into feature/statemanager-wait Michael Vogt 2016-03-16 17:55:36 +01:00
  • 66e2203711 Merge pull request #671 from mvo5/feature/mini-snapmgr Michael Vogt 2016-03-16 17:55:18 +01:00
  • 2280e64a3c address review comments (thanks Pedronis!) Michael Vogt 2016-03-16 17:49:36 +01:00
  • 7cc2fa1e12 remove error return from Wait and Stop Michael Vogt 2016-03-16 17:47:03 +01:00
  • 9a3f8f4e75 Merge pull request #670 from pedronis/overlord-state-ensure-after Samuele Pedroni 2016-03-16 17:42:51 +01:00
  • 6e31dd162e go fmt Samuele Pedroni 2016-03-16 17:36:27 +01:00
  • bfd1e451d4 flag -> ensureCalled, ensureLogic -> ensureCallback, formatting Samuele Pedroni 2016-03-16 17:29:46 +01:00
  • 99e3a9aaa8 fix lint error Michael Vogt 2016-03-16 17:28:33 +01:00
  • c8ac5e5b9b add Wait() method to StateManager interface Michael Vogt 2016-03-16 17:26:00 +01:00
  • 34dc97fe02 c.Error -> c.Fatal, don't retest Stop too much Samuele Pedroni 2016-03-16 17:25:14 +01:00
  • b8f75d8071 add a trivial Run and Stop test Samuele Pedroni 2016-03-16 17:22:17 +01:00
  • c16aca5514 address review comments Michael Vogt 2016-03-16 17:20:22 +01:00
  • a0787d5ffc drop testing for SnapManager.Init() setting the right state (as suggested in the review) Michael Vogt 2016-03-16 17:12:55 +01:00
  • d31f322dc1 integrate install/remove with snapmgr Michael Vogt 2016-03-16 15:31:22 +01:00
  • 34246861e1 Task.Get() can fail, check for that Michael Vogt 2016-03-16 16:43:05 +01:00
  • f8ba30d2a2 Merge pull request #653 from didrocks/change-service-cwd-path Michael Vogt 2016-03-16 16:33:27 +01:00
  • 823b0d2906 Merge pull request #657 from fgimenez/always-set-env-for-snap-integration-tests Michael Vogt 2016-03-16 16:25:10 +01:00
  • d2f38a606a implement ensure before semantics Samuele Pedroni 2016-03-16 15:17:44 +01:00
  • 9ecc850b95 integration-tests: copy the list flag from gocheck Leo Arias 2015-12-08 23:58:28 -06:00
  • 0a9d8a5961 Whitespace noise Michael Vogt 2016-03-16 14:40:51 +01:00
  • 853e0702ee Fix client tests. Matt Goodall 2016-03-16 13:36:30 +00:00
  • 661a3b3dcc EnsureBefore is a better name for the semantics we want Samuele Pedroni 2016-03-16 14:35:05 +01:00
  • 7fd343367a Remove snap-revision constistency check TODOs. Matt Goodall 2016-03-16 13:22:48 +00:00
  • cc2289b2f4 osutil: check that EnsureDirState() only has directory-less content Zygmunt Krynicki 2016-03-16 14:05:45 +01:00
  • 06e6190f57 Add snap-size and remove snap-build from snap-revision assertion. Matt Goodall 2016-03-16 12:59:26 +00:00
  • 91073b4643 more/better tests Samuele Pedroni 2016-03-16 13:36:42 +01:00
  • d284124144 update-pot Michael Vogt 2016-03-16 13:07:38 +01:00
  • 8754d702f5 add i18n (as suggested by Zyga) Michael Vogt 2016-03-16 12:49:01 +01:00
  • 305b9f406a use backendIF in the snapmgr to make faking the backend easier Michael Vogt 2016-03-16 12:47:39 +01:00
  • f91879fd9c overlord/ifacestate: tweak locking in tests Zygmunt Krynicki 2016-03-16 12:39:05 +01:00
  • 6d9df81658 overlord/ifacestate: abbreviate test data Zygmunt Krynicki 2016-03-16 12:36:15 +01:00
  • 77a4ccc1d0 overlord/ifacestate: abbreviate test setup Zygmunt Krynicki 2016-03-16 12:34:39 +01:00
  • 072bd54289 use runner.Wait() Michael Vogt 2016-03-16 12:33:01 +01:00
  • ed522795b0 overlord/ifacestate: abbreviate error handling Zygmunt Krynicki 2016-03-16 12:30:52 +01:00
  • 6452d070ef Merge remote-tracking branch 'upstream/master' into feature/mini-snapmgr Michael Vogt 2016-03-16 12:30:13 +01:00
  • fb521ccf52 overlord/ifacestate: fix copy-paste leftover Zygmunt Krynicki 2016-03-16 12:29:20 +01:00
  • d7c0b97439 add high level tests for install/remove Michael Vogt 2016-03-16 12:28:52 +01:00
  • d5195c7eee po: refresh translation template Zygmunt Krynicki 2016-03-16 12:28:19 +01:00
  • 819e70e4e9 overlord/ifacestate: add support for Disconnect() Zygmunt Krynicki 2016-03-16 12:23:51 +01:00
  • f09c253bc2 overlord/ifacestate: factor-out common Get() calls Zygmunt Krynicki 2016-03-16 12:23:35 +01:00
  • 61d6e3dd68 ensure keys are sorted Michael Vogt 2016-03-16 12:22:47 +01:00
  • b42d4e79d8 Merge pull request #669 from zyga/iface-connect Zygmunt Krynicki 2016-03-16 12:14:43 +01:00
  • 24f5dd1d36 Remove account-id check during assembly - it's a pk so already checked. Matt Goodall 2016-03-16 11:04:48 +00:00
  • cbb904cdcf remove unneeded fakebackend (thanks Pedronis) Michael Vogt 2016-03-16 12:00:51 +01:00
  • 0aeea89dc7 overlord/ifacestate: remove marshal test since without a backend, it does nothing Zygmunt Krynicki 2016-03-16 11:57:48 +01:00
  • abfd294629 overlord/ifacestate: discard fakeBackend, pass nil to state.New() Zygmunt Krynicki 2016-03-16 11:54:41 +01:00
  • f56521d8ca overlord/ifacestate: update wrong comment Zygmunt Krynicki 2016-03-16 11:54:03 +01:00
  • ad715e5878 add test for Init Michael Vogt 2016-03-16 11:53:14 +01:00
  • 747615fa7f Yes, series is part of model's pk. Matt Goodall 2016-03-16 10:19:11 +00:00
  • 6ed5d7afc0 Add series to snap-revision assertion primary key. Matt Goodall 2016-03-08 11:57:41 +00:00
  • 0ebb0a0873 Add series to snap-build assertion primary key. Matt Goodall 2016-03-08 11:06:59 +00:00
  • 832e5c2d5e Move series in model assertion's primary key to be first. Matt Goodall 2016-03-08 11:02:41 +00:00
  • c81aec0987 overlord/ifacestate: add tests for marshaling changes Zygmunt Krynicki 2016-03-16 11:48:03 +01:00
  • 4957b3285b overlord/ifacestate: add a TODO about intents Zygmunt Krynicki 2016-03-16 11:47:45 +01:00
  • b4a962a934 fix locking Michael Vogt 2016-03-16 11:39:11 +01:00
  • 50b73166c5 Merge remote-tracking branch 'upstream/master' into feature/mini-snapmgr Michael Vogt 2016-03-16 09:49:52 +01:00
  • 6932093585 add initial snapmgr with very coarse tasks Michael Vogt 2016-03-16 09:48:07 +01:00
  • eab125738c overlord/ifacestate,po: use i18n on task summary Zygmunt Krynicki 2016-03-16 09:24:53 +01:00
  • ba0f5845b3 fix update-pot to work on all the go files Zygmunt Krynicki 2016-03-16 09:25:30 +01:00
  • a7e641c5c9 overlord/state: don't hold TaskRunner lock while waiting for tombs Zygmunt Krynicki 2016-03-16 09:18:50 +01:00
  • c35f0b7c2d overlord: don't hold state lock in TaskRunner.Stop() Zygmunt Krynicki 2016-03-15 23:34:36 +01:00
  • 6e0b49ff36 overlord: rename TaskRunner.Settle() to .Wait Zygmunt Krynicki 2016-03-15 23:33:58 +01:00
  • 0d990ab97e overlord/ifacemanager: fix and test Connect() Zygmunt Krynicki 2016-03-15 23:03:13 +01:00
  • 9438044e4a overlord/state: tweak locking in TaskRunner, add Settle() Zygmunt Krynicki 2016-03-15 23:10:44 +01:00
  • 5e0bd8bb3f overlord/ifacestate: remove redundant SetStatus() calls Zygmunt Krynicki 2016-03-15 21:19:22 +01:00
  • 18dd73fcbb overlord/ifacestate: fix copy-paste error Zygmunt Krynicki 2016-03-15 21:14:13 +01:00
  • f278de2bcd overlord/ifacestate: use TaskRunner to handle connections Zygmunt Krynicki 2016-03-15 21:10:21 +01:00
  • 524cdc2015 overlord/ifacestate: tweak Connect() and Ensure() based on feedback Zygmunt Krynicki 2016-03-15 21:00:18 +01:00
  • c25a870d44 go fmt Samuele Pedroni 2016-03-15 20:48:46 +01:00
  • 98e1b91081 move backend from state to overlord, mediated EnsureAfter on State Samuele Pedroni 2016-03-15 20:48:17 +01:00
  • 6cfd022e40 overlord/ifacestate: initial work on Connect() Zygmunt Krynicki 2016-03-15 20:36:47 +01:00
  • 2dfbbeb328 Merge pull request #668 from zyga/iface-connect Zygmunt Krynicki 2016-03-15 20:40:37 +01:00
  • e3cdda0268 fix merge artifact Michael Vogt 2016-03-15 18:01:27 +01:00
  • 26f8cf951c overlord/ifacestate: make package testable Zygmunt Krynicki 2016-03-15 17:51:03 +01:00