aboutsummaryrefslogtreecommitdiffstats
path: root/patches
AgeCommit message (Collapse)AuthorFilesLines
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> (cherry picked from commit 57675c1505d8d64dd6e0308b18a1b404f978fa7a)
2016-11-30CI: deploy-cache STUB: ci/deploy.sh -C arg defAlexandru Avadanii1-0/+76
Prepare support for caching deploy artifacts, like bootstraps and target images, which take a lot of time at each deploy to be built, considering it requires a cross-debootstrap via qemu-user-static and binfmt. NOTE: THIS IS JUST A STUB. Full implementation will be cherry-picked from master after proper testing, but we need to implement arg support so we don't break on unknown "-C" arg passed down from Releng. JIRA: ARMBAND-172 Change-Id: Id2229767eb423df11784bb7621499902387d2f69 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-22Merge changes from topic 'bugfix/ARMBAND-167-stable/colorado' into ↵Alexandru Avadanii3-238/+76
stable/colorado * changes: fuel-plugin-opendaylight: Prebuilt leveldbjni DEB f_odlpluginbuild: Armband prereq in packages.yaml
2016-11-22Merge "build: Add local Ubuntu mirror to target image" into stable/coloradoAlexandru Avadanii1-1/+13
2016-11-22fuel-plugin-opendaylight: Prebuilt leveldbjni DEBAlexandru Avadanii3-254/+52
Switch from deploy time building of leveldb + leveldbjni to using a prebuilt artifact, shipped as a DEB package from Armband repos. JIRA: ARMBAND-114 Conflicts: patches/fuel-plugin-opendaylight/0001-ODL-leveldb-leveldbjni-Enable-arm64-support.patch Change-Id: Ic7a52c78e803c1a6ebda1f127774959a0880a5a3 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-22AArch64: Ubuntu local partial mirror: Add arm64Alexandru Avadanii6-47/+803
NOTE: Temporarily patch "packetary" in Armband until we upstream two small fixes. Bootstrap build, deploy target image build: - Switch from public Ubuntu mirrors to 10.20.0.2. Squash master fixes: - f_repobuild: Fixup missing OPNFV plugin deps Packetary solves "libasound2" with "liboss4-salsa-asound2" from universe, leading to openjdk failing to install. Work around this by altering recently introduced packetary-driven local mirror build to include OPNFV plugin deps into "main" comp. - local mirror: Add missing vgabios for arm64 JIRA: ARMBAND-35 JIRA: ARMBAND-169 Conflicts: .gitmodules armband-fuel-config.mk patches/opnfv-fuel/0022-bootstrap-Use-public-Ubuntu-ports-mirrors.patch patches/opnfv-fuel/0043-build-Add-armband.mk-config.patch Change-Id: I14645cfeebb486063e7b8198de273f68285b11cd Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-19f_odlpluginbuild: Armband prereq in packages.yamlAlexandru Avadanii1-0/+40
We need to explicitily add our Armband leveldb patching prereq tools, like maven, git, make etc. to the ODL plugin's packages.yaml, so they are included in the offline Ubuntu mirror. While at it, also add openjdk-8-jre amos version additional dep: - libasound2 JIRA: ARMBAND-167 Change-Id: I17fa7a4727b8a553f5a46ab13267380a8864c728 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit adf8af4f0edfa3cde7a61b5c8af8379fafa5a7b6)
2016-11-19fuel-plugin-ovs: Fix missing git changeAlexandru Avadanii1-2/+3
Upstream Fuel@OPNFV recently set the git change for upstream fuel-plugin-ovs git repo, aside from setting branch to stable/9.0. This led to Armband patches being silently ignored and building an "amd64"-only version of the OVS plugin in Armband. NOTE: Since Armband uses git submodules to track the patches plugins, including fuel-plugin-ovs, we automatically fetch latest branch HEAD from upstream plugins (by using `git submodules update --remote`), so the Fuel recent pinning is bypassed anyway. JIRA: ARMBAND-166 Change-Id: Ide96f16f9b2577fc184c759dd153298df0be24c6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-17build: Add local Ubuntu mirror to target imageAlexandru Avadanii1-1/+13
When deploying via Jenkins CI, the repos used for target image building are overridden to use the local Ubuntu mirror on Fuel Master instead of fetching packages from internet. However, when deploying manually, only bootstrap image building benefits from the local Ubuntu mirror. While keeping the internet mirrors, add the local Ubuntu mirror to target image build repo list. The first commit (bcdc1eaa74d5efd5f8c80600fb30d722bae9a421) confused the URL of the local Ubuntu mirror with the local MOS mirror, so I also cherry-picked a fixup on top. JIRA: ARMBAND-35 Change-Id: Ibd58067703ce6370781a6b54fd01ce52e29686ac Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit bcdc1eaa74d5efd5f8c80600fb30d722bae9a421) (cherry picked from commit 489b1cb8de7d47c818475f8830e3ea689365e2b3)
2016-11-16build/docker: Import Enea Armband keysAlexandru Avadanii2-3/+25
JIRA: ARMBAND-96 Conflicts: patches/opnfv-fuel/0048-fpb-Support-multiple-versions-of-packages.patch Change-Id: I28ab3030d3f31c5734508838985412a33334570a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-03fuel-plugin-ovs: Bind to stable/9.0 branchAnders Roxell1-0/+77
Previously, fuel-plugin-ovs did not have a stable branch for Fuel 9, but now it does, and since fuel-plugin-ovs/master was reworked for Fuel 10, we need to switch to it. v1 -> v2: Backported one patch that was not cherry-picked on stable. Conflicts: .gitmodules Change-Id: I58467e441763b35e5296cb29433eb941e65eec3f Signed-off-by: Anders Roxell <anders.roxell@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-28patches/fuel-plugin-ovs: fix version bump of libxenstore3.0Anders Roxell1-1/+5
Change-Id: I4c232fec4f35add7b04faf305cdf53dde70d7e92 Signed-off-by: Anders Roxell <anders.roxell@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-18FIXME: build: Revert using mirror snapshotsAlexandru Avadanii1-0/+43
Armband does not yet have DEB/RPM repo snapshots, so revert upstream Fuel@OPNFV change enabling them. JIRA: ARMBAND-155 Change-Id: Ib08c36bf28a66ef38d8b33031dcbf363fb34123c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 7684dd13589cab6860e514a9c3b8043666c818da)
2016-10-12Cleanup: Remove obsolete Fuel@OPNFV patchesAlexandru Avadanii2-102/+0
Since we are now building inside docker containers, it is no longer necessary to use `python-debian` from pip repo instead of Ubuntu. Also drop repeating the repo mirror build in case of failure. NOTE: This cherry-pick DOES NOT remove Ubuntu mirror blacklists, as it does on armband/master, since Fuel@OPNFV/stable/colorado still uses the old mirror selection mechanism. Change-Id: I62890b6ae7977cd8a39c06ce17c8964e6cb1dddb Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-12Upstream: Fuel@OPNFV: Fuel Master VM templatesAlexandru Avadanii5-197/+3
While at it, also upstream: "build: Use OPNFV_GIT_SHA for ISO preparer ID" JIRA: ARMBAND-98 JIRA: ARMBAND-146 Conflicts: patches/opnfv-fuel/0004-Fuel-VM-for-the-Enea-Armband-lab.patch patches/opnfv-fuel/0046-build-Use-OPNFV_GIT_SHA-for-ISO-preparer-ID.patch Change-Id: Ifcd7b3041d172aa492e26477c0872cd96efd90ba Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-12fuel-plugin-tacker: Enable build for ArmbandAlexandru Avadanii1-1/+1
JIRA: ARMBAND-143 Conflicts: armband-fuel-config.mk Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> Change-Id: I388e324b39aa2cec015bc65559f4c363bc37abdd
2016-10-07Rebase: docker tag reuse context adjAlexandru Avadanii1-3/+1
Change-Id: If6a3472a2f8fe64db2469536fe4d12d88e7a61f0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 15aac10c6b474790aedfd88d80c5e9d86a7f36b2)
2016-10-06net-check: add support for faulty operstateStefan Sicleru1-0/+63
Some eth drivers, such as those for APM X-Gene Mustang Board's NICs, do not advertise operstate properly in sysfs, ie. it is advertised as "unknown" whereas ethtool shows the NIC as fully functional with link detected. This further affects "ip link show" output which is parsed within _check_iface_ready() method. Replace "ip link show" command with "ethtool" in order to obtain proper results when operstate is unknown. Launchpad bug: https://bugs.launchpad.net/fuel/+bug/1618480 Closes-bug: ARMBAND-140 Change-Id: If8e28d3720161d9ffe897b875af235561cf1062d Signed-off-by: Stefan Sicleru <stefan.sicleru@enea.com> (cherry picked from commit 42050fe09821b29b4879f77411eb558c57c302cc)
2016-09-27Add grub template to cobbler for MAC-filesMatei Valeanu1-20/+47
Closes-bug: ARMBAND-50 Change-Id: I9812066f2954cc02a49bfa19dbe9fc74b055e78d Signed-off-by: Matei Valeanu <Matei.Valeanu@enea.com> (cherry picked from commit cc19a840d7bd6826ffaf3a2bf8e84d492dacc4c9)
2016-09-19Rebase: updated blacklist for Ubuntu mirrorsAlexandru Avadanii1-2/+2
Change-Id: I404791b14603b4ebdd0be1010412ec77cf75a478 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit cfd8c76d1f84874504ca019398787db76cf3c007)
2016-09-19Upstream: move patches to repo-patches dirAlexandru Avadanii5-29/+16
Upstream change: [1] Slight rebase of our patches is now needed. [1] https://gerrit.opnfv.org/gerrit/#/c/20043/ Change-Id: I955ae3c5c304d8c8da6e42680c81e9255487fb68 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 957a16139281785c2a6685428f7b037d6578f08d)
2016-09-17fuel-library: nova: AArch64: enable hugepage suppAlexandru Avadanii2-1/+94
This patch adds AArch64 to the hardcoded lists of valid architectures for hugepage support. Closes-bug: ARMBAND-90 Change-Id: I3765e6bc314393a58db70590f3890fde206e3feb Signed-off-by: Veena Lingadahalli <vlingadahalli@mvista.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 2f4a34b88d18f7653934eaec25e99dba3bac5de6)
2016-09-15fuel-plugin-ovs: Simplify debian version stringsAlexandru Avadanii4-103/+118
Remove all suffixes from OVS debian packages, and simplify the plugin code handling the fetching of said packages. While at it, enable: - local mirror caches, by mounting /etc/hosts in the docker builder - HACK: mismatch between debian source versions and debian binaries Related-bug: ARMBAND-89 Change-Id: Ifbf0e11c90cf7b2f76ce72af8ca3469a33bee071 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 6be5639d8ce2f6e282db6f3d19699a341b9b491c)
2016-09-14AArch64: fuel-plugin-ovs enableAlexandru Avadanii9-1/+1069
OVS-DPDK-NSH is not supported on arm64 for now, see [1] Closes: ARMBAND-46 [1] https://jira.opnfv.org/browse/ARMBAND-86 Change-Id: I79b33bab7348e297c06ff4bb2bf7cc23f21eb7e3 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 5b49b2f7ea1485b56ebc7815b5a3803363ec29af)
2016-09-13Revert "patches, docs: Remove MySQL WSREP SST provider"Alexandru Avadanii2-0/+103
This reverts commit 8a696682b3fd0cb5f32ddaca8ede5db7b001a57f. Change-Id: Ib1698643639436243768f4a8209c4d68314a97ca (cherry picked from commit f5e0922b9282dccb5d79c80c58801f455495c4ce)
2016-09-11fuel-library: mysql: Fix spurious install timeoutsAlexandru Avadanii2-0/+150
Backport the following fuel-library fixes from Fuel 9.1: - wrong relationship in clusters mysql manifest - Rsyslog doesn't have write permission to /var/log/mysql/ directory These two bugs manifested as: - random deploy issues waiting for MySQL to sync, without the server being installed; - no MySQL logs were saved due to permission issues; Closes-bug: ARMBAND-78 Change-Id: I317e45d013229145e2ccbd8bb4f76ae03d544098 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit b5331973a5c755d1612d37d82841db5a98288489)
2016-09-09FIXME: deploy: EFI: Skip re-ordering boot via IPMIAlexandru Avadanii1-0/+31
On EFI systems deploys, altering the boot order via IPMI causes issues on some specific targets. Until we agree on an uniform solution for EFI systems + IPMI boot order handling, just skip altering it via IPMI. Related-bug: ARMBAND-71 Change-Id: I7790e1e8e3540d5ab10b8d7165316a04cf58faa4 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 946e599b00d0e9ebccb12eb0071eb25343ca3fac)
2016-09-08deploy: x2 timeout for fuel master installAlexandru Avadanii1-4/+10
Change-Id: I1281b0b6b9d631e371484795a53113032ebbc83c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 7561f5f237a6abf84f7fd8adff94069906aded95)
2016-09-06build: ubuntu mirror: blacklist another SE mirrorAlexandru Avadanii1-3/+6
SE mirrors are acting up lately, blacklist them: - ftp.availo.se - ftp.lysator.liu.se Change-Id: If4cc7c207fa7ce39821cc8a8f754a48f573ff374 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 812b9c2aee17342b5ba00f53b45cbc721fc4adef)
2016-09-06Merge "deploy: Attempt fixing random deploy timeouts" into stable/coloradoAlexandru Avadanii1-4/+5
2016-09-06Revert "EFI: Move patches to Fuel@OPNFV, upstream prep"Alexandru Avadanii4-198/+157
This reverts commit dff8f1a78db4a04dd30c2e0ac03a36cb0b198aa7. Change-Id: I317e0f6aa7665c28035307149e6e7d42fdf508f3 (cherry picked from commit 441caa623edf47dcf8944ed11aa3c193897dcf72)
2016-09-06Merge "Revert "submodule: Kill fuel-astute"" into stable/coloradoAlexandru Avadanii1-1/+4
2016-09-06Revert "submodule: Kill fuel-astute"Alexandru Avadanii1-1/+4
This reverts commit 41fc21bb87ee0ab245e8f6ada2ce49a45d633ede. Change-Id: I0f60787acc445555b255a92671ccf0ffe8610f78
2016-09-05Rebase: fuel-mirror upstream changesAlexandru Avadanii1-3/+1
Slight rebase after upstream change [1]. FIXME: While looking at [1], I noticed that Armband is not using the proper fuel-mirror version due to our divergent patch & build system. This should be fixed later. [1] https://gerrit.opnfv.org/gerrit/#/c/20317/ Change-Id: I55798ba1004312cd737b6613744683437e98865a (cherry picked from commit b4d5044e751801507738dc02d116436d909d2248) Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-09-05submodule: Kill fuel-astuteAlexandru Avadanii1-4/+1
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 376c76d05862ed38edeb217cd9480807571491a7) Change-Id: I376c76d05862ed38edeb217cd9480807571491a7
2016-09-05EFI: Move patches to Fuel@OPNFV, upstream prepAlexandru Avadanii4-157/+198
Now we can kill fuel-astute submodule. Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit dff8f1a78db4a04dd30c2e0ac03a36cb0b198aa7) Change-Id: Ie049062bb7a41adfbb056894c0a6f411a2d8c254
2016-09-02patches, docs: Remove MySQL WSREP SST providerAlexandru Avadanii2-103/+0
xtrabackup issues have been fixed with the latest version of percona-xtrabackup DEBs we added to linux.enea.com, so remove MySQL WSREP SST provider patches and corresponding docs. Closes-bug: ARMBAND-52 Change-Id: I743e9b6ed242cf15e3063d7dcf7e05d0cee198f2 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 8a696682b3fd0cb5f32ddaca8ede5db7b001a57f)
2016-09-01Upstream: extra interfaces cfgAlexandru Avadanii2-205/+0
Change-Id: Ibd522813a40a0b1c385c47e65f77b1a13c860269 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 6be72ecc09f8465469a0a304ffbd6abc47a12915)
2016-08-31Merge "Upstream: multiarch mirrors" into stable/coloradoAlexandru Avadanii2-280/+0
2016-08-31Merge "Upstream: delete old Fuel env if present" into stable/coloradoAlexandru Avadanii1-58/+0
2016-08-31Merge "Upstream: Fuel@OPNFV pulled patches" into stable/coloradoAlexandru Avadanii4-157/+0
2016-08-31docker: build: Fix docker connectivity lossAlexandru Avadanii1-15/+11
Change-Id: Iaabd176f4032494c8ea40fd1264dafcac01b4a43 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 662822c6f09be5b23dc3f39f85ee2f21a6d3d405)
2016-08-31Upstream: multiarch mirrorsAlexandru Avadanii2-280/+0
Change-Id: Ia54bd3955a3e3b534d8c4d8380de5870a106edc5 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit e799e8f3912dac025e5be5e8c748df8b68b7d06d)
2016-08-31Upstream: Fuel@OPNFV pulled patchesAlexandru Avadanii4-157/+0
Change-Id: Ic584d9b1eb179009256de8ccacfb7669976823c6 (cherry picked from commit 7236ccc7f9fcb9163562d88455c80339fa6efd58)
2016-08-31Upstream: delete old Fuel env if presentAlexandru Avadanii1-58/+0
Change-Id: I308eb1c2bfdf0fc568e7f351078cd7a3017aae4a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 3483c7fbcc24adeec5fea80c47cceb460325efc0)
2016-08-30deploy: Attempt fixing random deploy timeoutsAlexandru Avadanii1-4/+5
Most likely, when we configure an additional interface for Fuel Master, and Network Manager is restarted, our old ssh connection is timed out and needs to be re-established before checking for fuel bootstrap process via ssh.exec_cmd. Change-Id: I44589b2e8190008c8b1035d171cbb50270dfd98c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 471627d481b5d5905d1d322f21c3285b9d729e2d)
2016-08-29build: docker: Use host's network stackAlexandru Avadanii1-0/+32
Armband build benefits (or should have) of a local mirror for "linux.enea.com", which we used to inject into the build system by host's "/etc/hosts". After Armband switched to building inside docker, this change was silently discarded by containerization. The proposed solution uses hosts's network stack in all build containers. See [1] for full description. This change simplifies the network abstraction during build by NOT containerizing the containers' networking. The original motivation was pointing to local mirrors via host's "/etc/hosts", for which an alternative solution could be passing "-v /etc/hosts:/etc/hosts". [1] https://docs.docker.com/v1.8/articles/networking/ Change-Id: I31e3c787a432af49b4799f561669a0150668b222 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 6ae4e120c5f6aab6834e0ec42599e1b409a9af05)
2016-08-25Merge "fpb: Temporary fix for supporting multiple DEB ver" into stable/coloradoAlexandru Avadanii2-1/+56
2016-08-25Rebase: Account for ODL plugin upstream changesAlexandru Avadanii1-1/+1
Change-Id: I854bedd7dd61cf10239f8592336a86b92d78d0bc Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 0ef09dd55010b86fd5cc709cb9520e1a9d686c12)
2016-08-23fpb: Temporary fix for supporting multiple DEB verAlexandru Avadanii2-1/+56
Backport fpb change submmited in [1]. [1] https://review.openstack.org/#/c/311031/ Change-Id: I02ce8c6151799e3953587fce50cbe552a5c95c50 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit c2dd0b63510e4e882021360ab5f0287b6fc3c597)