summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-07-28p/fuel: armband formula: Fixup security_driverAlexandru Avadanii1-2/+2
Previous changes set security_driver to none (without quotes), which conflicts with libvirt 3.x. Fix it by adding required quotes. Change-Id: I699da4c9cb5d77fe6e959e476d3279f3d679edc6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-28p/fuel: Rebase after Fuel@OPNFV salt repo pinningAlexandru Avadanii1-5/+5
Change-Id: Iba6bc9f6588a9ad528de70a0f3bd200a5fe1ab1a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-27p/fuel: mcp: salt-formulas: ODL: AArch64 leveldbAlexandru Avadanii1-0/+40
Install <armband-odl-leveldb-fix> as part of the existing Opendaylight salt-formula (and not as part of Armband's separate salt-formula, like previous fixups); only applicable for AArch64. JIRA: https://jira.opnfv.org/browse/ARMBAND-283 Change-Id: I9df5919e98c3a826ab5d3fddb43dc85c12968bd0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-27p/fuel: reclass: opendaylight: Use UCA reposAlexandru Avadanii1-0/+33
Current opendaylight pillar enforces a full apt repository cleanup, removing Ubuntu Cloud Archive (UCA) repos in favor of adding pre-hardcoded Ubuntu archive repos. Mitigate this by ommiting "system.linux.system.repo.ubuntu" from the opendaylight pillar, leaving the default UCA repos in place. Change-Id: Ia2511e8028c8e28ec505c9a35b5dd2e76f4bcd0a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-26p/fuel: network: public: Use arm-virtual2 POD cfgAlexandru Avadanii5-20/+354
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: Replace the gateway at 10.16.0.1 (now 10.0.9.1) with the same IP address as our lab's gateway (10.0.9.254), to keep both possible network layouts in sync (using all virtual networks created via virsh, respectively our lab's static config). This will ensure deploys continue to work in both 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. To pass bridge information from CI, Fuel@OPNFV deploy scripts need some small adjustments as well. While at it, rebase our patches on top of latest Fuel@OPNFV changes. Change-Id: I92f01dd819ebf41b1da68d3b934fb10a23257e33 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-25p/fuel: salt-formulas: Enable Armband formulaGuillermo Herrero1-0/+178
FIXME: Re-enable apparmor. FIXME: Detect baremetal and re-enable acceleration. Based on old Armband Fuel patches: - install qemu-efi; - install vgabios; - disable apparmor as security driver for libvirt (temporary); - fix missing link for vgabios binary blob; - nova: virt_type=qemu (temporary, until we support baremetal too); - nova: pointer_model=ps2mouse since AArch64 has no USB tablet; - nova: cpu_model=cortex-a57; - nova: libvirt driver: Add ttyAMA0 by default on AArch64; - nova: libvirt driver: Use VGA video type by default on AArch64; Change-Id: I6aa87ac8d1c2f9fe3919b80fd29ab84ccfaa7c38 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-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-18ci/deploy.sh: Do not pass SSH_KEY to Fuel deployAlexandru Avadanii1-0/+1
OPNFV Jenkins jobs for Fuel and Armband define the variable SSH_KEY, which gets passed down to Fuel's ci/deploy.sh, leading to a conflict between the original key and the destination key paths, which in the default case overlap, leading to a deploy-breaking fault. Fuel@OPNFV is not affected by this behavior due to a "sudo" call that does not pass down enviroment variables (i.e. without `-E`). Change-Id: I291966ee177d828bf1e59c213c9da40eae13ab6b 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-14reclass: system: AArch64: Remove mcelogAlexandru Avadanii1-0/+26
Change-Id: I7cc5162359347ac9472127a8d27730c96050915e Signed-off-by: Guillermo Herrero <Guillermo.Herrero@enea.com> 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 Avadanii7-0/+671
- 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-07-11MCP: Obsolete `fuel-patches-*` functionalityAlexandru Avadanii3-115/+11
We no longer require patching submodules in the Fuel@OPNFV submodule, so remove all obsolete code. Change-Id: I872ac7da2cd020b6882f8bc8304c03a8e528313f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-06-28MCP: Remove all Fuel patches and pluginsAlexandru Avadanii80-7879/+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-06-21docs: Update release dateAlexandru Avadanii1-1/+1
Change-Id: I659946aef133af3b99120903d57527daccf67f53 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-06-07Update armband documentation for 3.0 releaseCristina Pauna4-16/+16
Change-Id: I2a71637b67b91cf828bbcf5f6abfbd9c2d6da2eb Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-05-05fuel-main: Backport ntpd autostart enablementAlexandru Avadanii1-0/+32
Upstream-bug: https://bugs.launchpad.net/fuel/+bug/1688631 Change-Id: I7bc2dac4442c1b02b21fef82a9b9c008f4dab9ac Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-05-05Fuel-OSTF: Arch dependent Cirros ssh passwordAlexandru Nemes1-0/+71
For arm64 "gocubsgo" will be used For x86 it will use "cubswin:)" JIRA: ARMBAND-250 Change-Id: Id580168cee1dd7c52876f2781b7cbbf733169ef3 Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
2017-05-05Merge "nailgun: Add NIC vendorid and device id for Cavium NIC"Alexandru Avadanii1-0/+50
2017-05-05nailgun: Add NIC vendorid and device id for Cavium NICAndrei Varvara1-0/+50
Added Cavium NIC to the list of DPDK supported NICs so that fuel will enable the DPDK checkbox. Change-Id: If05539ece8c97a70bffaa94ea6629b7d2c568905 Signed-off-by: Andrei Varvara <andrei.varvara@enea.com>
2017-05-04docs: Update reference for Danube 2.0Alexandru Avadanii3-11/+11
Change-Id: Id958da0d8b951b240812bdf794ecf0be79091af6 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 Avadanii2-288/+0
Change-Id: Ib2f96ec70d0b589741484f7e3f3b537a269785fe Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-04-09fuel, docs: fuel-menu: Align defaults with OPNFVAlexandru Avadanii7-94/+340
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-04-04Update Host OS NTP Servers to pool.ntp.orgCatalina Focsa2-0/+74
Change-Id: If13c2448ca89f3a016e604c8cc1bf36813b7d90d Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
2017-04-02Merge "docs: Experimental features note about ceilometer"Alexandru Avadanii1-1/+5
2017-04-02docs: Experimental features note about ceilometerAlexandru Avadanii1-1/+5
Starting with Danube.1.0, Ceilometer and MongoDB are experimental in upstream Fuel@Openstack, so the appropiate feature group needs to be enabled during master node installation to use them. Change-Id: Ib522c7e81cc73625128296873b4f9eef7cf1e99d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-04-02docs: cleanup: amend kernel sectionAlexandru Avadanii1-12/+12
Change-Id: I4a0a062d2ea8157bb16b724b09acda8724f29960 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-03-31docs: Refresh Makefile related instructionsAlexandru Avadanii2-10/+35
While at it, add instructions for selecting the custom kernel from Armband DEB repos. JIRA: ARMBAND-243 Change-Id: Ie8828241dc3a83d7268dfbd3526303dc674aef10 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-03-31Remove BGPVPN plugin from docsCristina Pauna1-2/+2
Update the docs to reflect that BGPVPN is not participating to the D1 release Change-Id: I67600370c63373b4efc1020e03977a83d3833857 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-03-30Minor corrections and updates to docsCristina Pauna3-8/+6
Change-Id: I22ae7de7f13b6347b164c318a93aae4fa2209271 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-03-28Merge "Update armband documentation for Danube"Alexandru Avadanii18-109/+240
2017-03-26FIXME: f-l: compute.pp: Temp disable apparmorAlexandru Avadanii1-0/+40
Apparmor profiles need to be refreshed for Armband specific version of libvirt/qemu/etc.; until updated profiles land, disable libvirt qemu security driver. JIRA: ARMBAND-235 Change-Id: I65d8bbb00e390d34c0c36fef37666e70d06fd31a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-03-26bootstrap, dea_base, nailgun: Pin 4.8.0-9944 krnAlexandru Avadanii2-14/+14
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-25f-l: Refresh after upstream reverted cobbler rmAlexandru Avadanii5-2294/+13
Remove our revert patches since upstream applied the same changes. Update patch context where needed. JIRA: ARMBAND-237 Change-Id: I6007484ad23f0fceabd8f8ec7625e598aee280c7 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-03-23f-l: Temporary: Revert upstream patchesAlexandru Avadanii2-0/+142
In order for our patches to still apply, revert latest changes from upstream Fuel@Openstack. Change-Id: Icca323a71669b413d9777df889b2e2b8b884e261 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-03-23bootstrap, dea_base, nailgun: Pin 4.8.0-43 kernelAlexandru Avadanii3-39/+147
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-22Update armband documentation for DanubeCristina Pauna18-109/+240
JIRA: ARMBAND-243 Change-Id: If44f1a9f820793c9b04610fd4db7c05a6675f065 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-03-21f-a: bootstrap: /etc/rc.local: force mco startAlexandru Avadanii4-0/+71
Temporary workaround for upstream bug: "Mcollective fails to start in bootstrap of baremetal servers" [1] This should be reverted as soon as upstream merges a fix. While at it, add some missing license headers to patches. [1] https://bugs.launchpad.net/fuel/newton/+bug/1656150 Change-Id: I6d03819bd2df5b8fd9451faedcfd2783847838fa Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-03-21network-check: Typo fix for unknown eth stateAlexandru Avadanii1-0/+24
Change-Id: If6f9cd6a78e712f53e69b9bbc31002983c7162b1 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-03-21fuel-library: Revert cobbler removalAlexandru Avadanii3-31/+2122
While at it, remove unrelated patch that was merged upstream. JIRA: ARMBAND-237 Change-Id: I01889d100e2f8adab34a60389e602d7d48f5b973 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-03-20Merge "docs: Copy OPNFV docs dir as documentation base"Alexandru Avadanii18-408/+205