Jess Valarezo
2b1595124f
update image error messages
...
Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
2017-12-01 13:54:26 -08:00
Derek McGowan
f6df9f6632
Merge pull request #1854 from yanxuean/overlay-prepare-rollback
...
snapshots/overlay: cleanup rollback code for overlay.prepare
2017-12-01 13:32:40 -08:00
Lantao Liu
cad87243e1
Merge pull request #454 from Random-Liu/revert-453
...
Revert "Add gc.root back in vendored containerd client."
2017-12-01 12:19:23 -08:00
Lantao Liu
3a0d40cc2c
Merge pull request #456 from Random-Liu/fix-shim-cgroup-change
...
Move shim cgroup opts to pkg/containerd/opts.
2017-12-01 12:18:34 -08:00
Stephen J Day
4b36430425
vendor: update ttrpc to pull in euid change
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-12-01 12:08:15 -08:00
Akihiro Suda
222156d598
Merge pull request #1847 from jessvalarezo/metadata-errors
...
metadata: update container error messages
2017-12-02 04:42:40 +09:00
Lantao Liu
181d7d5076
Move shim cgroup opts to pkg/containerd/opts.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-01 19:18:26 +00:00
Lantao Liu
eb6cca3c49
Revert "Add gc.root back in vendored containerd client."
...
This reverts commit 66ecfa70ad
.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-01 18:43:32 +00:00
Jess Valarezo
b873ae8b55
metadata: update container error messages
...
Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
2017-12-01 10:32:48 -08:00
Lantao Liu
4a5431e10a
Merge pull request #451 from abhi/cgroup-shim
...
Setting containerd shim cgroup same as pod cgroup
2017-12-01 10:21:16 -08:00
abhi
0d6774f4af
Setting containerd shim cgroup same as pod cgroup
...
Signed-off-by: abhi <abhi@docker.com>
2017-12-01 08:33:50 -08:00
yason
bb02302c9c
improve rollback for overlay.prepare
...
improve err message
Signed-off-by: yason <yan.xuean@zte.com.cn>
2017-12-02 00:09:44 +08:00
Michael Crosby
38fdf9c8c9
Merge pull request #1846 from crosbymichael/service
...
Add rlimits to service file
2017-12-01 10:21:39 -05:00
Phil Estes
16a2177ae3
Merge pull request #1852 from yanxuean/error-log
...
improve error message
2017-12-01 10:07:54 -05:00
yason
4f1c0e067e
improve error message
...
Signed-off-by: yason <yan.xuean@zte.com.cn>
2017-12-01 15:45:15 +08:00
Lantao Liu
b622aaa85d
Merge pull request #453 from Random-Liu/add-gc-root
...
Add gc.root back in vendored containerd client.
2017-11-30 21:23:04 -08:00
Akihiro Suda
c9c36d4afa
Merge pull request #1849 from stevvooe/unix-socket-credentials
...
cmd/containerd-shim: require unix socket credentials
2017-12-01 14:08:42 +09:00
Lantao Liu
66ecfa70ad
Add gc.root back in vendored containerd client.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-01 04:37:40 +00:00
Stephen J Day
2d966df174
cmd/containerd-shim: require unix socket credentials
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-11-30 20:34:29 -08:00
yanxuean
fa8593ffa0
Add intergration test for truncindex
...
fix #343
Signed-off-by: yason <yan.xuean@zte.com.cn>
2017-12-01 10:06:21 +08:00
Phil Estes
efe9e284fd
Merge pull request #1850 from mlaventure/min-kern-version
...
Fix flexible kernel version
2017-11-30 20:42:34 -05:00
Kenfe-Mickael Laventure
9d759203b0
Fix flexible kernel version
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-11-30 17:31:00 -08:00
Lantao Liu
0a954e7a0d
Merge pull request #450 from Random-Liu/update-containerd
...
Update containerd to fix fd leakage.
2017-11-30 17:04:46 -08:00
Lantao Liu
76ba19d6c8
Merge pull request #449 from Random-Liu/add-ulimit-in-systemd-units
...
Add LimitNPROC, LimitNOFILE and LimitCORE for containerd and cri-containerd.
2017-11-30 17:04:01 -08:00
Derek McGowan
08f179386e
Merge pull request #1848 from dmcgowan/update-version-rc.0
...
Prepare release v1.0.0-rc.0
2017-11-30 16:35:22 -08:00
Lantao Liu
b47770eaee
Update containerd to fix fd leakage.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-01 00:24:44 +00:00
Lantao Liu
5a17149a70
Add LimitNPROC, LimitNOFILE and LimitCORE for containerd and
...
cri-containerd.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-01 00:16:58 +00:00
Derek McGowan
30ac46e9cf
Update version to v1.0.0-rc.0
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-11-30 16:16:13 -08:00
Derek McGowan
4bcd272c14
Merge pull request #1845 from dmcgowan/fix-rc.0-notes
...
Update previous version to beta not current rc
2017-11-30 16:02:59 -08:00
Michael Crosby
b009642e1a
Add rlimits to service file
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-11-30 18:50:32 -05:00
Derek McGowan
6952a61daa
Update previous version to beta not current rc
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-11-30 15:48:43 -08:00
Derek McGowan
7e4be4639a
Merge pull request #1834 from dmcgowan/v1.0.0-rc.0-notes
...
Add release notes for v1.0.0-rc.0
2017-11-30 15:44:43 -08:00
Derek McGowan
07d4154515
Merge pull request #1844 from Random-Liu/close-fifos-on-failure
...
Close FIFOs on failure.
2017-11-30 15:40:40 -08:00
Lantao Liu
a03fdabc14
Close FIFOs on failure.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-11-30 23:19:12 +00:00
Derek McGowan
e64d179163
Add release notes for v1.0.0-rc.0
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-11-30 14:58:44 -08:00
Derek McGowan
763d29f4c2
Merge pull request #1842 from dmcgowan/fix-snapshot-close-twice
...
Fix close twice test to retain snapshots
2017-11-30 14:57:48 -08:00
Derek McGowan
25b5592eaf
Fix close twice test to retain snapshot
...
Update to set labels and use a unique key
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-11-30 14:43:33 -08:00
Michael Crosby
2657e49fc1
Merge pull request #1835 from stevvooe/we-use-ttrpc
...
shim: we use ttrpc in the shim now
2017-11-30 16:35:42 -05:00
Stephen J Day
6c416fa3a7
shim: we use ttrpc in the shim now
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-11-30 12:58:40 -08:00
Lantao Liu
0db6e04ba1
Merge pull request #447 from Random-Liu/update-containerd
...
Update containerd to fix long exec issue.
2017-11-30 12:58:24 -08:00
Stephen Day
c357934f0f
Merge pull request #1841 from crosbymichael/parse-uid
...
Use strconv.Atoi for uid/gid parsing
2017-11-30 12:56:20 -08:00
Michael Crosby
a4a4c90ed3
Use strconv.Atoi for uid/gid parsing
...
This follows the same logic that runc uses for parsing uid/gid values.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-11-30 15:22:41 -05:00
Lantao Liu
5ed43ea1a3
Update containerd to fix long exec issue.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-11-30 19:24:14 +00:00
Stephen Day
8fbdd5c63d
Merge pull request #1840 from kolyshkin/mkdir-all
...
MkdirAll: fix usage
2017-11-30 11:21:59 -08:00
Lantao Liu
dc7066d23f
Merge pull request #445 from mikebrow/debug-container
...
adding some verbose debug
2017-11-30 11:15:34 -08:00
Kir Kolyshkin
acc6f4ec77
MkdirAll: fix usage
...
(below is a quote from my runc commit 6f82d4b)
TL;DR: check for IsExist(err) after a failed MkdirAll() is both
redundant and wrong -- so two reasons to remove it.
Quoting MkdirAll documentation:
> MkdirAll creates a directory named path, along with any necessary
> parents, and returns nil, or else returns an error. If path
> is already a directory, MkdirAll does nothing and returns nil.
This means two things:
1. If a directory to be created already exists, no error is
returned.
2. If the error returned is IsExist (EEXIST), it means there exists
a non-directory with the same name as MkdirAll need to use for
directory. Example: we want to MkdirAll("a/b"), but file "a"
(or "a/b") already exists, so MkdirAll fails.
The above is a theory, based on quoted documentation and my UNIX
knowledge.
3. In practice, though, current MkdirAll implementation [1] returns
ENOTDIR in most of cases described in #2 , with the exception when
there is a race between MkdirAll and someone else creating the
last component of MkdirAll argument as a file. In this very case
MkdirAll() will indeed return EEXIST.
Because of #1 , IsExist check after MkdirAll is not needed.
Because of #2 and #3 , ignoring IsExist error is just plain wrong,
as directory we require is not created. It's cleaner to report
the error now.
Note this error is all over the tree, I guess due to copy-paste,
or trying to follow the same usage pattern as for Mkdir(),
or some not quite correct examples on the Internet.
[1] https://github.com/golang/go/blob/f9ed2f75/src/os/path.go
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2017-11-30 10:18:08 -08:00
Michael Crosby
8114d2f2e2
Merge pull request #1838 from estesp/mention-kernel-vers
...
Add runtime requirements section to README
2017-11-30 11:38:11 -05:00
Michael Crosby
e974099b8c
Merge pull request #1839 from crosbymichael/test-long-exec
...
Add test for large exec payload
2017-11-30 11:33:28 -05:00
Phil Estes
a87062efdd
Add runtime requirements section to README
...
Add details on kernel version, criu, snapshotters, and links to existing
sections for developers/criu details.
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-11-30 11:12:33 -05:00
Kenfe-Mickaël Laventure
6bff39c643
Merge pull request #1837 from crosbymichael/bump-cgroups
...
Update cgroups to 29da22c6171a4316169f9205ab6c49f5
2017-11-30 08:03:22 -08:00