summaryrefslogtreecommitdiffstats
path: root/build/f_isoroot
AgeCommit message (Collapse)AuthorFilesLines
2016-10-05build: Use git submodules for Fuel git reposAlexandru Avadanii2-18/+2
This change reworks support for cloning (fetching) and patching all Fuel components (fuel-library ... fuel-ui, see [1] for full list), both outside the ISO build process (for development purposes, like testing OPNFV patches apply cleanly to each component), and during the ISO build. The implementation relies heavily on git submodules and patches, so backporting pending upstream gerrit changes, as well as adding new out-of-upstream-tree patches, should be trivial. Also, since without tracking remotes the repos rarely change, leverage the in-place OPNFV build caching mechanism to drastically reduce the number of git clones during each build. The mechanism is detailed more in-depth in the JIRA ticket [3], and it's merely a rehash of the submodule handling in Armband, implemented initially by Stanislaw Kardach <stanislaw.kardach@cavium.com>. Pros (+ new features): - OPNFV patches for Fuel components can be applied (imported) or developed (exported) outside of the ISO build process; - git repo caching reduces the number of external pulls; - reuse the same fuel-* componets in ALL targets e.g. fuel-mirror used to employ 2 slightly different git trees; - one step closer to Fuel/Armband merge (lots of steps left though); Cons: - adds a lot complexity to solve a non-problem (handling the repos is fine in the current form, for the current goals); However, patching <fuel-astute> or <fuel-agent> seems to be quite complicated with the current mechanism, as env vars override our locally patched repos for these components). The proposed change should eliminate this issue completely. CHANGE: Aligned divergent fuel-mirror in ISO vs local repo build by applying the 302 redirect fix ("Fixed handling http redirects") [2] on top of 9.0.1 tag in fuel-mirror repo, and using that for both. This obsoleted the followking mk file: - build/f_isoroot/f_repobuild/config.mk CHANGE: Removed unused make target `get-fuel-repo` from build/config.mk. FIXME: Remote tracking is currently deactivated for all branches. Change this when remote HEAD should be tracked instead, e.g. during Newton rebase. [1] https://github.com/openstack/fuel-main/blob/stable/mitaka/repos.mk#L32 [2] https://review.openstack.org/#/c/334882/ [3] https://jira.opnfv.org/browse/FUEL-200 TODO: Extend build/f_repos/README.md with info about: - branch changes; - tag bumps; - patching now supports subdirs; v5 -> v6: * Added support for nesting patches in subdirs, to be used for feature groups and related changes across submodules. E.g. Upcoming multiarch EFI support could go in: - .../f_repos/patch/fuel-agent/multiarch-efi/...; - .../f_repos/patch/fuel-astute/multiarch-efi/...; While Armband patches could go in: - .../f_repos/patch/fuel-agent/armband/...; - .../f_repos/patch/fuel-astute/armband/...; etc. v6 -> v13: * fix wrong tag used for VERSION dump; * fix wrong tag used for patches-export; * move OPNFV_TAG to main config.mk and use it in FUEL_*_COMMIT; * only run `patches-import` when patches changed / not yet applied; * only run `clean` for stale `.cacheid` (avoid re-applying patches); * allow git submodule path/name to be different (FIXED); * put-cache should only run when artifact is not already cached; * `git am`: use 3-way merge so already applied patches are gently skipped (useful for upstreaming patches from Armband); * Properly support nested patch dirs; * Colorize the output a little; JIRA: FUEL-200 Change-Id: I9dbdd9b3022896d4497d21be8dacc859730db489 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-03Integration of fuel-plugin-tackerGeorge Paraskevopoulos4-1/+107
JIRA: FUEL-205 This change integrates https://github.com/openstack/fuel-plugin-tacker to the Fuel project. Change-Id: I51b1bdeeb678e55b85393f6a9f8180fc79322e8f Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2016-09-22[odl] Get latest changesMichael Polenchuk1-1/+1
* Fix setting bgpd password with puppet * Enable G1 garbage collector * Adding caching possiblity * Add firewall resource that opens BGP ports Change-Id: I8f779ba7356acf52967e594a1a213edf192962fc Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-09-20Temporary Hardcoded Ubuntu repoJonas Bjurel1-16/+18
Meanwhile we're investigating the issues with Ubuntu repo mirror selection, we will hardcode the Ubuntu repo mirror Change-Id: I776bd3a8a72dc87e00052e8ff965de1134293c7a Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-09-20[KVM] Install plugin in post-deploymentMichal Skalski1-2/+2
JIRA: FUEL-171 Change-Id: Iead815ba2da76493f108ad71bc32cff265302b55 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-09-19Make sure to use only up-to-date mirrorsStefan K. Berg1-3/+9
Whitewash the geographically "close" mirrors against the list of fully synced mirrors - we've had a few instances of getting bad mirrors which would break the script. All credit goes to: https://askubuntu.com/questions/39922/how-do-you-select-the-fastest-mirror-from-the-command-line ... and we should perhaps use the netselect tool as well somewhere down the line, but this fixes the most urgent problem. Change-Id: Ia61a2bd78657b28019f57fc1962d410e754e6d2a Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2016-09-18Repo tidy-up + licence scrubingJonas Bjurel4-104/+15
- Added licences and (c) to files not complying to Licence and (c) policies. - Removed example templates not having correct licence claims and no longer being rellevant. - Removed the Vagrant deployment method as it is not used, not rebased/up to date and not holding correct license claims. Strategies used: - Machine generated are not assigned an licence text, the licence follow from the source. - Generated patch files are not assigned an licence text, the licence follow from the source. Change-Id: I9763f076eae51fbb2d4e5cb8cacfa4bb6cf338cc Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-09-15[OVS-DPDK] Turn off missing optionsMichael Polenchuk1-1/+1
Get all gcc/compile options to conform to corei7 arch. JIRA: FUEL-186 Change-Id: I5ce76631aac9174c69362f96f71e26285fc95842 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-09-15Uplift fuel-plugin-ovsbillyom1-1/+1
Pull in "Update flavors mem_page_size" Change-Id: I3e285cefee561dbbc02eb9ab7d2e9c01eef2742a Signed-off-by: Billy O'Mahony <billy.o.mahony@intel.com>
2016-09-14Use Boron RC3.5 for sfc scenarionMichal Skalski1-1/+1
It should fix problems with vm communication through floating IPs. Change-Id: Icadc71f2b99c28715c15389e59111272a21440fb Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-09-13[ovs-dpdk] Target compiler to corei7 cpu archMichael Polenchuk1-1/+1
Change-Id: Id2405bc3b636178791428b9bab739fdaa0f094a2 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-09-09Change the way of hugepage allocationMichal Skalski1-1/+1
Try to allocate enough hugepages for all NUMA nodes. JIRA: FUEL-186 Change-Id: Idcdf6ab616dfbd9ef1104be8d1667421221ea5f2 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-09-06Disable cpu features in ovs with DPDKGuo Ruijing1-1/+1
Change-Id: I2cf5df2f0469f21f64e0e7d11740058639f68697 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-09-05Merge "Do not use rsync for choosing mirror server"Michal Skalski1-49/+14
2016-09-05Do not use rsync for choosing mirror serverMichal Skalski1-49/+14
Rsync protocol was used for creating local mirrors, but now we only need http connection. This requirement can be problematic for environments which are behind proxy and can lead to build failures when rsync is not allowed. Change-Id: I4efcf500fd0c25de5fdb87307e7210cc4a96714d Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-09-02Change source of ODL Boron tarballMichal Skalski1-1/+1
For SFC scenario we need to use ODL Boron. Since it is not yet released there is no persistent location for a tarball. Use opnfv artifacts to store Boron build which include required changes. Change-Id: I43e35dbdf5ca0160d48a1adc817db071fd5db85d Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-09-01[OVS-DPDK] Set default for dpdk_socket_memMichael Polenchuk1-1/+1
Change-Id: I175178cdcbab52ac024157d2c5707fd7e1236dd4 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-08-31[OVS-DPDK] Allocate dpdk socket memoryMichael Polenchuk1-1/+1
JIRA: FUEL-186 Change-Id: Id44a786f69d78b378fbabea2c70ab1ca78651729 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-08-31Merge changes from topic 'multiarch-mirrors'Jonas Bjurel10-0/+10
* changes: build: cache: Consider UBUNTU_ARCH in .cacheid repo mirror: Allow multi-arch local mirrors
2016-08-29Merge changes from topic 'var-overrides'Jonas Bjurel1-1/+1
* changes: build: Allow MIRROR_MOS_UBUNTU override build: Allow PLUGINS override
2016-08-25[ODL] Fix odl deployment on separate nodeMichal Skalski1-1/+1
JIRA: FUEL-185 Change-Id: Id14d30154b63abc915a0cd55835bb72cee862dde Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-08-24build: cache: Consider UBUNTU_ARCH in .cacheidAlexandru Avadanii10-0/+10
Usually UBUNTU_ARCH is not changed inside the same repository, but we should consider this case anyway for future merging Armband and Fuel@OPNFV repositories/build systems. This applies to all Fuel plugins and the local repo. Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-08-24build: Allow PLUGINS overrideAlexandru Avadanii1-1/+1
Instead of using BUILD_FUEL_PLUGINS, which was intended for manual overrides of the Fule@OPNFV plugin list, allow PLUGINS to be preset to a custom list, which we will provide via Armband Makefile spec. Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-08-22Merge "Changing ODL change into FUEL_PLUGIN_ODL"Nikolas Hermanns2-10/+10
2016-08-19Merge "Claenup"Michal Skalski1-4/+2
2016-08-19[KVM]Add support for Broadcom NetXtremeII 10GbMichal Skalski1-1/+1
This NIC is used on Ericsson CI POD2 JIRA: KVMFORNFV-45 JIRA: FUEL-171 Change-Id: I44576b399b6195ccc1e64dfc0b04e239ced8acc7 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-08-19Changing ODL change into FUEL_PLUGIN_ODLNikolas Hermanns2-10/+10
Some users where confused if the change we are doing here is a change to ODL or the fuel-plugin-opendaylight. So renaming helps for more understanding. Change-Id: I886d7be3db995f37f9451c06ee22c16d540254e1 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-08-19[ODL-plugin-update] Adding more memory to java vmNikolas Hermanns1-1/+1
When running functes ODL crashes in the middel and is not starting again. Investigtion showed that it is due to insufficient memory of the java vm. Change-Id: I18cda9ed5bed91e72fd91aaf0efa02c5e1a3c8d1 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-08-18Claenupdavidjchou1-4/+2
Remove the workaround marked by "# fix me" mentioned in commit id: e8928f93b50df3ecb11942ab754bae848c082c6a, since the issue (some files generated during kvmfornfv building are owned by "root") already resolved in fuel-plugin-kvm build process. Change-Id: I5efb60173b9974f6fba25f04da1f4b1f53207b1a Signed-off-by: davidjchou <david.j.chou@intel.com>
2016-08-18Update kvm pluginMichal Skalski1-1/+1
Move kernel installation to main phase of deployment which may reduce problems with mcollective agent after node reboot. JIRA: KVMFORNFV-45 JIRA: FUEL-171 Change-Id: I48308471f9336b73cde238ff055433f030395e19 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-08-17Rebase yardstickGuo Ruijing1-1/+1
1. discuss stable commit ID with yardstick PTL 2. do basic test for yardstick fuel plugin Change-Id: I9ca3a71e178e5e90497629f43110121e4265602f Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-08-17Fix DPDK port create failure issueGuo Ruijing1-1/+1
Change-Id: Id514d995e1e985652e118caadb505237fc0b740a Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-08-12Allign odl-sfc scenarios with new plugin versionMichal Skalski1-1/+1
ODL Boron use different set of sfc features. JIRA: FUEL-169 Change-Id: I38c1e518ffbf625a68f879779c01e4abfdb1d672 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-08-10Rebase vsperfGuo Ruijing1-1/+1
1. discuss with vsperf PTL to rebase vspef with stable commit ID Change-Id: Ia87d4d5394b5eb476165b06d015414c1675fccac Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-08-10Rebase OVS with DPDKGuo Ruijing1-1/+1
1. Rebase OVS to commit 9f4ecd654dbcb88b15a424445184591fc887537e 2. Rebase DPDK to 16.07 3. Fix 2 vms in 2 hosts ping each other issue 4. update demo script Change-Id: I85b56ab6e3a735bbf26df8d4df22f2d76b9fb1d3 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-08-10Merge "Rebase to collectd-ceilometer-plugin stable/mitaka 1. fix ↵Guo Ruijing1-1/+1
pbr:version_string in collectd-ceilometer-plugin 2. disable collectd build to use stock collectd 3. update README in fuel plugin"
2016-08-09Rebase to collectd-ceilometer-plugin stable/mitakaGuo Ruijing1-1/+1
1. fix pbr:version_string in collectd-ceilometer-plugin 2. disable collectd build to use stock collectd 3. update README in fuel plugin Change-Id: I773910c03d109af1fc1f86a5709105e9ffbfc350 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-08-08Use ODL Be SR3Michal Skalski1-2/+2
JIRA: FUEL-165 Change-Id: I483f23c2f74313020d6a3dbb88079558d6674010 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-08-03Merge "Add collectd package for collectd ceilometer plugin"Michal Skalski1-0/+2
2016-07-26Merge "Update collectd ceilometer fuel plugin installation scripts"Guo Ruijing1-1/+1
2016-07-26Merge "Minor fixes in yardstick fuel plugin"Guo Ruijing1-1/+1
2016-07-21Pinning down exact Fuel 9.0.1 repo versionsMichal Skalski1-1/+1
stable/mitaka branch is open for new commits for Fuel 9.1. To not be impacted by new upstream changes point to specific commits which were used for Fuel 9.0 General Availabilit (9.0.1). JIRA: https://jira.opnfv.org/browse/FUEL-153 verify: no-cache Change-Id: I7fd8d2f11e4be6f47e39924913c48bfe7d4f2eb3 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-07-21Temporary fix for bgpvpn plugin buildsMichal Skalski1-1/+1
JIRA: FUEL-154 Change-Id: Iad554aef8db9a6d01c408c0014dabf45e4c1a0e6 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-07-20Update the commit ID of kvmfornfv upstream for fuel-plugin-kvmdavidjchou1-1/+1
This version of kvmfornfv upstream fixed the issue of failing to launch instances in Horizon after OPNFV environment deployed. Change-Id: I05fa9f977924ee679312c599ee0bccabaf7bf1a9 Signed-off-by: davidjchou <david.j.chou@intel.com>
2016-07-20Add collectd package for collectd ceilometer pluginGuo Ruijing1-0/+2
Change-Id: I8da0087d8f17f5f2e4c3275a26ad2ca164878226 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-07-20Minor fixes in yardstick fuel pluginGuo Ruijing1-1/+1
Change-Id: Ifc4a31efc8a2717eaccb7b39fa36e1282eb16173 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-07-20Update collectd ceilometer fuel plugin installation scriptsGuo Ruijing1-1/+1
Change-Id: I4019b2167092f522a3d2533bf20b2ea04bb3b2b2 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2016-07-19Build new cache when list of packages has changedMichal Skalski2-5/+16
Create a new cache of f_repobuild job when list of packages required by plugins has changed. JIRA: FUEL-150 Change-Id: I079950eaa9e3b32ea7baa3f6d4a37cc37f99f3a7 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-07-18Merge "Update fuel yardstick plugin 1. update fuel plugin builder 2. ↵Guo Ruijing1-1/+1
change install directory in yardstick plugin 3. update README"
2016-07-14Merge "Add fuel collectd ceilometer plugin"Guo Ruijing3-1/+104