summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-05-10Cleanup: rm TODO, fix license header.Alexandru Avadanii5-36/+7
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
2016-05-10Merge "deploy/reap.py: Dump extra interfaces information."Alexandru Avadanii1-0/+90
2016-05-10Merge "UX: Update bootstrap/target build time estimate."Alexandru Avadanii3-1/+66
2016-05-10Merge "[fuel] deploy.sh: Add timeout flag on fuel"Alexandru Avadanii1-0/+81
2016-05-09[fuel] deploy.sh: Add timeout flag on fuelJosep Puigdemont1-0/+81
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>
2016-05-09deploy/reap.py: Dump extra interfaces information.Alexandru Avadanii1-0/+90
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>
2016-05-09UX: Update bootstrap/target build time estimate.Alexandru Avadanii3-1/+66
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>
2016-05-09Merge "docs/release-notes.rst: Armband refresh."Josep Puigdemont1-27/+46
2016-05-08f_repobuild: Repeat mirror build up to ten times.Alexandru Avadanii1-0/+73
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>
2016-05-08docs/release-notes.rst: Armband refresh.Alexandru Avadanii1-27/+46
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>
2016-05-08Remove ci/deploy directoryJosep Puigdemont3-1207/+0
Change-Id: Ic355364e5fb4215f1ad10f8f961978fa0b071762 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-05-08deploy.sh: simple wrapper for fuel@opnfv deploy scriptJosep Puigdemont1-0/+31
Change-Id: I2b94d6fcb20c59d9d776c04561665108e1f035ca Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-05-08ARMband patches for the fuel@opnfv deploy scriptsJosep Puigdemont16-0/+1271
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>
2016-04-29Merge "build.sh: move files instead of copying them."Stanislaw Kardach1-3/+3
2016-04-29Cleanup: Kill submodules: Remove obsolete patches.Alexandru Avadanii5-43/+0
Change-Id: Ia4123727913aa401d26cbe1028f30b20b4497961 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-04-29Cleanup: Kill submodule: fuel-plugin-ovsnfv.Alexandru Avadanii3-6/+0
Change-Id: If1895891c28b7d8d8d109539357475ac578bfc38 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-04-29Cleanup: Kill submodule: fuel-plugin-qemu.Alexandru Avadanii5-35/+0
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>
2016-04-29Updated documentation for Brahmaputra 3.0 follow-up releaseJonas Bjurel5-44/+58
READY TO MERGE Change-Id: Ic481f02375af9be1642791fa6d96856a453c4f29 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com> (cherry picked from commit f50747c9ec79b9f89df6a6ba6d680a89bd6a3de3)
2016-04-28Fix: cobbler: setup.sh: Re-add extra RPM repos.Alexandru Avadanii1-31/+19
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
2016-04-28FIXME: cobbler: setup.sh: Keep extra RPM repos.Alexandru Avadanii1-0/+62
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
2016-04-27build.sh: move files instead of copying them.Josep Puigdemont1-3/+3
Change-Id: Ib59d82067d028a2c946a87747a6975749c85133b Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-04-27Cleanup: TODO.md: Trim obsolete entries.Alexandru Avadanii1-5/+0
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
2016-04-27Makefile: cleanup: drop time measurement.Alexandru Avadanii1-1/+1
This is now covered by Jenkins for automatic builds, and not relevant for manual builds. Change-Id: I539a7311fa9689405acdfcd05773fd5aaa81fbb0
2016-04-27Merge "Makefile: Finalize RPM repo switch."Josep Puigdemont1-1/+1
2016-04-27Updated armbandJonas Bjurel1-0/+0
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)
2016-04-27Merge "Revert "WIP: Docs: Update name, add contributors.""Alexandru Avadanii1-2/+2
2016-04-27Revert "WIP: Docs: Update name, add contributors."Alexandru Avadanii1-2/+2
This reverts commit 95e9bd7670a34ba0e23fa58340f77ec07292d006. Change-Id: I47ad4b6d870673b9e41742493b7a232c651a461b
2016-04-27Makefile: Finalize RPM repo switch.Alexandru Avadanii1-1/+1
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
2016-04-27Merge "WIP: Docs: Update name, add contributors."Stanislaw Kardach1-2/+2
2016-04-27Merge "Copy OPNFV docs dir as documentation base."Stanislaw Kardach28-0/+1551
2016-04-27Makefile: Remove MIRROR_UBUNTU_URL hardcode.Alexandru Avadanii1-1/+0
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
2016-04-26f_repobuild/Makefile: Use python-debian from pip.Alexandru Avadanii1-0/+29
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
2016-04-26Rebase: Drop cpio symlink patch (upstream).Alexandru Avadanii2-27/+0
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
2016-04-26Updated armbandJonas Bjurel1-0/+0
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)
2016-04-26Updated armbandStefan K. Berg1-0/+0
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)
2016-04-25Revert "Makefile: Finalize RPM repo switch."Alexandru Avadanii1-1/+1
This reverts commit 5bd40a77a6542d90c36be58d1c2ceece3e85f65f. Change-Id: I7fff4471c2ec2fad04a4ba00cb6b3b86482dcab9
2016-04-25Makefile: Finalize RPM repo switch.Alexandru Avadanii1-1/+1
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
2016-04-22WIP: Docs: Update name, add contributors.Alexandru Avadanii1-2/+2
2016-04-22Copy OPNFV docs dir as documentation base.Alexandru Avadanii28-0/+1551
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.
2016-04-22Pass revision version to the build fuel systemJosep Puigdemont2-2/+16
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>
2016-04-21Increase target image build timeoutStanislaw Kardach1-0/+27
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>
2016-04-21Merge changes I6bf15cd4,If96f651aAlexandru Avadanii3-2/+176
* changes: Correct docker cleaning Allow configuring MySQL WSREP SST provider
2016-04-21build.sh: save git URL and revision used for the build.Josep Puigdemont1-1/+9
Change-Id: I7c812ec697b1d75aafe39f6ad542647c45cc70b6 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-04-20Correct docker cleaningStanislaw Kardach1-2/+2
So there was a very stupid mistake in the docker container cleaning that this patch fixes. Signed-off-by: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com>
2016-04-20Allow configuring MySQL WSREP SST providerStanislaw Kardach2-0/+174
On some arm64 platforms xtrabackup is broken due to an outdated MySQL/InnoDB code that it uses which is missing. To work around that this patch allows choosing which WSREP SST provider to use. Aside of already supported `xtrabackup-v2` and `mysqldump`, the `rsync` method has been added as it is comparable to xtrabackup in terms of speed (or is faster), has been validated to work on arm64 platforms where xtrabackup is broken and it doesn't rely on db mechanisms to perform the state transfer. This patch is tied to a patch in fuel-web that introduces configuration options for WSREP SST provider and in case nothing is specified, it will choose `xtrabackup-v2`. Signed-off-by: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com>
2016-04-20Cleanup patch-export bugsStanislaw Kardach10-24/+23
2016-04-20build.sh: do not use readlink for unexisting dirJosep Puigdemont1-1/+1
The build failed to copy the artifact files to the destination directory because the variable BUILD_DIRECTORY was empty. This variable is obtained doing "readlink" on a path, although at the time of the assignment that path does not exist yet. This is because it depends on a path inside a submodule that has not yet been initialized. We remove readlink on the assignment since we know the path will already be in a canonicalized form, since it is constructed from an already canonicalized path. Change-Id: Icc1113d26b503ff998aebbcd1efe81004859f878 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-04-20build.sh: actually build the ISO.Josep Puigdemont1-3/+28
Change-Id: Ica40e2fd78d6569cc17e6702a094889ae732249a Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-04-18Merge "ceilometer: Fix libvirt-bin group name for armband."Alexandru Avadanii1-0/+46
2016-04-18Merge "target Ubuntu: Blacklist rtc-efi if not supported."Alexandru Avadanii3-1/+51