aboutsummaryrefslogtreecommitdiffstats
path: root/patches/opnfv-fuel
AgeCommit message (Collapse)AuthorFilesLines
2017-07-25p/fuel: virtio: min libvirt 3.x and Qemu 2.6Alexandru Avadanii3-142/+63
Expect host virtualization tools (libvirt, qemu) to be recent enough to support modern virtio-net-pci out of box as a default. This allows us to drop some changes and a hack - see [1]: - "model=virtio" implies "model=virtio-net-pci" on libvirt 3.x; - "model=virtio" puts each NIC on a seperate bus, all work now; - modern virtio is automatically used when NIC is on PCIe bus; Revert "p/fuel: lib.sh: Revert to virtio-mmio for PXE net" This reverts commit 4f72e6be436badd2ded546424ec4a304cd6ce5d3. [1] https://lists.gnu.org/archive/html/qemu-devel/2017-07/msg07594.html Change-Id: Iaa7af63846c9d9dca5b7a9be5efa54f8cd56242e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-21p/fuel: lib.sh: Use host-passthrough CPU modelAlexandru Avadanii4-3/+32
Fix libvirt 3.x compatibility issues by explicitly setting the CPU model to host-passthrough via virt-install. Change-Id: I0e52cbabb0bf42b36dd2b9b5045dc18878e21884 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-19Revert "p/fuel: network: public: Use arm-virtual2 POD cfg"Alexandru Avadanii1-164/+0
This reverts commit 779c0cc56646da234019577e17f4af378a205e08. Change-Id: Ia5261da363579e7bec442ada58ca16635025f872
2017-07-18p/fuel: network: public: Use arm-virtual2 POD cfgAlexandru Avadanii1-0/+164
FIXME: This should be converted into a dynamic configuration read from the universal POD descriptor in securedlab, once that is ready. Until then, just align the public network configuration used by the virtual POD with the Enea lab configuration specific to arm-virtual2 (i.e. public network on 10.0.9.0/24). NOTE: Instead of replacing the gateway 10.16.0.1 (now 10.0.9.1) with our lab's gateway (10.0.9.254), keep it as an extra hop, in order not to break deploys in different enviroments. Also, since our gateway resides at 10.0.9.254, trim the DHCP pool range for the public network to not include that address. Change-Id: If45ca3140f770f758f0d02c1049084f67f83264e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-18p/fuel: Rebase after --noautoconsole got upstreamAlexandru Avadanii3-10/+11
Change-Id: I99b6052a26169888c137f874889872107c7df931 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-18p/fuel: deploy: Allow non-root deploysAlexandru Avadanii1-0/+37
Fuel@OPNFV's ci/deploy.sh script imposes a hard requirement on running as the root user, which can be refactored into a series of smaller requirements. Instead, relax the check to the ability to run sudo commands inside the script, and explicitly add sudo for the package installation commands. This also adds a requirement for the Jenkins user running the deploy to be part of the "kvm" and "libvirtd" groups, so libvirt/virsh can manage VMs on the jump server / Jenkins slave. See related change in OPNFV Releng repository [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/37655 Change-Id: I29b90d285c99f85462493c2a3890264365fca9f0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-16p/fuel: lib.sh: Revert to virtio-mmio for PXE netAlexandru Avadanii2-60/+64
virtio-pci-net seems to have issues with more than three (3) interfaces attached to the same guest, even on separate PCI buses. To bypass this limitation, for now, we will use virtio-mmio for PXE, and virtio-pci-net for the rest. This keeps the guest eth order consistent and predictable, and allows udev to assign predictable interface names for 3 out of 4 guest network interfaces (enp2sX), thus ensuring PXE will always get the "eth0" designator. Change-Id: I0d0cb8148cd87313e67f8f27793eb2414c1e90e3 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-14p/fuel: Rebase after upstream vCPU count reworkAlexandru Avadanii4-28/+19
Change-Id: Ic4066acc2716e5f3f497fba9799691e0258d3011 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-13p/fuel: Rebase, drop --depth=1 when cloning FuelAlexandru Avadanii2-9/+11
`git clone --depth=1` does not preserve git history, so 3-way merge is not possible. There are 2 ways to fix this: - (recurrent) rebase patches by adjusting patch context; - (one-time, with a recurrent very small performance hit) preserve git history when cloning Fuel@OPNFV in salt.sh; So, let's drop "--depth=1" and ensure `git am -3` will continue to work on future patch context changes (where possbile). While we're at it, also rebase our current patches. Change-Id: Iacfb4daf90a170174405410ff9c988c4fcac79ca Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-11MCP: patches: AArch64: Add initial supportAlexandru Avadanii6-0/+586
- p/fuel: classes: AArch64: virtio-pci-net sync - p/reclass-system-salt-model: Add Armband repos - mcp/config: AArch64: Use UEFI arm64 image Also, allow removal of VMs booted via guest UEFI (OVMF or AAVMF). While at it, bump default vCPU number from 2 to 6. - lib.sh: AArch64: Use VGA video mode for guests On AArch64, there is no Cirrus video, so use VGA mode instead. For now, we install vgabios package no matter the arch, although it is only used on AArch64. On Debian systems, also fix a missing link for vgabios-stdvga.bin. Based on previous Armband work from [1]. - lib.sh: AArch64: virt-install: Use virtio-net-pci AArch64 virt tools (i.e. libvirt) default to "virtio-mmio", instead of "virtio-net-pci", at least before libvirt 3.x (see [2]). Without PCI bus info, we can't really enforce a specific order for the guest ethernet devices. Moreover, predictable network interface naming is out of the question with virtio-mmio, as there is no bus information to rely on. Therefore we will enforce "virtio-net-pci" on AArch64, instead of the default "virtio" (which translates into "virtio-mmio" currently). - salt.sh, user-data: Add Saltstack arm64 repo - salt.sh: Clone armband repo, apply patches from it - classes: virtual: AArch64: virtio-pci-net sync Since AArch64 will be using virtio-net-pci NIC model for guests, predictable interface naming yields a slightly different scheme. Update all configuration to reflect this. FIXME: - Use https for fetching Armband GPG keys! - Revise the patching mechanism, make things more dynamic. [1] https://github.com/opnfv/armband/blob/danube.2.0/patches/fuel-library/ arm64-bug-fixes/0002-Install-vgabios-and-link-for-aarch64.patch [2] https://www.redhat.com/archives/libvir-list/2016-August/msg00931.html Change-Id: If5aae22066f75732652201a78357c4931438d58d Signed-off-by: Guillermo Herrero <Guillermo.Herrero@enea.com> Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-06-28MCP: Remove all Fuel patches and pluginsAlexandru Avadanii22-3560/+0
Chances are none of the old patches / plugins can be reused as-is, so remove all of them and prepare for the switch to MCP. Change-Id: I999927a43b438d9bda9ff118731e2af4b1fa8caa Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-05-03Read or add default mtu values for each interfaceCatalina Focsa1-0/+104
Change-Id: If3cbd4eee8121b697d2ab0603939b9a4aa188230 Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
2017-04-26Cleanup: Remove patches that landed upstreamAlexandru Avadanii1-256/+0
Change-Id: Ib2f96ec70d0b589741484f7e3f3b537a269785fe Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-04-09fuel, docs: fuel-menu: Align defaults with OPNFVAlexandru Avadanii4-74/+271
Since Armband alters the bootstrap package list and/or kernel version, hanlded previously by fuel_bootstrap_cli.yaml, we need to refactor our patches a bit. NOTE: deploy-cache: We no longer include bootstrap package list in the bootstrap fingerprint; we only rely on the repo mirrors fingerprints, since bootstrap package list is mostly static across release cycles. Upstream-bug: https://bugs.launchpad.net/fuel/+bug/1679636 JIRA: FUEL-266 JIRA: ARMBAND-225 Change-Id: I6c1b090df6eff69d60fa7ca779b3dde527e77879 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-04-07cleanup: Fuel: docker: remove obsolete ffi patchAlexandru Avadanii1-40/+0
This patch is no longer needed, since upstream package repos have fixed meanwhile. Change-Id: Ic73d7e60cce6a1a0c152885caeb30f49d68e7441 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-03-26bootstrap, dea_base, nailgun: Pin 4.8.0-9944 krnAlexandru Avadanii1-7/+7
New kernel includes: - ABI bump; - GICv3-ITS live migration support; TODO: build meta package so we don't have to bump it manually. JIRA: ARMBAND-171 Change-Id: I4aaa5ca496e535abed948d2e51a6caf7e03393a8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-03-25deploy-cache: Use `mco` to set up authorized_keysAlexandru Avadanii1-15/+33
JIRA: ARMBAND-242 Change-Id: I1e8335289a253f5fa2ebb4fb2620b25f10e1b1e9 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-03-23bootstrap, dea_base, nailgun: Pin 4.8.0-43 kernelAlexandru Avadanii2-39/+79
Since newer kernels have issues with AAVMF + vhost_net, we need to also temporarily blacklist vhost_net. NOTE: This change also adds linux-image-extra packages to both x86_64 and AArch64 target image(s). TODO: Remove vhost_net blacklist (later). JIRA: ARMBAND-161 JIRA: ARMBAND-171 JIRA: ARMBAND-227 JIRA: ARMBAND-230 JIRA: ARMBAND-239 JIRA: ARMBAND-244 Change-Id: I456f4235d04375905df9d6f776b84f2e0eee22d6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-03-20Merge "Add copyright header to patch files"Alexandru Avadanii22-0/+176
2017-03-18deploy-cache: Master id_rsa.pub as authkey for envAlexandru Avadanii1-4/+19
JIRA: ARMBAND-242 Change-Id: Ice1091ce701139995418c5899181b09b630c41a9 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-03-17Add copyright header to patch filesCatalina Focsa22-0/+176
JIRA: ARMBAND-236 Change-Id: I91c4956b5baa479995bff2f569a321b8a0b421c0 Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
2017-03-15Makefile: patches-import: Explicit patch formatAlexandru Avadanii1-0/+8
While at it, add a sample license header, checking whether patch license addition won't break build/deploy procedures. JIRA: ARMBAND-236 Change-Id: Ica2792b606051b8bdd23832fec48925e238325a2 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
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>
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-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-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-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-21Uplift Armband to Fuel NewtonAlexandru Avadanii20-1215/+1338
[ 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-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-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 Avadanii1-134/+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-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-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>