aboutsummaryrefslogtreecommitdiffstats
path: root/patches/opnfv-fuel
AgeCommit message (Collapse)AuthorFilesLines
2016-12-21Merge "deploy-cache: Fix bootstrap id_rsa inject" into stable/coloradoAlexandru Avadanii1-1/+1
2016-12-21deploy-cache: Fix bootstrap id_rsa injectAlexandru Avadanii1-1/+1
JIRA: ARMBAND-184 Change-Id: I54be7a3d559e8b2b2e84b4da387b565536ac6189 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-12-18deploy-cache: Move Fuel@OPNFV patch to proper dirAlexandru Avadanii1-3/+3
stable/colorado keeps Fuel@OPNFV patches for fuel-main in <patch-repos>, instead of master's <f_repos/patch/fuel-main/> dir. This leads to our bootstrap_admin_node.sh additions being silently ommitted during build. Change-Id: Ida14a64d20c581203723c479df2e8406f9bd93c6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-12-17deploy-cache: Enable for post Colorado.3.0 testingAlexandru Avadanii2-76/+748
JIRA: ARMBAND-172 Change-Id: Ic3fb5725c14ef36a6f42d77b388b48f47f72e201 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-12-15patch-repos: Align Fuel patch context with ArmbandAlexandru Avadanii1-0/+30
JIRA: FUEL-238 Change-Id: I6a97b53a399fa961ce099d21211ee71c48f226c0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
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 Avadanii1-0/+39
stable/colorado * changes: fuel-plugin-opendaylight: Prebuilt leveldbjni DEB f_odlpluginbuild: Armband prereq in packages.yaml
2016-11-22fuel-plugin-opendaylight: Prebuilt leveldbjni DEBAlexandru Avadanii1-16/+15
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 Avadanii3-47/+654
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-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-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-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-14AArch64: fuel-plugin-ovs enableAlexandru Avadanii1-1/+1
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-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 Avadanii1-198/+0
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 Avadanii1-0/+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-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-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)
2016-08-23Merge "Rebase: Upstream renamed ODL to FUEL_PLUGIN_ODL" into stable/coloradoAlexandru Avadanii1-3/+3
2016-08-22Rebase: Upstream renamed ODL to FUEL_PLUGIN_ODLAlexandru Avadanii1-3/+3
See Fuel@OPNFV change [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/19033/ Change-Id: I9c95a7aaec366c9e03620f1129b3cb8401385476 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit bde411ba1cccf4a0827df115deb97f2a9cfade13)
2016-08-22submodule: Kill yardstickAlexandru Avadanii1-5/+1
Since arm64 support has been proposed straight upstream [1], we no longer have to keep the git submodule for the yarstick repo. [1] https://gerrit.opnfv.org/gerrit/#/c/18883/ Change-Id: Ic8a02106ed1d26012a0767fc0444b8f8d35c54aa Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 629f39b6928c3cb36d25dc07347de47d601e847e)
2016-08-19Merge "Rebase: upstream DEA mechanism changes"Alexandru Avadanii4-185/+29
2016-08-19build: ISO refactor, use docker, enable cacheAlexandru Avadanii8-7/+487
Previously, Armband Makefile used to call Fuel@OPNFV Makefile target <iso>, instead of <all>, which resulted in bypassing using Docker for ISO building completely. Switch to <all> Makefile target, hence bringing back Docker as a build container. This change justifies moving make variables to a separate spec file, armband.mk. While at it, enable caching of builds. This requires Jenkins bash scripts to be updated for the ISO build job, done in [1]. JIRA: ARMBAND-56 [1] https://gerrit.opnfv.org/gerrit/#/c/18453/ CHANGES: - all: release (was all: build) - Common make targets now depend on submodules-init; - clean-build and clean-docker make targets have been replaced by: make clean, make deepclean; FIXME: These issues should be fixed later: - (optional) trim local repo paths from gitinfo files - only account for armband submodules in cache fingerprints; - identify size mismatch culprit Change-Id: I7d73409be44983fa21d4c09d2e07b87a33231e03 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-08-17Rebase: upstream DEA mechanism changesAlexandru Avadanii4-185/+29
Change-Id: I6a8a96caa095b20d85db2d4d418dd9cb121b12e4 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-08-05Merge "def kernel-flavor: linux-image-generic-lts-xenial"Alexandru Avadanii1-0/+51
2016-08-04def kernel-flavor: linux-image-generic-lts-xenialAlexandru Avadanii1-0/+51
Ubuntu arm64: While keeping kernel 4.2 for Trusty (linux-image-generic-lts-trusty), set 4.4 backported from Xenial (linux-image-generic-lts-xenial) as default kernel for Armband ISO. Xenial kernel 4.4 for Trusty has been tested with: - AMD Softiron; - APM Mustang; - Cavium ThunderX; While at it, remove obsoleted rtc-efi fixes. Notes: - keep 4.2 kernel inside the ISO; - selecting 4.2 kernel may be done via deploy settings, by overriding kernel flavor when calling `fuel-bootstrap`; Related-bug: ARMBAND-48 Change-Id: Ice1f95939f0d7d9491befd20030740850b1a0e61 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>