aboutsummaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2016-10-10build: Use OPNFV_GIT_SHA for ISO preparer IDAlexandru Avadanii3-4/+8
isoinfo -i lists the following information for Fuel@OPNFV ISO: "Data preparer id: 86aafaf5454a846c417848bb94f264c4420160f3" where the SHA hash is Fuel git repo HEAD SHA. For Armband's build system, using only the Fuel commit ID is not enough to fully describe the state of the source code, as patches are also applied to other fuel modules (as git submodules). Instead, a pointer to a valid Armband commit ID should be used. However, Armband overrides OPNFV_GIT_SHA to the Armband git repo commit hash, so the ISO metadata should also reflect this. While at it, allow product name to be overriden, to signal the commit ID should be looked up inside the Armband repository. Change-Id: I33ad490f1afe28c1d439dda40e39cee1955e0ac2 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 94ea115c36d5f5c79823692ac80626cf8959b35d)
2016-10-06build/docker: CI: no tag reuse on env var changeAlexandru Avadanii1-1/+1
The previous change adding support for OPNFV build tag reuse added the get/put-cache functionality to `build/docker` just for detecting env var changes between tag creation and current build. Obviously, when building outside CI, it is up to the end user to force a docker rebuild when env vars change (this was the behavior before the tag reuse support too). An alternative approach would be removing get/put-cache completely, if we consider the env vars (http proxy related) never change for CI cached builds (seems to be true, worst case we wait 1 day for the tag to expire when it happens). This change just fixes the original intended behavior in tag reuse. JIRA: FUEL-204 Change-Id: I14666994bc334012a5198a64a4a24cd4962e4bd6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 1c7eb680b34fdcd83b92c43a4c78db3c54bf567b)
2016-10-06build/docker: Reuse tagged image for OPNFV buildAlexandru Avadanii3-7/+70
During CI build loops, the workspace is freshly fetched, so '.docker' make target is built each time. Reuse existing 'opnfv.org/ubuntu-builder:14.04' tag if present, but enforce a configurable lifespan for this tag (currently 1 day), so it does not get stale. JIRA: FUEL-204 Change-Id: I8d1bd81f3e5e81068e9586c9bea9f43b3327eb38 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 638d832527012531b506ec0ba40b297c41bfda0e)
2016-10-04Integration 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> (cherry picked from commit d91a7fc7cc9d853a9e5c56f87b6cd22ca11ab9a2)
2016-09-26Merge "[OVS-DPDK] Turn off missing options" into stable/coloradoJonas Bjurel1-1/+1
2016-09-26Merge "[performance] Disable keystone token revoke" into stable/coloradoJonas Bjurel1-0/+44
2016-09-26Merge "Fix: ISO build omits long path files" into stable/coloradoJonas Bjurel1-0/+24
2016-09-21Fix: ISO build omits long path filesAlexandru Avadanii1-0/+24
make iso generates: libisofs: WARNING : File "/ubuntu/pool/main/libj/\ libjs-twitter-bootstrap-datepicker/libjs-twitter-bootstrap-\ datepicker_1.3.1+dfsg1-1~u14.04+mos1_all.deb" can't be added to Joliet tree, because its path length is larger than 240 At the end this package is missing in latest ISO. NOTE: This issue is only triggered on certain kernels during build. Closes-bug: FUEL-190 Change-Id: I21f7f1cbe3f64317d2feb66e371611a654cf30f8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 1e380388ee91ae71a7a32122d3942e53f146ccad)
2016-09-21[performance] Disable keystone token revokeMichael Polenchuk1-0/+44
Change-Id: I6db0bfaab5462a9a8f8de64bc1b088607d407bab Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 5bcac1cf6a0d9367ac31f0ca5c6064d30433377b)
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> (cherry picked from commit 53e6d97c9157f1e908d99dcca1207de23ea73132)
2016-09-20[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> (cherry picked from commit 861836e6bbd545d3dcee1bd041ff867fb4e3d357)
2016-09-20Temporary Hardcoded Ubuntu repocolorado.1.rc3Jonas 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> (cherry picked from commit 3e506f9248f2a64a8a30c832049df392b01fcb4e)
2016-09-20Merge "Make sure to use only up-to-date mirrors" into stable/coloradoJonas Bjurel1-3/+9
2016-09-20Merge "Repo tidy-up + licence scrubing" into stable/coloradoJonas Bjurel12-431/+15
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> (cherry picked from commit e12aec84ef1767d4ba9469dfb12d65d928bf0ed4)
2016-09-19Repo tidy-up + licence scrubingJonas Bjurel12-431/+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> (cherry picked from commit 65b7cfcd862a75be72fb98777190c49f8b6ea0d3)
2016-09-17build: Move patches to <patch-repos> dirAlexandru Avadanii5-17/+24
Decouple main Makefile and repository patches by moving all Fuel component patches to a subdir, <patch-repo>. Proposed structure of <patch-repos> dir: - patch-repos/*.patch are intended for <fuel-main> git repo; - patch-repos/build/repo/<fuel-module>/*.patch are intended for <fuel-module>, e.g. "fuel-nailgun"; Full list of Fuel submodules supported by this mechanism at [1]. While at it, replace all occurences of </tmp/fuel-main> with <FUEL_MAIN_DIR> in main Makefile and rewrite a few git/make calls to use the "-C" arg. NOTE: `git -C` is available starting with git 1.8.5. [1] https://github.com/openstack/fuel-main/blob/stable/mitaka/repos.mk #L32-L44 Change-Id: I5e4adc7285054777c3898592ed48482ccd2b706f Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 52701ce099ac455aa393aac34d684f5d59b3d2fe)
2016-09-15Uplift fuel-plugin-ovscolorado.1.rc2billyom1-1/+1
Pull in "Update flavors mem_page_size" Change-Id: I3e285cefee561dbbc02eb9ab7d2e9c01eef2742a Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.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> (cherry picked from commit ff9c24257a2c62dd981297a92eecf712f6643617)
2016-09-12Merge "Reduce ceilometer memory usage" into stable/coloradoMichal Skalski1-0/+30
2016-09-10Change 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> (cherry picked from commit 8d7559b50b265298f7800b18f840b87ad1e84b20)
2016-09-09Reduce ceilometer memory usageMichael Polenchuk1-0/+30
JIRA: FUEL-189 Change-Id: I54854e4cc87f0c0e9e348e18131aa88b70e30054 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 4c47ef4b6f192482d99196c7a7070e5f396b1fd5)
2016-09-07Disable cpu features in ovs with DPDKcolorado.1.rc1Guo Ruijing1-1/+1
Change-Id: I2cf5df2f0469f21f64e0e7d11740058639f68697 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> (cherry picked from commit 9a3f6a38d708cbc3633d203e36e32bc91764ba20)
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> (cherry picked from commit a8820e25b80ee0c069e473cb54c576d98dd10aee)
2016-09-05Change 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> (cherry picked from commit 9d871421fbc631f875f7a8bdca590b42eb1bd3bf)
2016-09-02[OVS-DPDK] Allocate dpdk socket memoryMichael Polenchuk1-1/+1
Change-Id: Ic84094e9842295df936d9f87d0777009e0020013 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-08-31build: 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. Change-Id: I1fb86af4e4dc665e3b443ed8c6cfcb43f365ae6a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 1fb86af4e4dc665e3b443ed8c6cfcb43f365ae6a)
2016-08-31Merge "repo mirror: Allow multi-arch local mirrors" into stable/coloradoJonas Bjurel4-2/+68
2016-08-31Merge "[ODL] Fix odl deployment on separate node" into stable/coloradoMichal Skalski1-1/+1
2016-08-31repo mirror: Allow multi-arch local mirrorsAlexandru Avadanii4-2/+68
Original patch from Stan, signed by me for upstreaming. This patch allows specifying multiple architectures via UBUNTU_ARCH in form of a list of space separated architectures. The first architecture in the list is considered primary and will be used for building all the deb packages by fuel-main. Additional architectures are added to allow targets of other architectures to use the mirror. NOTE: this imposes a requirement that all packages built are arch independent (which is true so far). [ Alexandru Avadanii ] Reworked for applying on top of Fuel@OPNFV. Pass UBUNTU_ARCH to Docker containers. Change-Id: Ibc4ae03223545383813ac58ec34d44c1f97b4694 Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 655e777a5adeb633e114d98ffb02f74b227ab437)
2016-08-31Merge "build: Allow MIRROR_MOS_UBUNTU override" into stable/coloradoJonas Bjurel1-1/+1
2016-08-30build: Allow MIRROR_MOS_UBUNTU overrideAlexandru Avadanii1-1/+1
Change-Id: Idc647f941fc3923f5ed1f2888318b218c23f4362 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit dc647f941fc3923f5ed1f2888318b218c23f4362)
2016-08-30build: 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. Change-Id: Ic4204aefeaf0d781998e54ab83831fcde7527b89 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit c4204aefeaf0d781998e54ab83831fcde7527b89)
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> (cherry picked from commit ba1cb485398d811d2f473406ae085993bfd9f68a)
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-09Merge "Use ODL Be SR3"Michal Skalski1-2/+2
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-08Merge "bootstrap_admin_node: Fix connectivity check."Michal Skalski1-0/+11