summaryrefslogtreecommitdiffstats
path: root/patches/fuel-plugin-opendaylight
AgeCommit message (Collapse)AuthorFilesLines
2017-03-17Add copyright header to patch filesCatalina Focsa2-0/+16
JIRA: ARMBAND-236 Change-Id: I91c4956b5baa479995bff2f569a321b8a0b421c0 Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
2017-03-03fuel-plugin-odl: Fix deploy on x64 due to leveldbDan Andresan1-17/+10
leveldbjni class is used to patch odl for aarch64 When run on x64, the class is not declared (it is filtered out). Nevertheless, the puppet dependecy required the now undeclared class. Fix consists in always using leveldbjni class, but on x64 it does nothing. The architecture dependent logic is thus contained in leveldbjni. JIRA: ARMBAND-229 Change-Id: If61f4fe3dcca0b2cff38ffcfc2321ed4b43bc2b4 Signed-off-by: Dan Andresan <dan.andresan@enea.com>
2017-02-24fuel-plugin-odl: install_quagga: Parallel buildAlexandru Avadanii1-0/+20
Change-Id: I6b0de1cb7bff9d79d804795c428fe7d5ca2a070a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-01-30Fuel-plugin-odl: fix ODL cache corruptionDan Andresan1-7/+20
Modify Puppet recipe to restart Opendaylight service after leveldbjni This avoids a cache corruption described in ARMBAND-211 JIRA: ARMBAND-211 Change-Id: Iab126c7058032044c1789ea41c17ba15ced73b77 Signed-off-by: Dan Andresan <dan.andresan@enea.com>
2017-01-25fuel-plugin-odl: Patch leveldb before jetty.xmlAlexandru Avadanii1-24/+20
With systemd, leveldb patching happens too late, and the cache (/opt/opendaylight/data/cache) gets corrupted. Try moving the leveldbjni puppet class before jetty.xml patching, and also transform notification arrow into simple ordering arrow. While at it, simplify patch by removing obsolete fragments. JIRA: ARMBAND-202 Change-Id: I168b13266f2b4eeac4b8c8008d248f1884858b67 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-01-21Uplift Armband to Fuel NewtonAlexandru Avadanii4-166/+11
[ 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 <Alexandru.Avadanii@enea.com> Signed-off-by: Dan Andresan <dan.andresan@enea.com>
2016-12-01fuel-plugin-opendaylight: Upstart service: RespawnAlexandru Avadanii1-0/+38
On arm64, JVM sometimes (~10%) crashes at the very start, due to JIT issues in our openjdk8 package. We can't really solve the JVM on arm64 issues in the near future, so we will try to work around the issue by configuring the ODL service as respawn-able (see [1] for more details). Note: This is specific to Ubuntu Trusty (14.04), which uses upstart, for Ubuntu Xenial (or anything else >14.x), which uses systemd, a different, equivalent mechanism should be used. [1] http://upstart.ubuntu.com/cookbook/#respawn JIRA: ARMBAND-134 Change-Id: I0dc82e4a6d0cc485e981477e6a25dbad95db930b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-20fuel-plugin-opendaylight: Prebuilt leveldbjni DEBAlexandru Avadanii1-231/+20
Switch from deploy time building of leveldb + leveldbjni to using a prebuilt artifact, shipped as a DEB package from Armband repos. JIRA: ARMBAND-114 Change-Id: Ic7a52c78e803c1a6ebda1f127774959a0880a5a3 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-09build: Rework patch mechanism for Fuel submodulesAlexandru Avadanii3-20/+20
While refactoring the patching mechanism, take care of: - Sync submodule handling with Fuel@OPFNV; - build: Investigate/prepare for moving patches to Fuel@OPNFV; - build: Investigate divergent fuel-mirror; - ISO build: cacheid for Fuel comps should not depend on Armband git commit; CHANGE: Rename/shuffle patches while grouping them in "features", preparing for upstreaming them to Fuel@OPNFV and beyond. CHANGE: Allow linking patches for better representing the dependency between one patch and different features. e.g. 0001-Add-arch-to-nailgun-release-and-target-image.patch: - part of `multiarch-fuel`, because it extends Fuel; - part of `direct-kernel-boot`, as arch is required for that; - part of `cross-bootstrap`, target image is arch-dependent; NOTE: Patch links are not staged to Fuel@OPNFV, they only serve as markers that a specific patch is part of a feature. CHANGE: Kill all Fuel component submodules, now handled in Fuel@OPNFV: - fuel-agent - fuel-astute - fuel-library - fuel-mirror - fuel-nailgun-agent - fuel-web CHANGE: Move armband-fuel-config.mk to armband git root. FIXME: m1.micro-Increase-profile-RAM-size-to-128MB.patch is NOT part of `cross-bootstrap` feature, but patch context says so ... FIXME: 0001-Add-arm64-deb-repositories-setup.patch is broken at `make patches-export` by removing spaces at EOL. v2 -> v3: * Phony patch support (links to show a patch belongs to a feature); * Updated README.md v3 -> v7: * Re-export Fuel submodules & plugins patches (update patch context); * Update Cavium mail addresses (s/caviumnetworks.com/cavium.com/); * Ignore submodule changes; * Add armband git repo info to gitinfo_fuel.txt at build time; Implements: ARMBAND-136 Closes-bug: ARMBAND-95 Closes-bug: ARMBAND-93 Closes-bug: ARMBAND-92 Change-Id: I1a236d9f43b2e6dca22055911f696b43c22b5973 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-08-25Rebase: Account for ODL plugin upstream changesAlexandru Avadanii1-1/+1
Change-Id: I854bedd7dd61cf10239f8592336a86b92d78d0bc Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-07-13leveldb: Use odl_package var for ODL pkg version.Alexandru Avadanii1-1/+1
Change-Id: I220b364d2aecc5e08b3c90c451acf26e5d8ea0d7 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-07-12ODL wget: --no-check-certificate for local cache.Alexandru Avadanii1-0/+42
Change-Id: Idbc45b4d1aeddf5450b756d23faf56c95fccc975
2016-07-05ODL: Rework opnfv-quagga building/packaging.Alexandru Avadanii2-30/+91
My initial goal was to split the ODL patch in two patches: - leveldb + leveldbjni arm64 support; - opnfv-quagga building/packing for multiple archs (UBUNTU_ARCH); However, 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 or are refactored, rely on forked repository that contains above patches [3] on branch "stable/colorado". opnfv-quagga patch adding UBUNTU_ARCH parsing is more or less there to detect missing DEBs, rather than filter prebuilt DEBs, which for now only cover "amd64 arm64". [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 Change-Id: I022c1e82531d82422486f2041c70a3f50b6ca386 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-07-01Rebase: Deal with upstream ODL Boron + OVS bump.Alexandru Avadanii1-1/+1
Change-Id: Iea330d6d778ff5034e1e801d20fa74485e302a95 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-29ODL plugin: rebase for JAVA8.Alexandru Avadanii1-45/+9
Upstream change [1] required a rebase of our patch and also transitioning leveldb build to using JAVA8. FIXME: Transform JAVA_HOME hardcodes into something like (see [1]): JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:/jre/bin/java::") https://gerrit.opnfv.org/gerrit/#/c/16091/ Change-Id: I7ea6e3989e575754a389115d44cc44e4c416b4d9 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-04Rebase: ODL Fuel plugin arm64 support patch.Alexandru Avadanii1-26/+21
ODL plugin package is now arch-independent, drop arm64 hardcode. FIXME: Some arm64 hardcodes remain in place, like installing quagga package. Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-01Upstream: ODL file limit patch was merged upstreamAlexandru Avadanii1-31/+0
See upstream commit [1]. [1] https://github.com/openstack/fuel-plugin-opendaylight/ commit/5012455d58ddfda5894130ca14d8fb7d6b4c8b60
2016-05-15Increase open file limit for OpenDaylightStanislaw Kardach1-0/+31
Upstart scripts by default do not run scripts in a shell which results in limits from `/etc/security/limits.conf` not be taken into account and results in the default value (4096) to be taken. This may prove problematic for OpenDaylight during initialization. On Cavium ThunderX we have noticed OpenFlow controller initialization failures caused by hitting this limit. OPNFV is increasing the `nofile` limit to 112640 for OpenStack services which is why I'm using this value here. Bug report filed to Fuel@OPNFV (see [1]). [1] https://jira.opnfv.org/browse/FUEL-140 Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
2016-04-20Cleanup patch-export bugsStanislaw Kardach1-5/+5
2016-04-17Rebase after "Bugfix Broadcast Group".Alexandru Avadanii1-5/+4
While we're at if, fix whitespace errors in affected patches. Change-Id: Ic14e3e13f9503ab4b9307e55c731825b8a33da3b
2016-03-22Add fixes and improvements for arm64 deploymentFlorin Dumitrascu1-0/+378
[ Florin Dumitrascu <florin.dumitrascu@enea.com> ] * arm64 support for OpenDaylight Fuel Plugin [ Stanislaw Kardach <kda@semihalf.com> ] * Limit ESP to first drive * Remove default+timeout+tr from cobbler profile * Fix puppet syntax errors * Disable usb tablet on aarch64 * Support direct kernel boot for CirrOS TestVM on aarch64 * Remove git version signature not to confuse patches-export * Fix VGA support for CirrOS TestVM * Makefile: Add clean-{docker,build}. [ Alexandru Avadanii <Alexandru.Avadanii@enea.com> ] * Performance: Use gzip instead of xz compression. * Switch mirror proto from https to http. * Update TODO with remaining tasks. * Disable amd64 Liberty fixture (no multi-arch support yet). * m1.micro: Increase RAM size to 128MB for aarch64 images. Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> Signed-off-by: Florin Dumitrascu <florin.dumitrascu@enea.com> Signed-off-by: Stanislaw Kardach <kda@semihalf.com>