summaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2016-06-12Rework: Move fuel-astute patch to post-install.Alexandru Avadanii1-2/+0
IMPORTANT: Drop `fuel-astute` submodule, and patch it instead during the Fuel Master node bootstrapping process, using an OPNFV post.d script. Luckily, this fits well with the recently added script that prepares FM for cross-building. One step closer to un-forking. Change-Id: Ia612e0ad4077b16baf54f1b9ebf9d207daca0be4 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-06-04Makefile: Mitaka update.Alexandru Avadanii1-3/+1
Remove unnecesary overrides from Makefile. Switch Armband repo from 8.0 to 9.0, trimming "-fuel" repo URL suffix. ODL plugin build remains enabled. All other plugins are currently not built. Some cleanup is due in the future: FIXME: Switch to our own JDK later. FIXME: Remove FUEL_CENTOS_8.0 stuff. Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-05-24Fix indentation and add patch-import outputStanislaw Kardach1-1/+2
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>
2016-05-10Increase maximum shell command timeout to 2hStanislaw Kardach1-0/+2
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>
2016-04-29Cleanup: Kill submodule: fuel-plugin-ovsnfv.Alexandru Avadanii1-2/+0
Change-Id: If1895891c28b7d8d8d109539357475ac578bfc38 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-04-29Cleanup: Kill submodule: fuel-plugin-qemu.Alexandru Avadanii1-2/+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-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-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-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-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-22Pass revision version to the build fuel systemJosep Puigdemont1-0/+5
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-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-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 Avadanii1-0/+2
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-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-12Rebase after "redo config of plugin build".Alexandru Avadanii1-0/+1
Change-Id: If0d4c64742d0984f32c7c68bc903332ceea656e9
2016-03-29Clean up and fix Libvirt and CephStanislaw Kardach1-1/+0
[ 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>
2016-03-29Rebase patches and fix importingStanislaw Kardach1-3/+3
* 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>
2016-03-22Add fixes and improvements for arm64 deploymentFlorin Dumitrascu1-1/+16
[ 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>
2016-03-13Initial code commitFlorin Dumitrascu1-0/+65
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