armband.git
7 years agofuel-web: Fixup AAVMF props patch context 51/29451/1
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>
7 years agofuel-plugin-odl: install_quagga: Parallel build 21/29321/1
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>
7 years agofuel-nailgun-agent: Fixup SR-IOV filtering patch 77/28977/1
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>
7 years agoMigrate docs to the new Danube dir structure 57/28957/1
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>
7 years agofuel-library: Remove tcp_retries2 patch (upstream) 37/28737/1
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>
7 years agofuel-plugin-ovs: Rebase after ovs-dpdk removal 29/28729/1
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>
7 years agofuel-library: AArch64: nova: Backport NUMA support 63/28363/3
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>
7 years agosubmodules: Disable ignore=all for OPNFV projects 03/28303/1
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>
7 years agoTemp: fuel-library: Increase tcp_retries2 value 05/28205/1
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>
7 years agoTemp: fuel-library: Fix MySQL OCF race (backport) 85/28185/1
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>
7 years agodeploy: EFI: Obsolete patch: Skip IPMI re-ordering 35/28035/1
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>
7 years agof_tacker-pluginbuild: Enable for Newton 61/27961/1
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>
7 years agofuel-plugin-ovs: Rebase patches and enable for N 61/27861/3
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>
7 years agoRebase: Adjust patch context for deploy config 59/27959/1
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>
7 years agoUpstream: packetary multiarch mirror 39/27839/1
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>
7 years agodocker: fpb: Obsolete src override 21/27821/2
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>
7 years agof_bgpvpn-pluginbuild: Enable after Newton rebase 19/27819/1
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>
7 years agoFuel-plugin-odl: fix ODL cache corruption 51/27751/1
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>
7 years agofuel-plugin-odl: Patch leveldb before jetty.xml 71/27571/1
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>
7 years agofuel-plugin-odl: Uplift OpenDaylight to Fuel10 51/27551/1
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>
7 years agodeploy-cache: Fix typo in nailgun settings sed 85/27485/2
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>
7 years agodeploy-cache: Relax repo fingerprinting 67/27467/1
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>
7 years agodeploy-cache: Sync nailgun settings explicitly 65/27465/1
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>
7 years agodeploy-cache: refresh authorized_keys from id_rsa 27/27427/1
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>
7 years agopatch-packages: Disable for Armband 45/27345/3
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>
7 years agof_repobuild: Pull packetary patch from upstream 43/27343/1
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>
7 years agoMerge "Uplift Armband to Fuel Newton"
Alexandru Avadanii [Sat, 21 Jan 2017 18:34:06 +0000 (18:34 +0000)]
Merge "Uplift Armband to Fuel Newton"

7 years agoUplift Armband to Fuel Newton 57/26157/20
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>
7 years agopatches/fuel-plugin-ovs: fix version bump of libxenstore3.0 91/27191/1
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>
7 years agodeploy-cache: Fix home dir expansion in .ssh path 25/26325/1
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>
7 years agodeploy-cache: Fix one more time id_rsa inject 67/26267/2
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>
7 years agobuild: select_ubuntu_repo: break on err 17/26317/1
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>
7 years agopatches: fuel-mirror: Remove obsolete patches 63/26163/1
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>
7 years agodeploy-cache: Fix bootstrap id_rsa inject 59/26159/1
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>
7 years agosub: packetary: remove, patches upstream 45/26145/1
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>
7 years agoci/build.sh: improve robustness 39/26139/1
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>
7 years agofuel-main: Restart sshd service instead of reload 41/26041/1
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>
7 years agofuel-library: pp: cobbler: Fix CentOS ver detect 83/25983/2
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>
7 years agodeploy-cache: Fix bootstrap cache location 07/25807/1
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>
7 years agodeploy-cache: Fix opnfv-bootstraps-cache contents 41/25741/1
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>
7 years agodeploy-cache: Misc fixes and improvements 91/25691/1
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>
7 years agoMerge "Fix failed deploys on virtual pod (noha scenarios)"
Cristina Pauna [Wed, 7 Dec 2016 22:05:41 +0000 (22:05 +0000)]
Merge "Fix failed deploys on virtual pod (noha scenarios)"

7 years agofuel-plugins: Enable yardstick plugin build 47/25647/2
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>
7 years agoFix failed deploys on virtual pod (noha scenarios) 39/25639/4
cristinapauna [Wed, 7 Dec 2016 20:07:20 +0000 (22:07 +0200)]
Fix failed deploys on virtual pod (noha scenarios)

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>
7 years agodeploy-cache: Fix typos in bootstrap collect 63/25563/1
Alexandru Avadanii [Tue, 6 Dec 2016 22:38:54 +0000 (23:38 +0100)]
deploy-cache: Fix typos in bootstrap collect

Change-Id: I2d30e72cf218251e1b823619501454a65006dd9d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoUpdate docs for Colorado 3.0 release 01/25501/1
cristinapauna [Mon, 5 Dec 2016 17:45:18 +0000 (19:45 +0200)]
Update docs for Colorado 3.0 release

Change-Id: I93156463e63d71e8b32446b3dfbfe61a7929bf38
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
7 years agoMerge "Update documentation for Colorado 3.0 release"
Alexandru Avadanii [Fri, 2 Dec 2016 13:27:17 +0000 (13:27 +0000)]
Merge "Update documentation for Colorado 3.0 release"

7 years agoUpdate documentation for Colorado 3.0 release 47/25147/2
cristinapauna [Tue, 29 Nov 2016 12:53:11 +0000 (14:53 +0200)]
Update documentation for Colorado 3.0 release

This is the first update on documentation for C3 release
Mostly updated the links and Jira filters

Change-Id: Idd4d6dd92b1ff3972bbcfb1f8b49e547160b6ed9
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
7 years agoMerge "fuel-plugin-opendaylight: Upstart service: Respawn"
Alexandru Avadanii [Thu, 1 Dec 2016 12:48:58 +0000 (12:48 +0000)]
Merge "fuel-plugin-opendaylight: Upstart service: Respawn"

7 years agofuel-plugin-opendaylight: Upstart service: Respawn 21/25321/1
Alexandru Avadanii [Thu, 1 Dec 2016 12:24:03 +0000 (13:24 +0100)]
fuel-plugin-opendaylight: Upstart service: Respawn

On arm64, JVM sometimes (~10%) crashes at the very start, due to
JIT issues in our openjdk8 package.

We can't really solve the JVM on arm64 issues in the near future,
so we will try to work around the issue by configuring the ODL
service as respawn-able (see [1] for more details).

Note: This is specific to Ubuntu Trusty (14.04), which uses upstart,
for Ubuntu Xenial (or anything else >14.x), which uses systemd,
a different, equivalent mechanism should be used.

[1] http://upstart.ubuntu.com/cookbook/#respawn

JIRA: ARMBAND-134

Change-Id: I0dc82e4a6d0cc485e981477e6a25dbad95db930b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agodeploy-cache: Fixup targetimages extract typo 17/25317/1
Alexandru Avadanii [Thu, 1 Dec 2016 12:04:03 +0000 (13:04 +0100)]
deploy-cache: Fixup targetimages extract typo

JIRA: ARMBAND-172

Change-Id: I9f549e0161d39d8f72fff698cfc26c164b0f10ae
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoCI: deploy-cache: Store and reuse deploy artifacts 91/25191/2
Alexandru Avadanii [Wed, 30 Nov 2016 02:09:54 +0000 (03:09 +0100)]
CI: deploy-cache: Store and reuse deploy artifacts

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>
7 years agoCorrect previous patch on fuel rework 35/24935/3
cristinapauna [Sun, 27 Nov 2016 10:45:56 +0000 (12:45 +0200)]
Correct previous patch on fuel rework

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>
7 years agoFuel rework for multiple libvirt 01/24901/5
cristinapauna [Fri, 25 Nov 2016 15:06:27 +0000 (17:06 +0200)]
Fuel rework for multiple libvirt

The current fuel arhitecture assumes that all the VMs
(Jenkins slave, Fuel master and Target nodes) are all on
the same server. There is code that allows the Fuel master
to be on a different machine, but nothing for the Target nodes.
In Enea-Arm lab we have a different server for each.

This commit also adds specific templates for a virtual pod in
the Enea-Arm lab.

Therefore, the following changes are done:
- The default libvirt URI is the machine on which the Target nodes are
- The parameter libvirtUri was added in the dha.yaml file for fuel master
- All virsh calls have "-c" option to explicitly specify the uri; this parameter
  is set only when libvirtUri is explicitly set in the yaml file
- The scenarios dha override now point to the arm template files
- The network templates are not needed for ARM, as the network infra is provided
  by the server on which the Target node VMs reside; the folder is added here
  just for consistency
- The target nodes are created with virsh rather than quemu when the nodes are
  not on the same machine as Jenkins slave (similar logic to what is done for
  remote Fuel master)

JIRA: ARMBAND-122

FIXME: remove hardcodes for
- Network bridges from templates
- Default pool
- libvirtUri from scenario overwrite

Change-Id: Ibf4744e5593f5201550115397024fd8311696074
Signed-off-by: cristinapauna <cristina.pauna@enea.com>
7 years agoMerge "fuel-plugin-opendaylight: Prebuilt leveldbjni DEB"
Alexandru Avadanii [Mon, 21 Nov 2016 22:42:05 +0000 (22:42 +0000)]
Merge "fuel-plugin-opendaylight: Prebuilt leveldbjni DEB"

7 years agolocal mirror: Add missing vgabios for arm64 33/24633/1
Alexandru Avadanii [Mon, 21 Nov 2016 18:19:47 +0000 (19:19 +0100)]
local mirror: Add missing vgabios for arm64

JIRA: ARMBAND-169

Change-Id: I4dbcd044c6c146f541e8c005282a4e60af2c3c8a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agofuel-plugin-opendaylight: Prebuilt leveldbjni DEB 89/24589/1
Alexandru Avadanii [Sun, 20 Nov 2016 20:48:32 +0000 (21:48 +0100)]
fuel-plugin-opendaylight: Prebuilt leveldbjni DEB

Switch from deploy time building of leveldb + leveldbjni to
using a prebuilt artifact, shipped as a DEB package from Armband
repos.

JIRA: ARMBAND-114

Change-Id: Ic7a52c78e803c1a6ebda1f127774959a0880a5a3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agof_repobuild: Fixup missing OPNFV plugin deps 83/24583/1
Alexandru Avadanii [Sat, 19 Nov 2016 19:46:44 +0000 (20:46 +0100)]
f_repobuild: Fixup missing OPNFV plugin deps

Packetary solves "libasound2" with "liboss4-salsa-asound2" from universe,
leading to openjdk failing to install.

Work around this by altering recently introduced packetary-driven local
mirror build to include OPNFV plugin deps into the "main" package list.

JIRA: ARMBAND-167
JIRA: ARMBAND-35

Change-Id: I040a7117c7ae809933a400ae00937ab8fcc1ea0e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agof_odlpluginbuild: Armband prereq in packages.yaml 79/24579/1
Alexandru Avadanii [Sat, 19 Nov 2016 19:46:44 +0000 (20:46 +0100)]
f_odlpluginbuild: Armband prereq in packages.yaml

We need to explicitily add our Armband leveldb patching prereq
tools, like maven, git, make etc. to the ODL plugin's packages.yaml,
so they are included in the offline Ubuntu mirror.

While at it, also add openjdk-8-jre amos version additional dep:
- libasound2

JIRA: ARMBAND-167

Change-Id: I17fa7a4727b8a553f5a46ab13267380a8864c728
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agofuel-plugin-ovs: FIXME: Pin to pre-Newton upstream 77/24577/1
Alexandru Avadanii [Sat, 19 Nov 2016 16:50:19 +0000 (17:50 +0100)]
fuel-plugin-ovs: FIXME: Pin to pre-Newton upstream

Upstream Fuel@OPNFV made the switch to Newton, while in Armband
this will happen later.

Until then, pin the latest Mitaka compatible version, i.e. use
the Fuel@OPNFV reference from the Colorado branch.

While at it, add missing change var for upstream fuel-plugin-ovs
git repo, to prevent issues like ARMBAND-166 from happening on
Armband master later.

JIRA: ARMBAND-166
JIRA: ARMBAND-118

Change-Id: I0630c2349befa3bdfbbb01b4ad401660d8cfd5fe
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agobuild: fixtures: Fix local Ubuntu mirror URIs 47/24447/2
Alexandru Avadanii [Wed, 16 Nov 2016 22:51:22 +0000 (23:51 +0100)]
build: fixtures: Fix local Ubuntu mirror URIs

Previous commit (bcdc1eaa74d5efd5f8c80600fb30d722bae9a421) confused
the URL of the local Ubuntu mirror with the local MOS mirror.

JIRA: ARMBAND-35

Change-Id: Icfb68e88e61c238cf650b84b269d16f9a52f9f26
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agobuild: Add local Ubuntu mirror to target image 41/24441/1
Alexandru Avadanii [Wed, 16 Nov 2016 19:32:06 +0000 (20:32 +0100)]
build: Add local Ubuntu mirror to target image

When deploying via Jenkins CI, the repos used for target image
building are overridden to use the local Ubuntu mirror on Fuel
Master instead of fetching packages from internet.

However, when deploying manually, only bootstrap image building
benefits from the local Ubuntu mirror.

While keeping the internet mirrors, add the local Ubuntu mirror
to target image build repo list.

JIRA: ARMBAND-35

Change-Id: Ibd58067703ce6370781a6b54fd01ce52e29686ac
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agobuild/install: Fix missing arch list from Release 27/24427/2
Alexandru Avadanii [Wed, 16 Nov 2016 15:19:36 +0000 (16:19 +0100)]
build/install: Fix missing arch list from Release

During the previous attempt to fix the local mirror rebuild by
reworking `atp-ftparchive` configuration, we removed the arch
list from the main configuration, which led to the local Release
file missing "Architectures" entries.

This led to "/etc/fuel_openstack_arch" not being populated,
binfmt not starting on the first boot, and bootstrap build failing.

Bring back the "Architecture" config line to restore the old
behavior.

JIRA: ARMBAND-163

Change-Id: Ica64fcd60ed4e0185d2cab5457603b42d3d55af8
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoFIXME: build: Temp pin to pre-Newton Fuel@OPNFV 29/24429/1
Alexandru Avadanii [Wed, 16 Nov 2016 15:28:02 +0000 (16:28 +0100)]
FIXME: build: Temp pin to pre-Newton Fuel@OPNFV

Until we populate Armband repos with Fuel Newton packages, we
cannot build the Newton version of Fuel@OPNFV in Armband.

Therefore, temporarily pin the upstream repos to pre-Newton
commits.

JIRA: ARMBAND-118

Change-Id: I34d44c4fabe59c32a7f2c45424dd80e9ae3e04bc
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoMerge "AArch64: Ubuntu local partial mirror: Add arm64"
Alexandru Avadanii [Tue, 15 Nov 2016 21:07:48 +0000 (21:07 +0000)]
Merge "AArch64: Ubuntu local partial mirror: Add arm64"

7 years agoAArch64: Ubuntu local partial mirror: Add arm64 05/23805/8
Alexandru Avadanii [Sun, 30 Oct 2016 00:12:39 +0000 (02:12 +0200)]
AArch64: Ubuntu local partial mirror: Add arm64

NOTE: Temporarily patch "packetary" in Armband until we upstream
      two small fixes.

Bootstrap build, deploy target image build:
- Switch from public Ubuntu mirrors to 10.20.0.2.

JIRA: ARMBAND-35

Change-Id: I14645cfeebb486063e7b8198de273f68285b11cd
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agobuild/docker: Import Enea Armband keys 55/23755/4
Alexandru Avadanii [Fri, 28 Oct 2016 14:09:55 +0000 (16:09 +0200)]
build/docker: Import Enea Armband keys

JIRA: ARMBAND-96

Change-Id: I28ab3030d3f31c5734508838985412a33334570a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agobuild/install: Fix paths in apt-ftparchive conf 95/24195/4
Alexandru Avadanii [Thu, 10 Nov 2016 20:20:44 +0000 (21:20 +0100)]
build/install: Fix paths in apt-ftparchive conf

JIRA: ARMBAND-163

Change-Id: I3fd5a8a826372afc323665abe229c7e67991e31a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agofuel-plugin-ovs: Bind to stable/9.0 branch 51/23951/2
Anders Roxell [Thu, 3 Nov 2016 20:13:17 +0000 (21:13 +0100)]
fuel-plugin-ovs: Bind to stable/9.0 branch

Previously, fuel-plugin-ovs did not have a stable branch for Fuel 9,
but now it does, and since fuel-plugin-ovs/master was reworked for
Fuel 10, we need to switch to it.

v1 -> v2: Backported one patch that was not cherry-picked on stable.

Change-Id: I58467e441763b35e5296cb29433eb941e65eec3f
Signed-off-by: Anders Roxell <anders.roxell@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoMerge "build: Rebase after cirros bump / GPG addition"
Alexandru Avadanii [Fri, 28 Oct 2016 14:22:38 +0000 (14:22 +0000)]
Merge "build: Rebase after cirros bump / GPG addition"

7 years agopatches/fuel-plugin-ovs: fix version bump of libxenstore3.0 51/23751/1
Anders Roxell [Wed, 26 Oct 2016 23:17:00 +0000 (01:17 +0200)]
patches/fuel-plugin-ovs: fix version bump of libxenstore3.0

Change-Id: I4c232fec4f35add7b04faf305cdf53dde70d7e92
Signed-off-by: Anders Roxell <anders.roxell@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agobuild: Rebase after cirros bump / GPG addition 49/23749/2
Alexandru Avadanii [Fri, 28 Oct 2016 13:18:31 +0000 (15:18 +0200)]
build: Rebase after cirros bump / GPG addition

Slightly edit patch context to match upstream changes [1, 2].

[1] https://gerrit.opnfv.org/gerrit/#/c/22559/
[2] https://gerrit.opnfv.org/gerrit/#/c/21823/

Change-Id: Ibdb3b557f3e482f74d345a1e0e1eedda26879179
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agobuild: Add <debug> make target 05/23305/2
Alexandru Avadanii [Tue, 18 Oct 2016 15:21:08 +0000 (17:21 +0200)]
build: Add <debug> make target

Pass `make debug` to Fuel@OPNFV build system.

debug requires Fuel@OPNFV submodules to be initialized, since
`f_repobuild` relies on fuel-mirror submodule.

Change-Id: Ia64a7d79143c00fc09076472ad346f0cdc20c2b5
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoFIXME: build: Revert using mirror snapshots 81/23281/2
Alexandru Avadanii [Tue, 18 Oct 2016 10:30:47 +0000 (12:30 +0200)]
FIXME: build: Revert using mirror snapshots

Armband does not yet have DEB/RPM repo snapshots, so revert
upstream Fuel@OPNFV change enabling them.

JIRA: ARMBAND-155

Change-Id: Ib08c36bf28a66ef38d8b33031dcbf363fb34123c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoMerge "Revert "FIXME: Temporary: Use archive.ubuntu.com only""
Alexandru Avadanii [Mon, 17 Oct 2016 18:16:54 +0000 (18:16 +0000)]
Merge "Revert "FIXME: Temporary: Use archive.ubuntu.com only""

7 years agoRevert "FIXME: Temporary: Use archive.ubuntu.com only" 45/23245/1
Alexandru Avadanii [Mon, 17 Oct 2016 18:16:18 +0000 (18:16 +0000)]
Revert "FIXME: Temporary: Use archive.ubuntu.com only"

Now that [1] has been merged, we should stick to upstream behavior.

[1] https://gerrit.opnfv.org/gerrit/#/c/22975/

This reverts commit f653f97dd2591f4cd5bcb4e76eb2134a93f6d460.

Change-Id: I5f23dd6e1b113e8a7d06995e479287ff196410dd

7 years agoMerge "ci/{build,deploy}.sh: Move `export TERM` to releng"
Alexandru Avadanii [Thu, 13 Oct 2016 09:15:44 +0000 (09:15 +0000)]
Merge "ci/{build,deploy}.sh: Move `export TERM` to releng"

7 years agoUpstream: Fuel@OPNFV: Fuel Master VM templates 41/23041/1
Alexandru Avadanii [Wed, 12 Oct 2016 19:32:05 +0000 (21:32 +0200)]
Upstream: Fuel@OPNFV: Fuel Master VM templates

While at it, also upstream:
"build: Use OPNFV_GIT_SHA for ISO preparer ID"

JIRA: ARMBAND-146

Change-Id: Ifcd7b3041d172aa492e26477c0872cd96efd90ba
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agofuel-plugin-tacker: Enable build for Armband 17/23017/1
Alexandru Avadanii [Tue, 11 Oct 2016 17:13:51 +0000 (19:13 +0200)]
fuel-plugin-tacker: Enable build for Armband

JIRA: ARMBAND-143

Change-Id: I388e324b39aa2cec015bc65559f4c363bc37abdd
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoci/{build,deploy}.sh: Move `export TERM` to releng 39/22939/1
Alexandru Avadanii [Mon, 10 Oct 2016 18:25:07 +0000 (20:25 +0200)]
ci/{build,deploy}.sh: Move `export TERM` to releng

TERM is now only set for CI runs, not when calling CI scripts
by hand, outside Jenkins CI.

Releng: 'fuel, armband: build, deploy: export TERM="vt220"' [1]

[1] https://gerrit.opnfv.org/gerrit/#/c/22933/

Change-Id: I756505c6c395a2cbf7902b49db689abb956fbf5d

7 years agodeploy: Reduce Fuel Master VCPU count 25/22925/1
Alexandru Avadanii [Mon, 10 Oct 2016 16:18:24 +0000 (18:18 +0200)]
deploy: Reduce Fuel Master VCPU count

Fuel Master VM template has been updated to use:
- 4 VCPUs (was 8 VPCUs);

Related-bug: ARMBAND-98

Change-Id: I1a587f0efa06850885ff8cf938ebb9775af8f7a8
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoFIXME: Temporary: Use archive.ubuntu.com only 91/22891/1
Alexandru Avadanii [Sun, 9 Oct 2016 19:50:14 +0000 (21:50 +0200)]
FIXME: Temporary: Use archive.ubuntu.com only

We recently removed blacklists for a few mirrors, on account
of upstream Fuel@OPNFV fixing mirror selection in [1].

Although the mechanism will be polished a little, it works very
nicely; pointing us to [2], where we seem to trigger some flood
protection at sync, leading to dropped connections and failed builds.

Keep using the official Ubuntu Archive mirror [3] until we sort this out.

Fixes: ARMBAND-136

[1] https://gerrit.opnfv.org/gerrit/#/c/22195
[2] http://mirrors.se.eu.kernel.org/ubuntu/
[3] http://archive.ubuntu.com/ubuntu/

Change-Id: If9247f829ee314d4c71dafa84b6cd13b384484f0
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoci/{build,deploy}.sh: Use /bin/sh, vt220 85/22885/1
Alexandru Avadanii [Sun, 9 Oct 2016 15:59:53 +0000 (17:59 +0200)]
ci/{build,deploy}.sh: Use /bin/sh, vt220

This should fix Jenkins build log warns like:
<tput: unknown terminal "unknown">, and also NOT print color chars.

Fixes: ARMBAND-136

Change-Id: If65f6bf3df5323374aefba56d0c9b7ca4f91e5ca
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agobuild: Fix missing git config for applying patches 81/22881/1
Alexandru Avadanii [Sun, 9 Oct 2016 15:06:19 +0000 (17:06 +0200)]
build: Fix missing git config for applying patches

After decoupling Fuel@OPNFV's `build/config.mk`, which
exports GIT_COMMITER_* info, we need to configure it in Armband too,
so git can apply patches for Fuel plugins / Fuel@OPNFV itself.

Fixes: ARMBAND-136

Change-Id: I9404d742e89d7a54e4763f8248f16405f4685881
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agobuild: Rework patch mechanism for Fuel submodules 91/22791/8
Alexandru Avadanii [Sat, 1 Oct 2016 11:18:11 +0000 (13:18 +0200)]
build: Rework patch mechanism for Fuel submodules

While refactoring the patching mechanism, take care of:
- Sync submodule handling with Fuel@OPFNV;
- build: Investigate/prepare for moving patches to Fuel@OPNFV;
- build: Investigate divergent fuel-mirror;
- ISO build: cacheid for Fuel comps should not depend on
  Armband git commit;

CHANGE:
 Rename/shuffle patches while grouping them in "features",
 preparing for upstreaming them to Fuel@OPNFV and beyond.

CHANGE:
 Allow linking patches for better representing the dependency
 between one patch and different features.
 e.g. 0001-Add-arch-to-nailgun-release-and-target-image.patch:
   - part of `multiarch-fuel`, because it extends Fuel;
   - part of `direct-kernel-boot`, as arch is required for that;
   - part of `cross-bootstrap`, target image is arch-dependent;
 NOTE: Patch links are not staged to Fuel@OPNFV, they only serve
 as markers that a specific patch is part of a feature.

CHANGE:
 Kill all Fuel component submodules, now handled in Fuel@OPNFV:
  - fuel-agent
  - fuel-astute
  - fuel-library
  - fuel-mirror
  - fuel-nailgun-agent
  - fuel-web

CHANGE:
 Move armband-fuel-config.mk to armband git root.

FIXME: m1.micro-Increase-profile-RAM-size-to-128MB.patch is NOT
 part of `cross-bootstrap` feature, but patch context says so ...

FIXME: 0001-Add-arm64-deb-repositories-setup.patch is broken at
 `make patches-export` by removing spaces at EOL.

v2 -> v3:
 * Phony patch support (links to show a patch belongs to a feature);
 * Updated README.md
v3 -> v7:
 * Re-export Fuel submodules & plugins patches (update patch context);
 * Update Cavium mail addresses (s/caviumnetworks.com/cavium.com/);
 * Ignore submodule changes;
 * Add armband git repo info to gitinfo_fuel.txt at build time;

Implements: ARMBAND-136
Closes-bug: ARMBAND-95
Closes-bug: ARMBAND-93
Closes-bug: ARMBAND-92

Change-Id: I1a236d9f43b2e6dca22055911f696b43c22b5973
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoCleanup: Remove obsolete Fuel@OPNFV patches 87/22787/1
Alexandru Avadanii [Thu, 6 Oct 2016 19:13:01 +0000 (21:13 +0200)]
Cleanup: Remove obsolete Fuel@OPNFV patches

Since we are now building inside docker containers, it is no longer
necessary to use `python-debian` from pip repo instead of Ubuntu.

Also, since Fuel@OPNFV improved our mirror selection in [1], we
can drop our custom blacklist entries for Ubuntu SE mirrors, as
well as repeating the repo mirror build in case of failure.

[1] https://gerrit.opnfv.org/gerrit/#/c/22195

Change-Id: I62890b6ae7977cd8a39c06ce17c8964e6cb1dddb
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoRebase: docker tag reuse context adj 85/22785/1
Alexandru Avadanii [Fri, 7 Oct 2016 11:04:53 +0000 (13:04 +0200)]
Rebase: docker tag reuse context adj

Change-Id: If6a3472a2f8fe64db2469536fe4d12d88e7a61f0
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoMerge "Revert "deploy: Reduce Fuel Master VM resources""
Alexandru Avadanii [Thu, 6 Oct 2016 19:01:03 +0000 (19:01 +0000)]
Merge "Revert "deploy: Reduce Fuel Master VM resources""

7 years agoRevert "deploy: Reduce Fuel Master VM resources" 55/22755/1
Alexandru Avadanii [Thu, 6 Oct 2016 19:00:33 +0000 (19:00 +0000)]
Revert "deploy: Reduce Fuel Master VM resources"

This reverts commit acc93911c7d1d4be5ba5cd04e731626d01d59598.

Change-Id: I001cd72506ec99ae2c41bd30d3dd36dd3de06217

7 years agoINFO: Add Cristina Pauna as committer. 29/22629/2
Alexandru Avadanii [Sat, 1 Oct 2016 18:58:43 +0000 (20:58 +0200)]
INFO: Add Cristina Pauna as committer.

Change-Id: I6a6a80bf58ae453485431ecc35eab8cb553c29e0
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
7 years agoMerge "INFO: remove commiters: Joe and Stan"
Alexandru Avadanii [Sat, 1 Oct 2016 18:52:36 +0000 (18:52 +0000)]
Merge "INFO: remove commiters: Joe and Stan"

7 years agoUpdated armband
Jonas Bjurel [Thu, 29 Sep 2016 19:47:28 +0000 (19:47 +0000)]
Updated armband
Project: fuel  cf93e6ee11c96de090b04196cc96b4a6b0948928

use pgrep instead of ps

pgrep was added to procps-ng, it is more exact

also replace ps -ef in wait_until_fuel_menu_up
removed get_fuel_menu_pid

Change-Id: I57ad9d2fabbfe5f570e0be3bfb40ef842f95902d
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoUpdated armband
Jonas Bjurel [Thu, 29 Sep 2016 19:44:26 +0000 (19:44 +0000)]
Updated armband
Project: fuel  2e6be7473d11f14d62ad1aa1d76f2e0c99327424

check read access instead of isfile() for Fuel ISO

When testing with nested virtualzation I attached
the Fuel ISO to VM (/dev/sr0) running deploy.sh

This failed because we expect the ISO to be a file, when
it could be a device, e.g. /dev/sr0.  Instead of checking isfile()
check for read access.

This tested with bsdtar. It can extract an ISO from a file or device.

Change-Id: Ic09373cd618b33382303d9134cce4e005040de95
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
7 years agoUpdated armband
Peter Barabas [Mon, 26 Sep 2016 11:10:56 +0000 (13:10 +0200)]
Updated armband
Project: fuel  d1f2969eed092f182cc746ca1d06337d71a8215d

Refactor deploy-config.py into object style

Change-Id: I706563e6ed1bbfd98adc5a4124ff63789f9e32fa
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
7 years agoUpdated armband
Michal Skalski [Thu, 29 Sep 2016 07:25:43 +0000 (07:25 +0000)]
Updated armband
Project: fuel  c25f5af252949dc1b249f77fe8e33c5ea13c1ad1

[odl-l3] Get OVS plugin into the action

Update ovs version to 2.5+ in order to get inserted security group
connection tracking flows in ovsdb, which allows to pass
tempest scenario of test_network_basic_ops.

JIRA: FUEL-199
Change-Id: Id3e6c8ed2b79c4b6b4a7623f0d262c63f1d1d89f
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
7 years agoUpdated armband
Martin Klozik [Fri, 23 Sep 2016 11:04:01 +0000 (12:04 +0100)]
Updated armband
Project: vswitchperf  48ec9750583c47dadf0f3fd931dc2cf12f738b67

bugfix: Qemu shared dir failure

In case of testpmd or l2fwd loopback app, VSPERF copies
sources if these tools into qemu shared folder. Maximum
size of folder content is limited to approx. 500MB. This
limit is exceeded in case that DPDK is built for multiple
RTE_TARGETs. Unnecessary files are excluded from the
copy to spare size inside shared folder.

JIRA: VSPERF-398

Change-Id: Iab31a6ff2397f7031eae6a95d424317c3343d4d9
Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Bill Michalowski <bmichalo@redhat.com>
Reviewed-by: Antonio Fischetti <antonio.fischetti@intel.com>
7 years agoUpdated armband
Michal Skalski [Wed, 28 Sep 2016 14:47:22 +0000 (14:47 +0000)]
Updated armband
Project: fuel  0789fdc49305b2d8403960139beafe1064cef8ba

Support different format of fuel task info

As described in this bug: https://bugs.launchpad.net/fuel/+bug/1625518
json output of the task can be in different format: single dict or list
of dicts. During tests of https://gerrit.opnfv.org/gerrit/21807 only the
later one was visible, try to support both types of output.

Change-Id: I7d3e12270c8246b03bdc6c73d3be77a039df469f
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
7 years agoUpdated armband
Michal Skalski [Wed, 28 Sep 2016 07:24:36 +0000 (07:24 +0000)]
Updated armband
Project: fuel  dd4357385318eccfa82c8e079b07e9373ec93cfa

Add DHA adapter dependencies

Change-Id: Ia83782ac6baed0f9d753b69b18202abaafb972e5
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
7 years agoUpdated armband
Michal Skalski [Tue, 27 Sep 2016 15:17:18 +0000 (15:17 +0000)]
Updated armband
Project: fuel  f2fde8258dedfbbeae52d0c9b1d3a634fd290877

Change the way how we track deployment

Use fuel2 for start deployment. Since it does not return progress
use deployment task to provide this information. Currently used
'deploy-changes' will behave the same:
https://bugs.launchpad.net/fuel/+bug/1565026

Try to handle situation when nodes temporary go offline. With
deploy-changes environment still was in 'new' state in this situtation
which causes timeouts from jenkins.

JIRA: FUEL-196

Change-Id: I6548a5ec807551388e845044c282b7af32eb9100
Signed-off-by: Michal Skalski <mskalski@mirantis.com>
7 years agoMerge "Add grub template to cobbler for MAC-files"
Alexandru Avadanii [Tue, 27 Sep 2016 15:09:19 +0000 (15:09 +0000)]
Merge "Add grub template to cobbler for MAC-files"