aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-05-02build.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> (cherry picked from commit 82c8ce04572c6b1e46909827ecb35ed2ca9e8285)
2016-05-02Correct 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> (cherry picked from commit 6bf15cd4182cdab5606f4198f3eb30f452345648) Change-Id: I3e37100af715ff1e1aa4a8303df8af3004eb8723
2016-05-02Allow 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> (cherry picked from commit f96f651a653d5e5b32515f177400bc0456d5ab7c) Change-Id: Ibe7113a3629eb2b747c99ce16ef244fb7081d121
2016-05-02Cleanup patch-export bugsStanislaw Kardach10-24/+23
(cherry picked from commit be5864d1622dc080718422b313cf9954b123c3b0) Change-Id: I85fc2afcf51c618f5680b95d596a264d60f16f53
2016-05-02build.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> (cherry picked from commit d7adccfac3b55fdac91554ebbef83cf68ccfaf5a)
2016-05-02build.sh: actually build the ISO.Josep Puigdemont1-3/+28
Change-Id: Ica40e2fd78d6569cc17e6702a094889ae732249a Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> (cherry picked from commit 26afb33eae322c85eda964d755a2ed0c05857a85)
2016-05-02ceilometer: 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 (cherry picked from commit c3b6de80481baba29fed8eb35259e28e2022bc7c)
2016-05-02Fix 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 (cherry picked from commit f67fcb05c8a5e8eca48aef084298aa4cfd57e344)
2016-05-02Switch 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 (cherry picked from commit 7a70a9e5fd406a1d72d038ed9460e417df4e8482)
2016-05-02fuel-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 (cherry picked from commit 20f60bd215bc73f4fd9d8c0c08598fb4e6a28b77)
2016-05-02target 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 (cherry picked from commit 6bef7de313b6bb33f7a716d1d70ec4eb4aae9a3f)
2016-05-02bootstrap: 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 (cherry picked from commit f9b8d557900a105483168e75344059cba5435e6e)
2016-05-02Rebase after "Bugfix Broadcast Group".Alexandru Avadanii4-9/+8
While we're at if, fix whitespace errors in affected patches. Change-Id: Ic14e3e13f9503ab4b9307e55c731825b8a33da3b (cherry picked from commit f55f96c79945e3c6c6d0fe907f8520a9eacd2677)
2016-05-02Makefile: 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 (cherry picked from commit fa47cae0599281bf3ae3c8d7b4816b22d39e3583)
2016-05-02Merge "build.sh: added initial build script" into stable/brahmaputraAlexandru Avadanii1-0/+9
2016-05-02build.sh: added initial build scriptJosep Puigdemont1-0/+9
Change-Id: Icf8662682b65254c42ca752a14e19b0e08d65853 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> (cherry picked from commit f89a39ae6698286ac43f5829e45d259bcda3b1a7)
2016-05-02Rebase after "redo config of plugin build".Alexandru Avadanii3-16/+18
Change-Id: If0d4c64742d0984f32c7c68bc903332ceea656e9 (cherry picked from commit 06a429353c0f41083928499589db288ae3275f2a)
2016-05-02Rebase on upstream updateStanislaw Kardach1-3/+3
(cherry picked from commit 7812485e01f40a824a0820d73beb1a0a96599eb6) Change-Id: I1d31667ca5151f2af0acb555b4de9c5dc7f99b2e
2016-05-02FIXME: 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 (cherry picked from commit a243edde9c34f38dff717d8f6997825e74a61252)
2016-05-02FIXME: 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 (cherry picked from commit 4ac065843d64e56ba7374ad8732cc27f8682a8be)
2016-05-02Rebase after Fuel updateStanislaw Kardach2-7/+7
(cherry picked from commit 47546677064ce3108123c4fcd6cb98bae16eccbc) Change-Id: I27439774905f670591ef7e1a5d1c134333a2c5fb
2016-05-02Rebase after upstream bumpStanislaw Kardach6-8/+8
(cherry picked from commit 4d4bf7c29530ea85570b30ee9b351bc55825b950) Change-Id: Ied0b2eba422aa54ecf0d4834f18a583ef0a5ffa9
2016-05-02dea: remove extra byte in IP addressJosep Puigdemont1-2/+2
Change-Id: I69526569eb0ba26e38a30e53ce6cdb4763ac5dbe Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> (cherry picked from commit 99f2db2813e2fc16464a2a9493307e9279f4d7f5)
2016-05-02Merge "Added files for automatic deployment." into stable/brahmaputraAlexandru Avadanii3-0/+1207
2016-05-02Merge "Add Florin, Alexandru, and Mazdak to INFO file" into stable/brahmaputraAlexandru Avadanii1-0/+4
2016-05-02Added files for automatic deployment.Josep Puigdemont3-0/+1207
Change-Id: If9a9bb03c3cbcb28c0d6fb218069c6db46d4d314 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> (cherry picked from commit eb165e4fbab7ef92661101c836257b177e158929)
2016-05-02Add Florin, Alexandru, and Mazdak to INFO fileTrevor Bramwell1-0/+4
They were approved as submitters back in December of 2015. Change-Id: I5a2021e4796a848d2537d87bc1ac1bee26b0a9c6 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org> (cherry picked from commit e413605dfcb2500a769ad663a89edabbc448488f)
2016-05-02Add initial documentation on DEA filesJosep Puigdemont1-0/+322
I have only formatted the file into markdown, all the credit goes to the Josep Puigdemont. Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> (cherry picked from commit 58827fdb426f275a7a223d4db773ec3a717ec9c1) Change-Id: I70292f60a058dc63c0362b1d37756645f2d811d6
2016-05-02Clean up and fix Libvirt and CephStanislaw Kardach17-86/+269
[ Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com> ] * Fix upload_cirros timeout * Workaround for default video device in nova * Fix syntax and increase TestVM's RAM requirements [ Alexandru Avadanii <Alexandru.Avadanii@enea.com> ] * Cleanup: Obsolete SEPARATE_IMAGES. * Nova libvirt drv: arm64: Update console default. * fuel{,-main}: Cleanup obsolete patches. * nova: Fix inject for direct boot with part table. See https://bugs.launchpad.net/nova/+bug/1290455 for full bug description. For now, we detect direct kernel boot with a partition table inside disk image by passing target_partition when root kernel arg points to a partition (instead of the whole disk). * Drop obsolete/done TODO entries. * Nova: Fix os cmd line parsing for list case. * ceph: Fix obsolete XFS mount param. * Fix out-of-order embedded patch hunks. Signed-off-by: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 0f762e556ea7b2393f56ca7fb8e06f66f99880aa) Change-Id: I24f84e8b100b3f1542f9f51db93ebad9831b9b14
2016-05-02Rebase patches and fix importingStanislaw Kardach8-45/+11
* We were missing the patch rebase changes that were introduced by gerrit automatic upstream project update for submodules. This patch introduces them. * Apply all submodule patches a single `git am` call to help with rebasing patches. * Correct Opendaylight plugin initialization in repo config. Signed-off-by: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com> (cherry picked from commit ccf57699bbff183ef45fd4a4e94df094ca69ee87) Change-Id: I88be0617196bc77cf237a9818f7368f6eb78f6b3
2016-05-02Update INFO with new CommittersTrevor Bramwell1-3/+4
Change-Id: I82c6b196ce0c7109913d8d68f1e4f0347af937f5 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org> (cherry picked from commit f101dd4429858b1b313eec81959576d974b34f23)
2016-05-02Add fixes and improvements for arm64 deploymentFlorin Dumitrascu44-162/+1033
[ Florin Dumitrascu <florin.dumitrascu@enea.com> ] * arm64 support for OpenDaylight Fuel Plugin [ Stanislaw Kardach <kda@semihalf.com> ] * Limit ESP to first drive * Remove default+timeout+tr from cobbler profile * Fix puppet syntax errors * Disable usb tablet on aarch64 * Support direct kernel boot for CirrOS TestVM on aarch64 * Remove git version signature not to confuse patches-export * Fix VGA support for CirrOS TestVM * Makefile: Add clean-{docker,build}. [ Alexandru Avadanii <Alexandru.Avadanii@enea.com> ] * Performance: Use gzip instead of xz compression. * Switch mirror proto from https to http. * Update TODO with remaining tasks. * Disable amd64 Liberty fixture (no multi-arch support yet). * m1.micro: Increase RAM size to 128MB for aarch64 images. Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> Signed-off-by: Florin Dumitrascu <florin.dumitrascu@enea.com> Signed-off-by: Stanislaw Kardach <kda@semihalf.com> (cherry picked from commit 80ba8c45cda5308010ded08b3d070343a92d58b5) Change-Id: I59823bc27b26e0749f27b6d39ed032847ca23fcd
2016-05-02Fix missing git submodules.Florin Dumitrascu8-6/+6
Also using https URL for cloning submodules. No need to use SSH keys, as no push is done on submodules. Signed-off-by: Florin Dumitrascu <florin.dumitrascu@enea.com> JIRA:FUEL-39 (cherry picked from commit f6c0f5f6a93e95bc75f0bbffcaa64c463735122f) Change-Id: Ic20b0cd88bcb8b13b219aa42b15cde9d295c5700
2016-05-02Initial code commitFlorin Dumitrascu37-0/+2194
This brings initial code base for Armband project that allows building an OPNFV Fuel 8 iso based on Brahmaputra components to be deployed on arm64 servers. Signed-off-by: Stanislaw Kardach <kda@semihalf.com> Signed-off-by: Alexandru Avadanii <alexandru.avadanii@enea.com> Signed-off-by: Florin Dumitrascu <florin.dumitrascu@enea.com> JIRA:FUEL-39 (cherry picked from commit c715e7bb460f499f4fd20f7ab000d7a6d670636a) Change-Id: Ic4ed6e6dfbe396d4c8c40357848aae0e158397da
2015-09-15Adding INFO and LICENSE for reviewAric Gardner3-0/+40
Change-Id: I5cab2628665f47a5e7baed0bf94c70e1549fe1e8 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2015-09-15Initial empty repositoryAric Gardner0-0/+0