aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2016-04-18ceilometer: Fix libvirt-bin group name for armband.Alexandru Avadanii1-0/+46
Upstream mirrors use a custom version of libvirt, ported from Debian, while keeping the Ubuntu ceilometer package, leading to a libvirt group name mismatch between the two. Fuel-library hardcodes a deb-version test for libvirt-bin, which enforces the use of "libvirt" instead of "libvirtd" for 1.2.9 or newer libvirt-bin [1]. Armband brings its own 1.3.2 libvirt-bin package, which respects Ubuntu standard group naming ("libvirtd"), but since 1.3.2 > 1.2.9, the old group name ("libvirt") is still used. This patch extends the version checking introduced in [1]: - libvirt-bin 1.3.2 or newer will use "libvirtd" naming; - libvirt-bin 1.2.9 ... <1.3.2 will use "libvirt". [1] https://review.openstack.org/#/c/200602/8/deployment/puppet/ openstack/manifests/ceilometer.pp Change-Id: I11861e1863d7971a844c62dc08f22dbbab63b3e1
2016-04-18Fix build issue introduced by RPM repo switch.Alexandru Avadanii3-8/+44
Adding another RPM repo also requires updating ks.cfg{.orig,} in OPNFV fuel repository. Update TODO by removing obsolete entries. Also fix minor unrelated patch whitespace error. Change-Id: I6a7f271d32c5d9c58aa48658e90e1cdbb0d59fdc
2016-04-18Merge "Switch to upstream RPM repos + armband repo-comp."Alexandru Avadanii1-1/+1
2016-04-17Switch to upstream RPM repos + armband repo-comp.Alexandru Avadanii1-1/+1
Instead of using linux.enea.com for ALL RPM packages for CentOS7, by overriding FUEL_MIRROR in the Makefile, switch to using EXTRA_RPM_REPOS variable to point to armband RPM repo-component. This way, the bulk of RPM packages will be fetched from upstream, instead of our mirror. - we no longer have to sync and merge from upstream the RPM repos, but only maintain the reduced armband repo-component, currently hosting 2 packages (qemu-user-static and cobbler-grub-aarch64); - it will lower bandwidth usage to armband mirrors; - first step for merging with upstream the RPM repos; - easier to integrate with the way OPNFV replaces YUM repos on FM; Change-Id: I76c1ef3d308c099d523099ea96fb57539ef71e04
2016-04-17fuel-nailgun-agent: ohai: Read L1 info w/ ethtool.Alexandru Avadanii4-0/+75
fuel-nailgun-agent uses ohai and rethtool for reading eth info, including ethernet card speed. However, current methods rely on the drivers populating the advertised and/or supported link speed lists. This is not true for all drivers, especially for some Fibers that only report the speed via ethtool when the link is up. This patch adds support for reading L1 info from ohai, which supports parsing ethtool speed starting with version amos2 [1]. [1] https://linux.enea.com/mos-repos/ubuntu/8.0/pool/main/o/ ohai/ohai_6.14.0-2~u14.04+mos1+mos8.0+amos2_all.deb Change-Id: Ic8c252e411a680af32cc68574c572434147a7e78
2016-04-17target Ubuntu: Blacklist rtc-efi if not supported.Alexandru Avadanii3-1/+51
Older ThunderX and possibly other UEFI-enabled targets do not support rtc-efi properly, so they end up filling dmesg with useless complaints about not being able to read system time. This adds a simple test for rtc-efi and blacklists it in target OS (Ubuntu) if not supported. While we're at it, rename a patch file I missed in a previous rebase and update TODO. Change-Id: Ia86b27ad50aca9b0fde50522f2bd15d329726f34
2016-04-17bootstrap: Add 'armband-rtc-efi-fix' packageAlexandru Avadanii6-3/+44
Older ThunderX and possibly other UEFI-enabled targets do not support rtc-efi properly, so they end up filling dmesg with useless complaints about not being able to read system time. armband-rtc-efi-fix validates rtc-efi can be used on the system, otherwise it rmmods rtc_efi kernel module via rcS script. This patch hardcodes the addition of armband-rtc-ef-fix package during bootstrap image build. NOTES: This could be later removed or, if other fixes need to be delivered like this, grouped in a meta package. Target OS (Ubuntu) still needs to be handled, preferably by blacklisting rtc-efi module and rebuilding initramfs during provisioning. Fuel 9.0 moved default package list to openstack.yaml fixture, see [1]. [1] https://github.com/openstack/fuel-web/commit/ 4ee42effe27694bd231663e3d0f10c0c42877177 Change-Id: I57d632e3915058bbb1fc56b3a7fbd5d15787f9d9
2016-04-17Merge "Rebase after "Bugfix Broadcast Group"."Alexandru Avadanii4-9/+8
2016-04-17Rebase after "Bugfix Broadcast Group".Alexandru Avadanii4-9/+8
While we're at if, fix whitespace errors in affected patches. Change-Id: Ic14e3e13f9503ab4b9307e55c731825b8a33da3b
2016-04-17Makefile: submodules-clean: Add 'git am --abort'.Alexandru Avadanii1-1/+2
Sometimes patches fail to apply cleanly on patches-import, usually due to upstream changes. submodules-clean removes tags and resets HEAD, so it should also try aborting the git am command. Change-Id: I7e839383cbcde60deaf9266f24512f985b0b642e
2016-04-15Updated armbandBilly O'Mahony1-0/+0
Project: ovsnfv 8a312b9535b2f3fe721139ed37722a13d1a940b1 fuel plugin: Pick updated libudev1 packages. Package versions of libudev1 packages were bumped from 5ubuntu20.18 to 5ubuntu20.19. Change-Id: I628b56c1f057699d6ce4021a3a7ae125f759d5ac Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com> Reviewed-by: Jonas Bjurel <jonas.bjurel@ericsson.com> Reviewed-by: Mark D. Gray <mark.d.gray@intel.com> Reviewed-by: Tom Herbert <therbert@redhat.com> (cherry picked from commit fe0d98cb53b7ce4b116c0f557376afe326698226)
2016-04-15Updated armbandBilly O'Mahony1-0/+0
Project: ovsnfv 0b811a3af8585e229be85f2f6be7b5c36dbbc26a fuel plugin: Provide required libudev1 version The latest fuel .iso has changed provided libudev1 version from 20.18 to 20.15. As the later version is required for the plugin we now provide it directly in the plugin's repo. Change-Id: Ida93a9971185d13aa476a6192bca949b854f42af Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com> Reviewed-by: Jonas Bjurel <jonas.bjurel@ericsson.com> Reviewed-by: Mark D. Gray <mark.d.gray@intel.com> Reviewed-by: Tom Herbert <therbert@redhat.com> Reviewed-by: Michal Skalski <mskalski@mirantis.com> Reviewed-by: Stefan Berg <stefan.k.berg@ericsson.com> (cherry picked from commit 5181fb94a7485af207c1232753eeb74fb8975b1a)
2016-04-15Merge "build.sh: added initial build script"Alexandru Avadanii1-0/+9
2016-04-15build.sh: added initial build scriptJosep Puigdemont1-0/+9
Change-Id: Icf8662682b65254c42ca752a14e19b0e08d65853 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
2016-04-15Updated armbandNikolas Hermanns1-0/+0
Project: fuel c6e6a032ce80f6b8a781383ebe72f3ca9572b268 [VPNSERVICE] Bugfix Broadcast Group The local broadcast group was not updated correctly in ODL. This commit includes the bugfix. Change-Id: I7857bcdc543217d513683bf91ab13fa93ba2ed42
2016-04-14Updated armbandNikolas Hermanns1-0/+0
Project: fuel 8ac63ae166d30c1bec46b5159b2d2362be5b325f Adding patch for Broadcast Storm of vpnservice There is no persisten release from stable/beryllium with the bugfix https://git.opendaylight.org/gerrit/#/c/37566/ included. So we have to overwrite the file we a own build. Change-Id: I637c333fa2175544f182cd1f7b774501d3fc2c25
2016-04-14Updated armbandMichal Skalski1-0/+0
Project: fuel e70b1575651518c6d3d247b59c303e54c9d586ec Fix odl haproxy configuration In rare cases ODL haproxy configuration had been deployed before haproxy service was ready. This patch should force proper order. Change-Id: I7c90a57bab5e3388bf29aefabe6ed9380d1303f6 Signed-off-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit a71ccaa852a7a0091fce50045f29ab5119a7811b)
2016-04-13Updated armbandBilly O'Mahony1-0/+0
Project: ovsnfv 6795067e538388078afc8b1f71b6e8224339da81 fuel plugin: Pick updated libudev packages. Package versions of libudev-dev_204 packages were bumped from 5ubuntu20.18 to 5ubuntu20.19. Change-Id: Ie43635c1ab3180a307475e0b47b082fe1cad6ae1 Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com> Reviewed-by: Jonas Bjurel <jonas.bjurel@ericsson.com> Reviewed-by: Mark D. Gray <mark.d.gray@intel.com> Reviewed-by: Tom Herbert <therbert@redhat.com> Reviewed-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit a1f15bb1c833079d49affab36bb4bb20ca73dafd)
2016-04-12Rebase after "redo config of plugin build".Alexandru Avadanii3-16/+18
Change-Id: If0d4c64742d0984f32c7c68bc903332ceea656e9
2016-04-11Updated armbandNikolas Hermanns1-0/+0
Project: fuel 6597153801bc56a8d273ebd38b6cace45b5f3c4a Redo config of plugin build - Split up config into a new config file - add revision to better point to a branch instrad of a revision. Change-Id: I341138973b56fb0807478ee08cab039ab31d6503
2016-04-11Updated armbandBilly O'Mahony1-0/+0
Project: ovsnfv 456f72770de91a7489962d962efc823d3d5ceec8 fuel plugin: Pick updated pcre packages. Package versions of pcre 8.31 packages were bumped from 2ubuntu2.1 to 2ubuntu2.2. Change-Id: I5a48af87ff36375f41f2bb12b20c4c4d272d00c6 Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com> Reviewed-by: Jonas Bjurel <jonas.bjurel@ericsson.com> Reviewed-by: Mark D. Gray <mark.d.gray@intel.com> Reviewed-by: Tom Herbert <therbert@redhat.com> Reviewed-by: Michal Skalski <mskalski@mirantis.com> (cherry picked from commit 37c978c1fa84cd20f449aa1de7a74024cc9a8d13)
2016-04-11Updated armbandBilly O'Mahony1-0/+0
Project: ovsnfv 9be3edaf948cc28c6e879fa71daf4927dd3ed0d4 fuel plugin: Fix mechanism driver config This fixes the yardstick ping test. And hopefully other y/s tests. Add ovs to the mechanism driver search list so that neutron agent continues to work with the kernel ovs on the non-compute nodes. This enables the router on the control node and makes VMs accessible via public ip addresses. Change-Id: Ife08e63e8bf9358cc24eb610b3d7611484b3151f Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com> Reviewed-by: Jonas Bjurel <jonas.bjurel@ericsson.com> Reviewed-by: Mark D. Gray <mark.d.gray@intel.com> Reviewed-by: Tom Herbert <therbert@redhat.com> Reviewed-by: Michal Skalski <mskalski@mirantis.com> Reviewed-by: Stefan Berg <stefan.k.berg@ericsson.com> (cherry picked from commit b5b4ea732e18c5450c663c6f84f289eb6acadf4b)
2016-04-11Rebase on upstream updateStanislaw Kardach1-3/+3
2016-04-10Updated armbandPeter Barabas1-0/+0
Project: fuel a2bd1d8baa9d2c256671834fc90a1c7e489850d7
2016-04-10Updated armbanddavidjchou1-0/+0
Project: fuel cc51d7477901e5acf27e3599754f6a751231a2f1
2016-04-09Updated armbandNikolas Hermanns1-0/+0
Project: fuel e8d3f97a5fa317edc6aefb091da5318d946e82ce
2016-04-09Updated armbandJonas Bjurel1-0/+0
Project: fuel 5033efb4cbb8fb2b932846e5ac900c2ad042e28d Get user id without forking a shell. Change-Id: I6789b81186b7ede124a838a5b6668ba8326e0c0b Signed-off-by: Peter Barabas <peter.barabas@ericsson.com> (cherry picked from commit befc84a9d28663a45510c71119980e1cf5b6eeca)