Lantao Liu
39f4ca648b
Update Kubernetes to 493ee8b28560c118cebd2165ba9ef0959cfa2bc3
...
Signed-off-by: Lantao Liu <lantaol@google.com >
2017-08-22 05:38:51 +00:00
Kunal Kushwaha
1c989588c0
Breaking Makefile into platform specific files
...
Fixed #1270
Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp >
2017-08-22 13:57:12 +09:00
Lantao Liu
50b01812ce
Merge pull request #147 from miaoyq/group-all-privileged-logic
...
Group all privileged logic together
2017-08-21 18:43:06 -07:00
Yanqiang Miao
8adad23015
Group all privileged logic together
...
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn >
2017-08-22 09:16:37 +08:00
Kenfe-Mickaël Laventure
89da512692
Merge pull request #1377 from crosbymichael/exec-delete
...
Allow exec process to be deleted in created state
2017-08-21 15:27:17 -07:00
Derek McGowan
c71066252b
Ensure content writer only unlocks resource once
...
Make close a no-op after commit and disallow committing after close.
Signed-off-by: Derek McGowan <derek@mcgstyle.net >
2017-08-21 14:54:51 -07:00
Lantao Liu
010a562057
Merge pull request #145 from Random-Liu/add-node-e2e-ci
...
Add node e2e test CI.
2017-08-21 14:41:08 -07:00
Lantao Liu
c05a7e74ee
Add node e2e test CI.
...
Signed-off-by: Lantao Liu <lantaol@google.com >
2017-08-21 21:21:41 +00:00
Derek McGowan
853fd15115
Merge pull request #1407 from crosbymichael/cgroups-bump
...
Update cgroups to e6d1aa8c71c6103624b2c6e6f4be0863
2017-08-21 13:47:54 -07:00
Michael Crosby
bf82de3a4e
Allow exec process to be deleted in created state
...
Fixes #1376
This allows an exec process to be deleted in the created state.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
2017-08-21 16:32:08 -04:00
Michael Crosby
77836a6c27
Update cgroups to e6d1aa8c71c6103624b2c6e6f4be0863
...
This bumps the cgroups package with various fixes to logging and net_cls
changes.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
2017-08-21 16:17:18 -04:00
Michael Crosby
873a34649a
Merge pull request #1366 from stevvooe/containers-metadata-tests
...
metadata: ensure correct updates on Container
2017-08-21 16:08:06 -04:00
Phil Estes
3e81b092de
Merge pull request #1406 from mlaventure/add-exitedat-to-process
...
Add ExitedAt to process proto definition
2017-08-21 13:36:30 -04:00
Kenfe-Mickael Laventure
8a1b03e525
Add ExitedAt to process proto definition
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com >
2017-08-21 08:18:02 -07:00
Michael Crosby
4c5f824167
Merge pull request #1404 from WeiZhang555/add-newline
...
Add newline char to avoid mix of logs
2017-08-21 11:12:42 -04:00
Zhang Wei
14fe2d5f20
Add newline char to avoid mix of logs
...
Add a '\n' after "unpacking xxx..." to avoid mix of logs such as:
```
unpacking sha256:a7776895af32e34b1fef997e26c79fa988b40c5cf2a3fb48dc22e0584b648d82...DEBU[0005]
Extraction not needed, layer snapshot exists
DEBU[0005] Extraction not needed, layer snapshot exists
DEBU[0005] Extraction not needed, layer snapshot exists
DEBU[0005] Extraction not needed, layer snapshot exists
DEBU[0005] Extraction not needed, layer snapshot exists
DEBU[0005] Extraction not needed, layer snapshot exists
done
```
After this commit:
```
unpacking sha256:a7776895af32e34b1fef997e26c79fa988b40c5cf2a3fb48dc22e0584b648d82...
DEBU[0008] Extraction not needed, layer snapshot exists
DEBU[0008] Extraction not needed, layer snapshot exists
DEBU[0008] Extraction not needed, layer snapshot exists
DEBU[0008] Extraction not needed, layer snapshot exists
DEBU[0008] Extraction not needed, layer snapshot exists
DEBU[0008] Extraction not needed, layer snapshot exists
done
```
Signed-off-by: Zhang Wei <zhangwei555@huawei.com >
2017-08-20 21:03:18 +08:00
Lantao Liu
dcc3cb2a05
Merge pull request #137 from Random-Liu/cleanup-with-new-client
...
Some cleanup after switching to new client.
2017-08-18 15:04:24 -07:00
Stephen J Day
677257f032
service/snapshotter: move default to client
...
In order to enforce strict handling of snapshotter values on the
container object, the defaults have been moved to the client side. This
ensures that we correctly qualify the snapshotter under use when from
the container at the time it was created, rather than possibly losing
the metadata on a change of default.
Signed-off-by: Stephen J Day <stephen.day@docker.com >
2017-08-18 14:43:12 -07:00
Stephen J Day
783ed05057
metadata: ensure correct updates on Container
...
This fixes a few bugs in the container store related to reading and
writing fields. Specifically, on update, the full field set wasn't being
returned to the caller, making it appear that the store was corrupted.
We now return the correctly updated field and store the missing field
that was omitted in the original implementation. In course, we also have
defined the update semantics of each field, as well as whether or not
they are required.
The big addition here is really the container metadata testsuite. It
covers listing, filtering, creates, updates and deletes in a vareity of
scenarios.
Signed-off-by: Stephen J Day <stephen.day@docker.com >
2017-08-18 14:43:00 -07:00
Lantao Liu
ed640d3972
Some cleanup after switching to new client.
...
Signed-off-by: Lantao Liu <lantaol@google.com >
2017-08-18 21:04:38 +00:00
Kenfe-Mickaël Laventure
8095244c26
Merge pull request #1396 from crosbymichael/reverts
...
Revert two changes to IO and cgroup handling
2017-08-18 13:51:02 -07:00
Michael Crosby
4950c26757
Revert "Wait for client side copy goroutines to start"
...
This reverts commit 06dc87ae59 .
Revert "Change oom metric to const"
This reverts commit e800f08f9f .
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
2017-08-18 16:20:02 -04:00
Michael Crosby
e3696cfb4e
Merge pull request #1395 from dmcgowan/content-testsuite-cleanup
...
Close writers in content test suite
2017-08-18 15:21:04 -04:00
Derek McGowan
42119539be
Close writers in content test suite
...
Ensure all writers are closed at end of test for content
test suite. Prevents test from leaving lingering connections
to the content store.
Signed-off-by: Derek McGowan <derek@mcgstyle.net >
2017-08-18 12:06:38 -07:00
Derek McGowan
2fa366d6af
Add support for multiple differs
...
Updates the differ service to support calling and configuring
multiple differs. The differs are configured as an ordered list
of differs which will each be attempting until a supported differ
is called.
Additionally a not supported error type was added to allow differs
to be selective of whether the differ arguments are supported by
the differ. This error type corresponds to the GRPC unimplemented error.
Signed-off-by: Derek McGowan <derek@mcgstyle.net >
2017-08-18 11:19:08 -07:00
Lantao Liu
418a5cd8bf
Merge pull request #143 from miaoyq/update-containerd-ver-to-f79981
...
Update containerd version to f79981c
2017-08-18 10:28:56 -07:00
Kenfe-Mickaël Laventure
567c2758f8
Merge pull request #1391 from crosbymichael/stdin-block
...
Revert part of 06dc87ae59
2017-08-18 07:41:57 -07:00
Michael Crosby
cc3b7a5e9a
Revert part of 06dc87ae59
...
Fixes #1389
This reverts waiting on stdin to finish its IO copy before returning
out.
This was causing `ctr` to block for every container start/exit.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
2017-08-18 09:58:47 -04:00
Michael Crosby
0c10ce01c9
Merge pull request #1390 from AkihiroSuda/fix-typo
...
client: Resoveconf -> Resolvconf
2017-08-18 09:39:31 -04:00
Yanqiang Miao
fa5c4ab2a7
Update containerd version to f79981c
...
fixes #140
ref containerd/containerd#1386
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn >
2017-08-18 15:04:02 +08:00
Akihiro Suda
5f7c527ed5
client: Resoveconf -> Resolvconf
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp >
2017-08-18 06:35:38 +00:00
Stephen Day
b2ee0ab34e
Merge pull request #1387 from stevvooe/alpha5
...
release: prepare for 1.0.0-alpha5
2017-08-17 16:16:37 -07:00
Stephen J Day
a744550401
release: prepare for 1.0.0-alpha5
...
Signed-off-by: Stephen J Day <stephen.day@docker.com >
2017-08-17 16:15:43 -07:00
Stephen Day
0fd951c2f7
Merge pull request #1379 from crosbymichael/profile
...
Change oom metric to const
2017-08-17 16:05:13 -07:00
Stephen Day
a29c6c7ab9
Merge pull request #1386 from Random-Liu/task-service-grpc-error
...
Convert errors returned by task service to errdefs error.
2017-08-17 16:04:12 -07:00
Lantao Liu
f79981c2df
Convert errors returned by task service to errdefs error.
...
Signed-off-by: Lantao Liu <lantaol@google.com >
2017-08-17 22:52:16 +00:00
Stephen Day
0a18801468
Merge pull request #1382 from stevvooe/update-api-descriptors
...
api: update protobuf descriptors
2017-08-17 15:33:41 -07:00
Stephen Day
15f56727e0
Merge pull request #1369 from AkihiroSuda/ctr-snapshot-view
...
ctr: add `ctr snapshot view`
2017-08-17 15:32:13 -07:00
Stephen Day
c890ca9bce
Merge pull request #1383 from stevvooe/document-config-function
...
images: document config utility function
2017-08-17 15:24:16 -07:00
Stephen J Day
2a1f7b647b
images: document config utility function
...
Signed-off-by: Stephen J Day <stephen.day@docker.com >
2017-08-17 14:31:35 -07:00
Stephen J Day
8ae20a135a
api: update protobuf descriptors
...
Because we merged the PR that added the API descriptors and modified the
API at the same time. This updates the protobufs to be consistent.
Signed-off-by: Stephen J Day <stephen.day@docker.com >
2017-08-17 14:22:14 -07:00
Michael Crosby
e800f08f9f
Change oom metric to const
...
This removes the metric vec that was holding onto all task id and
namespace combinations forever, until containerd was restarted. This
was causing a memory leak with many task.
This also removes the shim cmd where the `Args` is quite large from the
reaper after the shim has been started cutting down on another leak.
This is the first pass through the reaper but more code is required to
fix all the issues when commands are added.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
2017-08-17 16:23:20 -04:00
Phil Estes
ed1c40420e
Merge pull request #1372 from jessvalarezo/d4m-gettingstarted
...
Supplement Building documentation for Docker for Mac users.
2017-08-17 13:45:28 -04:00
Jess Valarezo
d8abb61bed
Update building doc for Docker for Mac users
...
Signed-off-by: Jess Valarezo <valarezo.jessica@gmail.com >
2017-08-17 10:21:03 -07:00
Phil Estes
89daacfe3f
Merge pull request #1370 from crosbymichael/daemon-lock
...
Defer unlock for testing daemon
2017-08-17 11:44:44 -04:00
Phil Estes
240a7be607
Merge pull request #1371 from dmcgowan/btrfs-test-errors
...
Update mount creation to only use btrfs subvolume id
2017-08-17 11:36:25 -04:00
Michael Crosby
06dc87ae59
Wait for client side copy goroutines to start
...
Make sure we wait for the client side copy goroutines to start coping
from the fifos before returning from the function.
Signed-off-by: Michael Crosby <crosbymichael@gmail.com >
2017-08-17 10:58:56 -04:00
Lantao Liu
8e9a251f72
Merge pull request #135 from yanxuean/myfeature
...
The parameters of InitCNI should be filled in reverse order
2017-08-16 19:50:22 -07:00
yanxuean
8cc0347b0a
The parameters of InitCNI should be filled in reverse order.
...
fix #131
Signed-off-by: yanxuean <yan.xuean@zte.com.cn >
2017-08-17 10:18:40 +08:00
Lantao Liu
860dac233f
Merge pull request #130 from Random-Liu/add-port-forward
...
Add portforward support.
2017-08-16 17:47:34 -07:00