aboutsummaryrefslogtreecommitdiffstats
path: root/patches
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-10-17Merge "Revert "FIXME: Temporary: Use archive.ubuntu.com only""Alexandru Avadanii1-152/+0
2016-10-17Revert "FIXME: Temporary: Use archive.ubuntu.com only"Alexandru Avadanii1-152/+0
Now that [1] has been merged, we should stick to upstream behavior. [1] https://gerrit.opnfv.org/gerrit/#/c/22975/ This reverts commit f653f97dd2591f4cd5bcb4e76eb2134a93f6d460. Change-Id: I5f23dd6e1b113e8a7d06995e479287ff196410dd
2016-10-12Upstream: Fuel@OPNFV: Fuel Master VM templatesAlexandru Avadanii2-183/+0
While at it, also upstream: "build: Use OPNFV_GIT_SHA for ISO preparer ID" JIRA: ARMBAND-146 Change-Id: Ifcd7b3041d172aa492e26477c0872cd96efd90ba Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-10deploy: Reduce Fuel Master VCPU countAlexandru Avadanii1-1/+1
Fuel Master VM template has been updated to use: - 4 VCPUs (was 8 VPCUs); Related-bug: ARMBAND-98 Change-Id: I1a587f0efa06850885ff8cf938ebb9775af8f7a8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-09FIXME: Temporary: Use archive.ubuntu.com onlyAlexandru Avadanii1-0/+152
We recently removed blacklists for a few mirrors, on account of upstream Fuel@OPNFV fixing mirror selection in [1]. Although the mechanism will be polished a little, it works very nicely; pointing us to [2], where we seem to trigger some flood protection at sync, leading to dropped connections and failed builds. Keep using the official Ubuntu Archive mirror [3] until we sort this out. Fixes: ARMBAND-136 [1] https://gerrit.opnfv.org/gerrit/#/c/22195 [2] http://mirrors.se.eu.kernel.org/ubuntu/ [3] http://archive.ubuntu.com/ubuntu/ Change-Id: If9247f829ee314d4c71dafa84b6cd13b384484f0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-09build: Rework patch mechanism for Fuel submodulesAlexandru Avadanii81-740/+680
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-10-07Cleanup: Remove obsolete Fuel@OPNFV patchesAlexandru Avadanii3-127/+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, since Fuel@OPNFV improved our mirror selection in [1], we can drop our custom blacklist entries for Ubuntu SE mirrors, as well as repeating the repo mirror build in case of failure. [1] https://gerrit.opnfv.org/gerrit/#/c/22195 Change-Id: I62890b6ae7977cd8a39c06ce17c8964e6cb1dddb Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-07Rebase: docker tag reuse context adjAlexandru Avadanii1-3/+1
Change-Id: If6a3472a2f8fe64db2469536fe4d12d88e7a61f0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-06Merge "Revert "deploy: Reduce Fuel Master VM resources""Alexandru Avadanii1-3/+7
2016-10-06Revert "deploy: Reduce Fuel Master VM resources"Alexandru Avadanii1-3/+7
This reverts commit acc93911c7d1d4be5ba5cd04e731626d01d59598. Change-Id: I001cd72506ec99ae2c41bd30d3dd36dd3de06217
2016-09-27Add grub template to cobbler for MAC-filesMatei Valeanu1-20/+47
Change-Id: I9812066f2954cc02a49bfa19dbe9fc74b055e78d Signed-off-by: Matei Valeanu <Matei.Valeanu@enea.com>
2016-09-21deploy: Reduce Fuel Master VM resourcesAlexandru Avadanii1-7/+3
Fuel Master VM template has been updated to use: - 4 GB RAM (was 8 GB RAM); - 2 VCPUs (was 8 VPCUs); Related-bug: ARMBAND-98 Change-Id: Ib95e87e8ed0035b2a7e69a95f67a4046d724d624 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-09-19Rebase: updated blacklist for Ubuntu mirrorsAlexandru Avadanii1-2/+2
Change-Id: I404791b14603b4ebdd0be1010412ec77cf75a478 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-09-16fuel-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>
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>
2016-09-14Merge "AArch64: fuel-plugin-ovs enable"Alexandru Avadanii9-1/+1069
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>
2016-09-13Merge "Revert "patches, docs: Remove MySQL WSREP SST provider""Alexandru Avadanii2-0/+103
2016-09-13Revert "patches, docs: Remove MySQL WSREP SST provider"Alexandru Avadanii2-0/+103
This reverts commit 8a696682b3fd0cb5f32ddaca8ede5db7b001a57f. Change-Id: Ib1698643639436243768f4a8209c4d68314a97ca
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>
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>
2016-09-09deploy: x2 timeout for fuel master installAlexandru Avadanii1-4/+10
Change-Id: I1281b0b6b9d631e371484795a53113032ebbc83c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
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>
2016-09-06Merge "Revert "EFI: Move patches to Fuel@OPNFV, upstream prep""Alexandru Avadanii4-198/+157
2016-09-06Revert "EFI: Move patches to Fuel@OPNFV, upstream prep"Alexandru Avadanii4-198/+157
This reverts commit dff8f1a78db4a04dd30c2e0ac03a36cb0b198aa7. Change-Id: I317e0f6aa7665c28035307149e6e7d42fdf508f3
2016-09-06Merge "Revert "submodule: Kill fuel-astute""Alexandru Avadanii1-1/+4
2016-09-06Revert "submodule: Kill fuel-astute"Alexandru Avadanii1-1/+4
This reverts commit 376c76d05862ed38edeb217cd9480807571491a7. Change-Id: Ice749599287221af71128ec466894fdb8106d2ec
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 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-09-05Merge "Upstream: move patches to repo-patches dir"Alexandru Avadanii6-171/+16
2016-09-05Merge "submodule: Kill fuel-astute"Alexandru Avadanii1-4/+1
2016-09-05Merge "EFI: Move patches to Fuel@OPNFV, upstream prep"Alexandru Avadanii4-157/+198
2016-09-05Upstream: move patches to repo-patches dirAlexandru Avadanii6-171/+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>
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>
2016-08-31Upstream: extra interfaces cfgAlexandru Avadanii2-205/+0
Change-Id: Ibd522813a40a0b1c385c47e65f77b1a13c860269 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-08-31Merge "net-check: add support for faulty operstate"Alexandru Avadanii1-0/+63
2016-08-31Merge "fuel/build: Move patches to <patch-repos> dir"Alexandru Avadanii1-0/+142
2016-08-31Upstream: multiarch mirrorsAlexandru Avadanii2-280/+0
Change-Id: Ia54bd3955a3e3b534d8c4d8380de5870a106edc5 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-08-31net-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 Change-Id: If8e28d3720161d9ffe897b875af235561cf1062d Signed-off-by: Stefan Sicleru <stefan.sicleru@enea.com>
2016-08-30Merge "docker: build: Fix docker connectivity loss"Alexandru Avadanii1-15/+11
2016-08-30docker: build: Fix docker connectivity lossAlexandru Avadanii1-15/+11
Change-Id: Iaabd176f4032494c8ea40fd1264dafcac01b4a43 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-08-30Upstream: delete old Fuel env if presentAlexandru Avadanii1-58/+0
Change-Id: I308eb1c2bfdf0fc568e7f351078cd7a3017aae4a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
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>
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>
2016-08-29Upstream: Fuel@OPNFV pulled patchesAlexandru Avadanii4-157/+0
Change-Id: Ic584d9b1eb179009256de8ccacfb7669976823c6
2016-08-28EFI: 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>
2016-08-28submodule: Kill fuel-astuteAlexandru Avadanii1-4/+1
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-08-28fuel/build: Move patches to <patch-repos> dirAlexandru Avadanii1-0/+142
Decouple main Makefile and repository patches by moving all Fuel component patches to a subdir, <patch-repo>. Proposed structure of <patch-repos> dir: - patch-repos/*.patch are intended for <fuel-main> git repo; - patch-repos/build/repo/<fuel-module>/*.patch are intended for <fuel-module>, e.g. "fuel-nailgun"; Full list of Fuel submodules supported by this mechanism at [1]. While at it, replace all occurences of </tmp/fuel-main> with <FUEL_MAIN_DIR> in main Makefile and rewrite a few git/make calls to use the "-C" arg. NOTE: `git -C` is available starting with git 1.8.5. ARMBAND NOTE: This patch will allow us to streamline the process of moving patches from our repo straight to Fuel@OPNFV. [1] https://github.com/openstack/fuel-main/blob/stable/mitaka/repos.mk #L32-L44 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-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>