summaryrefslogtreecommitdiffstats
path: root/patches
AgeCommit message (Collapse)AuthorFilesLines
2017-03-14OPNFV bootstrap: Pin kernel to 4.4.0-45Alexandru Avadanii1-0/+31
Newer kernels have link training issues on ThunderX boards. Since all other AArch64 boards work fine with this version, make it the default. JIRA: ARMBAND-239 Change-Id: I9d51591547a645dc9ea91088e6033435f6fb71fe Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit bc669a090de49d48b08f9c46a57a2fafa20996b7)
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-28patch-packages: Disabled upstream in Fuel@OPNFVAlexandru Avadanii1-88/+0
Drop obsolete patch after Fuel@OPNFV disabled patch-packages. JIRA: ARMBAND-200 Change-Id: I3a96f34bc8bdc180a1ab18ce89b230c36fe272ef Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-27fuel-web: Fixup AAVMF props patch contextAlexandru Avadanii1-3/+1
Sync patch context after upstream changes. Change-Id: Id179543f0f3732f6609b66527a617e08135d7aef Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@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-02-17fuel-nailgun-agent: Fixup SR-IOV filtering patchAlexandru Avadanii1-2/+2
Our previous SR-IOV filtering adjustment in fuel-nailgun-agent broke detection for real SR-IOV capable interfaces, omitting them from the inteface list. For ThunderX systems, where interfaces are VFs, the "physfn" dir exists, but has no "physfn/net" subdir. Change-Id: Iaea937f360f81ac59212b8c380fecf72e9985844 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-15fuel-library: Remove tcp_retries2 patch (upstream)Alexandru Avadanii1-51/+0
Change-Id: I0f5553f5caeff4c65cfdad76c117c084057ba773 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-15fuel-plugin-ovs: Rebase after ovs-dpdk removalAlexandru Avadanii3-77/+27
Upstream dropped ovs, ovs-dpdk, as well as ovs-nsh-dpdk from this plugin, so our patches need a refresh. Change-Id: Ic79c7d8a026f01bc720d9021c716b318ef4b1128 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-09fuel-library: AArch64: nova: Backport NUMA supportAlexandru Avadanii1-0/+90
This functionality was working as expected in Colorado, but the patch was silently discarded by mistake during the Newton rebase. JIRA: ARMBAND-90 Change-Id: Ibd31f68c823cbca6759b5c45d4005201b462b150 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-08submodules: Disable ignore=all for OPNFV projectsAlexandru Avadanii1-125/+0
Armband has a number of git submodules, which are hosted: - via Openstack (review.openstack.org, github.com); - via OPNFV (gerrit.opnfv.org); We cannot automatically detect changes in Openstack submodules, but within OPNFV, an "Updated submodule" commit is generated when a change is merged into the submodule git, provided we do not have an "ignore=all" git config directive. Ignoring submodule changes also prevents automatic ISO builds in Armband when Fuel@OPNFV changes are merged, which is something we needed during the D-release development cycle. The downside of removing "ignore" is that submodules are now seen as "modified" by git after apply our Armband patches. While at it, remove one fuel-library patch that got upstream, just to force a new ISO build. Change-Id: I8e81e781cb5c78c920a2a33cd8d584de3d9d4fd7 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-07Temp: fuel-library: Increase tcp_retries2 valueAlexandru Avadanii1-0/+51
Change-Id: I6f7e3b291878bb20e51f8100ef3a1ede540e4736 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-07Temp: fuel-library: Fix MySQL OCF race (backport)Alexandru Avadanii1-0/+125
JIRA: FUEL-251 Change-Id: I5e6560d494b60721770faf0ed09a72e1a4818d8f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-04deploy: EFI: Obsolete patch: Skip IPMI re-orderingAlexandru Avadanii1-31/+0
Now that ARMBAND-50 is comleted, revert the temporary workaround we applied as part of ARMBAND-71. JIRA: ARMBAND-138 Change-Id: I1beac1fb3ba5b264f70bd4737f3c3e2c1bea46f0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-03fuel-plugin-ovs: Rebase patches and enable for NAlexandru Avadanii13-1166/+351
JIRA: ARMBAND-203 Change-Id: I8c1ca9a10b62751509a37b0079d4e7040e53a60d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-03Rebase: Adjust patch context for deploy configAlexandru Avadanii1-1/+6
Change-Id: I3d1b15cbfd70d726ae8b24514d2106e7e52e2524 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-01Upstream: packetary multiarch mirrorAlexandru Avadanii1-1223/+0
Packetary-based rework was merged in Fuel@OPNFV in [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/23999/ JIRA: ARMBAND-185 Change-Id: I19958467acd62c7b3469a1172a5b93b544782b09 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-01docker: fpb: Obsolete src overrideAlexandru Avadanii2-50/+2
Fuel@OPNFV recently applied a better fix for using the latest version of fpb, so obsolete our patch. Change-Id: I088fc31177e5c56ce09712b65a3dbd18eb013ce5 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-25fuel-plugin-odl: Uplift OpenDaylight to Fuel10Alexandru Avadanii1-0/+30
JIRA: ARMBAND-202 Change-Id: Ife5a5a34f272cb77dc88c2f927d4129e025a3846 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-01-25deploy-cache: Fix typo in nailgun settings sedAlexandru Avadanii1-1/+1
Previous commit missed adding the "-i" flag to a sed call, rendering the whole effort useless. JIRA: ARMBAND-190 Change-Id: If0724cb99c94530e5eeb140e93759c4a19503908 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-01-24deploy-cache: Relax repo fingerprintingAlexandru Avadanii1-22/+13
JIRA: ARMBAND-206 Change-Id: I054a287593a327fa16941f6c9fec802e9ce2fac8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-01-24deploy-cache: Sync nailgun settings explicitlyAlexandru Avadanii1-5/+7
/etc/nailgun/settings.yaml AUTHORIZED_KEYS is populated before the bootstrap image (and cached keypair) are injected, so it needs to be synced explicitly. JIRA: ARMBAND-188 JIRA: ARMBAND-190 Change-Id: I8e4004e1ec62ace1dd127ee19127190bc295b0e2 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-01-23deploy-cache: refresh authorized_keys from id_rsaAlexandru Avadanii1-33/+36
When bootstrap cache is present, the cached id_rsa keypair is copied to Fuel Master node after the initial packages are installed (cobbler pp copies id_rsa.pub as /etc/cobbler/authorized_keys). This leaves behind out-of-sync cobbler configuration, generated from the fresh id_rsa.pub instead of the cached one. While at it, also fix Fuel Master authorized_keys from ~/.ssh, which is transferred via /etc/nailgun/settings.yaml to deployed nodes, leading to nodes rejecting subsequent key-based ssh logins. JIRA: ARMBAND-188 JIRA: ARMBAND-190 Change-Id: I58b45c9522b16c7d05dafcd1acaff4b8cc30013e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-01-22patch-packages: Disable for ArmbandAlexandru Avadanii2-28/+88
Now Armband also patches test-vm with an updated x86 image in the upstream repo, so we can disable patch-packages for cirros-testvm during ISO build. Since Armband can patch packages at the upstream repo level, disable patch-packages completely. JIRA: ARMBAND-200 Change-Id: I5531460c1dd18d94b680d40971713d090be8c353 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-01-21f_repobuild: Pull packetary patch from upstreamAlexandru Avadanii1-63/+65
Sync sensitive packetary change with upstream [1]. Once validated in Armband, we should be able to also push [2]. [1] https://review.openstack.org/#/c/420815 [2] https://gerrit.opnfv.org/gerrit/#/c/23999/ JIRA: ARMBAND-185 Change-Id: I2aa28daf217e01a5cd905a77141903758d085de7 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-01-21Merge "Uplift Armband to Fuel Newton"Alexandru Avadanii58-2419/+1976
2017-01-21Uplift Armband to Fuel NewtonAlexandru Avadanii58-2419/+1976
[ 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>
2017-01-18patches/fuel-plugin-ovs: fix version bump of libxenstore3.0Anders Roxell1-1/+3
JIRA: ARMBAND-192 Change-Id: Ia99fab2dc38e7e5f8372dedfadf9c807586e7080 Signed-off-by: Anders Roxell <anders.roxell@enea.com>
2016-12-21deploy-cache: Fix home dir expansion in .ssh pathAlexandru Avadanii1-1/+1
JIRA: ARMBAND-184 Change-Id: I26a79ac6c4ec4314fb21fc55b43985488c1b5fde Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-12-20deploy-cache: Fix one more time id_rsa injectAlexandru Avadanii1-1/+1
JIRA: ARMBAND-184 Change-Id: Ie88d1d2a16cbce6987ac12f226e48acc1fc81d9b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-12-20build: select_ubuntu_repo: break on errAlexandru Avadanii1-0/+70
Backport urgent fix [1] from Fuel@OPNFV to unbreak all CI verify/build jobs in Armband. [1] https://gerrit.opnfv.org/gerrit/#/c/26269/ Change-Id: Icf5a84b62eb39edd922ab98a45b2c26c478466f6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-12-19patches: fuel-mirror: Remove obsolete patchesAlexandru Avadanii3-117/+0
fuel-mirror has been replaced by packetary and all its patches we held in Armband are now obsolote as well. JIRA: ARMBAND-185 Change-Id: I1b83501965394ea8080305428bad17c826c5cf42 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-12-18deploy-cache: Fix bootstrap id_rsa injectAlexandru Avadanii1-1/+1
JIRA: ARMBAND-184 Change-Id: Ibcc70205f0688ce43e27d6d1361d513f15b4576b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-12-17sub: packetary: remove, patches upstreamAlexandru Avadanii4-283/+313
Backported from [1] and adapted for Trusty, since Armband did not switch to Ubuntu Xenial / Openstack Newton yet. [1] https://gerrit.opnfv.org/gerrit/#/c/23999/7/ JIRA: ARMBAND-185 Change-Id: I1dd2cec09aa1077a5779573bc54c01db93339ac9 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-12-15fuel-main: Restart sshd service instead of reloadAlexandru Avadanii1-0/+26
Backported from [1] until we switch to Newton and sync again with Fuel@OPNFV master. [1] https://gerrit.opnfv.org/gerrit/#/c/25867/ Change-Id: I0972218eaf7aeb9cb435f6408e140b502fc1c0ed Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-12-14fuel-library: pp: cobbler: Fix CentOS ver detectAlexandru Avadanii2-2/+41
Upstream fuel-library bug report: [1]. Recently, CentOS released version 7.3.1611, which triggered a latent bug in fuel-library puppet scripts related to differentiating between 6.x and 7.x major versions: 7.3.1611 is wrongly detected as 6.x, leading to the wrong packages being attempted to be installed, leaving nailgun server service broken on the Fuel Master node. This change forces the match at the beggining of the version string (e.g. "/^6.+/: {" instead of "/6.+/: {"), so the new CentOS 7.3.1611 no longer matches the condition for 6.x). This patch will soon be obsoleted by the Netwon switch. However, until that happens, we need to ensure CentOS 7.3 is not breaking the deploy. [1] https://bugs.launchpad.net/fuel/+bug/1649895 JIRA: FUEL-238 Change-Id: Iebda7e13d66191614c3552dacb6c80091215baf5 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-12-12deploy-cache: Fix bootstrap cache locationAlexandru Avadanii1-1/+1
We recently changed the location of the deploy cache artifacts on Fuel Master, which failed to also update the bootstrap_admin_node.sh harcodes. JIRA: ARMBAND-172 Change-Id: I1244beca0b5f386efb7ae255fadb0ef69eb559de Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-12-09deploy-cache: Fix opnfv-bootstraps-cache contentsAlexandru Avadanii1-15/+12
fuel-bootstrap import expects all artifacts to be placed in the archive root dir, so adapt our scripts accordingly. Change-Id: I18ba5cb0f81b1193bc75067ec7c83367f45c0375 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-12-08deploy-cache: Misc fixes and improvementsAlexandru Avadanii1-36/+49
- move cache dir on Fuel Master to /var/cache/opnfv, since /var/lib/opnfv is deleted during env config; - allow target image collection on environment deploy failure too; - create cache directory if missing for bootstrap extraction; JIRA: ARMBAND-172 Change-Id: Icca650e560913345303ca0430a4d8b38183aa0c9 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-12-07Fix failed deploys on virtual pod (noha scenarios)cristinapauna1-53/+627
JIRA: ARMBAND-173 Currently only ha scenarios were successfully deployed on virtual pods The default configuration is for ha scenarios and those have 5 target nodes while on the noha scenarios there are 4. The noha scenarios failed because it was trying to parse one extra node. This patch modifies the dea and dha files for each noha scenario so that the nodes are properly configured. Change-Id: I360aeaf8dc92e0ff614367d47d74f6fa61ef2268 Signed-off-by: cristinapauna <cristina.pauna@enea.com>
2016-12-06deploy-cache: Fix typos in bootstrap collectAlexandru Avadanii1-3/+3
Change-Id: I2d30e72cf218251e1b823619501454a65006dd9d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-12-01Merge "fuel-plugin-opendaylight: Upstart service: Respawn"Alexandru Avadanii1-0/+38
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-12-01deploy-cache: Fixup targetimages extract typoAlexandru Avadanii1-1/+1
JIRA: ARMBAND-172 Change-Id: I9f549e0161d39d8f72fff698cfc26c164b0f10ae Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-30CI: deploy-cache: Store and reuse deploy artifactsAlexandru Avadanii1-0/+738
Add 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. For OPNFV CI, the cache will piggy back on the <iso_mount> mechanism, and be located at: /iso_mount/opnfv_ci/<branch>/deploy-cache TODO: Use dea interface adapter in target images fingerprinting. TODO: remote fingerprinting TODO: differentiate between bootstraps and targetimages, so we don't end up trying to use one cache artifact type as the other. FIXME: This is still a bit hacky in some areas, but we need it ASAP. JIRA: ARMBAND-172 Change-Id: Iecd293db98c061325643cc61863a48f092bfd491 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-11-27Correct previous patch on fuel reworkcristinapauna1-20/+28
Some leftover chars in https://gerrit.opnfv.org/gerrit/#/c/24901/ were keeping the deploy to work. Also, the empty folder networks was added. This folder should contain templates for virtual network config for the targets. For arm we don't need those so we leave it empty for consistency with other projects and for avoiding changing the deploy logic JIRA: ARMBAND-122 Change-Id: Id33e2efacc3ff8d3754c8b29d4bebefd0b385c41 Signed-off-by: cristinapauna <cristina.pauna@enea.com>
2016-11-25Fuel rework for multiple libvirtcristinapauna1-0/+938
The current fuel arhitecture assumes that all the VMs (Jenkins slave, Fuel master and Target nodes) are all on the same server. There is code that allows the Fuel master to be on a different machine, but nothing for the Target nodes. In Enea-Arm lab we have a different server for each. This commit also adds specific templates for a virtual pod in the Enea-Arm lab. Therefore, the following changes are done: - The default libvirt URI is the machine on which the Target nodes are - The parameter libvirtUri was added in the dha.yaml file for fuel master - All virsh calls have "-c" option to explicitly specify the uri; this parameter is set only when libvirtUri is explicitly set in the yaml file - The scenarios dha override now point to the arm template files - The network templates are not needed for ARM, as the network infra is provided by the server on which the Target node VMs reside; the folder is added here just for consistency - The target nodes are created with virsh rather than quemu when the nodes are not on the same machine as Jenkins slave (similar logic to what is done for remote Fuel master) JIRA: ARMBAND-122 FIXME: remove hardcodes for - Network bridges from templates - Default pool - libvirtUri from scenario overwrite Change-Id: Ibf4744e5593f5201550115397024fd8311696074 Signed-off-by: cristinapauna <cristina.pauna@enea.com>
2016-11-21Merge "fuel-plugin-opendaylight: Prebuilt leveldbjni DEB"Alexandru Avadanii3-254/+52
2016-11-21local mirror: Add missing vgabios for arm64Alexandru Avadanii1-1/+3
JIRA: ARMBAND-169 Change-Id: I4dbcd044c6c146f541e8c005282a4e60af2c3c8a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>