Commit Graph

722 Commits

Author SHA1 Message Date
Julio Montes
5c8d55c63f qemu-vanilla: add patches required in qemu 4.0 to run kata containers
Add kata specific patches for qemu 4.0:
* 9p optimization
* vm-templating patch

fixes #471

Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-04-29 11:21:05 -05:00
Nitesh Konkar
725696df58 README: Update with correct install snap command
Improve README and update with
correct install snap command.

Fixes:  #469

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
2019-04-29 20:21:07 +05:30
Nitesh Konkar
787ec663ff snap: Container fails to start on ppc64le
On ppc64le, qemu installed inside a snap image
is qemu-system-ppc64, but referred in config.toml
as qemu-system-ppc64le.

Fixes #467

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
2019-04-29 19:02:01 +05:30
James O. D. Hunt
539e5d0fc8
Merge pull request #465 from jcvenegas/qemu-4.0-pkgs
qemu-vanilla: pkg: Fix build for qemu 4.0
2019-04-29 09:27:49 +01:00
Jose Carlos Venegas Munoz
fbc4ea5049 qemu-vanilla: pkg: Fix build for qemu 4.0
Simplify qemu rpm list  files using wildcard
this will help to build different qemu versions
without change all the list of files.

- Exclude not needed binaries.

Kata does not use helper binaries, and
4.0 build has a missing qemu-ga by default,
excluding files does not fail if the file exist or not.

Fixes: #464

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-04-26 13:42:19 -05:00
Salvador Fuentes
0aa90554e4
Merge pull request #434 from jcvenegas/bump-pipeline
ci: Add bump release pipeline
2019-04-26 11:34:46 -05:00
GabyCT
51d1000257
Merge pull request #463 from devimc/topic/scripts/configureQemu4
scripts: improve configure-hypervisor.sh
2019-04-26 11:09:31 -05:00
Jose Carlos Venegas Munoz
b3cb1fac48 ci: Add bump release pipeline
Add pipeline to bump repos in Kata

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-04-26 09:24:17 -05:00
Julio Montes
c0f0fc9f9b scripts: improve configure-hypervisor.sh
Change weird condition to check qemu >=3.1
Add comment explaining the malloc-trim option.

fixes #462

Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-04-26 07:34:48 -05:00
Julio Montes
b5eaf1f847
Merge pull request #448 from alicefr/hw-options
s390x: enable rnd hw generator option
2019-04-26 07:06:46 -05:00
Alice Frosi
3d28166c09 s390x: enable rnd hw generator option
In order to create enough entropy, the kernel needs to use the hw rnd
generator

Fixes: #447

Signed-off-by: Alice Frosi <afrosi@de.ibm.com>
2019-04-26 11:07:25 +02:00
GabyCT
c7ca17a2be
Merge pull request #460 from devimc/topic/scripts/configureQemu4
scripts: support Qemu 4
2019-04-25 15:37:40 -05:00
Julio Montes
fd76d64f2e scripts: support Qemu 4
modify configure-hypervisor.sh to support Qemu 4 and enable `malloc-trim`
for memory optimization.

fixes #459

Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-04-25 13:46:25 -05:00
GabyCT
4115942ee1
Merge pull request #405 from jcvenegas/releae-1.6.0-changes
Release improvements
2019-04-25 09:48:10 -05:00
GabyCT
8ae6755bc8
Merge pull request #451 from jcvenegas/kernel-patches-per-version
kernel: use patches per kernel version.
2019-04-25 09:47:12 -05:00
Jose Carlos Venegas Munoz
c932a6e8dd improvement: obs: remove versions file.
The file is autogenerated lets remove it.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-04-24 16:26:41 -05:00
Jose Carlos Venegas Munoz
0a5b917c92 improvement: docs: Update release documentation
- Add information about package testing pipelines

- Fix release notes command

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-04-24 16:26:41 -05:00
Jose Carlos Venegas Munoz
7ea630ea85 kernel: config: bump
bump config version

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-04-24 16:25:13 -05:00
Jose Carlos Venegas Munoz
dce0558ec6 kernel: use patches per kernel version.
Using only one directory to hold kernel patches lead to
difficult maintenance. Instead use a list of patches per
kernel version.

If patches for a kernel version does not exist, dont fail.

Fixes: #308

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-04-24 16:25:13 -05:00
Archana Shinde
891692b6a6
Merge pull request #445 from amshinde/add-runtimeclass-deploy
kata-deploy: Add runtimeclass yaml to kata-deploy
2019-04-24 13:37:55 -07:00
Archana Shinde
0abcb6a0c1 kata-deploy: Add runtimeclass yaml
Add the yaml for kata RuntimeClasses. It is useful to
include this explicitly, rather than just having it in the docs.
Also, this feature has transitioned from alpha to beta from k8s 1.13
to 1.14. Hence maintain separate yamls for these versions.

Fixes #444

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2019-04-24 11:24:45 -07:00
GabyCT
8e87566613
Merge pull request #449 from nitkon/master
Readme: Update readme with snap remove command
2019-04-24 12:05:55 -05:00
Nitesh Konkar
3305e3bd27 Readme: Update readme with snap remove command
Update Readme with command on
how to remove snap after installing it.

Fixes: #446

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
2019-04-24 20:18:35 +05:30
GabyCT
f93eb2315d
Merge pull request #424 from neonsea/consistent-arch-cmd
packaging: replace `arch` with `uname -m`
2019-04-23 16:04:36 -05:00
GabyCT
5b27d85358
Merge pull request #436 from jodh-intel/fix-markdown
docs: Fix markdown
2019-04-23 15:52:11 -05:00
GabyCT
259a7b28ed
Merge pull request #441 from devimc/topic/snap/1.7.0-alpha1
snap: release 1.7.0-alpha1
2019-04-23 13:29:56 -05:00
Julio Montes
cfead00a9d ci: don't run vm-factory tets in snap CI
vm-factory tests are not working in the snap CI, skip them
to make the snap CI happy again.

see https://github.com/kata-containers/tests/issues/1495

fixes #442

Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-04-23 11:42:53 -05:00
Julio Montes
8a9cc94498 snap: release 1.7.0-alpha1
bump snap version to 1.7.0-alpha1

fixes #439

Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-04-23 08:04:13 -05:00
Rasmus Moorats
3f6b64d805 packaging: replace arch with uname -m
All instances of the deprecated `arch` command are now replaced with `uname -m`.

Bumps kernel/kata_config_version to 34.

Fixes: #423

Signed-off-by: Rasmus Moorats <me@neonsea.uk>
2019-04-21 06:34:44 +01:00
James O. D. Hunt
63776a197a docs: Fix markdown
Resolve issues in the markdown files in this repo.

Fixes #435.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2019-04-18 16:00:17 +01:00
Julio Montes
f758083836
Merge pull request #429 from devimc/topic/ci/snap
ci: run tests using kata snap
2019-04-11 14:13:07 -05:00
Julio Montes
58b799bf9d ci: run tests using kata snap
build, install and test kata containers snap package.

Depends-on: github.com/kata-containers/tests#1454

fixes #428

Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-04-11 10:01:46 -05:00
Julio Montes
1d603643e3
Merge pull request #432 from ganeshmaharaj/build-local-kernel-change
kernel: Make sure local versions.yaml file from runtime get precedence
2019-04-11 07:05:46 -05:00
Julio Montes
124ee50bbb
Merge pull request #425 from jongwu/memory_hotplug_4.19
Memory hotplug 4.19
2019-04-10 11:48:30 -05:00
Jianyong Wu
c33b51911d kernel: Enable memory hotplug(add) for arm64
This patch is update version for [1] as kernel
upgrad to v4.19.
It derives from [2] which has accept by kernel
community after v4.20. Modifacation has been done
to make it be able to enable memory hotplug using
probe method as it originally aims to using acpi.
Also some corresponding configurations in kernel
config are opened.

[1] https://github.com/kata-containers/packaging/
commit/e654dbd8367371c1b34776445a402d3c90f0dc66
[2] https://git.kernel.org/pub/scm/linux/kernel/
git/torvalds/linux.git/commit/
?id=4ab215061554ae2a4b78744a5dd3b3c6639f16a7

Change-Id: I305435f1d7e38d5cfcee22799792d1f4b0f015f8
Signed-off-by: Jianyong Wu  <jianyong.wu@arm.com>
Jira: ENTOS-899
2019-04-09 20:56:41 -04:00
Ganesh Maharaj Mahalingam
3771b04d6f kernel: Make sure local versions.yaml file from runtime get precedence
Fixes: #431

Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
2019-04-09 11:44:09 -07:00
Salvador Fuentes
e7fb9c1ad0
Merge pull request #427 from kata-containers/snap-next
snap: release 1.6.1
2019-04-09 07:55:10 -05:00
Julio Montes
b8ac31c39c
Merge pull request #422 from tuan-hoang1/s390x-4.19.28
kernel: disable ZSWAP, remove zVM hypervisor on s390x
2019-04-09 07:15:09 -05:00
Julio Montes
3c3d87756f snap: release 1.6.1
bump snap version to 1.6.1

fixes #426

Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-04-08 11:00:57 -05:00
Archana Shinde
2ccff837f9
Merge pull request #409 from grahamwhaley/20190328_drop_annotations
kata-deploy: remove Trusted annotations from examples
2019-04-05 12:52:44 -07:00
Eric Ernst
253cd9dd7b
Merge pull request #414 from grahamwhaley/20190329_annotate_crioconf
kata-deploy: crio.conf: Add some whitespace and comments
2019-04-04 20:43:58 -07:00
Eric Ernst
d329d0781b
Merge pull request #371 from egernst/probot-stale
stale: add initial configuration for stale probot
2019-04-04 20:43:30 -07:00
Julio Montes
3c0cb089e2
Merge pull request #420 from devimc/topic/configureQemu3
scripts: update configure-hypervisor.sh
2019-04-04 15:07:52 -06:00
Eric Ernst
18bbbd47a6 stale: add initial configuration for stale probot
To assist in tracking older issues/PRs, let's add a tool for marking
issues and pull requests as being stale after 60 days of inactivity. A
stale issue/PR will be closed after 7 days of being marked stale.

Fixes: #366

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-04-04 13:48:15 -07:00
Julio Montes
df2dc3521f scripts: update configure-hypervisor.sh
Update configure hypervisor to support QEMU 3 and 4

fixes #419

Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-04-04 11:35:40 -06:00
Tuan Hoang
ebefdea1a7 kernel: disable ZSWAP, remove zVM hypervisor on s390x
Unless we run kata VM as a hypervisor, we may need
CONFIG_S390_HYPFS_FS and CONFIG_SYS_HYPERVISOR.

CONFIG_S390_VMUR is for z/VM hypvervisor.

Remove CONFIG_ZSWAP and its dependencies to match other arches.

Fixes: #421

Signed-off-by: Tuan Hoang <tmhoang@linux.ibm.com>
2019-04-04 12:42:57 +02:00
Eric Ernst
9f86c31e10
Merge pull request #417 from gabibeyer/updatedocs
doc: update architecture.md link
2019-04-02 14:13:00 -07:00
Gabi Beyer
7f14430421 doc: update architecture.md link
update architecture.md link, since it has moved to within the
design/ directory.

Fixes: #418

Signed-off-by: Gabi Beyer <Gabrielle.n.beyer@intel.com>
2019-04-02 09:34:00 -07:00
Jose Carlos Venegas Munoz
bb0a5635eb
Merge pull request #411 from kata-containers/snap-next
snap: release 1.6.0
2019-03-29 08:41:22 -06:00
Graham Whaley
af74d18014 kata-deploy: crio.conf: Add some whitespace and comments
When writing our runtime configs to crio.conf, let's add some
whitespace and comments to make it clearer, and fit in with the
rest of the crio.conf file.

Fixes: #412

Signed-off-by: Graham Whaley <graham.whaley@intel.com>
2019-03-29 11:50:09 +00:00