Alexandru Avadanii [Tue, 18 Jul 2017 17:19:46 +0000 (19:19 +0200)]
p/fuel: network: public: Use arm-virtual2 POD cfg
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>
Alexandru Avadanii [Tue, 18 Jul 2017 15:31:12 +0000 (17:31 +0200)]
p/fuel: Rebase after --noautoconsole got upstream
Change-Id: I99b6052a26169888c137f874889872107c7df931
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Tue, 18 Jul 2017 00:18:44 +0000 (02:18 +0200)]
ci/deploy.sh: Do not pass SSH_KEY to Fuel deploy
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>
Alexandru Avadanii [Mon, 17 Jul 2017 23:45:17 +0000 (01:45 +0200)]
p/fuel: deploy: Allow non-root deploys
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>
Alexandru Avadanii [Sun, 16 Jul 2017 01:41:33 +0000 (03:41 +0200)]
p/fuel: lib.sh: Revert to virtio-mmio for PXE net
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>
Alexandru Avadanii [Fri, 14 Jul 2017 19:31:27 +0000 (21:31 +0200)]
reclass: system: AArch64: Remove mcelog
Change-Id: I7cc5162359347ac9472127a8d27730c96050915e
Signed-off-by: Guillermo Herrero <Guillermo.Herrero@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Fri, 14 Jul 2017 19:10:29 +0000 (21:10 +0200)]
p/fuel: Rebase after upstream vCPU count rework
Change-Id: Ic4066acc2716e5f3f497fba9799691e0258d3011
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Wed, 12 Jul 2017 22:21:03 +0000 (00:21 +0200)]
p/fuel: Rebase, drop --depth=1 when cloning Fuel
`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>
Alexandru Avadanii [Mon, 10 Jul 2017 15:32:57 +0000 (17:32 +0200)]
MCP: patches: AArch64: Add initial support
- 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>
Alexandru Avadanii [Tue, 11 Jul 2017 15:43:07 +0000 (17:43 +0200)]
MCP: Obsolete `fuel-patches-*` functionality
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>
Alexandru Avadanii [Wed, 28 Jun 2017 18:48:38 +0000 (20:48 +0200)]
MCP: Remove all Fuel patches and plugins
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>
Alexandru Avadanii [Wed, 21 Jun 2017 15:22:57 +0000 (17:22 +0200)]
docs: Update release date
Change-Id: I659946aef133af3b99120903d57527daccf67f53
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Cristina Pauna [Wed, 7 Jun 2017 14:28:40 +0000 (17:28 +0300)]
Update armband documentation for 3.0 release
Change-Id: I2a71637b67b91cf828bbcf5f6abfbd9c2d6da2eb
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Alexandru Avadanii [Fri, 5 May 2017 19:28:24 +0000 (21:28 +0200)]
fuel-main: Backport ntpd autostart enablement
Upstream-bug: https://bugs.launchpad.net/fuel/+bug/
1688631
Change-Id: I7bc2dac4442c1b02b21fef82a9b9c008f4dab9ac
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Nemes [Fri, 5 May 2017 11:19:38 +0000 (14:19 +0300)]
Fuel-OSTF: Arch dependent Cirros ssh password
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>
Alexandru Avadanii [Fri, 5 May 2017 14:47:17 +0000 (14:47 +0000)]
Merge "nailgun: Add NIC vendorid and device id for Cavium NIC"
Andrei Varvara [Thu, 4 May 2017 12:15:41 +0000 (14:15 +0200)]
nailgun: Add NIC vendorid and device id for Cavium NIC
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>
Alexandru Avadanii [Thu, 4 May 2017 16:36:01 +0000 (18:36 +0200)]
docs: Update reference for Danube 2.0
Change-Id: Id958da0d8b951b240812bdf794ecf0be79091af6
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Catalina Focsa [Wed, 26 Apr 2017 14:04:30 +0000 (16:04 +0200)]
Read or add default mtu values for each interface
Change-Id: If3cbd4eee8121b697d2ab0603939b9a4aa188230
Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
Alexandru Avadanii [Wed, 26 Apr 2017 16:34:40 +0000 (18:34 +0200)]
Cleanup: Remove patches that landed upstream
Change-Id: Ib2f96ec70d0b589741484f7e3f3b537a269785fe
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Sun, 9 Apr 2017 13:42:01 +0000 (15:42 +0200)]
fuel, docs: fuel-menu: Align defaults with OPNFV
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>
Alexandru Avadanii [Fri, 7 Apr 2017 15:13:32 +0000 (17:13 +0200)]
cleanup: Fuel: docker: remove obsolete ffi patch
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>
Catalina Focsa [Tue, 4 Apr 2017 11:52:17 +0000 (13:52 +0200)]
Update Host OS NTP Servers to pool.ntp.org
Change-Id: If13c2448ca89f3a016e604c8cc1bf36813b7d90d
Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
Alexandru Avadanii [Sun, 2 Apr 2017 04:33:48 +0000 (04:33 +0000)]
Merge "docs: Experimental features note about ceilometer"
Alexandru Avadanii [Sun, 2 Apr 2017 04:20:08 +0000 (06:20 +0200)]
docs: Experimental features note about ceilometer
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>
Alexandru Avadanii [Sat, 1 Apr 2017 03:31:52 +0000 (05:31 +0200)]
docs: cleanup: amend kernel section
Change-Id: I4a0a062d2ea8157bb16b724b09acda8724f29960
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Fri, 31 Mar 2017 16:57:25 +0000 (18:57 +0200)]
docs: Refresh Makefile related instructions
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>
Cristina Pauna [Fri, 31 Mar 2017 14:21:21 +0000 (17:21 +0300)]
Remove BGPVPN plugin from docs
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>
Cristina Pauna [Thu, 30 Mar 2017 15:08:13 +0000 (18:08 +0300)]
Minor corrections and updates to docs
Change-Id: I22ae7de7f13b6347b164c318a93aae4fa2209271
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Alexandru Avadanii [Tue, 28 Mar 2017 16:28:42 +0000 (16:28 +0000)]
Merge "Update armband documentation for Danube"
Alexandru Avadanii [Sun, 26 Mar 2017 18:18:17 +0000 (20:18 +0200)]
FIXME: f-l: compute.pp: Temp disable apparmor
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>
Alexandru Avadanii [Sun, 26 Mar 2017 00:45:09 +0000 (01:45 +0100)]
bootstrap, dea_base, nailgun: Pin 4.8.0-9944 krn
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>
Alexandru Avadanii [Sat, 25 Mar 2017 21:15:50 +0000 (22:15 +0100)]
deploy-cache: Use `mco` to set up authorized_keys
JIRA: ARMBAND-242
Change-Id: I1e8335289a253f5fa2ebb4fb2620b25f10e1b1e9
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Sat, 25 Mar 2017 19:01:48 +0000 (20:01 +0100)]
f-l: Refresh after upstream reverted cobbler rm
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>
Alexandru Avadanii [Thu, 23 Mar 2017 14:58:23 +0000 (15:58 +0100)]
f-l: Temporary: Revert upstream patches
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>
Alexandru Avadanii [Thu, 23 Mar 2017 00:49:45 +0000 (01:49 +0100)]
bootstrap, dea_base, nailgun: Pin 4.8.0-43 kernel
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>
Cristina Pauna [Wed, 22 Mar 2017 10:55:10 +0000 (12:55 +0200)]
Update armband documentation for Danube
JIRA: ARMBAND-243
Change-Id: If44f1a9f820793c9b04610fd4db7c05a6675f065
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Alexandru Avadanii [Tue, 21 Mar 2017 21:21:18 +0000 (22:21 +0100)]
f-a: bootstrap: /etc/rc.local: force mco start
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>
Alexandru Avadanii [Tue, 21 Mar 2017 20:37:14 +0000 (21:37 +0100)]
network-check: Typo fix for unknown eth state
Change-Id: If6f9cd6a78e712f53e69b9bbc31002983c7162b1
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Tue, 21 Mar 2017 17:21:10 +0000 (18:21 +0100)]
fuel-library: Revert cobbler removal
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>
Alexandru Avadanii [Mon, 20 Mar 2017 20:54:38 +0000 (20:54 +0000)]
Merge "docs: Copy OPNFV docs dir as documentation base"
Cristina Pauna [Mon, 20 Mar 2017 14:49:11 +0000 (16:49 +0200)]
docs: Copy OPNFV docs dir as documentation base
Copy the files from fuel as base documentation. A subsequent commit
will adapt it with aarch64 specifics.
JIRA: ARMBAND-243
Change-Id: I085d3cfab3a65d8ab7954dcdc876f2b922889ee2
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Alexandru Avadanii [Mon, 20 Mar 2017 15:20:17 +0000 (15:20 +0000)]
Merge "Add copyright header to patch files"
Alexandru Avadanii [Sat, 18 Mar 2017 01:11:53 +0000 (01:11 +0000)]
Merge "deploy-cache: Master id_rsa.pub as authkey for env"
Alexandru Avadanii [Sat, 18 Mar 2017 01:06:31 +0000 (01:06 +0000)]
Merge "Revert "docs: Release Notes: Add Label""
Alexandru Avadanii [Sat, 18 Mar 2017 00:54:48 +0000 (01:54 +0100)]
deploy-cache: Master id_rsa.pub as authkey for env
JIRA: ARMBAND-242
Change-Id: Ice1091ce701139995418c5899181b09b630c41a9
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Catalina Focsa [Fri, 17 Mar 2017 16:51:12 +0000 (17:51 +0100)]
Add copyright header to patch files
JIRA: ARMBAND-236
Change-Id: I91c4956b5baa479995bff2f569a321b8a0b421c0
Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
Alexandru Avadanii [Thu, 16 Mar 2017 02:25:44 +0000 (03:25 +0100)]
f-l: Backport: Increase reboot task timeout
Temporarily fix deploys until this patch gets merged upstream.
Change-Id: I6004fc5d6d178a0405ee7a9819264bad317578e7
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Wed, 15 Mar 2017 23:06:23 +0000 (00:06 +0100)]
f-l: build_image: Extract cluster_arch from / URI
JIRA: ARMBAND-240
Change-Id: If5e7ceb67b6597a2791b352596e52dd63bf32eab
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Wed, 15 Mar 2017 21:29:44 +0000 (22:29 +0100)]
Makefile: patches-import: Explicit patch format
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>
Alexandru Avadanii [Tue, 14 Mar 2017 20:21:07 +0000 (20:21 +0000)]
Revert "docs: Release Notes: Add Label"
This reverts commit
1509022c3c290dc799af12fa405f704f16203fc7.
Change-Id: Ia68d13194ed6e68577093c795722a187f7382683
Alexandru Avadanii [Tue, 14 Mar 2017 18:59:36 +0000 (19:59 +0100)]
OPNFV bootstrap: Pin kernel to 4.4.0-45
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>
Cristina Pauna [Thu, 9 Mar 2017 08:44:19 +0000 (08:44 +0000)]
Merge "fuel-plugin-odl: Fix deploy on x64 due to leveldb"
ShubhamRathi [Tue, 7 Mar 2017 11:19:52 +0000 (16:49 +0530)]
docs: Adding Labels
Labels serve as anchors/ refs when referenced from other documents
This patch adds labels to docs/*/*/index.rst
Change-Id: I3210dc1a21d9f523075db58c0976b913f2e49d81
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
ShubhamRathi [Sun, 5 Mar 2017 16:37:07 +0000 (22:07 +0530)]
docs: Release Notes: Add Label
Label added to Release Notes.
This label shall function as an anchor to Release Notes
when referencing from OPNFVDocs composite document.
Change-Id: Icf80a73a85b0e510b27c57139dd697893e8a6e4d
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
Dan Andresan [Fri, 3 Mar 2017 12:06:32 +0000 (14:06 +0200)]
fuel-plugin-odl: Fix deploy on x64 due to leveldb
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>
Alexandru Avadanii [Tue, 28 Feb 2017 00:22:26 +0000 (01:22 +0100)]
patch-packages: Disabled upstream in Fuel@OPNFV
Drop obsolete patch after Fuel@OPNFV disabled patch-packages.
JIRA: ARMBAND-200
Change-Id: I3a96f34bc8bdc180a1ab18ce89b230c36fe272ef
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Mon, 27 Feb 2017 17:43:36 +0000 (18:43 +0100)]
fuel-web: Fixup AAVMF props patch context
Sync patch context after upstream changes.
Change-Id: Id179543f0f3732f6609b66527a617e08135d7aef
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Fri, 24 Feb 2017 01:39:55 +0000 (02:39 +0100)]
fuel-plugin-odl: install_quagga: Parallel build
Change-Id: I6b0de1cb7bff9d79d804795c428fe7d5ca2a070a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Fri, 17 Feb 2017 17:33:56 +0000 (18:33 +0100)]
fuel-nailgun-agent: Fixup SR-IOV filtering patch
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>
Cristina Pauna [Fri, 17 Feb 2017 15:22:48 +0000 (17:22 +0200)]
Migrate docs to the new Danube dir structure
Change-Id: I6f15bcf5ea66fbdd1c3e4621e7f339dafcea9a7e
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Alexandru Avadanii [Wed, 15 Feb 2017 17:53:45 +0000 (18:53 +0100)]
fuel-library: Remove tcp_retries2 patch (upstream)
Change-Id: I0f5553f5caeff4c65cfdad76c117c084057ba773
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Wed, 15 Feb 2017 16:16:45 +0000 (17:16 +0100)]
fuel-plugin-ovs: Rebase after ovs-dpdk removal
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>
Alexandru Avadanii [Thu, 9 Feb 2017 10:46:23 +0000 (11:46 +0100)]
fuel-library: AArch64: nova: Backport NUMA support
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>
Alexandru Avadanii [Tue, 7 Feb 2017 09:53:23 +0000 (10:53 +0100)]
submodules: Disable ignore=all for OPNFV projects
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>
Alexandru Avadanii [Tue, 7 Feb 2017 09:53:23 +0000 (10:53 +0100)]
Temp: fuel-library: Increase tcp_retries2 value
Change-Id: I6f7e3b291878bb20e51f8100ef3a1ede540e4736
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Tue, 7 Feb 2017 08:54:25 +0000 (09:54 +0100)]
Temp: fuel-library: Fix MySQL OCF race (backport)
JIRA: FUEL-251
Change-Id: I5e6560d494b60721770faf0ed09a72e1a4818d8f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Sat, 4 Feb 2017 14:43:52 +0000 (15:43 +0100)]
deploy: EFI: Obsolete patch: Skip IPMI re-ordering
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>
Alexandru Avadanii [Fri, 3 Feb 2017 01:47:01 +0000 (02:47 +0100)]
f_tacker-pluginbuild: Enable for Newton
JIRA: ARMBAND-204
Change-Id: I96b45c705d05dc0f1c71257f8f8237838a6fc5a3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Tue, 24 Jan 2017 20:47:23 +0000 (21:47 +0100)]
fuel-plugin-ovs: Rebase patches and enable for N
JIRA: ARMBAND-203
Change-Id: I8c1ca9a10b62751509a37b0079d4e7040e53a60d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Fri, 3 Feb 2017 00:59:47 +0000 (01:59 +0100)]
Rebase: Adjust patch context for deploy config
Change-Id: I3d1b15cbfd70d726ae8b24514d2106e7e52e2524
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Wed, 1 Feb 2017 10:18:26 +0000 (11:18 +0100)]
Upstream: packetary multiarch mirror
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>
Alexandru Avadanii [Tue, 31 Jan 2017 23:01:20 +0000 (00:01 +0100)]
docker: fpb: Obsolete src override
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>
Alexandru Avadanii [Tue, 31 Jan 2017 21:25:45 +0000 (22:25 +0100)]
f_bgpvpn-pluginbuild: Enable after Newton rebase
Fuel@OPNFV rebased and bumped the BGPVPN Fuel plugin for Newton,
so enable building it for Armband ISO too.
JIRA: ARMBAND-202
Change-Id: Ifd59f060f828855d85a9621fcfed7a43f33d48fd
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Dan Andresan [Mon, 30 Jan 2017 15:25:30 +0000 (17:25 +0200)]
Fuel-plugin-odl: fix ODL cache corruption
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>
Alexandru Avadanii [Wed, 25 Jan 2017 22:44:09 +0000 (23:44 +0100)]
fuel-plugin-odl: Patch leveldb before jetty.xml
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>
Alexandru Avadanii [Tue, 24 Jan 2017 18:38:40 +0000 (19:38 +0100)]
fuel-plugin-odl: Uplift OpenDaylight to Fuel10
JIRA: ARMBAND-202
Change-Id: Ife5a5a34f272cb77dc88c2f927d4129e025a3846
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Wed, 25 Jan 2017 02:08:15 +0000 (03:08 +0100)]
deploy-cache: Fix typo in nailgun settings sed
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>
Alexandru Avadanii [Tue, 24 Jan 2017 18:13:05 +0000 (19:13 +0100)]
deploy-cache: Relax repo fingerprinting
JIRA: ARMBAND-206
Change-Id: I054a287593a327fa16941f6c9fec802e9ce2fac8
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Tue, 24 Jan 2017 17:49:26 +0000 (18:49 +0100)]
deploy-cache: Sync nailgun settings explicitly
/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>
Alexandru Avadanii [Mon, 23 Jan 2017 22:39:34 +0000 (23:39 +0100)]
deploy-cache: refresh authorized_keys from id_rsa
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>
Alexandru Avadanii [Sat, 21 Jan 2017 22:02:47 +0000 (23:02 +0100)]
patch-packages: Disable for Armband
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>
Alexandru Avadanii [Sat, 21 Jan 2017 20:45:46 +0000 (21:45 +0100)]
f_repobuild: Pull packetary patch from upstream
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>
Alexandru Avadanii [Sat, 21 Jan 2017 18:34:06 +0000 (18:34 +0000)]
Merge "Uplift Armband to Fuel Newton"
Alexandru Avadanii [Sun, 18 Dec 2016 15:53:26 +0000 (16:53 +0100)]
Uplift Armband to Fuel Newton
[ 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>
Anders Roxell [Wed, 18 Jan 2017 20:35:24 +0000 (21:35 +0100)]
patches/fuel-plugin-ovs: fix version bump of libxenstore3.0
JIRA: ARMBAND-192
Change-Id: Ia99fab2dc38e7e5f8372dedfadf9c807586e7080
Signed-off-by: Anders Roxell <anders.roxell@enea.com>
Alexandru Avadanii [Wed, 21 Dec 2016 02:26:29 +0000 (03:26 +0100)]
deploy-cache: Fix home dir expansion in .ssh path
JIRA: ARMBAND-184
Change-Id: I26a79ac6c4ec4314fb21fc55b43985488c1b5fde
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Mon, 19 Dec 2016 22:33:05 +0000 (23:33 +0100)]
deploy-cache: Fix one more time id_rsa inject
JIRA: ARMBAND-184
Change-Id: Ie88d1d2a16cbce6987ac12f226e48acc1fc81d9b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Tue, 20 Dec 2016 19:27:16 +0000 (20:27 +0100)]
build: select_ubuntu_repo: break on err
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>
Alexandru Avadanii [Mon, 19 Dec 2016 00:16:33 +0000 (01:16 +0100)]
patches: fuel-mirror: Remove obsolete patches
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>
Alexandru Avadanii [Sun, 18 Dec 2016 22:49:24 +0000 (23:49 +0100)]
deploy-cache: Fix bootstrap id_rsa inject
JIRA: ARMBAND-184
Change-Id: Ibcc70205f0688ce43e27d6d1361d513f15b4576b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Alexandru Avadanii [Sat, 17 Dec 2016 18:05:18 +0000 (19:05 +0100)]
sub: packetary: remove, patches upstream
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>
Anders Roxell [Sat, 17 Dec 2016 15:49:34 +0000 (16:49 +0100)]
ci/build.sh: improve robustness
Change-Id: I6324439f887c5d286052128ed1b627f5fec42b31
Signed-off-by: Anders Roxell <anders.roxell@enea.com>
Alexandru Avadanii [Thu, 15 Dec 2016 18:04:32 +0000 (19:04 +0100)]
fuel-main: Restart sshd service instead of reload
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>
Alexandru Avadanii [Wed, 14 Dec 2016 16:25:35 +0000 (17:25 +0100)]
fuel-library: pp: cobbler: Fix CentOS ver detect
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>
Alexandru Avadanii [Mon, 12 Dec 2016 17:03:06 +0000 (18:03 +0100)]
deploy-cache: Fix bootstrap cache location
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>
Alexandru Avadanii [Fri, 9 Dec 2016 16:44:25 +0000 (17:44 +0100)]
deploy-cache: Fix opnfv-bootstraps-cache contents
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>
Alexandru Avadanii [Thu, 8 Dec 2016 21:28:50 +0000 (22:28 +0100)]
deploy-cache: Misc fixes and improvements
- 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>
Cristina Pauna [Wed, 7 Dec 2016 22:05:41 +0000 (22:05 +0000)]
Merge "Fix failed deploys on virtual pod (noha scenarios)"
Alexandru Avadanii [Wed, 7 Dec 2016 21:26:57 +0000 (22:26 +0100)]
fuel-plugins: Enable yardstick plugin build
JIRA: ARMBAND-174
Change-Id: I6a7c76e31b26aa13c82bc755c8985526b5083ecc
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>