Derek McGowan
5423986111
Merge pull request #3260 from sarangjo/master
...
Fix broken link to containerd logo
2019-05-03 16:22:21 -07:00
Sarang Joshi
2f22d8e677
Fix broken link to containerd logo
...
Signed-off-by: Sarang Joshi <sarangj@msn.com>
2019-05-03 11:56:46 -07:00
Benjamin Elder
cb7c780af2
ctr images import: add --no-unpack option
...
Signed-off-by: Benjamin Elder <bentheelder@google.com>
2019-05-01 17:09:30 -07:00
msg555
ee902afa5f
Compute manifest metadata when not provided.
...
This closes #3238
Signed-off-by: msg555 <msg555@gmail.com>
2019-05-01 00:53:16 -04:00
Lantao Liu
5c9811ded0
Cleanup dead v2 shim.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-04-30 13:45:01 -07:00
Davor Kapsa
cfc36388b3
Remove redundant error checks
...
Signed-off-by: Davor Kapsa <davor.kapsa@gmail.com>
2019-04-30 21:28:51 +02:00
Michael Crosby
a17c809571
Merge pull request #3253 from dvrkps/master
...
Fix misspells
2019-04-30 15:25:26 -04:00
Davor Kapsa
38e3696574
Use cancel on errors
...
Signed-off-by: Davor Kapsa <davor.kapsa@gmail.com>
2019-04-30 21:11:34 +02:00
Davor Kapsa
eded188f4f
Fix misspells
...
Signed-off-by: Davor Kapsa <davor.kapsa@gmail.com>
2019-04-30 20:38:24 +02:00
Justin Terry (VM)
969035bcbd
Stop logging error on v2 multi shim log failure
...
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2019-04-30 11:20:58 -07:00
Michael Crosby
bf5a424679
Merge pull request #3246 from thaJeztah/bump_ttrpc
...
bump containerd/ttrpc 699c4e40d1e7416e08bf7019c7ce2e9beced4636
2019-04-29 17:32:19 -04:00
Derek McGowan
a6cd37e5c2
Merge pull request #3243 from Random-Liu/update-cri
...
Update cri to 2fc62db814
.
2019-04-29 11:31:19 -07:00
Derek McGowan
5bba53f239
Merge pull request #3249 from msg555/vndr_update
...
Update vendor/ with new required vndr go.mod files
2019-04-29 10:25:31 -07:00
msg555
c7f067f278
Update vendor/ with new required vndr go.mod files
...
Signed-off-by: msg555 <msg555@gmail.com>
2019-04-28 18:20:43 -04:00
Phil Estes
53830f66fd
Merge pull request #3240 from thaJeztah/bump_runc_1.0.0-rc.8
...
Bump runc 1.0.0-rc8, opencontainers/selinux v1.2.2
2019-04-27 20:08:01 -04:00
Sebastiaan van Stijn
8c5779c32b
bump containerd/ttrpc 699c4e40d1e7416e08bf7019c7ce2e9beced4636
...
full diff: f02858b145...699c4e40d1
- containerd/ttrpc#33 Fix returns error message
- containerd/ttrpc#35 Make onclose an option
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-27 15:30:18 -07:00
Lantao Liu
dff7456804
Return NotFound error for kill and delete in deleted state.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-04-26 15:17:18 -07:00
Lantao Liu
5d17ed2302
Update cri to 2fc62db814
.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-04-26 10:54:51 -07:00
Akihiro Suda
3a3f0aac88
Merge pull request #3241 from tonistiigi/differ-close
...
differ: fix deadlock on commit error
2019-04-26 15:02:38 +09:00
Sebastiaan van Stijn
e5aab17a0e
bump opencontainers/selinux v1.2.2
...
full diff: https://github.com/opencontainers/selinux/compare/v1.2.1...v1.2.2
- opencontainers/selinux#51 Older kernels do not support keyring labeling
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-25 22:43:05 -07:00
Sebastiaan van Stijn
dd85aea625
bump runc v1.0.0-rc8
...
full diff: 029124da7a...425e105d5a
- opencontainers/runc#2043 Vendor in latest selinux code for keycreate errors
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-25 22:42:50 -07:00
Tonis Tiigi
5b9bd993a8
differ: fix deadlock on commit error
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-04-25 17:50:17 -07:00
Phil Estes
810b3c37bb
Merge pull request #3239 from sipsma/nosetuplog
...
Support disabling default setup of shim logger.
2019-04-25 17:48:11 -04:00
Erik Sipsma
48f46516ad
Support disabling default setup of shim logger.
...
Before this change, the v2 runtime shim setup code was hardcoded to always
configure logrus to write logs to the "log" FIFO present in the current working
directory. This only happens in the "default" action codepath
(i.e. not shim start or shim delete).
This is problematic for shims that execute outside the current working
directory of a bundle. For example, it often doesn't make sense for shims that
manage multiple containers to execute in a single bundle directory. Additionally,
shim processes that require being pre-created, i.e. spun up before tasks they
will handle are actually created, won't have a log FIFO to write to until a task
is created.
This change leaves the default behavior as is but introduces a Binary Config
field that will optionally disable automatic configuration of logrus to use the
"log" FIFO. This allows shims to configure their own logger if necessary while
still re-using the rest of the shim helper code in containerd.
Signed-off-by: Erik Sipsma <sipsma@amazon.com>
2019-04-24 19:01:12 +00:00
Michael Crosby
2d780a7a60
Merge pull request #3237 from thaJeztah/bump_go_units
...
bump docker/go-units v0.4.0
2019-04-23 17:07:13 -04:00
Sebastiaan van Stijn
c79c7921c0
bump docker/go-units v0.4.0
...
relevant changes:
- docker/go-units#19 make 1 second not to be plural seconds
- docker/go-units#20 Add `HumanSizeWithPrecision` function
- docker/go-units#21 change week display rule
- docker/go-units#22 Better human duration precision
- docker/go-units#23 Removes spaces before unit
- docker/go-units#27 Fix #26 - RAMInBytes Bug
- docker/go-units#33 Fix handling of unlimited (-1) ulimit values
- docker/go-units#34 Revert 46 minute threshold
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-23 17:07:58 +02:00
Ace-Tang
dfa51c9279
runtime-v1: kill shim in cleanupAfterDeadShim
...
1. kill shim in cleanupAfterDeadShim avoid shim leak
2. refactor cleanupAfterDeadShim, get pid from bundle
path instead of make pid as a parameter
Signed-off-by: Ace-Tang <aceapril@126.com>
2019-04-22 14:29:40 +08:00
Phil Estes
835e6d01fb
Merge pull request #3231 from kevpar/dump-stacks-to-file
...
Don't write dumped stacks to file for ETW capture state
2019-04-19 13:43:49 -04:00
Kevin Parsons
0376dd4605
Don't write dumped stacks to file for ETW capture state
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
2019-04-19 10:11:24 -07:00
Phil Estes
c2fb5d73f9
Merge pull request #3230 from jterry75/fix_windows_image
...
Convert Windows CI to use Microsoft MCR image urls
2019-04-19 09:32:38 -04:00
Justin Terry (VM)
e6fc0ed22d
Convert Windows CI to use Microsoft MCR image urls
...
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2019-04-18 16:07:00 -07:00
Michael Crosby
a91e04356d
Merge pull request #3223 from thaJeztah/bump_gocapability
...
Bump syndtr/gocapability d983527, containerd/console
2019-04-18 15:26:34 -04:00
Phil Estes
ffe0b6927b
Merge pull request #3190 from jhowardmsft/jjh/stack2file
...
Write stack dump to `os.TempDir()` as well
2019-04-18 14:43:25 -04:00
Phil Estes
a905b0f0af
Merge pull request #3224 from thaJeztah/bump_crypto
...
Update x/crypto to 88737f569e3a9c7ab309cdc09a07fe7fc87233c3
2019-04-18 13:52:39 -04:00
Sebastiaan van Stijn
06a3a480cc
bump containerd/console 0650fd9eeb50bab4fc99dceb9f2e14cf58f36e7f
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-18 19:45:38 +02:00
Sebastiaan van Stijn
a333dbcfb4
Update x/crypto to 88737f569e3a9c7ab309cdc09a07fe7fc87233c3
...
full diff: 49796115aa...88737f569e
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-18 19:01:11 +02:00
Sebastiaan van Stijn
0fd02564a2
bump gocapability
...
full diff: db04d3cc01...d98352740c
changes included:
- syndtr/gocapability#14 capability: Deprecate NewPid and NewFile for NewPid2 and NewFile2
- syndtr/gocapability#16 Fix capHeader.pid type
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-18 19:00:27 +02:00
John Howard
7718d060eb
Write stack dump to os.TempDir()
as well
...
Signed-off-by: John Howard <jhoward@microsoft.com>
2019-04-18 09:26:11 -07:00
Michael Crosby
b819d05fd0
Merge pull request #3222 from estesp/test-appveyor
...
Update to sha-specific nanoserver image reference to fix AppVeyor CI runs
2019-04-18 11:08:25 -04:00
Wei Fu
a4942ca4fe
Fix error on pull hang in CI
...
Kill the underlying containerd after outputting error. Otherwise CI
hangs indefinitely and requires the CI infrastructure to kill the build
at the timeout expiration.
Signed-off-by: Wei Fu <fuweid89@gmail.com>
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2019-04-18 10:24:15 -04:00
Phil Estes
6bcf463b01
Move to sha-specified test image for nanoserver
...
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2019-04-18 10:02:04 -04:00
Michael Crosby
56d8a05808
Merge pull request #3220 from AkihiroSuda/akihirosuda-email
...
.maimap: update Akihiro Suda's email address
2019-04-17 15:06:31 -04:00
Akihiro Suda
cfb8b5573a
.mailmap: update Akihiro Suda's email address
...
No affiliation change (NTT).
The former email address will continue to be available for the time being.
For daily communication, I still prefer to use my gmail.com address.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-04-17 18:35:35 +09:00
Phil Estes
4c16017e2f
Merge pull request #3209 from Random-Liu/fix-v1-shim-cleanup
...
Shim v1: Check task list to avoid unnecessary cleanup.
2019-04-16 15:39:53 -04:00
Michael Crosby
8722ec03c3
Merge pull request #3213 from jcordasc/small-fixes
...
Correct import path and PusherFunc signature
2019-04-16 15:32:51 -04:00
Michael Crosby
665715b8a6
Merge pull request #3208 from mxpv/client
...
Allow reuse client for external GRPC services
2019-04-16 15:30:33 -04:00
Maksym Pavlenko
be2cbd0b2d
Access to client's GRPC connection object
...
Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
2019-04-16 10:19:32 -07:00
John Howard
cc73dc3dbd
Merge pull request #3217 from kevpar/etw-capture-state
...
Enable dumping Goroutine stacks via ETW capture state
2019-04-15 14:19:46 -07:00
Kevin Parsons
78f3dc433c
Allow dumping stacks via ETW capture state
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
2019-04-15 13:35:35 -07:00
Kevin Parsons
05dd66b2e6
Update go-winio in vendor.conf
...
Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
2019-04-15 13:34:57 -07:00