armband.git
8 years agoUpdated armband
Peter Barabas [Thu, 2 Jun 2016 08:29:29 +0000 (10:29 +0200)]
Updated armband
Project: fuel  6c498c04a9843bcc99dc94650e5d0b31490dfa1b

Download deployment config after modification

Modified network or interface configurations were not reflected in
the deployment config, resulting in faulty node configurations.

Change-Id: I4ca20702c0171e7995f2b4f46317557ec9d5beac
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
8 years agoUpdated armband
Stefan K. Berg [Thu, 2 Jun 2016 07:19:28 +0000 (07:19 +0000)]
Updated armband
Project: fuel  2498bbb0354fd7abbbb408810f419c2999c23a31

Auto deploy corrections for Fuel 9.0

- The auto deployer's detection of nodes being up corrected as "fuel node"
  now returns "1" instead of "True" to denote that the node is up.

- The location of bootstrap_admin_node.sh has changed so the detection of
  whether the Fuel node installation needed a correction for the deployer
  not to throw an exit code and terminate prematurely.

- Small fix: deploy.py is now executable (just a chmod change).

Change-Id: I8fed7bafe6912f8b4278619bbdaa16577a82737b
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoUpdated armband
Jonas Bjurel [Wed, 1 Jun 2016 18:23:33 +0000 (18:23 +0000)]
Updated armband
Project: fuel  0ac1af6354f57c389b407cb1ea1e0365027704a6

docs: Mitaka Build req: Add p7zip-full.

Build system uplift to Fuel 9.0/Mitaka now requires `7z` cmd utility
also on the builder host (not only inside docker containers), so
document this as a prereq in the build instructions.

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

Change-Id: Icb57ac58c499272fce0a27bb2d25383e933c7814
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
8 years agoUpdated armband
Peter Barabas [Wed, 1 Jun 2016 08:31:54 +0000 (10:31 +0200)]
Updated armband
Project: fuel  74454885828f33629f0355616017b67768bc7bd8

Clean up after ourselves

Change-Id: Id7579ef618b8cd922de325d9dc1c0b7a6c5587a7
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
8 years agoUpdated armband
Daiel Smith [Wed, 1 Jun 2016 03:49:46 +0000 (23:49 -0400)]
Updated armband
Project: fuel  1378a27086272efec083778dd52fb27511b88167

A small edit for the uplift to Mitaka from Liberty

Signed-off-by: Daiel Smith <daniel.smith@ericsson.com>
JIRA:0

8 years agoUpdated armband
Josep Puigdemont [Wed, 4 May 2016 12:27:23 +0000 (14:27 +0200)]
Updated armband
Project: fuel  3b8db706acb60b680bcf220bd0236d5efcc66d07

common.py: catch stderr in exec_cmd

When running commands with exec_cmd(), the stderr of the command is
sent to /dev/null and ignored, and only stdout is retrieved. Thus, when
a command fails and check is enabled, only the output of stdout is
presented to the user, which normally holds no information about the
error.
In this patch we retrieve stderr, and when an error occurs, an exception
is raised with that message.

Fixes https://jira.opnfv.org/browse/FUEL-142

Change-Id: I3940e1a43963a6abec362481b1d4ce7bd7cb816d
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
8 years agoUpdated armband
Stefan K. Berg [Tue, 31 May 2016 14:49:36 +0000 (14:49 +0000)]
Updated armband
Project: fuel  ec0c7698cd363b71694ca33e87f65fc382acda8d

Build system uplift to Fuel 9.0/Mitaka

Switching to Fuel 9.0/Mitaka for the build system.

Overhaul of the patching mechanism. As bootstrap_admin_node.sh has
been transitioned into an RPM (fuel-support), the lazy designer found
it more simple to patch that script during the Fuel build phase than
at the OPNFV ISO generation. The patch mechanism has been changed to a
normal context diff instead of the orig/modified file tuples
previously used. Hopefully this will require fewer manual rebases (may
the fuzz be with us!).

Also the ks.cfg patching has transitioned to a context based ordinary
patch for the same reasons, but this is as before taking place during
OPNFV ISO generation.

Patch naming made more descriptive.

The reaping mechanism has been slightly modified due to a change in
the naming of the node files when these are generated by the Fuel CLI.

IMPORTANT 1: The package cache mechanism is currently disabled, it is
only possible to install Fuel with a direct internet connection. This
will be fixed in a later change set!

IMPORTANT 2: All plugins has been disabled! As you have re-certified
your plugin with Fuel 9.0, please re-enable it in build/Makefile!

Change-Id: Ia918d16a74b68f89d178e06befe6e8a7a9367bf9
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
8 years agoUpdated armband
Jonas Bjurel [Mon, 30 May 2016 19:26:12 +0000 (19:26 +0000)]
Updated armband
Project: fuel  ebb5b355ba542fc22b8f96f952439251d4b2c90b

Remove residual Lab & configuration DEA and DHA from the unprotected Fuel repo

This needs testing!!!!
On a follow-up release, this also needs rebasement, the libvirt templates
are still in here - they shouldnt, sinse we dont want Lab specific
configs in the Fuel repo.

NOT VERIFIED
DO NOT MERGE

Change-Id: I069ced81b886405463f27f37a6ec78e3748b37b7
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
8 years agoMerge "bootstrap: Add lshw package (also in fuel-mirror)."
Alexandru Avadanii [Thu, 26 May 2016 15:02:17 +0000 (15:02 +0000)]
Merge "bootstrap: Add lshw package (also in fuel-mirror)."

8 years agoMerge "deploy: ipmi adapter: Add <port> config support."
Alexandru Avadanii [Thu, 26 May 2016 15:01:41 +0000 (15:01 +0000)]
Merge "deploy: ipmi adapter: Add <port> config support."

8 years agodeploy: ipmi adapter: Add <port> config support. 29/14529/5
Alexandru Avadanii [Mon, 23 May 2016 20:09:41 +0000 (22:09 +0200)]
deploy: ipmi adapter: Add <port> config support.

Sometimes the IPMI lanplus protocol listens on a non-standard
remote port, e.g. when target nodes are interfaced through a
fake IPMI BMC application that listens on multiple ports on the
same IP address.

Therefore, allow setting IPMI port in the DHA using a new
property named `ipmiPort`, and pass it along to `ipmitool` when set.

CHANGE: get_access_info now also supports specifying the IPMI
port to use with `ipmitool` by configuring the `ipmiPort`
property in the DHA.

hp_adapter.py: updated `get_access_info` return signature with
the new (unused there) `ipmiport`.

Change-Id: Ibff1309b17733af1a6fc8c5008495f42d7ef084a

8 years agoUpdated armband
Jonas Bjurel [Wed, 25 May 2016 21:30:32 +0000 (21:30 +0000)]
Updated armband
Project: fuel  370cf3546e2f5e3a7afa69b4f306bd7c90d44397

More rigorous Fuel environment check

get_env() used to raise an unhandled exception when reap.py was run on a
Fuel node which didn't yet have an environment set up.

Change-Id: I07c37db2d80e416d26fa4fb4907f4e438f1c44e5
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
8 years agoMerge "Fix indentation and add patch-import output"
Alexandru Avadanii [Wed, 25 May 2016 16:14:29 +0000 (16:14 +0000)]
Merge "Fix indentation and add patch-import output"

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 agobootstrap: Add lshw package (also in fuel-mirror). 87/14587/1
Alexandru Avadanii [Tue, 24 May 2016 14:14:18 +0000 (16:14 +0200)]
bootstrap: Add lshw package (also in fuel-mirror).

Until Ubuntu Trusty fixes the following bug on AArch64 [1]:
"AArch64: slow cpuinfo due to redundant loop"
we will be using a patched version of <lshw> from Armband MOS repos.

This change enforces replacing the lshw from Ubuntu with our custom,
patched package.

[1] https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/1582181

Change-Id: Ie10c7819f305accf2a2c2045b1c350880e4c25b6
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
8 years agoFix indentation and add patch-import output 83/14583/1
Stanislaw Kardach [Tue, 24 May 2016 14:25:13 +0000 (16:25 +0200)]
Fix indentation and add patch-import output

I've added submodule name to `patch-import` target to make it easier to
spot in which submodule does patch import fail.

Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.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