aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-10-05build: Use git submodules for Fuel git reposAlexandru Avadanii30-102/+526
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-03Merge "Integration of fuel-plugin-tacker"Michal Skalski4-1/+107
2016-10-03Merge "Simplify decrement"Michal Skalski1-1/+1
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-29Merge "use pgrep instead of ps"Jonas Bjurel1-9/+3
2016-09-29Merge "check read access instead of isfile() for Fuel ISO"Jonas Bjurel1-1/+1
2016-09-29check read access instead of isfile() for Fuel ISORoss Brattain1-1/+1
When testing with nested virtualzation I attached the Fuel ISO to VM (/dev/sr0) running deploy.sh This failed because we expect the ISO to be a file, when it could be a device, e.g. /dev/sr0. Instead of checking isfile() check for read access. This tested with bsdtar. It can extract an ISO from a file or device. Change-Id: Ic09373cd618b33382303d9134cce4e005040de95 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2016-09-29use pgrep instead of psRoss Brattain1-9/+3
pgrep was added to procps-ng, it is more exact also replace ps -ef in wait_until_fuel_menu_up removed get_fuel_menu_pid Change-Id: I57ad9d2fabbfe5f570e0be3bfb40ef842f95902d Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2016-09-29Refactor deploy-config.py into object stylePeter Barabas1-237/+290
Change-Id: I706563e6ed1bbfd98adc5a4124ff63789f9e32fa Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2016-09-29Merge "[odl-l3] Get OVS plugin into the action"Michal Skalski2-0/+10
2016-09-28Merge "Support different format of fuel task info"Michal Skalski1-2/+7
2016-09-28Simplify decrementPeter Barabas1-1/+1
Change-Id: I5ad9ee013cc3ac07e75b4c94d71af3c9fd46d281 Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2016-09-28Merge "Add DHA adapter dependencies"Michal Skalski1-2/+4
2016-09-27Support different format of fuel task infoMichal Skalski1-2/+7
As described in this bug: https://bugs.launchpad.net/fuel/+bug/1625518 json output of the task can be in different format: single dict or list of dicts. During tests of https://gerrit.opnfv.org/gerrit/21807 only the later one was visible, try to support both types of output. Change-Id: I7d3e12270c8246b03bdc6c73d3be77a039df469f Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-09-27Merge "Change the way how we track deployment"Michal Skalski1-35/+76
2016-09-27Merge "deploy: fix: remove storage files during cleanup"Jonas Bjurel1-3/+1
2016-09-27Add DHA adapter dependenciesPeter Barabas1-2/+4
Change-Id: Ia83782ac6baed0f9d753b69b18202abaafb972e5 Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2016-09-26Added Alexandru Avadanii as committer to Fuel@OPNFVJonas Bjurel1-0/+1
A Majority of the Fuel@OPNFV committers have voted for Alexandru as committer: Those include: Michal Skalski Jonas Bjurel Greg Elkinbard Stefan Berg Daniel Smith No one voted 0 or -1 Change-Id: Ib477ba126be438a11b409a85805a71734bf1a679 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-09-26Merge "Updated committer list"Gregory Elkinbard1-1/+2
2016-09-26deploy: fix: remove storage files during cleanupStefan Sicleru1-3/+1
Remove old disks through virsh instead of calling os.delete() methods so that the cleanup phase would succeed within a non-root setup. [1] Related-bug: ARMBAND-128 [1] https://gerrit.opnfv.org/gerrit/#/c/19491/ Change-Id: I90007edf014c7e15a68b9a334fcaffaa127ee4ab Signed-off-by: Stefan Sicleru <stefan.sicleru@enea.com>
2016-09-26[odl-l3] Get OVS plugin into the actionMichael Polenchuk2-0/+10
Update ovs version to 2.5+ in order to get inserted security group connection tracking flows in ovsdb, which allows to pass tempest scenario of test_network_basic_ops. JIRA: FUEL-199 Change-Id: Id3e6c8ed2b79c4b6b4a7623f0d262c63f1d1d89f Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-09-23Change the way how we track deploymentMichal Skalski1-35/+76
Use fuel2 for start deployment. Since it does not return progress use deployment task to provide this information. Currently used 'deploy-changes' will behave the same: https://bugs.launchpad.net/fuel/+bug/1565026 Try to handle situation when nodes temporary go offline. With deploy-changes environment still was in 'new' state in this situtation which causes timeouts from jenkins. JIRA: FUEL-196 Change-Id: I6548a5ec807551388e845044c282b7af32eb9100 Signed-off-by: Michal Skalski <mskalski@mirantis.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-22Merge "Templater can now read files from URLs"Michal Skalski1-11/+30
2016-09-22Merge "Refactoring"Michal Skalski1-235/+240
2016-09-22Merge "Change prints from statements to function calls"Michal Skalski1-5/+5
2016-09-21Emergency patch - fixed broken linksJonas Bjurel2-11/+11
Change-Id: I7aea7c06775cac3efeb22d2256c7acf6fbb137d5 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-09-21Merge "Fix: ISO build omits long path files"Jonas Bjurel1-0/+24
2016-09-21Merge "[performance] Disable keystone token revoke"Jonas Bjurel1-0/+44
2016-09-20Change prints from statements to function callsPeter Barabas1-5/+5
Change-Id: I378baa85bd9e1b9b535a2d4e9c8dcb34a267a6e5 Signed-off-by: Peter Barabas <peter.barabas@ericsson.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[performance] Disable keystone token revokeMichael Polenchuk1-0/+44
Change-Id: I6db0bfaab5462a9a8f8de64bc1b088607d407bab Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-09-20RefactoringPeter Barabas1-235/+240
- Move function definition to its place - Add main function Change-Id: I9dd71dd2da0579e04841c9efc80f2770d0182b10 Signed-off-by: Peter Barabas <peter.barabas@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 Bjurel19-431/+75
- 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-17Updated committer listJonas Bjurel1-1/+2
Change-Id: I5f22080edf695cef3c6fd24ff0f62b02a1dbc0af Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-09-16Enable ci off-line deploymentJonas Bjurel1-21/+3
Updated dea_base to use locak repo mirrors for off-line deployment NOT TO BE PART OF COLORADO.1 Change-Id: Ia8e2d716570267ed9a9e06e253b6a7b258ee26eb Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-09-16Merge "Final updates of release notes"Jonas Bjurel1-13/+23
2016-09-16Final updates of release notesJonas Bjurel1-13/+23
-Added filters for fixes, issues and work-arounds Change-Id: Id76545fd7837c83145bd8d87b309c23849da6f7e Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-09-16Merge "Increase number of hugepages allocated for nova"Michal Skalski2-2/+2
2016-09-16Remove extra empty linePeter Barabas1-1/+0
Change-Id: I462a99b42d05b979c4f1904e7309e87ddd94d1bb Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2016-09-16Templater can now read files from URLsPeter Barabas1-11/+30
Change-Id: I34b81379f7e77743e64bbf4ae814b6cd296f2428 Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2016-09-16Merge "[OVS-DPDK] Turn off missing options"Michal Skalski1-1/+1
2016-09-16Increase number of hugepages allocated for novaMichal Skalski2-2/+2
Yardstick is using m1.small flavor for some tests, in case of ovs scenario it should be possible to allocate 2GB from hugepages. Change-Id: Ie908d94e63a5055907bb33c69a5e028739f44f2e Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-09-16Stop using network transformationMichal Skalski27-263/+140
Due the bug in code we did not apply network transformation to created environments, but still Fuel base on chosen segmentation type and networks to NICs assigment has been generated network schema itself. Since we don't use custom network schema we can remove transformation defintions from dea pod overrides files. However there is a need to configure NIC properties in case of dpdk deployment. JIRA: FUEL-192 Change-Id: Ib7dab4d61910ac8c44b6d91e0c486c9693034823 Signed-off-by: Michal Skalski <mskalski@mirantis.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-14Merge "Use Boron RC3.5 for sfc scenarion"Michal Skalski2-2/+2
2016-09-14Use Boron RC3.5 for sfc scenarionMichal Skalski2-2/+2
It should fix problems with vm communication through floating IPs. Change-Id: Icadc71f2b99c28715c15389e59111272a21440fb Signed-off-by: Michal Skalski <mskalski@mirantis.com>