Commit Graph

8778 Commits

Author SHA1 Message Date
Michael Crosby
a9caf9bf4e
Merge pull request #1877 from yanxuean/add-unmount-fail-error
output unmount error when unmount fail in diff.Apply
2017-12-04 22:45:46 -05:00
Michael Crosby
6a1ef90a6e
Merge pull request #1876 from dmcgowan/fs-include-parent-directories
Emit unmodified change events for directories
2017-12-04 22:44:58 -05:00
Derek McGowan
ba10e497b9
Emit unmodified change events for directories
When a file changes, emit events for the seen parent
directories to ensure that those parents are included
in change streams such as archives. The parents are
needed accurately recreate diff representation apart
from a parent (such as overlay and aufs graph drivers
in Docker).

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-12-04 18:37:00 -08:00
yason
147d4987cd output error when unmount fail in diff.Apply
Signed-off-by: yason <yan.xuean@zte.com.cn>
2017-12-05 10:36:10 +08:00
Akihiro Suda
b77fa49d20
Merge pull request #1875 from jessvalarezo/docs-revamp
add table of contents to readme
2017-12-05 11:14:08 +09:00
Derek McGowan
2214a07cb4
Merge pull request #1872 from estesp/manifest-list-push
Add more descriptive error on manifest list push
2017-12-04 18:07:26 -08:00
Jess Valarezo
26012df467 add table of contents to readme
Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
2017-12-04 17:59:07 -08:00
Stephen Day
68d4dfe4ca
Merge pull request #1870 from dnephin/fix-error-messages
Update snapshot storage error message
2017-12-04 17:40:22 -08:00
Stephen Day
9570174ba9
Merge pull request #1871 from dmcgowan/btrfs-usage
Implement btrfs usage
2017-12-04 17:37:30 -08:00
Phil Estes
4a662b2ccd
Merge pull request #1873 from jessvalarezo/docs-readme
docs: add cio import
2017-12-04 19:17:13 -05:00
Jess Valarezo
350e8156bf docs: add cio import
Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
2017-12-04 15:17:59 -08:00
Phil Estes
02661c70a4
Add more descriptive error on manifest list push
Adds a more descriptive error message for pushing indexes/manifest list
references with missing content references to a docker v2 API supporting
container registry. This can be followed up with a more complete review
of how to handle "deep" references for manifest lists on push/pull post
containerd 1.0.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-12-04 18:00:19 -05:00
Derek McGowan
3bc4e69ba1
Implement btrfs usage
Implements btrfs usage using a double walking diff and
counting the result. Walking gives the most accurate
count and includes inode usage.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-12-04 14:42:21 -08:00
Daniel Nephin
0e03d778f1 Update snapshot storage error message
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-12-04 17:35:27 -05:00
Michael Crosby
617c63de06
Merge pull request #1864 from yanxuean/withSnapshotBucket
get wrong parents bucket in withSnapshotBucket
2017-12-04 17:25:23 -05:00
Stephen Day
a6fad51e29
Merge pull request #1869 from Ace-Tang/cio-docs-fix
docs: fix usage of cio package in docs
2017-12-04 14:22:04 -08:00
Lantao Liu
05bf76e05f
Merge pull request #467 from Random-Liu/update-containerd
Update containerd
2017-12-04 11:58:31 -08:00
Lantao Liu
12a71882db Add support to install from alternative repo
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-04 19:18:45 +00:00
Lantao Liu
0d8298aa43 Update containerd
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-04 19:18:45 +00:00
Lantao Liu
379a243e80
Merge pull request #469 from Random-Liu/fix-typos
Fix typos.
2017-12-04 11:12:58 -08:00
Phil Estes
cc969fb42f
Merge pull request #1868 from crosbymichael/unmount
Retry unmount on EBUSY and return errors
2017-12-04 14:04:01 -05:00
Michael Crosby
a8b543f87d rmdir tmp dirs for rootfs mounts
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-12-04 13:51:11 -05:00
Lantao Liu
9a9550d7db Fix typos.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-04 18:35:05 +00:00
Lantao Liu
05602d0bf3
Merge pull request #352 from yanxuean/trunctest
Add integration test for truncindex
2017-12-04 10:32:30 -08:00
Lantao Liu
562eb725c7
Merge pull request #458 from mikebrow/boilerplate-update
fixes for boilerplate
2017-12-04 10:03:41 -08:00
Michael Crosby
b0ca685874 Retry unmount on EBUSY and return errors
This is another WIP to fix #1785.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-12-04 11:31:08 -05:00
Ace-Tang
aca8e15916 docs: fix usage of cio package in docs
Signed-off-by: Ace-Tang <aceapril@126.com>
2017-12-05 00:07:08 +08:00
Akihiro Suda
e427fd6197
Merge pull request #1866 from Random-Liu/lock-task-list
Lock task list properly.
2017-12-04 13:02:48 +09:00
Lantao Liu
71e42bf65c Lock task list properly.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-03 21:20:01 +00:00
Mike Brown
bd6d530290
Merge pull request #463 from Random-Liu/dump-rootfs
Check and dump rootfs.
2017-12-03 09:23:04 -06:00
Lantao Liu
a23bdf25d8 Check and dump rootfs.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-03 11:39:54 +00:00
yason
db742c90c0 get wrong parents bucket in withSnapshotBucket
improve error message for CommitActive
Signed-off-by: yason <yan.xuean@zte.com.cn>
2017-12-02 23:01:29 +08:00
Stephen Day
fe4e30cbb7
Merge pull request #1859 from dmcgowan/fix-snapshot-logs
Update snapshot and content related log messages
2017-12-01 20:32:39 -08:00
Lantao Liu
9d550fe424
Merge pull request #460 from Random-Liu/update-containerd
Update containerd to try fix rootfs issue.
2017-12-01 16:49:07 -08:00
Lantao Liu
19f9029123
Merge pull request #459 from abhi/cgroup_shim
Revert: Setting containerd shim cgroup same as pod cgroup
2017-12-01 16:46:42 -08:00
Lantao Liu
e0e5d9e139 Update containerd to try fix rootfs issue.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-02 00:09:04 +00:00
abhi
43c05efb22 Revert: Setting containerd shim cgroup same as pod cgroup
Signed-off-by: abhi <abhi@docker.com>
2017-12-01 16:03:38 -08:00
Stephen Day
53c892d796
Merge pull request #1856 from crosbymichael/mountns
Remove mount namespace from shim
2017-12-01 16:01:44 -08:00
Michael Crosby
026bf2902a
Merge pull request #1861 from jessvalarezo/images-err-2
update images error (pt. 2)
2017-12-01 18:53:43 -05:00
Michael Crosby
96572395ad
Merge pull request #1860 from stevvooe/ignore-not-found
integration: ignore not found error on cleanup
2017-12-01 18:33:58 -05:00
Jess Valarezo
41ac9fac8e update images error
Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com>
2017-12-01 15:14:55 -08:00
Stephen J Day
0925a88639
integration: ignore not found error on cleanup
This ignore "not found" errors that may arise during test cleanup. Since
the goal is to make the content "not found", it is okay to skip them and
not fail the test.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-12-01 15:06:38 -08:00
Stephen Day
271836a417
Merge pull request #1858 from jessvalarezo/images-errors
update image error messages
2017-12-01 14:58:12 -08:00
Michael Crosby
e28943279f
Merge pull request #1857 from stevvooe/less-noise
cmd/ctr: move log messages to debug
2017-12-01 17:58:04 -05:00
Derek McGowan
b28d7cdf1b
Update snapshot and content related log messages
Make the tense and casing consistent.
Add useful log messages in image service.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-12-01 14:57:34 -08:00
Mike Brown
009e40f280 correct some boilerplates
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-12-01 16:56:25 -06:00
Mike Brown
4c7974fe97 fixes for boilerplate
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-12-01 16:55:30 -06:00
Derek McGowan
8c550859d1
Merge pull request #1855 from stevvooe/update-ttrpc
vendor: update ttrpc to pull in euid change
2017-12-01 14:53:48 -08:00
Michael Crosby
fd2e3cd326 Remove mount namespace from shim
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-12-01 17:35:14 -05:00
Stephen J Day
1710fe9b95
cmd/ctr: move log messages to debug
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-12-01 13:57:54 -08:00