aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-04-27Revert "WIP: Docs: Update name, add contributors."Alexandru Avadanii1-2/+2
This reverts commit 95e9bd7670a34ba0e23fa58340f77ec07292d006. Change-Id: I47ad4b6d870673b9e41742493b7a232c651a461b
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)
2016-04-09Updated armbandJonas Bjurel1-0/+0
Project: fuel 28d95448184d16767aebedb6689d2c3059b559aa Tell debconf not to be interactive Change-Id: If3d937ba895cb06834a9f8b7382d1033aac9714f Signed-off-by: Peter Barabas <peter.barabas@ericsson.com> (cherry picked from commit 9d52d96263d9dc27183abd9a39d36bb7174efef4)
2016-04-09Updated armbandJonas Bjurel1-0/+0
Project: fuel 4fb3f2ed2549ab47a0048d88cbd1303de46820a1 Fix deploy.py return code Fixes https://jira.opnfv.org/browse/FUEL-100 Change-Id: Ic2e01372778720cde84d83738d8b2c85b005124a Signed-off-by: Peter Barabas <peter.barabas@ericsson.com> (cherry picked from commit 50862693f7c1119c941bc344c90d91cdd37dde38)
2016-04-09Updated armbandJonas Bjurel1-0/+0
Project: fuel f3f8da1bb11e4b91c7b7ee8b7d289c83a6bcfa45 Changing raw to qcow2 for vFuel/Controller/Compute A lot of diskspace is allocated although never used this commit changes to thin provisioning for the virtual enviroment. Change-Id: Ia128143a3bae9f3d85a9e749319c2f5343c1df4e (cherry picked from commit aac8573f454109c98fa2af1e5ed05c1d1b19829b)
2016-04-09Updated armbandNikolas Hermanns1-0/+0
Project: fuel 83ba58f31888144bb34a9d844454093d75469548 Remove apparmor for vFuel Not every CPU supports apparmor and there is no real benefit when using it only for fuel. Change-Id: Ibb3221b85d8565f718df9b087aa324d0f606bdee (cherry picked from commit ca27087edd27555aa6d7992b3e754c970bc6543f)
2016-04-08Merge "FIXME: Add udev package to local mirror."Alexandru Avadanii1-3/+14
2016-04-08FIXME: Add udev package to local mirror.Alexandru Avadanii1-3/+14
Ubuntu Trusty arm64 udev is currently overriden by MOS udev, add MOS udev to local mirrors on Fuel Master. Change-Id: I08f384b9dea940f39ee29a1ab6ff7302c18d9e51
2016-04-08Updated armbandPeter Barabas1-0/+0
Project: fuel 0dc771a9584fe1998236c8941189b1afc3c3c066 Remove duplicate import of hashlib Change-Id: I306b8260ea37fb32ef8db8cf5d4628b50328027f Signed-off-by: Peter Barabas <peter.barabas@ericsson.com> (cherry picked from commit 18171a86a7d2b5cda035281ed0fdd3dcb8fbad36)
2016-04-08FIXME: Add --force-yes to apt-get dist-upgrade.Alexandru Avadanii1-0/+31
arm64 udev in Ubuntu Trusty is broken, so we had to provide our own patched udev package in armband MOS repos. Due to dpkg version comparison algorithm, our MOS version of udev is considered a downgrade, which requires --force-yes for apt-get dist-upgrade to work and pick up this version, otherwise bootstrap/target image build would fail with apt-get error code 100. This change can be dropped later, if other packages do not manifest the same behavior. Change-Id: I00f6a55290f2d09fd6aacfa948c84e39da27923d
2016-04-08Updated armbandJonas Bjurel1-0/+0
Project: fuel 5e341a6f501e408dfd4c0dce401a6587ec6d5277 Cleanup and add bgpvpn to scenario file Change-Id: I82ce16751b4d52d6fdb39883b730073164f9dfe0