Shiming Zhang
9e576b8891
Optimize backoff
...
Signed-off-by: Shiming Zhang <wzshiming@foxmail.com>
2021-04-15 23:25:09 +08:00
Phil Estes
88b09e6710
Merge pull request #5359 from ktock/v1cfg
...
Fix backword-compatibility issue of non-versioned config file
2021-04-15 11:18:27 -04:00
Phil Estes
5b1bbb22b1
Merge pull request #5367 from ktock/cvt-openwriter
...
converter: use OpenWriter helper function
2021-04-15 10:05:13 -04:00
ktock
5c02688b59
converter: use OpenWriter helper function
...
When several goroutines call uncompress converter in parallel, the ref name
conflicts each other. This leads to Writer method failing with Unavaliable error
without retry.
For solving this issue, OpenWriter helper should be used. This allows them to
retry in such situations.
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2021-04-15 19:05:10 +09:00
Sebastian Hasler
c0e2f4b5d2
Try next mirror in case of non-404 errors, too
...
Signed-off-by: Sebastian Hasler <sebastian.hasler@gmx.net>
2021-04-15 12:04:07 +02:00
Shiming Zhang
fcf3b275fc
Add lock for ListPids
...
Signed-off-by: Shiming Zhang <wzshiming@foxmail.com>
2021-04-15 13:55:03 +08:00
Phil Estes
4f18131239
Merge pull request #5286 from payall4u/optimize-cri-redirect-logs
...
cri: Reduce the cpu usage of the function redirectLogs in cri
2021-04-14 21:33:05 -04:00
ktock
fdb76f55d8
Fix backword-compatibility issue of non-versioned config file
...
According to the doc about `config.toml` of containerd:
```
If no version number is specified inside the config file then it is assumed to
be a version 1 config and parsed as such.
```
However, it's not true recently.
This will break the backward-compatibility in some environment.
This commit fixes this issue.
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2021-04-15 10:00:58 +09:00
Phil Estes
ce5d42fa2e
Merge pull request #5351 from mikebrow/resolver-debug-improvement
...
adds some debug log for each failed host
2021-04-14 14:54:58 -04:00
Mike Brown
d21fe46250
adds log for each failed host and status not found on host
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2021-04-14 13:23:22 -05:00
Phil Estes
c02081fdc1
Merge pull request #5357 from thxCode/support_windows_debug
...
fix(windows): create debug npipe failure
2021-04-14 13:37:43 -04:00
Phil Estes
0867c99b1a
Merge pull request #5355 from thaJeztah/bump_cni
...
go.mod: github.com/containerd/go-cni v1.0.2
2021-04-14 13:35:04 -04:00
Paul "TBBle" Hampson
8a4cbabc64
Reimport windows layers when comitting snapshots
...
A Scratch layer only contains a sandbox.vhdx, but to be used as a parent
layer, it must also contain the files on-disk.
Hence, we Export the layer from the sandbox.vhdx and Import it back into
itself, so that both data formats are present.
Signed-off-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
2021-04-14 20:45:59 +10:00
Fu Wei
10ecf83acc
Merge pull request #5358 from AkihiroSuda/docs-rootless
...
docs/rootless.md: recommend "easy way" over "hard way"
2021-04-14 18:18:37 +08:00
thxcode
2de38a9269
fix(windows): create debug npipe failure
...
Signed-off-by: Weijia Mai <thxcode0824@gmail.com>
2021-04-14 17:32:54 +08:00
Akihiro Suda
41fc516a22
docs/rootless.md: recommend "easy way" over "hard way"
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-04-14 16:57:46 +09:00
Sebastiaan van Stijn
864a3322b3
go.mod: github.com/containerd/go-cni v1.0.2
...
full diff: https://github.com/containerd/go-cni/compare/v1.0.1...v1.0.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-14 09:09:18 +02:00
Derek McGowan
5c6ea7fdc1
Merge pull request #5293 from wzshiming/fix/eveny-error-message
...
Fix return event publishing error
2021-04-13 20:32:37 -07:00
Derek McGowan
c381ea27bd
Merge pull request #5213 from thaJeztah/bump_typeurl
...
go.mod: github.com/containerd/typeurl v1.0.2
2021-04-13 20:31:25 -07:00
Derek McGowan
824b61075f
Merge pull request #5350 from thaJeztah/tagged_go_winio
...
go.mod: github.com/Microsoft/go-winio v0.4.17
2021-04-13 20:29:44 -07:00
Derek McGowan
06dcac501f
Merge pull request #5349 from thaJeztah/use_tagged_imgcrypt
...
go.mod: github.com/containerd/imgcrypt v1.1.1
2021-04-13 20:29:11 -07:00
Sebastiaan van Stijn
ee34caccb3
go.mod: github.com/Microsoft/go-winio v0.4.17
...
no code changes as this is the same commit, but now tagged:
https://github.com/Microsoft/go-winio/compare/5516f17a5958...v0.4.17
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-13 23:56:53 +02:00
Sebastiaan van Stijn
d478676d35
go.mod: github.com/containerd/imgcrypt v1.1.1
...
No code changes other than an updated changelog, and updating to
the tagged v1.1.1:
diff: https://github.com/containerd/imgcrypt/compare/0bed51b9522c...v1.1.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-13 23:41:44 +02:00
Sebastiaan van Stijn
1dd45d51c7
go.mod: github.com/containerd/typeurl v1.0.2
...
full diff: https://github.com/containerd/typeurl/compare/v1.0.1...v1.0.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-13 23:21:21 +02:00
Derek McGowan
f968359ecb
Merge pull request #5346 from dmcgowan/prepare-1.5.0-rc.1
...
Prepare 1.5.0-rc.1 release
2021-04-13 08:26:43 -07:00
Phil Estes
2305f05045
Merge pull request #5307 from maoyangLiu/fix-url
...
fix the 404 link in docs/cri/config.md
2021-04-13 10:34:26 -04:00
maoyangLiu
abd4be07ac
fix the 404 url
...
Signed-off-by: maoyangLiu <liumaoyang@inspur.com>
2021-04-13 20:55:26 +08:00
Phil Estes
984aa330da
Merge pull request #5316 from alakesh/stress-snapshotter-cli-option
...
Add snapshotter cli option to containerd-stress utility
2021-04-13 08:28:50 -04:00
Derek McGowan
978ebbef64
Prepare 1.5.0-rc.1 release
...
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-04-12 22:01:49 -07:00
Phil Estes
68ee827dcd
Merge pull request #5342 from mikebrow/improve-error-out-for-bad-config
...
address recent runtimes config confusion
2021-04-12 20:40:10 -04:00
Phil Estes
a20213a6ea
Merge pull request #5343 from thaJeztah/update_imgcrypt
...
go.mod: github.com/containerd/imgcrypt v1.1.1-0.20210412181126-0bed51b9522c
2021-04-12 20:39:18 -04:00
Phil Estes
b7c8136901
Merge pull request #5283 from alakesh/check-out-of-space
...
devmapper: log pool status when mkfs fails
2021-04-12 20:37:13 -04:00
Sebastiaan van Stijn
ce116d4c59
go.mod: github.com/containerd/imgcrypt v1.1.1-0.20210412181126-0bed51b9522c
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-13 01:06:38 +02:00
Derek McGowan
5dde642fda
Merge pull request #5344 from thaJeztah/update_cni_plugins
...
go.mod: github.com/containernetworking/plugins v0.9.1
2021-04-12 15:12:31 -07:00
Derek McGowan
d33733f117
Merge pull request #5336 from mxpv/shim
...
Decouple shim start from task creation
2021-04-12 15:10:51 -07:00
Alakesh Haloi
0550c32330
containerd-stress: add snapshotter option for stress test to use
...
containerd-stress utility needs to be able to run with snapshotter
passed by user in cli in order to be able to stress test snapshotters.
This adds a cli option --snapshotter="<snapshotter-name>"
Signed-off-by: Alakesh Haloi <alakeshh@amazon.com>
2021-04-12 20:45:22 +00:00
Mike Brown
8a04bd0521
address recent runtimes config confusion
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2021-04-12 15:33:38 -05:00
Sebastiaan van Stijn
c4778fe1b1
go.mod: github.com/containernetworking/plugins v0.9.1
...
full diff: https://github.com/containernetworking/plugins/compare/v0.8.6...v0.9.1
changes in vendored code:
- (in containernetworking/plugins): Fix race condition in GetCurrentNS
- (in containernetworking/cni): tighten up plugin-finding logic
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-12 22:10:06 +02:00
Alakesh Haloi
5ce35ac398
devmapper: log pool status when mkfs fails
...
If mkfs on device mapper thin pool fails, it will show pool status
as returned by dmsetup for enahnced error reporting.
Signed-off-by: Alakesh Haloi <alakeshh@amazon.com>
2021-04-12 19:24:04 +00:00
Akihiro Suda
054a3e281e
Merge pull request #5335 from dims/drop-support-for-version-1
2021-04-13 04:11:04 +09:00
Davanum Srinivas
75097b8cac
hcsshim seems to have been updated
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-04-12 13:23:33 -04:00
Davanum Srinivas
9ad087947d
Switch all our tests to version 2
...
Also warn when someone uses version 1
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-04-12 13:18:33 -04:00
Derek McGowan
2a2d779594
Merge pull request #5337 from mxpv/bolt
...
Add more bolt utils
2021-04-12 09:56:56 -07:00
Michael Crosby
187affc9be
Merge pull request #5338 from AkihiroSuda/console-102
...
go.mod: github.com/containerd/console v1.0.2
2021-04-12 12:56:42 -04:00
Justin
d4fbff113d
Merge pull request #4399 from TBBle/wcow_compare_layers_to_tar
...
Implement windowsDiff.Compare to allow outputting OCI images
2021-04-12 09:49:50 -07:00
Mike Brown
6bf77c5eb1
Merge pull request #5341 from containerd/revert-5303-cri-remove-deprecated-default-untrusted
...
Revert "remove two very old no longer used runtime options"
2021-04-12 11:35:00 -05:00
Maksym Pavlenko
ff2cf56e58
Merge pull request #5339 from AkihiroSuda/crun-019
...
CI: update crun to 0.19
2021-04-12 08:46:15 -07:00
Mike Brown
e96d2a5d90
Revert "remove two very old no longer used runtime options"
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2021-04-12 10:16:01 -05:00
Akihiro Suda
14f357b90f
CI: update crun to 0.19
...
Release notes: https://github.com/containers/crun/releases
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-04-12 17:05:11 +09:00
Akihiro Suda
2943310602
go.mod: github.com/containerd/console v1.0.2
...
Contains fix for s390x and support for FreeBSD
https://github.com/containerd/console/compare/v1.0.1...v1.0.2
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-04-12 15:58:08 +09:00