Commit Graph

5275 Commits

Author SHA1 Message Date
Michael Crosby
e1489f93c3 Use named pipes for windows processors
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-08-07 18:35:55 +00:00
Michael Crosby
134d3c8159 Add windows apply code
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-08-07 18:35:55 +00:00
Michael Crosby
f867401c69 Use fds and pass Payloads over diff api
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-08-07 18:35:55 +00:00
Michael Crosby
366823727f Add server config for stream processors
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-08-07 18:35:55 +00:00
Michael Crosby
97a98773cf Add StreamProcessor for apply
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-08-07 18:35:55 +00:00
Phil Estes
0bc5df0354
Clarify text on ctr support/inclusion
Add some clarifying language around the expectations on `ctr`.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2019-08-07 14:35:17 -04:00
Phil Estes
2ff1ef4f6c
Merge pull request #3499 from dmcgowan/update-beta-release-notes
Update 1.3 beta release notes
2019-08-07 10:05:35 -04:00
Phil Estes
4507cd1e04
Merge pull request #3500 from jterry75/revendor_go-winio
Update Microsoft/go-winio v0.4.14
2019-08-07 09:18:07 -04:00
Akihiro Suda
d0f4cf0bde
Merge pull request #3497 from ethan-daocloud/patch-1
pusher.go: error message typo correction
2019-08-07 13:08:36 +09:00
ethan
0a3769eec6 pusher.go: error message typo correction
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-08-07 10:09:23 +08:00
Derek McGowan
635ccc0671
Add cri release notes
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-08-06 13:31:09 -07:00
Justin Terry (VM)
4667ee47a5 Update Microsoft/go-winio v0.4.14
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2019-08-06 13:24:42 -07:00
Phil Estes
03d934adc4
Merge pull request #3474 from crosbymichael/uuid
Add UUID and server info to introspection
2019-08-06 15:58:05 -04:00
Michael Crosby
13c6dcdea1
Merge pull request #3498 from dmcgowan/limit-ppc64le
Limit default matrix to runc v2 runtime
2019-08-06 15:32:23 -04:00
Derek McGowan
7792c23b14
Limit default matrix to runc v2 runtime
Explicitly add runc v1 runtime test on Linux

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-08-06 10:21:11 -07:00
Akihiro Suda
225cc7d5bd
Merge pull request #3494 from jterry75/remove_v2
Completely remove Windows v2 in-tree shim
2019-08-07 02:19:12 +09:00
Wei Fu
7fddefc493
Merge pull request #3496 from darfux/v2_close_ttrpc_when_delete
v2: Close ttrpc connection when Delete()
2019-08-06 23:51:02 +08:00
Michael Crosby
28bdb71cc9
Merge pull request #3492 from Random-Liu/update-cri
Update cri to b213648c5b
2019-08-06 10:53:29 -04:00
Michael Crosby
9f0bc2b53f Add UUID and server info to introspection
Closes #1862

This adds a new rpc to the introspection service to provide server
information with a generated UUID that is done on demand and the os and
arch of the server.

ctr output:

```bash
> sudo ctr version

Client:
  Version:  v1.2.0-802-g57821695.m
  Revision: 578216950de9c1c188708369e2a31ac6c494dfee.m

Server:
  Version:  v1.2.0-802-g57821695.m
  Revision: 578216950de9c1c188708369e2a31ac6c494dfee.m
  UUID: 92e982a9-f13e-4a2c-9032-e69b27fed454
  OS: linux
  ARCH: amd64
```

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-08-06 14:40:48 +00:00
Phil Estes
dce8541387
Merge pull request #3493 from dmcgowan/fix-travis-matrix
Fix travis matrix
2019-08-06 10:04:50 -04:00
Li Yuxuan
08483d18ad v2: Close ttrpc connection when Delete()
This avoids potential socket leak when the connected v2 shim of runtime
serving multiple containers.

Signed-off-by: Li Yuxuan <liyuxuan04@baidu.com>
2019-08-06 20:35:59 +08:00
Justin Terry (VM)
4b5dfaee13 Completely remove Windows v2 in-tree shim
Signed-off-by: Justin Terry (VM) <juterry@microsoft.com>
2019-08-05 16:49:56 -07:00
Derek McGowan
2398421d50
Fix travis matrix
Move matrix components next to each other for clarity.
Explicitly add special matrix combinations.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-08-05 15:35:51 -07:00
Lantao Liu
a5940da62c Remove ctr cri load and update cri-tools to v1.15.0
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-05 15:22:36 -07:00
Derek McGowan
29e56c5625
Merge pull request #3489 from mxpv/faulty
Mark devices with invalid state as faulty
2019-08-05 14:47:02 -07:00
Phil Estes
24e3848050
Merge pull request #3272 from nitkon/patch-2
travis: Enable travis CI for ppc64le arch
2019-08-05 15:51:08 -04:00
Maksym Pavlenko
0a4bf1bd1e Mark faulty devices
Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
2019-08-05 12:05:36 -07:00
Lantao Liu
c99961c6c0 Update cri to b213648c5b
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-05 11:22:41 -07:00
Phil Estes
cb46663725
Merge pull request #3470 from mxpv/devmapper_err
Better error recovery in device mapper
2019-08-05 13:10:06 -04:00
Wei Fu
b05a2b26ff
Merge pull request #3486 from tao12345666333/rm-unnecessary-str-fmt
remotes: remove unnecessary string formatting
2019-08-05 14:05:51 +08:00
Derek McGowan
ca2463a719
Merge pull request #3485 from Random-Liu/fix-containerd-on-windows
Fix containerd on windows.
2019-08-04 23:04:51 -07:00
Jintao Zhang
4b4ce4a26c remotes: remove unnecessary string formatting
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-08-05 02:16:57 +08:00
Nitesh Konkar
d1b9ee543c travis: Enable travis CI for ppc64le arch
Enable travis CI for ppc64le arch

Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
2019-08-04 20:36:12 +05:30
Lantao Liu
bb99688914 Fix containerd on windows.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-08-02 23:18:35 -07:00
Phil Estes
f0821348b4
Merge pull request #3475 from stefanberger/gpg2-passphrase-via-file
ECI: gpg: Pass the passphrase to the gpg2 tool using a pipe
2019-08-02 13:59:17 -04:00
Michael Crosby
d3e539af79
Merge pull request #3480 from dmcgowan/fix-export-named-manifest-opt
Fix bug in export named manifest option
2019-08-02 10:30:50 -04:00
Phil Estes
69d65c9764
Merge pull request #3476 from dmcgowan/fix-push-exist-check
Prevent push by tag for sub-manifests
2019-08-02 10:01:26 -04:00
Derek McGowan
ac1cb6d5d4
Merge pull request #3467 from kevpar/dial-pipe-err
Improve error return from AnonDialer on Windows
2019-08-01 15:41:54 -07:00
Derek McGowan
adad947b77
Merge pull request #3460 from lumjjb/ctrrecipients
Specify protocols in ctr encrypt recipients
2019-08-01 15:37:40 -07:00
Derek McGowan
3e52e29025
Fix bug in export named manifest option
When providing multiple names, the shared annotation map was
causing the names to get overridden.
Combined the WithManifest options which had compatible interfaces.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-08-01 15:34:07 -07:00
Nitesh Konkar
594f423190 protobuf: Bump Protobuf version to 3.7.0
Bump Protobuf version to 3.7.0

Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
2019-08-01 13:48:37 +05:30
Derek McGowan
c965a6c4da
Prevent push by tag for sub-manifests
When pushing a manifest list, all manifests should be pushed by digest
and only the final manifest pushed by tag. The Pusher was preventing
this by mistakenly disallowing objects to contain a digest. When objects
have a digest, only push tags associated with that digest.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-07-31 15:19:44 -07:00
Derek McGowan
053853fe3f
Merge pull request #3465 from dmcgowan/beta-1.3
Add 1.3 beta release notes
2019-07-31 13:23:34 -07:00
Stefan Berger
5cf79913e4 gpg: Use a Pipe() rather than a file
Use a Pipe() rather than a file to pass the passphrase to the command
line tool. Pass the file descriptor to read the passphrase from as fd '3'.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-07-31 16:07:25 -04:00
Stefan Berger
6a25128791 gpg: Pass the passphrase to the gpg2 tool using a file
Rather than passing the passphrase via command line write it into
a temp. file and pass the name of the file using passphrase-file option.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-07-31 16:07:25 -04:00
Maksym Pavlenko
3741fd8591 Remove deferred flag when removing devmapper device
Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
2019-07-31 11:28:33 -07:00
Kevin Parsons
b16e7c5de1 Update pkg/ttrpcutil with improved pipe dial logic
Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
2019-07-30 18:46:36 -07:00
Wei Fu
a49df98ee9
Merge pull request #3468 from crosbymichael/custom-cgroup
Improve custom cgroup test
2019-07-31 09:23:02 +08:00
Kevin Parsons
daf12cd194 Improve error return from AnonDialer on Windows
AnonDialer will now return a "not found" error if the pipe is not found
before the timeout is reached. If the pipe exists but the timeout is
reached while attempting to connect, the timeout error will still be
returned.

This will allow the error handling logic to work properly when
connecting to the shim log pipe. An error message is only logged if the
error is not "not found", so now log noise from log pipes that were
never intended to be created by the shim will be hidden.

This change also cleans up the control flow for AnonDialer on Windows.
The new code should be more easily readable, but the only semantic
change is the error return value change.

Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
2019-07-30 17:20:37 -07:00
Maksym Pavlenko
4d5a0e19eb Mark faulty device in one transaction
Signed-off-by: Maksym Pavlenko <makpav@amazon.com>
2019-07-30 16:26:55 -07:00