Commit Graph

  • de0f405ff5 Fix issue when checking the udev tag on test security-device-cgroups Sergio Cazzolato 2021-06-09 16:53:58 -03:00
  • 895e560e48 asserts: introduce ExternalKeypairManager Samuele Pedroni 2021-06-02 20:47:57 +02:00
  • 435931dd12 interfaces/dsp: fix typo in udev rule Ian Johnson 2021-06-09 10:04:28 -05:00
  • 9ff9272f03 Merge pull request #10365 from anonymouse64/bugfix/dsp-interface-udev-typo Michael Vogt 2021-06-09 19:08:58 +02:00
  • e6907fe198 Provide more error informatin if snap-preseed fails early on mount. Paweł Stołowski 2021-06-09 18:15:05 +02:00
  • 759c6f3754 tests: add test for RestartServices with explicit service Alberto Mardegan 2021-06-09 18:04:40 +03:00
  • d69b476184 interfaces/dsp: fix typo in udev rule Ian Johnson 2021-06-09 10:04:28 -05:00
  • dabf2e734e Move gateAutoRefreshAction to snapstate. Add TODO about letting snap hold for 1h once. Paweł Stołowski 2021-06-09 17:04:22 +02:00
  • d63c5e798b daemon: move errors-related code from response.go into errors.go Samuele Pedroni 2021-03-15 21:45:37 +01:00
  • b57cb74cba daemon: move errors-related tests from response_test.go to errors_test.go Samuele Pedroni 2021-03-15 21:30:58 +01:00
  • 4199f0caaa Merge pull request #10345 from pedronis/devmgr-system-mode-expect Michael Vogt 2021-06-09 15:53:36 +02:00
  • 8d7b3e68be systemd: create a systemdtest package Alberto Mardegan 2021-06-09 16:53:03 +03:00
  • d28295b41d tests/main/snap-quota-groups: adjust memory limit to be slightly larger Ian Johnson 2021-06-09 07:51:56 -05:00
  • e4b2292852 osutil: pass --extrausers option to groupdel Alberto Mardegan 2021-06-09 15:08:57 +03:00
  • ca00c02a98 Prepare fedora, centos and arch to run classic snaps Sergio Cazzolato 2021-06-09 08:30:04 -03:00
  • 6409939b27 overlord: managers level test for UC20 remodel Maciej Borzecki 2021-06-09 12:18:06 +02:00
  • 4777bdef7c overlord/devicestate: TODO about UC20 remodel steps Maciej Borzecki 2021-06-09 12:14:26 +02:00
  • d1a48407ce overlord/devicestate: set up recovery system tasks when remodeling a UC20 system Maciej Borzecki 2021-06-02 12:38:00 +02:00
  • 06d98650d7 Fix format. Paweł Stołowski 2021-06-08 16:34:08 +02:00
  • 073246c803 Handle snapctl --proceed and --refresh. Paweł Stołowski 2021-06-08 13:29:28 +02:00
  • c4ba403c51 o/snapstate: add helpers for setting and querying holding time for snaps Samuele Pedroni 2021-06-09 11:25:28 +02:00
  • 5c1260da7f o/devicestate: tweak SystemMode doc comment Samuele Pedroni 2021-06-09 10:26:03 +02:00
  • 496011e5f1 Merge remote-tracking branch 'upstream/master' into devmgr-system-mode-expect Samuele Pedroni 2021-06-09 10:14:00 +02:00
  • 0bb437a669 many: address review comments Alberto Mardegan 2021-06-09 08:55:44 +03:00
  • 1f6d7efd01 Merge branch 'master' into service-restart Alberto Mardegan 2021-06-09 08:38:56 +03:00
  • 796d43a761 Merge remote-tracking branch 'upstream/master' into bboozzoo/core-tests-with-memory-limit Maciej Borzecki 2021-06-09 07:22:08 +02:00
  • a3cddd2453 o/devicestate/: allow both ubuntu-seed + gadget cloud config in install mode Ian Johnson 2021-06-08 17:14:06 -05:00
  • 2f0a6e2d22 sysconfig/cloudinit.go: allow installing both gadget + ubuntu-seed config Ian Johnson 2021-06-08 16:50:35 -05:00
  • 7c66d182dd tests/main/snap-quota-groups: adjust memory limit to be minimum allowed Ian Johnson 2021-06-08 14:25:35 -05:00
  • 18f49ad151 tests: interfaces-classic-content-slot: count only fstab for our consumer Alfonso Sánchez-Beato 2021-06-08 17:29:53 +02:00
  • 29a6ef6b4e tests: interfaces-classic-content-slot: use extended regex Alfonso Sánchez-Beato 2021-06-08 17:26:56 +02:00
  • 3d891e056d Merge branch 'master' into feature/quota-groups-remastered-deluxe-diamond-edition-2.5 Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2021-06-08 10:10:53 -05:00
  • 807ef97446 Merge pull request #10354 from anonymouse64/feature/quota-groups-remastered-deluxe-diamond-edition-reboot-choose-your-own-adventure-1 Ian Johnson 2021-06-08 10:08:50 -05:00
  • 4025dc9f88 Merge branch 'master' into feature/quota-groups-the-prequel-spinoff-2 Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2021-06-08 10:05:26 -05:00
  • 28133cb881 Merge pull request #10353 from anonymouse64/feature/quota-groups-the-prequel-spinoff-1.9 Michael Vogt 2021-06-08 16:52:25 +02:00
  • b4dd15b5f3 overlord/snapstate: lock the mutex before returning from stop snap services undo Maciej Borzecki 2021-06-08 12:46:17 +02:00
  • 2292594a2a Merge pull request #10357 from bboozzoo/bboozzoo/undo-stop-snap-services-unlocking Michael Vogt 2021-06-08 16:50:39 +02:00
  • 3caaf216fa overlord/servicestate: fix quota control Alberto Mardegan 2021-06-08 17:31:26 +03:00
  • 0954a1d952 Snapd support arch:all Sergio Cazzolato 2021-06-08 11:08:05 -03:00
  • 1cbb5c0f27 Merge pull request #10356 from pedronis/daemon-structured-response-4 Michael Vogt 2021-06-08 15:49:41 +02:00
  • d9d01550eb Simplify len check, tweak holding error message (thanks anonymouse64). Paweł Stołowski 2021-06-08 15:49:13 +02:00
  • 493aa50c9e Unlock the state before calling the backend in undoStartSnapServices. Paweł Stołowski 2021-06-08 15:31:48 +02:00
  • d33f0d07d2 Merge pull request #10338 from bboozzoo/bboozzoo/uc20-system-handlers-support-snap-download Michael Vogt 2021-06-08 14:43:24 +02:00
  • e7a0b461da tests: verify restart on named services Alberto Mardegan 2021-06-08 15:03:06 +03:00
  • b3ee2afa84 overlord/snapstate: add unit test to execute backend error in start-snap-services undo Maciej Borzecki 2021-06-08 13:27:58 +02:00
  • 4b2079edf8 overlord/snapstate: allow injecting errors in fake backend Maciej Borzecki 2021-06-08 13:25:44 +02:00
  • c20ad74ef1 Merge branch 'master' into refresh-control/hold-helpers Paweł Stołowski 2021-06-08 13:21:31 +02:00
  • 0e5b012a4c overlord/snapstate: lock the mutex before returning from stop snap services undo Maciej Borzecki 2021-06-08 12:46:17 +02:00
  • 5543e65f6b golangci: use gci instead of goimports Maciej Borzecki 2021-06-08 11:49:04 +02:00
  • f2ad541365 overlord/servicestate: canary to trigger imports checker Maciej Borzecki 2021-06-08 11:48:39 +02:00
  • 449a4b70ba Merge remote-tracking branch 'upstream/master' into bboozzoo/with-golangci Maciej Borzecki 2021-06-08 11:46:10 +02:00
  • 4aebbc78ff daemon: drop resp completely internally as well Samuele Pedroni 2021-03-15 21:15:52 +01:00
  • 96b9a85fc2 daemon: stop exporting daemon.Resp in tests Samuele Pedroni 2021-03-15 21:14:28 +01:00
  • 7a9da32091 overlord/devicestate: tweak comments Maciej Borzecki 2021-06-08 11:14:06 +02:00
  • 49e670ee48 overlord/devicestate: tweak error message about missing non-essential snaps Maciej Borzecki 2021-06-08 11:13:40 +02:00
  • f6ed15cf7a overlord: fix manager test Alberto Mardegan 2021-06-08 12:06:34 +03:00
  • 9e25602c6a Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-system-handlers-support-snap-download Maciej Borzecki 2021-06-08 09:44:38 +02:00
  • c21db4e8af overlord: update code after merge from master Alberto Mardegan 2021-06-08 10:32:49 +03:00
  • 806f8e25c5 Merge pull request #10344 from pedronis/daemon-structured-response-3 Michael Vogt 2021-06-08 09:29:37 +02:00
  • ed802ed8f4 Merge pull request #10291 from bboozzoo/bboozzoo/uc20-remodel-conflict-exclusive-check Maciej Borzecki 2021-06-08 09:27:27 +02:00
  • a102323159 Merge pull request #10355 from anonymouse64/feature/quota-groups-the-sequel-without-a-plot-1 Michael Vogt 2021-06-08 09:17:22 +02:00
  • f5fba92f9e Merge branch 'master' into service-restart Alberto Mardegan 2021-06-08 08:55:17 +03:00
  • 5aaf8cb346 services: remember if acting on the entire snap (#10282) Alberto Mardegan 2021-06-08 07:53:48 +03:00
  • aa7509186e o/servicestate: add quotastate handlers Ian Johnson 2021-06-07 14:56:09 -05:00
  • cd4d950bac o/servicestate/quota_control.go: adjust the signature adjustment Ian Johnson 2021-06-07 15:43:29 -05:00
  • 1803c71f61 o/servicestate: adjust ensureSnapServicesForGroup options and arguments Ian Johnson 2021-06-07 14:26:30 -05:00
  • 299c6963b3 tests/main/{snap-mgmt, postrm-purge}: update to check for removed slice units Ian Johnson 2021-06-07 11:20:54 -05:00
  • 24925f98e3 cmd/snap-mgmt/snap-mgmt.sh.in: remove slice units too Ian Johnson 2021-06-07 11:17:19 -05:00
  • d3ab19d2e1 packaging/ubuntu-16.04/snapd.postrm: remove slice units too Ian Johnson 2021-06-07 11:15:48 -05:00
  • d671bb6ffc wrappers/services.go: add X-Snappy to slice units Ian Johnson 2021-06-07 11:15:29 -05:00
  • 537e1f427d Merge pull request #10352 from stolowski/validation-sets/snap-action-new-fields Pawel Stolowski 2021-06-07 17:16:14 +02:00
  • 316247e639 Pass maxPostponement to maxAllowedPostponement(). Add clarifying comment to the test. Paweł Stołowski 2021-06-07 17:08:25 +02:00
  • 29d64abc07 tests/main/snap-quota{,-groups}: re-enable for centos, al2 Ian Johnson 2021-06-02 16:07:02 -05:00
  • 110de8737c snap/quota: adjust workaround for erroneous systemd reported usage value Ian Johnson 2021-06-02 15:42:38 -05:00
  • e71b122c53 systemd/systemd: use ParseUint and parse a 64 bit max size for MemoryCurrent Ian Johnson 2021-06-02 15:07:50 -05:00
  • b082114404 snap/quota: check that current tasks count is non-zero before memory usage Ian Johnson 2021-05-31 15:36:03 -05:00
  • 14a709fe81 systemd: add CurrentTasksCount to get number of tasks in a slice/service Ian Johnson 2021-05-31 15:34:02 -05:00
  • 902fedd405 wrappers/services.go: always enable TasksAccounting for slices Ian Johnson 2021-05-31 15:32:25 -05:00
  • 5904235e4a systemd: also recognize "unknown" is-active output as being inactive Ian Johnson 2021-05-31 15:55:05 -05:00
  • 54fcd369eb o/servicestate/quota_control.go: enforce minimum of 4K for quota groups Ian Johnson 2021-06-03 11:31:47 -05:00
  • 2acd70a2b5 overlord/servicestate: mv ensureSnapServicesForGroup to new file Ian Johnson 2021-06-04 23:50:33 -05:00
  • d09cd35c16 Fix fmt. Paweł Stołowski 2021-06-07 14:31:44 +02:00
  • 583ecec024 Add extra comments, tweak vsets arg name. Paweł Stołowski 2021-06-07 13:28:23 +02:00
  • 3f2fdd111d Extend context and action objects of SnapAction with optional validation-sets field. Paweł Stołowski 2021-06-07 12:09:26 +02:00
  • 43c7f9a1fa Merge branch 'master' into refresh-control/hold-helpers Paweł Stołowski 2021-06-07 14:28:10 +02:00
  • 2781b7aee0 Merge pull request #10261 from stolowski/refresh-control/autorefresh-phases-phase2 Pawel Stolowski 2021-06-07 14:26:11 +02:00
  • ea49e99d4d Merge branch 'master' into refresh-control/hold-helpers Paweł Stołowski 2021-06-07 14:25:48 +02:00
  • 77b13a12e3 snap-bootstrap: add bind option with tests Dimitri John Ledkov 2021-06-04 11:28:41 +01:00
  • d750b7b1fb cmd/snap/quota: refactor quota CLI as per new design Ian Johnson 2021-06-07 02:12:45 -05:00
  • 881a8c3e25 interfaces: opengl: change path for Xilinx zocl driver Alfonso Sánchez-Beato 2021-06-04 09:35:01 +02:00
  • d25578f54c Merge pull request #10348 from alfonsosanchezbeato/add-path-opengl Michael Vogt 2021-06-07 08:25:18 +02:00
  • 250ab240c9 Merge pull request #10342 from sergiocazzolato/tests-update-image-names Sergio Cazzolato 2021-06-04 17:21:22 -03:00
  • ce4dde4063 Merge remote-tracking branch 'upstream/master' into tests-update-image-names Sergio Cazzolato 2021-06-04 10:03:47 -03:00
  • 18a73e0d91 tests: classic content slot fix Alfonso Sánchez-Beato 2021-06-04 12:04:40 +02:00
  • c0394dd670 tests: snaps: fix content plug to classic snap Alfonso Sánchez-Beato 2021-06-04 12:01:49 +02:00
  • 39f63530f4 interfaces: opengl: change path for Xilinx zocl driver Alfonso Sánchez-Beato 2021-06-04 09:35:01 +02:00
  • c00fbffe42 Build the snap using snapcraft Sergio Cazzolato 2021-06-03 19:04:28 -03:00
  • b0de86cfe4 o/servicestate/quota_control_test.go: change helper escaping Samuele Pedroni 2021-06-03 22:16:14 +02:00
  • 8ed2e0ba1b o/configstate/configcore: support snap set system swap.size=... Samuele Pedroni 2021-06-03 22:10:28 +02:00
  • 11795d4eae Minor fixes on test Sergio Cazzolato 2021-06-03 16:32:28 -03:00