From e42a9b3011f96ad26f4a19db77ac44cad31a4290 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Sun, 18 Dec 2016 16:53:26 +0100 Subject: Uplift Armband to Fuel Newton [ Dan Andresan ] - puppet: database: Fix Percona XtraBackup sync [ Alexandru Avadanii ] - disable all plugins; - re-enable remote tracking; - remove "Revert: Point to specific snapshot ..."; - patch context adjustments; - obsolete "kernel-bump", linux-image-lts-xenial is now the default; - network-checker iface state check now fixed upstream [1]; - fuel-nailgun-agent hugepage size should also check /proc/meminfo; - fuel-nailgun-agent CPU detection for AArch64; - nova AArch64 hugepage support is now upstream; - obsolete Cirros Test VM direct kernel boot (by switch to AAVMF): * f-l/0001-upload_cirros-Add-direct-kernel-boot-support.patch * f-w/0001-direct-kernel-boot-for-cirros.patch - rework m1.micro RAM size patch after puppet manifest split upstream; - re-enable arch-agnostic plugins which were rebased in Fuel@OPNFV: * f_yardstick-pluginbuild * f_congress-pluginbuild - do NOT retire MySQL SST provider patch series (nack: ARMBAND-186), rebase (and keep for now) MySQL SST provider patches, as trying to use xtrabackup-v2 revelead a regression since Colorado.3.0, and these patches simplify troubleshooting a lot; - AArch64: nova: libvirt: Use host-model cpu (ARMBAND-193); - AArch64: nova: libvirt: Use pointer_model instead of use_usb_tablet; - m1.micro RAM size insufficient for TestVM with AAVMF (s/128/256/) - switch Cirros TestVM to AAVMF from direct kernel boot; - backport nova libvirt driver fix for deleting instances booted with AAVMF firmware from [2]; TODO (later): - Include ISO build time fixes for cirros_testvm in Armband package; TODO (ODL, later): - test & revise leveldb patching; - bring back Qugga patching for arm64; - configure systemd service to automatically respawn; [1] https://review.openstack.org/#/c/417373/ [2] https://review.openstack.org/#/c/357190/ JIRA: ARMBAND-29 JIRA: ARMBAND-32 JIRA: ARMBAND-63 JIRA: ARMBAND-88 JIRA: ARMBAND-116 JIRA: ARMBAND-118 JIRA: ARMBAND-186 JIRA: ARMBAND-193 JIRA: ARMBAND-194 JIRA: ARMBAND-195 JIRA: ARMBAND-196 JIRA: ARMBAND-197 Change-Id: Ia99022e364e61245d109cabab9d0ed7157b4d2f5 Signed-off-by: Alexandru Avadanii Signed-off-by: Dan Andresan --- .../0002-opnfv-quagga-Build-for-UBUNTU_ARCH.patch | 70 ---------------------- 1 file changed, 70 deletions(-) delete mode 100644 patches/fuel-plugin-opendaylight/0002-opnfv-quagga-Build-for-UBUNTU_ARCH.patch (limited to 'patches/fuel-plugin-opendaylight/0002-opnfv-quagga-Build-for-UBUNTU_ARCH.patch') diff --git a/patches/fuel-plugin-opendaylight/0002-opnfv-quagga-Build-for-UBUNTU_ARCH.patch b/patches/fuel-plugin-opendaylight/0002-opnfv-quagga-Build-for-UBUNTU_ARCH.patch deleted file mode 100644 index e6e7716f..00000000 --- a/patches/fuel-plugin-opendaylight/0002-opnfv-quagga-Build-for-UBUNTU_ARCH.patch +++ /dev/null @@ -1,70 +0,0 @@ -From: Alexandru Avadanii -Date: Mon, 4 Jul 2016 20:44:49 +0200 -Subject: [PATCH] opnfv-quagga: Build for UBUNTU_ARCH. - -ODL itself is mostly arch-indep, but its deps (e.g. opnfv-quagga -and friends) are not. - -Introduce opnfv-quagga building/packing for multiple archs, listed -in UBUNTU_ARCH, which holds a space-separated list of target -arch(s), represented in `dpkg --print-architecture` format. -Only applicable when "BUILD_FOR=ubuntu". - -FIXME(armband): For now, only native building and prebuilt debs -are supported (no cross-building). - -Due to the design of opnfv-packaging repo, it is easier to: -- patch upstream sources to support native arm64 builds (see [1]); -- add prebuilt arm64 binaries to output dir in git repo (like amd64), -submitted as pull request upstream [2]; - -Until above OPNFV-QUAGGA changes land upstream and/or are refactored, -rely on forked repository that contains above patches [3] on -branch "stable/colorado", including prebuilt binaries (DEBs) for: -- amd64 (also available in upstream repo); -- arm64 (submitted upstream in [3]); - -[1] https://github.com/nikolas-hermanns/opnfv-quagga-packaging/pull/1 -[2] https://github.com/nikolas-hermanns/opnfv-quagga-packaging/pull/2 -[3] https://github.com/alexandruavadanii/opnfv-quagga-packaging - -Signed-off-by: Alexandru Avadanii ---- - pre_build_hook | 15 +++++++++++++-- - 1 file changed, 13 insertions(+), 2 deletions(-) - -diff --git a/pre_build_hook b/pre_build_hook -index 0296821..a6d55e9 100755 ---- a/pre_build_hook -+++ b/pre_build_hook -@@ -53,9 +53,17 @@ NETWORKING_ODL_BRANCH=${NETWORKING_ODL_BRANCH:-stable/mitaka} - OPNFV_QUAGGE_PACKAGING_REPO=${OPNFV_QUAGGE_PACKAGING_REPO:-https://github.com/nikolas-hermanns/opnfv-quagga-packaging} - OPNFV_QUAGGE_PACKAGING_BRANCH=stable/colorado - --# For which systems odl package should be build -+# For which systems odl package should be built - BUILD_FOR=${BUILD_FOR:-ubuntu} - -+# For which architecture(s) package should be built -+# Only applicable when "BUILD_FOR=ubuntu" -+# ODL itself is mostly arch-indep, but its deps are not -+# All archs should be represented in `dpkg --print-architecture` format -+# UBUNTU_ARCH holds a space-separated list of target arch(s) -+# FIXME(armband): For now, only native building is supported! -+UBUNTU_ARCH=${UBUNTU_ARCH:-$(dpkg --print-architecture)} -+ - DIR="$(dirname `readlink -f $0`)" - TMP_DIR="${DIR}/tmp" - MODULES="${DIR}/deployment_scripts/puppet/modules" -@@ -86,7 +94,10 @@ function add_opnfv_quagga { - sudo apt-get -y install `cat requirements.txt` - make -j6 - fi -- cp debian_package/* $path -+ # Filter only requested archs, bail on missing DEBs -+ for ARCH in ${UBUNTU_ARCH}; do -+ cp debian_package/*_${ARCH}.deb $path -+ done - popd - popd - -- cgit 1.2.3-korg