Commit Graph

2268 Commits

Author SHA1 Message Date
Riyaz Faizullabhoy
0fa083b3df reports: nit typo fixes
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-03-13 10:23:21 +00:00
Justin Cormack
b6c5cdec05 Merge pull request #1283 from justincormack/report-12mar
First weekly report, for 12 March 2017
2017-03-12 12:56:04 +00:00
Justin Cormack
c74ff7b4e7 First weekly report, for 12 March 2017
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-12 12:25:58 +00:00
Justin Cormack
b8ae3a5803 Merge pull request #1281 from justincormack/sysctl-extras
Add default Alpine sysctl settings back
2017-03-10 17:28:03 +00:00
Justin Cormack
d7e5940027 Merge pull request #1280 from justincormack/dashdash
Fix cut and paste typo in startup code
2017-03-10 17:27:52 +00:00
Justin Cormack
a64e456320 Add default Alpine sysctl settings back
- these were set via the Alpine config file previously.
- removed `kernel.panic` as we have decided to avoid reboot on panic.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-10 17:15:40 +00:00
Justin Cormack
cbd1742b6f Fix cut and paste typo in startup code
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-10 17:13:16 +00:00
Justin Cormack
519b5db338 Merge pull request #1278 from justincormack/containerd-up
Update containerd
2017-03-10 16:51:52 +00:00
Justin Cormack
38335ce204 Merge pull request #1279 from justincormack/qcow
Add qcow2 output support
2017-03-10 16:44:12 +00:00
Justin Cormack
054c3b08a3 Add qcow2 output support
- outputs compressed qcow2 image
- 1GB underlying size, may need changing

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-10 16:38:37 +00:00
Justin Cormack
5c19da6fa3 Merge pull request #1277 from justincormack/vhd
Add VHD and GCE output formats
2017-03-10 16:13:23 +00:00
Justin Cormack
2eb0fe7d04 Merge pull request #1276 from rneugeba/infra-iso
infrakit: Pass config information to VM via an ISO
2017-03-10 16:12:01 +00:00
Justin Cormack
718d45bdf5 Add VHD and GCE output formats
- VHD is uncompressed VHD. Currently hard coded at 1GB, which may need to change. Use `format: vhd`
- GCE is the GCE compressed tarred raw image. Use `format: gce-img` - reserving `gce` for actually
  uploading the image.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-10 16:10:48 +00:00
Justin Cormack
00bd8a42d3 Update containerd
- in a much better state than previous commit, but still some issues
running system containers with it that need more work, so staying with `runc`.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-10 16:07:44 +00:00
Rolf Neugebauer
562bc65dec infrakit: Attach ISO file to VM if it exists
The file can me mounted in the VM as /dev/sr0

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-03-10 14:55:23 +00:00
Rolf Neugebauer
cde6fb9309 infrakit: Write ISO file from instance init contents
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-03-10 14:24:18 +00:00
Justin Cormack
edcb5a8e83 Merge pull request #1274 from samoht/runc
Update runc
2017-03-10 13:24:17 +00:00
Thomas Gazagnaire
39d9f504c9 Update runc
Update to opencontainers/runc@49a33c41f8

Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-03-10 14:19:41 +01:00
Justin Cormack
c7d1438128 Merge pull request #1264 from tych0/hoist-kernel-cmdline
Hoist kernel cmdline
2017-03-09 22:34:30 +00:00
Tycho Andersen
1504c9584e better debugging output in more error cases
Signed-off-by: Tycho Andersen <tycho@docker.com>
2017-03-09 14:29:40 -08:00
Tycho Andersen
a383e6bb46 hoist kernel cmdline into moby.yaml
Signed-off-by: Tycho Andersen <tycho@docker.com>
2017-03-09 14:29:40 -08:00
Justin Cormack
57355aa813 Merge pull request #1271 from rneugeba/infra-up
infrakit: Fix detection of running proceses
2017-03-09 22:13:26 +00:00
Rolf Neugebauer
0f7807e48d infrakit: Fix detection of running proceses
os.FindProcess() does not return an error when then process does not
exist. It even returns a dummy process object.

Use the go-ps package to find out if the hyperkit process is actually
running.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-03-09 22:08:44 +00:00
Justin Cormack
83852ec5b6 Merge pull request #1270 from justincormack/go-strip
Strip Go files to make them a bit smaller
2017-03-09 19:21:10 +00:00
Tycho Andersen
8a3ae66f64 hoist kernel command line out of qemu docker image
we want to fiddle with this for selinux, and probably for other things too.

Signed-off-by: Tycho Andersen <tycho@docker.com>
2017-03-09 11:13:49 -08:00
Justin Cormack
154c3516b2 Strip Go files to make them a bit smaller
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-09 15:30:15 +00:00
Justin Cormack
5aa5852eb0 Merge pull request #1269 from justincormack/sysctl
Add in sysctl container
2017-03-09 14:55:49 +00:00
Justin Cormack
bf41a668d7 Add in sysctl container
- based on @riyazdf earlier unmerged Go version 891c006d34/alpine/containers/cloud-config/main.go

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-09 14:41:19 +00:00
Justin Cormack
83c052f74c Merge pull request #1268 from justincormack/no-wait-ctr
Do not wait for containerd to be ready, as not using it yet
2017-03-09 14:41:05 +00:00
Justin Cormack
7c2ee209e8 Do not wait for containerd to be ready, as not using it yet
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-09 14:37:28 +00:00
Justin Cormack
534667b281 Merge pull request #1267 from justincormack/no-licensing
Remove licensing directory
2017-03-09 12:21:34 +00:00
Justin Cormack
ccad5ccd49 Remove licensing directory
We are not going to do any closed source releases of this code so
we can remove the licensing used for editions GPL compliance.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-09 12:08:03 +00:00
Justin Cormack
8bae995a93 Merge pull request #1259 from rneugeba/kern-doc
docs: Update kernel patches documentation
2017-03-08 00:11:10 +00:00
Justin Cormack
72df17ec5a Merge pull request #1260 from justincormack/docker-container2
Add Docker container
2017-03-08 00:07:56 +00:00
Justin Cormack
4bee477f51 Merge pull request #1261 from justincormack/kernel-push
Add back code to push kernel to hub
2017-03-08 00:04:29 +00:00
Justin Cormack
edeaf1c7f6 Add back code to push kernel to hub
- Accidentally removed from top level Makefile, now in kernel Makefile.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-07 23:48:46 +00:00
Justin Cormack
42e0cea389 Add Docker container
- need to format filesystem before testing.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-07 21:37:07 +00:00
Rolf Neugebauer
e1b03b07ec docs: Update kernel patches documentation
Make the process and the requirements for patches clearer.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-03-07 19:42:23 +00:00
Justin Cormack
07c130cd93 Merge pull request #1258 from tych0/better-debugging
better debugging output in some error cases
2017-03-07 19:07:05 +00:00
Tycho Andersen
437634cab1 better debugging output in some error cases
from:

2017/03/07 09:59:30 Failed to extract kernel image and tarball

to

2017/03/07 10:06:04 Failed to extract kernel image and tarball: Unable to find image 'mobylinux/kernel:7fa748810d7866797fd807a5682d5cb3c9c98111' locally

Signed-off-by: Tycho Andersen <tycho@docker.com>
2017-03-07 10:50:12 -08:00
Rolf Neugebauer
7b0bdd485e Merge pull request #1256 from rneugeba/infrakit
infrakit: Use the `moby` tool naming convention to select moby builds
2017-03-07 17:18:13 +00:00
Rolf Neugebauer
ba7a162603 infrakit: Use the moby tool naming convention to select moby builds
the `moby` tool uses a prefix for the build output. Specify the prefix
(and optional path) in the `Moby` property in the JSON instead of assuming
a different path for each initrd/kernel.

Also, adopt the new name for the kernel image (vmlinuz64 -> <prefix>-bzImage).

This should make it simpler to boot up hyperkit with Moby images
build from by the moby tool.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-03-07 16:09:26 +00:00
Rolf Neugebauer
118309b03f Merge pull request #1255 from rneugeba/infra-docs
infrakit: Update docs
2017-03-07 15:58:56 +00:00
Justin Cormack
fd19ca1a3c Merge pull request #1254 from rneugeba/patch-up
kernel: Update 4.9.x patches
2017-03-07 15:34:32 +00:00
Rolf Neugebauer
198599912d infrakit: Update docs
While at it, also simplify the JSON file

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-03-07 15:03:03 +00:00
Rolf Neugebauer
1041f95a6e kernel: Update 4.9.x patches
- Remove patch to prevent non-host network namespace to use VSOCK
  This is now handled by SECOMP profiles by docker
- rebase the VMBUS version cherry-picks to Linus' tree.
  This will make it easier to get them into stable

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-03-07 14:04:53 +00:00
Justin Cormack
ad70b0b742 Merge pull request #1253 from justincormack/docs
Add some more info about config file
2017-03-07 14:01:28 +00:00
Justin Cormack
e7ae5df69d Add some more info about config file
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-07 13:39:45 +00:00
Justin Cormack
24c7e6eeb6 Merge pull request #1252 from justincormack/cleanup
More cleanup
2017-03-07 13:09:03 +00:00
Justin Cormack
7d6de92700 More cleanup
- remove more editions code
- remove unused tool pad4
- add back whale to test output

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-03-07 13:05:53 +00:00