armband.git
8 years agoMerge "Fix improper patch rebase"
Alexandru Avadanii [Wed, 25 May 2016 16:14:12 +0000 (16:14 +0000)]
Merge "Fix improper patch rebase"

8 years agoMerge "Correct libvirt template patch"
Alexandru Avadanii [Wed, 25 May 2016 16:13:30 +0000 (16:13 +0000)]
Merge "Correct libvirt template patch"

8 years agoUpdated armband
Jonas Bjurel [Tue, 24 May 2016 17:41:48 +0000 (17:41 +0000)]
Updated armband
Project: fuel  b0b2e869cae884aaed305f2984701dc813a469ec

docs/install-instr: Add target specific cfg sect.

Fuel 8.0 adds support for setting up "Offloading Modes" for
target nodes.

Document how this features should be used (and why/when it's
necessary), and also its common limitation of not being applied
during Verify Networks step (see related Fuel bug report [1]).

While at it, fix minor reference to branch in git tag checkout
instructions, as we'd be in detached HEAD and not on a new branch.

[1] https://jira.opnfv.org/browse/FUEL-134

[Alexandru.Avadanii@enea.com]
Only minor edits and prepared for upstreaming, this is mostly
based on previous work from Florin.

Change-Id: If7a8ca44541903dbeb6db36bc64fe56b132165cb
Signed-off-by: Florin Dumitrascu <florin.dumitrascu@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
8 years agoFix improper patch rebase 81/14581/1
Stanislaw Kardach [Tue, 24 May 2016 14:21:06 +0000 (16:21 +0200)]
Fix improper patch rebase

Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
8 years agoCorrect libvirt template patch 79/14579/1
Stanislaw Kardach [Tue, 24 May 2016 09:24:27 +0000 (11:24 +0200)]
Correct libvirt template patch

Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
8 years agoMerge "Rebase: p/fuel-web: Drop obsoleted qemu doc patch."
Stanislaw Kardach [Tue, 24 May 2016 08:18:50 +0000 (08:18 +0000)]
Merge "Rebase: p/fuel-web: Drop obsoleted qemu doc patch."

8 years agoUpdated armband
Manuel Buil [Thu, 19 May 2016 11:30:25 +0000 (13:30 +0200)]
Updated armband
Project: fuel  439f684991c36f61483b12134a8c981f78f0e473

Remove coexistence configuration from post script

This is not more needed as the config comes from FUEL ODL plug-in

Change-Id: Ie09a52ac3919ac641924d41431dc000910e6d4f4
Signed-off-by: Manuel Buil <manuel.buil@ericsson.com>
8 years agoRebase: p/fuel-web: Drop obsoleted qemu doc patch. 97/14197/1
Alexandru Avadanii [Mon, 16 May 2016 15:05:14 +0000 (17:05 +0200)]
Rebase: p/fuel-web: Drop obsoleted qemu doc patch.

Upstream moved documentation from local repo to fuel-docs in [1].

While looking at this patch, I think we should drop this change
altogether, since qemu-user-static is not needed inside the
docker builder container, at least not until we start using it
for cross-builds, which is highly unlikely anyway.

qemu-user-static should always be automatically installed as a
dependency of fuel-agent, and NOT by explicit request.

[1] https://github.com/openstack/fuel-web/commit/
    eb673991cc99c5dadb251f922adb08abb40a8bad

Change-Id: Iad7f659fd5ff81e92860508fad58bac519158c47

8 years agoRebase: WSREP rsync patches 77/14177/3
Alexandru Avadanii [Mon, 16 May 2016 14:48:11 +0000 (16:48 +0200)]
Rebase: WSREP rsync patches

Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
Change-Id: Ic5cc1109df04a95a5e072ab3acb79eb89427a1e0

8 years agoMerge "Rebase: p/fuel-library: CirrOS direct kernel boot"
Alexandru Avadanii [Mon, 16 May 2016 14:43:33 +0000 (14:43 +0000)]
Merge "Rebase: p/fuel-library: CirrOS direct kernel boot"

8 years agoRebase: p/fuel-web: Add AArch64 s/Liberty/Mitaka/. 37/14137/2
Alexandru Avadanii [Fri, 13 May 2016 23:00:24 +0000 (01:00 +0200)]
Rebase: p/fuel-web: Add AArch64 s/Liberty/Mitaka/.

Change patch adding Liberty on aarch64 support to
adding the following Openstack releases instead:

- Mitaka on Ubuntu 14.04 (aarch64)
- Mitaka on Ubuntu+UCA 14.04 (aarch64)

Signed-off-by: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Change-Id: Ib3f782eccb3d58786d8f99cfd10674cef214d239

8 years agoRebase: p/fuel-web: Disable s/Liberty/Mitaka/. 35/14135/3
Alexandru Avadanii [Fri, 13 May 2016 22:16:24 +0000 (00:16 +0200)]
Rebase: p/fuel-web: Disable s/Liberty/Mitaka/.

Update patch for disabling Opentack release(s).

Fuel now introduced <Mitaka on Ubuntu+UCA 14.04>,
so disable that too for x86_64.

Change-Id: I431357bfc6edd3ae0b2567ee5b59c4a1b4deb9b2
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
8 years agoRebase: p/fuel-main: Drop armband RPM repo patch. 33/14133/2
Alexandru Avadanii [Fri, 13 May 2016 21:37:24 +0000 (23:37 +0200)]
Rebase: p/fuel-main: Drop armband RPM repo patch.

Since Fuel 9.0 drops containers on Fuel master (see spec
"Get rid of docker containers on the master node"), we
no longer need to add the armband RPM repo config to the
cobbler container for cobbler-grub-aarch64.

[1] https://blueprints.launchpad.net/fuel/+spec/
    get-rid-docker-containers

Change-Id: Ia23482226e81f83c1eb50c239346a3686206d5bf

8 years agoRebase: p/f-{main,lib}: cobbler-grub-aarch64 dep. 31/14131/2
Alexandru Avadanii [Fri, 13 May 2016 21:14:08 +0000 (23:14 +0200)]
Rebase: p/f-{main,lib}: cobbler-grub-aarch64 dep.

Since Fuel 9.0 drops containers on Fuel master (see spec
"Get rid of docker containers on the master node"), we
need to handle the install of cobbler-grub-aarch64 in a
different place.

So, handle cobbler-grub-aarch64 loader install as a cobbler
dependency in puppet.

[1] https://blueprints.launchpad.net/fuel/+spec/
    get-rid-docker-containers

Change-Id: Ia42211b4d0aa54ba67862f30f8c7975d2aa09392

8 years agoRebase: p/fuel-main: Refresh after pkglist update. 29/14129/2
Alexandru Avadanii [Fri, 13 May 2016 20:17:14 +0000 (22:17 +0200)]
Rebase: p/fuel-main: Refresh after pkglist update.

Upstream commit:
"Update package list required for building ISO" [1]

[1] https://github.com/openstack/fuel-main/commit/
    18f2c14a928bf3e92ccd4d868953361bed61614b

Change-Id: I59af524de7539489ad4dce12894573f8ff1ac5a5

8 years agoRebase: p/fuel-library: Update after 96da5b4a. 21/14121/3
Alexandru Avadanii [Fri, 13 May 2016 17:37:20 +0000 (19:37 +0200)]
Rebase: p/fuel-library: Update after 96da5b4a.

Refresh patches after:
"Move openstack specific tasks to their own folder structure"

NOTE: The qemu-kvm change patch
(0003-Make-qemu-kvm-architecture-aware.patch) only affects
RedHat systems, so it is optional, at least for the current stage.

[1] https://github.com/openstack/fuel-library/commit/
    96da5b4a1eb82a76fb416d93f5249dc32e2499f2

Change-Id: Ibd1fd3f7e45d7947c90336bbe7e2ace101b5802b

8 years agoRebase: p/fuel-library: nailgun -> fuel module. 17/14117/3
Alexandru Avadanii [Fri, 13 May 2016 17:04:32 +0000 (19:04 +0200)]
Rebase: p/fuel-library: nailgun -> fuel module.

Upstream introduced two related changes, requiring a rebase:

- Remove nailgun module [1]

- Remove CentOS based bootstrap image support [2]

[1] https://github.com/openstack/fuel-library/commit/
    74a68f493ff215ce8dfc67c3af6d06dd5a2db194

[2] https://github.com/openstack/fuel-library/commit/
    3e1320bfcf4a8688d4bfb577a1330121390bafc0

Change-Id: I27279a2fd76d269d482a3eb25e9dba41bc669280

8 years agoRebase: p/fuel-astute: Reduce patch context. 15/14115/2
Alexandru Avadanii [Fri, 13 May 2016 16:14:14 +0000 (18:14 +0200)]
Rebase: p/fuel-astute: Reduce patch context.

Change-Id: Ic11f7c4caa801df32d12461b39e10df8f07460a7

8 years agoMerge "Rebase: p/fuel-agent: Update UEFI after ec71a42."
Alexandru Avadanii [Mon, 16 May 2016 11:50:26 +0000 (11:50 +0000)]
Merge "Rebase: p/fuel-agent: Update UEFI after ec71a42."

8 years agoMerge "Rebase: p/fuel-agent: Patch context refresh."
Alexandru Avadanii [Mon, 16 May 2016 11:50:09 +0000 (11:50 +0000)]
Merge "Rebase: p/fuel-agent: Patch context refresh."

8 years agoMerge "Rebase: p/opnfv-fuel: Drop upstream patches."
Alexandru Avadanii [Mon, 16 May 2016 11:49:58 +0000 (11:49 +0000)]
Merge "Rebase: p/opnfv-fuel: Drop upstream patches."

8 years agoMerge "Rebase: p/opnfv-fuel: Allow Fuel commit override."
Alexandru Avadanii [Mon, 16 May 2016 11:48:47 +0000 (11:48 +0000)]
Merge "Rebase: p/opnfv-fuel: Allow Fuel commit override."

8 years agoMerge "Colorado: Rebase git submodules on stable/mitaka."
Alexandru Avadanii [Mon, 16 May 2016 11:48:26 +0000 (11:48 +0000)]
Merge "Colorado: Rebase git submodules on stable/mitaka."

8 years agoFix improperly exported patches 73/14173/2
Stanislaw Kardach [Sun, 15 May 2016 06:55:11 +0000 (23:55 -0700)]
Fix improperly exported patches

Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
8 years agoRebase: p/fuel-library: CirrOS direct kernel boot 75/14175/2
Stanislaw Kardach [Mon, 16 May 2016 01:35:25 +0000 (18:35 -0700)]
Rebase: p/fuel-library: CirrOS direct kernel boot

Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
Change-Id: I12126a39c90abf8fc5bef449506e87dc190a50ee

8 years agoIncrease open file limit for OpenDaylight 71/14171/2
Stanislaw Kardach [Sun, 15 May 2016 01:14:43 +0000 (18:14 -0700)]
Increase open file limit for OpenDaylight

Upstart scripts by default do not run scripts in a shell which results
in limits from `/etc/security/limits.conf` not be taken into account
and results in the default value (4096) to be taken. This may prove
problematic for OpenDaylight during initialization. On Cavium ThunderX
we have noticed OpenFlow controller initialization failures caused by
hitting this limit.
OPNFV is increasing the `nofile` limit to 112640 for OpenStack services
which is why I'm using this value here.
Bug report filed to Fuel@OPNFV (see [1]).

[1] https://jira.opnfv.org/browse/FUEL-140

Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
8 years agoUpdate Cavium email domain 69/14169/1
Stanislaw Kardach [Sat, 14 May 2016 16:35:34 +0000 (09:35 -0700)]
Update Cavium email domain

Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
8 years agoRebase: p/fuel-agent: Update UEFI after ec71a42. 13/14113/1
Alexandru Avadanii [Fri, 13 May 2016 16:09:16 +0000 (18:09 +0200)]
Rebase: p/fuel-agent: Update UEFI after ec71a42.

Rebase after upstream change [1]:
"Grub stage1 shall be installed on all of disks"

[1] https://github.com/openstack/fuel-agent/commit/
    c71a424b9552c07ef1f8a068bedea9563cbe45c

8 years agoRebase: p/fuel-agent: Patch context refresh. 11/14111/1
Alexandru Avadanii [Fri, 13 May 2016 16:00:15 +0000 (18:00 +0200)]
Rebase: p/fuel-agent: Patch context refresh.

8 years agoRebase: p/opnfv-fuel: Drop upstream patches. 09/14109/1
Alexandru Avadanii [Fri, 13 May 2016 15:51:20 +0000 (17:51 +0200)]
Rebase: p/opnfv-fuel: Drop upstream patches.

While we're at it, fix minor context in remaining patch.

8 years agoRebase: p/opnfv-fuel: Allow Fuel commit override. 07/14107/1
Alexandru Avadanii [Fri, 13 May 2016 15:48:20 +0000 (17:48 +0200)]
Rebase: p/opnfv-fuel: Allow Fuel commit override.

8 years agoColorado: Rebase git submodules on stable/mitaka. 01/14101/2
Alexandru Avadanii [Fri, 13 May 2016 15:30:47 +0000 (17:30 +0200)]
Colorado: Rebase git submodules on stable/mitaka.

Since fuel-plugin-opendaylight and fuel are OPNFV components,
they do not have a stable/mitaka branch, so use master for them.

Change-Id: Ie8ae0e458953bae7006e0d411b4680f20b87a13c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
8 years agodocs/install-instr: AArch64 FW, plugins refresh. 61/14061/2
Alexandru Avadanii [Thu, 12 May 2016 19:58:54 +0000 (21:58 +0200)]
docs/install-instr: AArch64 FW, plugins refresh.

- edit image with unexisting plugins on AArch64;
- change "BIOS" references to "UEFI" and add note(s) about
  required firmware support;
- add warning about bootstrap image build fuelmenu config;

Change-Id: I5bcf208dcb0c95e9c09f4da0bd4e861e19d34cc0
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
8 years agodocs/install-instr: Add MySQL WSREP SST provider. 59/14059/2
Alexandru Avadanii [Thu, 12 May 2016 18:56:48 +0000 (20:56 +0200)]
docs/install-instr: Add MySQL WSREP SST provider.

Document workaround for xtrabackup issues on AArch64 controllers.

Change-Id: I126c730f751f09a4d75ac345d9b889df9414de2d

8 years agodocs/install-instr: Refactor target specific cfg. 55/14055/2
Alexandru Avadanii [Thu, 12 May 2016 16:44:28 +0000 (18:44 +0200)]
docs/install-instr: Refactor target specific cfg.

Fuel 8.0 adds support for setting up "Offloading Modes" for
target nodes.

Document how this features should be used (and why/when it's
necessary).

While at it, fix minor reference to branch in git tag checkout
instructions, as we'd be in detached HEAD and not on a new branch.

Change-Id: If7a8ca44541903dbeb6db36bc64fe56b132165cb

8 years agoMerge "docs/instal-instr: Add bash code-block markup."
Alexandru Avadanii [Thu, 12 May 2016 14:00:04 +0000 (14:00 +0000)]
Merge "docs/instal-instr: Add bash code-block markup."

8 years agoMerge "docs/install-instr: Fix git clone URL for HTTPS."
Alexandru Avadanii [Thu, 12 May 2016 13:59:26 +0000 (13:59 +0000)]
Merge "docs/install-instr: Fix git clone URL for HTTPS."

8 years agoMerge "docs/install-instr: Add AArch64 specifics."
Alexandru Avadanii [Thu, 12 May 2016 13:58:41 +0000 (13:58 +0000)]
Merge "docs/install-instr: Add AArch64 specifics."

8 years agoMerge "docs/release-notes: Add protocol handler to ref."
Alexandru Avadanii [Thu, 12 May 2016 13:57:48 +0000 (13:57 +0000)]
Merge "docs/release-notes: Add protocol handler to ref."

8 years agoMerge "docs: FIXME: Silence compatible hardware list."
Alexandru Avadanii [Thu, 12 May 2016 13:56:27 +0000 (13:56 +0000)]
Merge "docs: FIXME: Silence compatible hardware list."

8 years agoMerge "docs: Drop references to x86_64 specific docs."
Alexandru Avadanii [Thu, 12 May 2016 13:55:32 +0000 (13:55 +0000)]
Merge "docs: Drop references to x86_64 specific docs."

8 years agodeploy.sh: read TARGET_LAB and TARGET_POD 23/14023/1
Josep Puigdemont [Thu, 12 May 2016 13:37:26 +0000 (15:37 +0200)]
deploy.sh: read TARGET_LAB and TARGET_POD

Read both TARGET_LAB and TARGET_POD from the command line parameters
passed to Fuel's build script. We need these to find local_env.

Change-Id: I288dedeb75001b0983e63e68e993b2a35fd6f6fc
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
8 years agodocs/instal-instr: Add bash code-block markup. 67/13967/2
Alexandru Avadanii [Wed, 11 May 2016 21:40:28 +0000 (23:40 +0200)]
docs/instal-instr: Add bash code-block markup.

Change-Id: I04b97451d9b411d727b0ef51f1fc329510a286bb

8 years agodocs/install-instr: Fix git clone URL for HTTPS. 63/13963/2
Alexandru Avadanii [Wed, 11 May 2016 21:34:25 +0000 (23:34 +0200)]
docs/install-instr: Fix git clone URL for HTTPS.

Drop unnecessary <user>@, not needed for http downloads.
Also, fix typo (missing letter) in opnfv.org domain name.

While we're at it, fix small typo in Ceilometer name too.

Change-Id: I58fa3a3f7f4a216b00d39174aae98da9328418d6

8 years agodocs/install-instr: Add AArch64 specifics. 61/13961/1
Alexandru Avadanii [Wed, 11 May 2016 21:29:22 +0000 (23:29 +0200)]
docs/install-instr: Add AArch64 specifics.

Change-Id: I0ce904da2f18e1d5e032181dbcd0d7b35aabfdff

8 years agodocs/release-notes: Add protocol handler to ref. 59/13959/1
Alexandru Avadanii [Wed, 11 May 2016 20:28:49 +0000 (22:28 +0200)]
docs/release-notes: Add protocol handler to ref.

Doc build fails to create a link for www.opnfv.org because it
does not explicitly specify the protocol handler.

Make doc build happy by adding "http://" prefix.

Change-Id: I7dc9c362f13bac1687d139942826eb1208556a37

8 years agodocs: FIXME: Silence compatible hardware list. 57/13957/1
Alexandru Avadanii [Wed, 11 May 2016 20:20:03 +0000 (22:20 +0200)]
docs: FIXME: Silence compatible hardware list.

We do not have a comprehensive public hardware compatibility list
for AArch64 hardware yet, so silently remove the link to such a
thing in the installer instructions for now.

Once the page is in place, update the reference and revert this
commit.

8 years agodocs: Drop references to x86_64 specific docs. 53/13953/1
Alexandru Avadanii [Wed, 11 May 2016 20:08:19 +0000 (22:08 +0200)]
docs: Drop references to x86_64 specific docs.

Previously, build instructions and release notes kept links to
x86_64 documentation, it is now safe to drop them, as our docs
are very similar.

8 years agoMerge "docs/installation-instruction.rst for AArch64"
Alexandru Avadanii [Wed, 11 May 2016 19:42:09 +0000 (19:42 +0000)]
Merge "docs/installation-instruction.rst for AArch64"

8 years agodocs/installation-instruction.rst for AArch64 41/13941/1
Florin Dumitrascu [Wed, 11 May 2016 16:25:15 +0000 (19:25 +0300)]
docs/installation-instruction.rst for AArch64

Signed-off-by: Florin Dumitrascu <florin.dumitrascu@enea.com>
8 years agoCleanup: README.md small rework. 37/13937/1
Alexandru Avadanii [Wed, 11 May 2016 16:23:06 +0000 (18:23 +0200)]
Cleanup: README.md small rework.

While doing minor reworking, also change submodule add intstr from
ssh to https URLs, so simply building this does not require a github
account to be locally configured.

Change-Id: I915e9cdbbe0185e5d637bf9ddad96d92f94c0b01

8 years agodocs/build-instruction.rst: Cleanup, refactor tags. 27/13927/1
Alexandru Avadanii [Wed, 11 May 2016 13:46:09 +0000 (15:46 +0200)]
docs/build-instruction.rst: Cleanup, refactor tags.

Add missing bash (console) code-block tags to commands and preformatted
output / configuration sections.

While we're at it, fix git clone URL for https, and clarify a few
paragraphs.

Change-Id: Ifb1ef0a8a9befa57e68255354957e094a124ab7e

8 years agoMerge "Cleanup: rm TODO, fix license header."
Alexandru Avadanii [Tue, 10 May 2016 21:19:15 +0000 (21:19 +0000)]
Merge "Cleanup: rm TODO, fix license header."

8 years agoMerge "UX: Fix: rtc-efi blacklist for Ubuntu targets."
Alexandru Avadanii [Tue, 10 May 2016 21:18:50 +0000 (21:18 +0000)]
Merge "UX: Fix: rtc-efi blacklist for Ubuntu targets."

8 years agodocs/build-instruction.rst: Armband refresh. 49/13849/5
Alexandru Avadanii [Tue, 10 May 2016 14:23:11 +0000 (16:23 +0200)]
docs/build-instruction.rst: Armband refresh.

Change-Id: I92b2024df53c392eaeea6a76c9d44b94b83b7f56

8 years agoCleanup: rm TODO, fix license header. 67/13867/2
Alexandru Avadanii [Tue, 10 May 2016 20:37:48 +0000 (22:37 +0200)]
Cleanup: rm TODO, fix license header.

While we're at it, fix default setting for net.ifnames in arm64
fixture.

Also, renumber some patches to eliminate duplicate prefixes
resulted from parallel development of patch sets.

Change-Id: Ibd8cc1f6f8916ad79527f2060a1a2725d557b2c2

8 years agoUX: Fix: rtc-efi blacklist for Ubuntu targets. 01/13801/2
Alexandru Avadanii [Mon, 9 May 2016 19:50:08 +0000 (21:50 +0200)]
UX: Fix: rtc-efi blacklist for Ubuntu targets.

Previously, rtc-efi module was blacklisted in fuel-library preseed
cobbler template, which is not used for Ubuntu target nodes.

Fix by instead blacklisting rtc-efi in cloud-init jinja2 template.

Change-Id: I325f8d1f411f51d494df7c738f1933445d996ff6

8 years agoMerge "Increase maximum shell command timeout to 2h"
Alexandru Avadanii [Tue, 10 May 2016 15:10:32 +0000 (15:10 +0000)]
Merge "Increase maximum shell command timeout to 2h"

8 years agoIncrease maximum shell command timeout to 2h 09/13809/3
Stanislaw Kardach [Tue, 10 May 2016 01:59:00 +0000 (18:59 -0700)]
Increase maximum shell command timeout to 2h

Since `execute_shell_command` mcagent is used for building the target
image and the timeout provided in the astute task is just respected on
the Astute level (on mcollective level this timeout is actually a
minumum between value provided and ddl value) we need to increase it
for Armband operation.

Because Armband builds the target image via `qemu-debootstrap`, it can
take more than 1 hour to finish the building. Therefore aside of
increasing the timeout in the Astute task, the maximum timeout value
for mcagent has to be increased.

Change-Id: Iab94e794e36bb7e887e8f334daa46e82fe0c6f94
Signed-off-by: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com>
8 years agoMerge "deploy/reap.py: Dump extra interfaces information."
Alexandru Avadanii [Tue, 10 May 2016 08:36:55 +0000 (08:36 +0000)]
Merge "deploy/reap.py: Dump extra interfaces information."

8 years agoMerge "UX: Update bootstrap/target build time estimate."
Alexandru Avadanii [Tue, 10 May 2016 08:35:49 +0000 (08:35 +0000)]
Merge "UX: Update bootstrap/target build time estimate."

8 years agoMerge "[fuel] deploy.sh: Add timeout flag on fuel"
Alexandru Avadanii [Tue, 10 May 2016 08:34:19 +0000 (08:34 +0000)]
Merge "[fuel] deploy.sh: Add timeout flag on fuel"

8 years ago[fuel] deploy.sh: Add timeout flag on fuel 77/13777/3
Josep Puigdemont [Mon, 9 May 2016 09:21:38 +0000 (11:21 +0200)]
[fuel] deploy.sh: Add timeout flag on fuel

Some PODs might need to increase the default timeout value.
The patch introduces the -T flag to Fuel's deploy script, that
can be used to set the timeout. If the flag is not given, it
will look into the DEPLOY_TIMEOUT environment variable and use
that value instead, otherwise the default vaule in deploy.py
will be used.

Change-Id: I835473190673dd8646d0da48c2dbd3bb5e13046d
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
8 years agodeploy/reap.py: Dump extra interfaces information. 87/13787/3
Alexandru Avadanii [Mon, 9 May 2016 14:16:49 +0000 (16:16 +0200)]
deploy/reap.py: Dump extra interfaces information.

Since on AArch64, Ubuntu local mirror lacks arm64 packages (see [1]),
Fuel master requires internet connectivity during deploy, and hence
a way to setup such a public (extra) interface automatically.

Previous commit "transplant: Generate extra interfaces config file"
introduced support for passing this information via DEA (override),
which may define a IFCGF_<interface> section in its 'fuel:'
section, containing the necessary keys to produce a ifcfg-<interface>
file, like in this example:

fuel:
   IFCFG_ETH1:
     device: eth1
     ipaddress: 10.0.1.10
     netmask: 255.255.255.0
     gateway: 10.0.1.254

In order for Network Manager to use the newly added interfaces
for outgoing traffic and honor their GATEWAY setting (e.g. if we just
added one public interface), the default route on admin iface (most of
the time called eth0) is disabled when extra interfaces are present.

FIXME: Only supports lowercase interface names, but so does Fuel,
see related bug report [2].

[1] https://jira.opnfv.org/browse/ARMBAND-35
[2] https://jira.opnfv.org/browse/FUEL-136

Change-Id: Idd6fe95a5a73ec172eca17cfd96f23b1a1bc2bee
Signed-off-by: Alexandu Avadanii <alexandru.avadanii@enea.com>
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
8 years agoUX: Update bootstrap/target build time estimate. 89/13789/1
Alexandru Avadanii [Mon, 9 May 2016 15:08:54 +0000 (17:08 +0200)]
UX: Update bootstrap/target build time estimate.

While building for a different architecture (e.g. AArch64 on x86_64),
the bootstrap/target image build may take longer, due to latency
introduced by using qemu-user-static.

Change-Id: I2b57aae73ccc172fea9e53867bcb66e2f950498f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
8 years agoMerge "docs/release-notes.rst: Armband refresh."
Josep Puigdemont [Mon, 9 May 2016 09:28:09 +0000 (09:28 +0000)]
Merge "docs/release-notes.rst: Armband refresh."

8 years agof_repobuild: Repeat mirror build up to ten times. 49/13749/1
Alexandru Avadanii [Sun, 8 May 2016 20:38:22 +0000 (22:38 +0200)]
f_repobuild: Repeat mirror build up to ten times.

OPNFV ISO build uses fuel-mirror to create a local Ubuntu
partial mirror in nailgun.

Work around temporary mirror issue (e.g. during rsync) by
retrying mirror build up to 10 times.

Change-Id: I8afb0f55b08c1680903a09e07ac96b4d29415ed5
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
8 years agodocs/release-notes.rst: Armband refresh. 59/13459/3
Alexandru Avadanii [Fri, 29 Apr 2016 16:23:36 +0000 (18:23 +0200)]
docs/release-notes.rst: Armband refresh.

Updated release notes document and created JIRA cases for AArch64
newly added features, bug, workarounds etc.

Change-Id: I1db230a9fa62e671f4f302c8f7b202cc5c8f48ca
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
8 years agoRemove ci/deploy directory 37/13737/2
Josep Puigdemont [Sun, 8 May 2016 11:01:35 +0000 (13:01 +0200)]
Remove ci/deploy directory

Change-Id: Ic355364e5fb4215f1ad10f8f961978fa0b071762
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
8 years agodeploy.sh: simple wrapper for fuel@opnfv deploy script 17/13717/5
Josep Puigdemont [Fri, 6 May 2016 21:28:21 +0000 (23:28 +0200)]
deploy.sh: simple wrapper for fuel@opnfv deploy script

Change-Id: I2b94d6fcb20c59d9d776c04561665108e1f035ca
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
8 years agoARMband patches for the fuel@opnfv deploy scripts 15/13715/6
Josep Puigdemont [Sun, 8 May 2016 11:04:07 +0000 (13:04 +0200)]
ARMband patches for the fuel@opnfv deploy scripts

These are a collection of patches that adapt the current Fuel deploy
scripts for mainly two purposes:

  - Make it possible to create a Fuel VM on a remote libvirt server.
    We use the LIBVIRT_DEFAULT_URI environment variable to detect that.
    Local deploys are possible by setting this variable to
    'quemu:///system', or leaving it empty.
    See: https://libvirt.org/remote.html for more details.

  - Make it possible to add additional network interfaces. For this we
    allow the user to pass the "-b bridge" paramter several times, and
    creating a new virtual NIC for each of them, in the same order they
    were given.
    This required a bit of refactoring of the code.

None of the changes above should break backwards compatibility, except
when indicated in the commit (search for CHANGE in the log)

In addition there are some updates to the code that were deemed
necessary, like the ability to retry when executing shell commands
instead of directly failing, and a simplification of the DHA IPMI
adapter.

Change-Id: I8a0cd5b8672383decd861309328137971eaed14b
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
8 years agoMerge "build.sh: move files instead of copying them."
Stanislaw Kardach [Fri, 29 Apr 2016 18:25:35 +0000 (18:25 +0000)]
Merge "build.sh: move files instead of copying them."

8 years agoCleanup: Kill submodules: Remove obsolete patches. 67/13467/1
Alexandru Avadanii [Fri, 29 Apr 2016 18:13:33 +0000 (20:13 +0200)]
Cleanup: Kill submodules: Remove obsolete patches.

Change-Id: Ia4123727913aa401d26cbe1028f30b20b4497961
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
8 years agoCleanup: Kill submodule: fuel-plugin-ovsnfv. 63/13463/1
Alexandru Avadanii [Fri, 29 Apr 2016 17:33:22 +0000 (19:33 +0200)]
Cleanup: Kill submodule: fuel-plugin-ovsnfv.

Change-Id: If1895891c28b7d8d8d109539357475ac578bfc38
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
8 years agoCleanup: Kill submodule: fuel-plugin-qemu. 61/13461/1
Alexandru Avadanii [Fri, 29 Apr 2016 17:27:29 +0000 (19:27 +0200)]
Cleanup: Kill submodule: fuel-plugin-qemu.

Since we only build ODL plugin on arm64 for now, kill
fuel-plugin-qemu submodule in armband repo.

Change-Id: Ib7a6dfe7e1dbd03771e3f28d2769d54659280901
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
8 years agoUpdated documentation for Brahmaputra 3.0 follow-up release 49/13449/1
Jonas Bjurel [Tue, 26 Apr 2016 19:06:02 +0000 (21:06 +0200)]
Updated documentation for Brahmaputra 3.0 follow-up release

READY TO MERGE

Change-Id: Ic481f02375af9be1642791fa6d96856a453c4f29
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
(cherry picked from commit f50747c9ec79b9f89df6a6ba6d680a89bd6a3de3)

8 years agoFix: cobbler: setup.sh: Re-add extra RPM repos. 97/13397/2
Alexandru Avadanii [Thu, 28 Apr 2016 13:04:40 +0000 (15:04 +0200)]
Fix: cobbler: setup.sh: Re-add extra RPM repos.

Commit 69fd98a broke the cobbler yum config, because instead of
re-adding only mos and nailgun repos with file:/// handler, it
kept the docker-specific repo config from ISO build.

Change-Id: I910fe639116a7ea8cb768c0371af0a84b471d0a4

8 years agoFIXME: cobbler: setup.sh: Keep extra RPM repos. 77/13377/1
Alexandru Avadanii [Wed, 27 Apr 2016 23:48:43 +0000 (01:48 +0200)]
FIXME: cobbler: setup.sh: Keep extra RPM repos.

cobbler-grub-aarch64 (arm64 specific loader) is currently
distributed and added to the cobbler docker container during
ISO build using EXTRA_RPM_REPOS envvar mechanism.

However, since this package installs files in a mounted location,
its contents are not persistent, requiring a test and eventual
forced reinstall during container start.

This, of course, requires the package to be available at that point,
which is not currently possible, as we remove the extra RPM repository
entry from yum config at the end of container build.

Hacky temporary workaround:
Keep extra RPM yum config after container is set up, only for cobbler.

TODO: This patch should be dropped once cobbler-grub-aarch64 RPM
package gets upstreamed.

Change-Id: I58e39df2671d79125c68a5ec994db962c103ce01

8 years agobuild.sh: move files instead of copying them. 33/12733/1
Josep Puigdemont [Wed, 27 Apr 2016 15:41:05 +0000 (17:41 +0200)]
build.sh: move files instead of copying them.

Change-Id: Ib59d82067d028a2c946a87747a6975749c85133b
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
8 years agoCleanup: TODO.md: Trim obsolete entries. 27/12727/1
Alexandru Avadanii [Wed, 27 Apr 2016 14:18:39 +0000 (16:18 +0200)]
Cleanup: TODO.md: Trim obsolete entries.

rx-vlan-filter should be documented as a limitation in the current
release, and work for supporting it in bootstrap would not be
justified.

ThunderX network card speed is now parsed from ethtool output via
nailgun-agent and ohai.

Change-Id: If90e48eaf3665c570cd2999e8b6b1775e319bff7

8 years agoMakefile: cleanup: drop time measurement. 25/12725/1
Alexandru Avadanii [Wed, 27 Apr 2016 14:15:21 +0000 (16:15 +0200)]
Makefile: cleanup: drop time measurement.

This is now covered by Jenkins for automatic builds, and not
relevant for manual builds.

Change-Id: I539a7311fa9689405acdfcd05773fd5aaa81fbb0

8 years agoMerge "Makefile: Finalize RPM repo switch."
Josep Puigdemont [Wed, 27 Apr 2016 13:57:36 +0000 (13:57 +0000)]
Merge "Makefile: Finalize RPM repo switch."

8 years agoUpdated armband
Jonas Bjurel [Tue, 26 Apr 2016 19:06:02 +0000 (21:06 +0200)]
Updated armband
Project: fuel  3e535448fe1bad43d810d9b2ccf66f13bb7c10e5

Updated documentation for Brahmaputra 3.0 follow-up release

READY TO MERGE

Change-Id: Ic481f02375af9be1642791fa6d96856a453c4f29
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
(cherry picked from commit f50747c9ec79b9f89df6a6ba6d680a89bd6a3de3)

8 years agoMerge "Revert "WIP: Docs: Update name, add contributors.""
Alexandru Avadanii [Wed, 27 Apr 2016 09:42:43 +0000 (09:42 +0000)]
Merge "Revert "WIP: Docs: Update name, add contributors.""

8 years agoRevert "WIP: Docs: Update name, add contributors." 13/12713/1
Alexandru Avadanii [Wed, 27 Apr 2016 09:41:52 +0000 (09:41 +0000)]
Revert "WIP: Docs: Update name, add contributors."

This reverts commit 95e9bd7670a34ba0e23fa58340f77ec07292d006.

Change-Id: I47ad4b6d870673b9e41742493b7a232c651a461b

8 years agoMakefile: Finalize RPM repo switch. 95/12695/1
Alexandru Avadanii [Mon, 25 Apr 2016 20:16:06 +0000 (22:16 +0200)]
Makefile: Finalize RPM repo switch.

We previously added support for needed RPMs missing from Fuel repos,
by introducing an additional "armband" repository, then ammending
OPNFV ks.cfg{,.orig}; it's time to remove RPM mirror override
LATEST_MIRROR_ID_URL.

Since LATEST_MIRROR_ID_URL is common for mos CentOS and Ubuntu repos,
fill in MIRROR_MOS_UBUNTU instead.

Change-Id: I137ba588f8c3be3339a4b8affb4f84dc5ac9acc8

8 years agoMerge "WIP: Docs: Update name, add contributors."
Stanislaw Kardach [Wed, 27 Apr 2016 01:23:15 +0000 (01:23 +0000)]
Merge "WIP: Docs: Update name, add contributors."

8 years agoMerge "Copy OPNFV docs dir as documentation base."
Stanislaw Kardach [Wed, 27 Apr 2016 01:23:02 +0000 (01:23 +0000)]
Merge "Copy OPNFV docs dir as documentation base."

8 years agoMakefile: Remove MIRROR_UBUNTU_URL hardcode. 93/12693/1
Alexandru Avadanii [Wed, 27 Apr 2016 00:23:35 +0000 (02:23 +0200)]
Makefile: Remove MIRROR_UBUNTU_URL hardcode.

This uses the public Ubuntu archive, which is not only slow,
but oftenly times out.

With the risk of using slightly lagging local mirrors, remove
public archive hard code.

End-users should configure this based on their location/mirrors
if necessary (e.g. out of date closest mirrors).

Change-Id: I3d963d202033b2b75dab3b8f10ee31e5a6940994

8 years agof_repobuild/Makefile: Use python-debian from pip. 91/12691/1
Alexandru Avadanii [Tue, 26 Apr 2016 21:15:15 +0000 (23:15 +0200)]
f_repobuild/Makefile: Use python-debian from pip.

Currently, Ubuntu Trusty provides a broken python-debian package,
that fails to parse foreign architecture (package:any) relationships.

Purge debian package and let pip resolve this dependency, using a
newer version from pypi.

[1] http://lists.alioth.debian.org/pipermail/
    pkg-python-debian-maint/2014-July/001795.html

Change-Id: Iba8f6cb52ad0a92e5d8d2bee4fb066b213991a94

8 years agoRebase: Drop cpio symlink patch (upstream). 79/12679/1
Alexandru Avadanii [Tue, 26 Apr 2016 14:44:37 +0000 (16:44 +0200)]
Rebase: Drop cpio symlink patch (upstream).

Drop p/fuel-main/0003-Make-cpio-accept-symlinks.patch,
since this is now covered by OPNFV commit f544e41,
"Correction due to changed cpio behavior".

For details, see https://jira.opnfv.org/browse/FUEL-125

Change-Id: I6c04e34cb7a5af5681745f1cdd026809c65720ce

8 years agoUpdated armband
Jonas Bjurel [Wed, 20 Apr 2016 12:59:49 +0000 (14:59 +0200)]
Updated armband
Project: fuel  6a42aafa48d339ba3164bd03006a5cf128b55299

Using VLAN segmentation for the NFV-OVS scenarios.
Unfortunately this scenario is hardwired to work with Ericsson POD-2 only

Change-Id: I3a0b56d7ff71e0ec9cd97b8ef5946fb438d43e62
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
(cherry picked from commit 12c2d3403c4638672bbf1443142b8308e828e5f4)

8 years agoUpdated armband
Stefan K. Berg [Fri, 22 Apr 2016 10:48:25 +0000 (12:48 +0200)]
Updated armband
Project: fuel  f544e413ecbbaa25d36f2336bb703565afc8fb38

Correction due to changed cpio behavior

As part of a security fix for cpio, its behavior has changed in terms
of how symlinks are handled.

This is affecting the Fuel build process, for which this commit is a
fix (reverting cpio back to its original behavior by adding the
argument "--extract-over-symlinks" in those instances where this is
needed).

For details, see https://jira.opnfv.org/browse/FUEL-125

Change-Id: I455b11a16ad52d8dd09165165447e4c4a661b45a
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
(cherry picked from commit 2b419db5c9325c6a87f1ea160c42235a1e8ec083)

8 years agoRevert "Makefile: Finalize RPM repo switch." 51/12651/1
Alexandru Avadanii [Mon, 25 Apr 2016 21:52:24 +0000 (21:52 +0000)]
Revert "Makefile: Finalize RPM repo switch."

This reverts commit 5bd40a77a6542d90c36be58d1c2ceece3e85f65f.

Change-Id: I7fff4471c2ec2fad04a4ba00cb6b3b86482dcab9

8 years agoMakefile: Finalize RPM repo switch. 47/12647/2
Alexandru Avadanii [Mon, 25 Apr 2016 20:16:06 +0000 (22:16 +0200)]
Makefile: Finalize RPM repo switch.

We previously added support for needed RPMs missing from Fuel repos,
by introducing an additional "armband" repository, then ammending
OPNFV ks.cfg{,.orig}; it's time to remove RPM mirror override
LATEST_MIRROR_ID_URL.

Since LATEST_MIRROR_ID_URL is common for mos CentOS and Ubuntu repos,
fill in MIRROR_MOS_UBUNTU instead.

Change-Id: I6eb88da6ef2e174b571619a7d12cc134f6508492

8 years agoWIP: Docs: Update name, add contributors. 83/12583/1
Alexandru Avadanii [Fri, 22 Apr 2016 13:44:09 +0000 (15:44 +0200)]
WIP: Docs: Update name, add contributors.

8 years agoCopy OPNFV docs dir as documentation base. 81/12581/1
Alexandru Avadanii [Fri, 22 Apr 2016 13:38:45 +0000 (15:38 +0200)]
Copy OPNFV docs dir as documentation base.

Armband Fuel for aarch64 is very similar to amd64 in both
configuration and deployment, with a small difference in the build
process.

Therefore it makes sense to base our documentation on Jonas'
work in OPNFV Fuel.

8 years agoPass revision version to the build fuel system 63/12563/2
Josep Puigdemont [Fri, 22 Apr 2016 09:07:40 +0000 (11:07 +0200)]
Pass revision version to the build fuel system

Fuel makes use of the REVSTATE variable in the make file to alter the
name of the resulting ISO image. We need to honor the revision specified
by the jenkins build system at OPNFV, and pass this variable along to
fuel@opnfv.

Change-Id: I1f80dfcae313058dd9a4486bbbfdfbb0b52ea405
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
8 years agoIncrease target image build timeout 47/12547/1
Stanislaw Kardach [Thu, 21 Apr 2016 22:42:04 +0000 (15:42 -0700)]
Increase target image build timeout

Currently we're close to 40 minutes of image building (thanks to
qemu-debootstrap). If network connectivity is a bit slow (happened to
me) it's easy to go over 1h limit. Therefore let's push this to 2 hours
to be safer.

Signed-off-by: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com>
8 years agoMerge changes I6bf15cd4,If96f651a
Alexandru Avadanii [Thu, 21 Apr 2016 13:02:22 +0000 (13:02 +0000)]
Merge changes I6bf15cd4,If96f651a

* changes:
  Correct docker cleaning
  Allow configuring MySQL WSREP SST provider