Archana Shinde
8058fb0791
Merge pull request #1289 from grahamwhaley/20190227_v4.19.26
...
versions: kernel: update to 4.19.28
2019-03-13 15:21:31 -07:00
Archana Shinde
19e8a5e024
docs: Add link to the sysctl how-to in README.md
...
Add link so that the doc is discoverable
Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2019-03-13 15:11:16 -07:00
Archana Shinde
817110d652
sysctsl: Add how-to doc for setting sysctls.
...
Document sysctls for Docker and Kubernetes.
Fixes #399
Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2019-03-13 15:11:16 -07:00
Archana Shinde
a8c6d94c58
Merge pull request #397 from bmwiedemann/kernel
...
Override build user+host+timestamp
2019-03-13 14:37:28 -07:00
Archana Shinde
9f96da2014
Merge pull request #1006 from Ace-Tang/throw_error
...
qemu: throw error when fail to get addr from bridges
2019-03-13 14:34:24 -07:00
Julio Montes
726f798ff7
image-builder: fill out device namespace information into kata image
...
The new NVDIMM driver implementation (kernel >= 4.16) needs to know the device
namespace information to map pages, this metadata is read from the nvdimm
namespace at 4k offset.
fixes #235
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-03-13 13:05:06 -06:00
Julio Montes
cbe5642b9d
image-builder: add gcc as dependecy to generate the image
...
gcc is required to build the binary in charge to fill out the device
namespace information (matadata) into the kata containers image.
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-03-13 13:05:06 -06:00
Julio Montes
7620066c8a
image-builder: sync rootfs data after copying it into the image
...
Rootfs data must be sync'd after copying it into the image to avoid
data corruption
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-03-13 13:05:06 -06:00
Julio Montes
dc5bc07825
image-builder: fix mem boundary recalculation
...
$/${} is unnecessary on arithmetic variables. [SC2004]
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-03-13 13:05:06 -06:00
Julio Montes
71ccc0a6ea
mage-builder: remove -s option and IMG_SIZE envar
...
guest kernel needs 64 bytes of DRAM per 4K page of emulated PMEM, hence the
image size should be as small as possible to reduce the container's memory
footprint. The image size is recalculated automatically if it's too small
to contain the rootfs.
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-03-13 13:05:06 -06:00
Julio Montes
8065bb615a
rootfs-builder: delete dnf and rmp data
...
dnf and rmp data are not needed in the final rootfs, removing them we save
2MB of disk
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-03-13 13:05:06 -06:00
Salvador Fuentes
da8101a2aa
Merge pull request #243 from devimc/topic/testMaster
...
tests: install kata components from master
2019-03-13 13:04:41 -06:00
James O. D. Hunt
71fc406381
Merge pull request #1361 from darfux/fix-mem-id
...
vc:qemu: Fix id calculation of memory hotplug
2019-03-13 18:10:47 +00:00
Julio Montes
35588dd303
tests: install kata containers components from master
...
build and install kata containers components from master and
run osbuilder tests.
fixes #242
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-03-13 10:47:03 -06:00
Julio Montes
32220a5beb
Merge pull request #1330 from alicefr/s390_fix_test
...
s390x: 2 small test fixes
2019-03-13 08:59:50 -06:00
Bernhard M. Wiedemann
693d240971
Override build user+host+timestamp
...
to make kata-linux-container package builds reproducible.
See https://reproducible-builds.org/ for why this is good.
Uses -u to be independent of timezone.
Uses LANG=C to not have Day-of-Week and Month names vary.
Signed-off-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
2019-03-13 13:50:59 +01:00
James O. D. Hunt
594ce2fee7
Merge pull request #335 from wenlxie/fixmemory
...
kernel: enable config CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE by default
2019-03-13 11:40:56 +00:00
Li Yuxuan
4e81522571
vc:qemu: Fix id calculation of memory hotplug
...
QMP doesn't guarantee the order of the array that is returned by
`query-memory-devices` command. So we would better search the whole
array to find out the current max slot, rather than simply use the last
element's slot.
Fixes : #1362
Signed-off-by: Li Yuxuan <liyuxuan04@baidu.com>
2019-03-13 16:39:31 +08:00
Wenli Xie
47a8725801
enable config CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE by default
...
Fixes : #343
Signed-off-by: Wenli Xie <wenlxie@ebay.com>
2019-03-13 13:01:53 +08:00
Archana Shinde
b083b912c3
Merge pull request #396 from kata-containers/snap-next
...
snap: launchpad: Add missing kernel dependencies
2019-03-12 10:29:17 -07:00
Archana Shinde
076313996c
Merge pull request #397 from jodh-intel/add-rhel-install-warning
...
docs: Add RHEL and SLES install warnings
2019-03-12 09:58:49 -07:00
Xu Wang
419d9791c7
Merge pull request #393 from teawater/vmcache
...
howto: Add VMCache introduction and guide
2019-03-13 00:21:40 +08:00
Julio Montes
4d20943266
snap: launchpad: Add missing kernel dependencies
...
new kernel, new dependencies. Add bison, build-essential and flex as
kernel dependencies
fixes #395
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-03-12 07:25:29 -06:00
Hui Zhu
7b94750180
howto: Add VMCache introduction and guide
...
Add "What Is VMCache and How To Enable It" to howto.
Fixes : #392
Signed-off-by: Hui Zhu <teawater@hyper.sh>
2019-03-12 21:02:03 +08:00
James O. D. Hunt
9a8553fa4a
Merge pull request #377 from Pennyzct/nvdimm
...
nvdimm: support nvdimm on arm64 kernel
2019-03-12 11:02:57 +00:00
James O. D. Hunt
ffbae64a2d
Merge pull request #1323 from Pennyzct/nvdimm
...
arm64: support NVDIMM
2019-03-12 10:11:01 +00:00
Penny Zheng
5dd1d7c706
nvdimm: support nvdimm on arm64 kernel
...
let's open nvdimm-related kernel config parameters on arm64, such as
CONFIG_ACPI_NFIT, etc. and we also need to backport patch
'kvm:arm64:Dynamic IPA and 52bit IPA'(https://patchwork.kernel.org/cover/10616271/ )
and related dependency into v4.19.X to fully support nvdimm from guest kernel.
Former patch has already been merged into v4.20.X.
Fixes : #376
Signed-off-by: Penny Zheng <penny.zheng@arm.com>
2019-03-12 14:46:41 +08:00
Ace-Tang
502fdab75e
test: add test for addDeviceToBridge
...
add test for addDeviceToBridge in three case
1. addDeviceToBridge successful
2. fail cause no more available bridge slot
3. fail cause state.bridge == 0
Signed-off-by: Ace-Tang <aceapril@126.com>
2019-03-12 09:18:03 +08:00
Julio Montes
f9f2d925ba
Merge pull request #239 from devimc/topic/eulerosMirrors
...
tests: skip euleros
2019-03-11 16:29:47 -06:00
Julio Montes
519bbe8f66
tests: remove docker before installing the newer version
...
In some distros docker is already installed and the CI fails because the newer
version can't be installed because it conflicts with the old version. Remove
old version before installing the newer version of docker.
fixes #241
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-03-11 15:20:22 -06:00
Julio Montes
b18a62c63e
Merge pull request #1346 from jcvenegas/resource-calc-multi-container
...
virtcontainers: move resource calculation to its own function
2019-03-11 14:59:05 -06:00
Julio Montes
e73beab5ea
Merge pull request #1353 from chavafg/topic/update-nemu-version
...
versions: update nemu to latest release
2019-03-11 14:55:23 -06:00
Jose Carlos Venegas Munoz
0061e166d4
virtcontainers: move resource calculation to its own function
...
Make cpu and memory calculation in a different function
this help to reduce the function complexity and easy unit test.
Fixes : #1296
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-03-11 12:17:01 -06:00
Jose Carlos Venegas Munoz
7504d9e50c
unit-test: add TestSandboxUpdateResources
...
Add unit test for Update Resources
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-03-11 12:17:01 -06:00
Salvador Fuentes
f009a534c2
versions: update nemu to latest release
...
Latest release fixes entropy issue.
Fixes : #1251 .
Fixes : #987 .
Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
2019-03-11 11:59:16 -06:00
Julio Montes
b4de168cf4
tests: skip euleros
...
euleros mirrors are down almost all time, don't fail if euleros rootfs
or image can't be generated.
fixes #238
Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-03-11 11:46:17 -06:00
James O. D. Hunt
ff7019999f
Merge pull request #1351 from jodh-intel/collect-script-add-more-details
...
Add crio and containerd details to collect script
2019-03-11 17:43:59 +00:00
James O. D. Hunt
d591b63dc2
Merge pull request #390 from jodh-intel/codeowners-for-kernel-changes
...
docs: Add CODEOWNERS file for doc and kernel changes.
2019-03-11 17:32:33 +00:00
Julio Montes
e19e29735b
Merge pull request #392 from devimc/topic/snap-1.6.0-rc1
...
snap: release 1.6.0-rc1
2019-03-11 10:23:47 -06:00
James O. D. Hunt
cad58e8a2d
Merge pull request #1340 from devimc/topic/noJournald
...
pkg: reduce memory footprint
2019-03-11 14:37:48 +00:00
James O. D. Hunt
21e042d7ec
docs: Add kernel changes to CODEOWNERS file
...
All kernel changes need approval from the kernel team.
Fixes #389 .
Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2019-03-11 14:36:12 +00:00
Julio Montes
6329cf7470
Merge pull request #384 from grahamwhaley/20190307_CODEOWNERS
...
ci: add CODEOWNERS to cover .md files
2019-03-11 08:22:39 -06:00
James O. D. Hunt
f2a506affa
scripts: Add containerd details to collect script
...
Add a new sub-section for containerd details.
Fixes #1349 .
Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2019-03-11 14:20:39 +00:00
James O. D. Hunt
7266d31813
scripts: Log crio config file in collect script
...
Add details of the crio config to the data collection script.
Partially fixes #1349 .
Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2019-03-11 14:20:34 +00:00
Julio Montes
6827efb87d
snap: release 1.6.0-rc1
...
This version includes support for s390x
fixes #391
Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-03-11 08:18:59 -06:00
James O. D. Hunt
30f9776e60
scripts: Create separate section for crio in collect script
...
Rather than folding crio under k8s, move it to a separate sub-section.
Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2019-03-11 14:18:10 +00:00
James O. D. Hunt
ae08ea3211
scripts: Add helper function to collect script
...
Add a `have_service()` helper function to the data collection script to
simplify the code.
Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2019-03-11 14:18:02 +00:00
Graham Whaley
ae4d8b453e
versions: kernel: update to 4.19.28
...
Update kernel to latest version.
Fixes : #1288
Signed-off-by: Graham Whaley <graham.whaley@intel.com>
2019-03-11 11:44:37 +00:00
James O. D. Hunt
7aa48565d0
Merge pull request #1326 from ganeshmaharaj/fix-rootfs-mount
...
Fix rootfs mount assumptions
2019-03-11 11:32:57 +00:00
James O. D. Hunt
5b58e6a715
Merge pull request #1328 from alicefr/golint-fix
...
s390x: fix golint complain
2019-03-11 11:17:31 +00:00