[meta-virtualization] [meta-cloud-services][PATCH] meta-openstack: linux-yocto: Remove non-existing kernel options

2019-10-12 Thread zhe.he
From: He Zhe The following kernel options have been removed from kernel. CONFIG_NF_NAT_PROTO_SCTP removed by faec18dbb0405 ("netfilter: nat: remove l4proto->manip_pkt") CONFIG_NF_NAT_IPV4 removed by 3bf195ae6037e ("netfilter: nat: merge nf_nat_ipv4,6 into nat core")

[meta-virtualization] [meta-cloud-services] [PATCH 2/2] consul: Not automatically start system service on boot

2019-09-09 Thread zhe.he
From: He Zhe The systemd service needs to be tuned according to various use cases and cannot be able to always start successfully for example when there is no network interface named br0 by default. Thus the default configuration is mainly used as an example. Let's not automatically start it on

[meta-virtualization] [meta-cloud-services] [PATCH 1/2] consul: Upgrade to 1.6.0

2019-09-09 Thread zhe.he
From: He Zhe 1.6.0 is the latest release. Signed-off-by: He Zhe --- recipes-connectivity/consul/consul_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-connectivity/consul/consul_git.bb b/recipes-connectivity/consul/consul_git.bb index ab78cbd..f3e64e9

[meta-virtualization] [PATCH] libvirt: Do not change /var/lib/libvirt/qemu for mips and mips64 in do_install

2019-07-24 Thread zhe.he
From: He Zhe qemu does not support mips and mips64 and thus /var/lib/libvirt/qemu is not generated. Do not change it. Signed-off-by: He Zhe --- recipes-extended/libvirt/libvirt_5.5.0.bb | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git

[meta-virtualization] [PATCH v2] libvirt: libvirtd: Facilitate using tls connection mode

2019-07-12 Thread zhe.he
From: He Zhe tls is the default network connection mode of libvirtd upstream, though we use tcp mode as default. tls requires necessary keys and certificates of certificate authority, server and client to be properly generated and deployed. Otherwise servers and clients cannot be connected.

[meta-virtualization] [PATCH] kernel: Add conditional inclusion of linux-yocto_virtualization.inc for rt kernel

2019-06-10 Thread zhe.he
From: He Zhe This is the same as other kernel bbappend. Signed-off-by: He Zhe --- recipes-kernel/linux/linux-yocto-rt_%.bbappend | 1 + 1 file changed, 1 insertion(+) create mode 100644 recipes-kernel/linux/linux-yocto-rt_%.bbappend diff --git

[meta-virtualization] [PATCH] lxc: Correct CONFIG_CGROUP_NET_PRIO setting

2019-03-14 Thread zhe.he
From: He Zhe Since af6363374cbd ("cgroup: make CONFIG_CGROUP_NET_PRIO bool and drop unnecessary init_netclassid_cgroup()"), CONFIG_CGROUP_NET_PRIO has become a bool option. Forcedly setting it to "m" would end up with "n". Change it to "y" here. Signed-off-by: He Zhe ---

[meta-virtualization] [meta-cloud-services] [PATCH] kernel: Remove redundant config fragment

2019-02-26 Thread zhe.he
From: He Zhe This fixes 01a28c32acb2 ("linux/nf.cfg: CONFIG_NF_CONNTRACK_IPV4 was replaced by CONFIG_NF_CONNTRACK") which duplicates a config fragment and causes the following warning. Warning: Value of CONFIG_NF_CONNTRACK is defined multiple times within fragment

[meta-virtualization] [meta-cloud-services] [PATCH] kernel: Remove redundant config fragment

2019-02-26 Thread zhe.he
From: He Zhe This fixes 01a28c32acb2 ("linux/nf.cfg: CONFIG_NF_CONNTRACK_IPV4 was replaced by CONFIG_NF_CONNTRACK") which duplicates a config fragment and causes the following warning. Warning: Value of CONFIG_NF_CONNTRACK is defined multiple times within fragment

[meta-virtualization] [PATCH] kernel: forcedly load nf_conntrack_ipv6 to work around kernel module loading failure

2018-09-26 Thread zhe.he
From: He Zhe In the v4.18 kernel, there is a problem with the locking and init sequence of the kernel modules. This would cause nf_conntrack_ipv6 failed to be loaded. In kernel v4.19, nf_conntrack_ipv6 has been merged to nf_conntrack and the problematic code has gone. This patch just works

[meta-virtualization] [PATCH] containerd: Disable for all mips machines

2018-09-24 Thread zhe.he
From: He Zhe containerd does not support mips since it depends on boltdb which does not support mips. Signed-off-by: He Zhe --- recipes-containers/containerd/containerd.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-containers/containerd/containerd.inc

[meta-virtualization] [PATCH] lxc: Make named avoid listening on lxc network interface

2018-09-11 Thread zhe.he
From: He Zhe lxc-net wants to take care of DNS itself using dnsmasq, while named in bind does the same thing on all network interfaces by default and causes the following error. dnsmasq: failed to create listening socket for 10.0.3.1: Address already in use Failed to setup lxc-net.

[meta-virtualization] [PATCH] spice: Fix build failures

2017-07-23 Thread zhe.he
From: He Zhe Backport 3cb746329ea4846bd9c65e0198e69423379b6f62 "Use PRI macros in printf to keep compatibility between 32/64bit system" from upstream to fix the following errors: server/jpeg_encoder.c:639:17: error: format '%lu' expects argument of type 'long unsigned

[meta-virtualization] [PATCH] spice: Fix compilation error

2017-06-29 Thread zhe.he
From: He Zhe | ../../git/server/red_parse_qxl.c:367:18: error: 'BITMAP_FMT_IS_RGB' defined but not used [-Werror=unused-const-variable=] | static const int BITMAP_FMT_IS_RGB[] = {0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1}; Signed-off-by: He Zhe ---

[meta-virtualization] [PATCH] glusterfs: Move from meta-openstack to meta-cloud-services

2017-06-28 Thread zhe.he
From: He Zhe It's not an openstack specific package. Signed-off-by: He Zhe --- .../files/0001-Fix-for-mount.glusterfs-not-accepting-version-argume.patch | 0 .../recipes-extended => recipes-extended}/glusterfs/files/glusterd-ovp| 0

[meta-virtualization] [PATCH] python-pyparsing: Move from meta-openstack to meta-cloud-services

2017-06-28 Thread zhe.he
From: He Zhe It's not an openstack specific package. Signed-off-by: He Zhe --- .../python/python-pyparsing_2.0.1.bb | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {meta-openstack/recipes-devtools =>

[meta-virtualization] [PATCH] ovs:fix cross compilation failure

2017-06-27 Thread zhe.he
From: He Zhe configure with_dpdk and cross compile fails with: "configure: error: cannot check for file existence when cross compiling" This is due to the usages of AC_CHECK_FILES. AC_CHECK_FILES only works when not cross compiling. It test a feature of the host machine,

[meta-virtualization] [PATCH] ovs:fix cross compilation failure

2017-06-27 Thread zhe.he
From: He Zhe configure with_dpdk and cross compile fails with: "configure: error: cannot check for file existence when cross compiling" This is due to the usages of AC_CHECK_FILES. AC_CHECK_FILES only works when not cross compiling. It test a feature of the host machine,

[meta-virtualization] [PATCH] python-greenlet: uprev to 0.4.9

2017-06-27 Thread zhe.he
From: Amy Fong python-greenlet bugfixes from 0.3.4 - unstable issues. This resulted in the docker-registry (in some build scenarios) crashing repeatedly. Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/gunicorn/arbiter.py", line 507,

[meta-virtualization] [PATCH] protobuf protobuf-c: Remove COMPATIBLE_HOST

2017-06-26 Thread zhe.he
From: He Zhe protobuf and protobuf-c can actually work with all arches but they were limited and merged upstream by 5e5e09a18199108de29bfee101c7b311ef094d94 This patch removes the COMPATIBLE_HOST to re-enable them to work with other architectures. Signed-off-by: He Zhe

[meta-virtualization] [PATCH] lxc: add gmp libidn gnutls nettle rdepends

2017-06-22 Thread zhe.he
From: He Zhe Fix the following QA warnings: QA Issue: lxc rdepends on gmp, but it isn't a build dependency, missing gmp in DEPENDS or PACKAGECONFIG? [build-deps] QA Issue: lxc rdepends on libidn, but it isn't a build dependency, missing libidn in DEPENDS or PACKAGECONFIG?

[meta-virtualization] [PATCH] criu: add bash rdepends

2017-06-21 Thread zhe.he
From: He Zhe Fix the following QA warning: QA Issue: /usr/libexec/criu/scripts/systemd-autofs-restart.sh contained in package criu requires /bin/bash, but no providers found in RDEPENDS_criu? [file-rdeps] Signed-off-by: He Zhe ---

[meta-virtualization] [PATCH] criu: add libbsd rdepends

2017-06-21 Thread zhe.he
From: He Zhe Fix the following QA warning: QA Issue: criu rdepends on libbsd, but it isn't a build dependency? [build-deps] This had been fixed by 1fd94d853545b55173b1f0e2cf683a5d21f8cd7b, but then was overwritten by b9b7ece0cd52966467035fb71ad9ba472bf24b88 Signed-off-by:

[meta-virtualization] [PATCH 1/2] protobuf: Fix QA error for GNU_HASH

2016-10-19 Thread zhe.he
From: He Zhe Add LDFLAGS to examples makefile to pass default ld flags. "ERROR: protobuf-3.0.0-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '.../protobuf/3.0.0-r0/packages-split/protobuf-ptest/usr/ lib/protobuf/ptest/add_person_cpp'" Signed-off-by: He Zhe

[meta-virtualization] [PATCH 2/2] protobuf: ptest: Fix QA file-rdep warning

2016-10-19 Thread zhe.he
From: He Zhe Add bash to ptest's RDEPENDS "WARNING: QA Issue: /usr/lib64/protobuf/ptest/run-ptest_protobuf-ptest contained in package protobuf-ptest requires /bin/bash, but no providers found in its RDEPENDS [file-rdeps]" Signed-off-by: He Zhe ---

[meta-virtualization] [PATCH] libvirt: Add missing test helpers and remove windows 1252

2016-09-05 Thread zhe.he
From: He Zhe Add missing test helpers We don't support windows encoding so remove that case Signed-off-by: He Zhe --- ...move-Windows-1252-check-from-esxutilstest.patch | 28 + .../0001-ptest-add-missing-test_helper-files.patch |

[meta-virtualization] [meta-cloud-services] [PATCH] python-cinder: Move tgt config files to avoid confliction

2016-06-13 Thread zhe.he
From: He Zhe We might have the following warning and error since both tgt and python- cinder create /etc/tgt/targets.conf. This patch creates conf.d/ under /etc/tgt/ and puts python-cinder's config file there. tgt's config file will include it automatically. warning:

[meta-virtualization] [meta-cloud-services] [PATCH] python-repoze.lru: Add license to avoid warning

2016-06-06 Thread zhe.he
From: He Zhe "WARNING: python-repoze.lru: No generic license file exists for: BSD-derived in any provider" Add BSD Modification Variant license with copyright descriptions. Signed-off-by: He Zhe ---

[meta-virtualization] [PATCH] protobuf: Add RDEPENDS for ptest

2016-05-22 Thread zhe.he
From: He Zhe This patch adds bash and python to ptest's RDEPENDS to avoid the following warning: "WARNING: QA Issue: /usr/lib64/protobuf/ptest/run-ptest_protobuf-ptest contained in package protobuf-ptest requires /bin/bash, but no providers found in its RDEPENDS

[meta-virtualization] [meta-cloud-services][PATCH] python-repoze: Add license to avoid warning

2016-05-20 Thread zhe.he
From: He Zhe "WARNING: python-repoze.who: No generic license file exists for: BSD-derived in any provider" Add BSD Modification Variant license Signed-off-by: He Zhe --- meta-openstack/licenses/BSD-Modification | 35 ++

[meta-virtualization] [meta-cloud-services][PATCH] qemu: Add packageconfig for libseccomp to avoid rdepend QA warning

2016-05-20 Thread zhe.he
From: He Zhe "WARNING: QA Issue: qemu rdepends on libseccomp, but it isn't a build dependency? [build-deps]" Currently qemu itself checks and links with libsecomp(if version >= 2.1.1) for x86 and x86-64, since it is not specified in configure, and causes the above warning.

[meta-virtualization] [PATCH] openvswitch: ptest: Fix python path

2016-04-18 Thread zhe.he
From: He Zhe Set PYTHON to TARGET_PYTHON for running on target Signed-off-by: He Zhe --- .../openvswitch-ptest-Fix-python-path.patch| 30 ++ recipes-networking/openvswitch/openvswitch_git.bb | 1 + 2 files changed, 31

[meta-virtualization] [PATCH 1/1] openvswitch: Fix ptest for v2.5

2016-04-04 Thread zhe.he
From: He Zhe - Copy certain files from srcdir since it has been different from build directory. - Copy more necessary files for new added test cases. - Modify config files for running on target. - Add necessary RDEPENDS Signed-off-by: He Zhe ---

[meta-virtualization] [PATCH 0/1] openvswitch: Fix ptest for v2.5

2016-04-04 Thread zhe.he
From: He Zhe - Copy certain files from srcdir since it has been different from build directory. - Copy more necessary files for new added test cases. - Modify config files for running on target. - Add necessary RDEPENDS testsuite.log on genericx86-64: ... ##

[meta-virtualization] [PATCH 1/1] openvswith: Uprev to latest version 2.5.0

2016-03-29 Thread zhe.he
From: He Zhe Uprev to git rev bb429e09f7783f1ba23ac0682ed9edf424f0cfbb (based on 2.5.0) Signed-off-by: He Zhe --- ...-8c0b419a0b9ac0141d6973dcc80306dfc6a83d31.patch | 69 ++ ...-bb429e09f7783f1ba23ac0682ed9edf424f0cfbb.patch | 69

[meta-virtualization] [PATCH 0/1] openvswith: Uprev to latest version 2.5.0

2016-03-29 Thread zhe.he
From: He Zhe Test it as follow: host: root@genericx86-64:~# nohup qemu-system-x86_64 -nographic -k en-us -m 256 -net nic,macaddr=1a:46:0b:ca:bc:7a,model=virtio -net tap,script=/etc/qemu-ifup1 -enable-kvm -kernel /boot/bzIma ge -append