Age | Commit message (Collapse) | Author | Files | Lines |
|
`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>
|
|
- 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>
|
|
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>
|
|
Upstream-bug: https://bugs.launchpad.net/fuel/+bug/1688631
Change-Id: I7bc2dac4442c1b02b21fef82a9b9c008f4dab9ac
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
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>
|
|
|
|
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>
|
|
Change-Id: If3cbd4eee8121b697d2ab0603939b9a4aa188230
Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
|
|
Change-Id: Ib2f96ec70d0b589741484f7e3f3b537a269785fe
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
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>
|
|
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>
|
|
Change-Id: If13c2448ca89f3a016e604c8cc1bf36813b7d90d
Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
|
|
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>
|
|
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>
|
|
JIRA: ARMBAND-242
Change-Id: I1e8335289a253f5fa2ebb4fb2620b25f10e1b1e9
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: If6f9cd6a78e712f53e69b9bbc31002983c7162b1
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
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>
|
|
|
|
JIRA: ARMBAND-242
Change-Id: Ice1091ce701139995418c5899181b09b630c41a9
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
JIRA: ARMBAND-236
Change-Id: I91c4956b5baa479995bff2f569a321b8a0b421c0
Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
|
|
Temporarily fix deploys until this patch gets merged upstream.
Change-Id: I6004fc5d6d178a0405ee7a9819264bad317578e7
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
JIRA: ARMBAND-240
Change-Id: If5e7ceb67b6597a2791b352596e52dd63bf32eab
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Drop obsolete patch after Fuel@OPNFV disabled patch-packages.
JIRA: ARMBAND-200
Change-Id: I3a96f34bc8bdc180a1ab18ce89b230c36fe272ef
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Sync patch context after upstream changes.
Change-Id: Id179543f0f3732f6609b66527a617e08135d7aef
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Change-Id: I6b0de1cb7bff9d79d804795c428fe7d5ca2a070a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
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>
|
|
Change-Id: I0f5553f5caeff4c65cfdad76c117c084057ba773
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I6f7e3b291878bb20e51f8100ef3a1ede540e4736
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
JIRA: FUEL-251
Change-Id: I5e6560d494b60721770faf0ed09a72e1a4818d8f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
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>
|
|
JIRA: ARMBAND-203
Change-Id: I8c1ca9a10b62751509a37b0079d4e7040e53a60d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Change-Id: I3d1b15cbfd70d726ae8b24514d2106e7e52e2524
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
JIRA: ARMBAND-202
Change-Id: Ife5a5a34f272cb77dc88c2f927d4129e025a3846
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
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>
|
|
JIRA: ARMBAND-206
Change-Id: I054a287593a327fa16941f6c9fec802e9ce2fac8
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
/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>
|