aboutsummaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2017-05-03Update kvm4nfv commit idYunhong Jiang1-1/+1
This kvm4nfv commit includes changes for the config file which disable vt-d by default and has the x2apic enabled. Conflicts: build/f_isoroot/f_kvm-pluginbuild/config.mk Change-Id: I2e8085792fb8222dfc59d4ece0ac58ec9a16c1bd Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com> (cherry picked from commit 78c835c56466726e8c5a99942d5179714907b5f4)
2017-04-25Merge "fuel-menu: Align defaults w/ OPNFV bootstrap cfg" into stable/danubeAlexandru Avadanii6-84/+73
2017-04-25Merge "f_repobuild: Add remaining packages explicitly" into stable/danubeAlexandru Avadanii1-0/+7
2017-04-25[tacker] Adjust tackerc to v3 of identity apiMichael Polenchuk1-1/+1
JIRA: FUEL-267 Change-Id: Ia0e9ed3298681319c870132628d930175e084bc0 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 5db425bc2b0a2c44dc9fdcfbec19afaa9ecc442a)
2017-04-24f_repobuild: Add remaining packages explicitlyAlexandru Avadanii1-0/+7
Packetary automatically solves for Fuel@OPNFV: - base pkgs and their deps; - bootstrap/target image additional pkgs; - explicit reqs; However, corner cases like "pcs", which is not in any of the above categories - being installed via puppet only, need to be added to the explicit list. NOTE: This enables full offline deploys for simple scenarios (i.e. without any plugins). Each plugin might need additional packages, which will be handled in further patches. See the bug report for more information. JIRA: FUEL-250 Change-Id: Id1d31c98308cdee6cb935627984188561b560ff4 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit cabe0fef5a6aba50d477bdd079d922e82355c23f)
2017-04-24fuel-menu: Align defaults w/ OPNFV bootstrap cfgAlexandru Avadanii6-84/+73
Instead of overwriting fuel_bootstrap_cli.yaml during post-install, with a static config which we need to manually sync in OPNFV after each upstream change, make the whole thing dynamic by syncing (via patch) fuel-menu's default settings with OPNFV bootstrap. This allows us to drop the static fuel_bootstrap_cli.yaml. JIRA: FUEL-266 Change-Id: I132f2a272c764ad0fc84b3e0e0e1222b1fab1cd2 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit d116928396655b6db92b6786022ff68f13df58c7)
2017-04-10build/install: Add USB boot optionMatei Valeanu3-2/+5
Use isohybrid to add MBR for booting via BIOS from USB flash drives Also, Makefile "$(wildcard ubuntu-builder/*)" does not expand to what is expected (does not include ubuntu-builder/Dockerfile), as it uses a previous cached value. Check this link for an explanation: http://stackoverflow.com/questions/41470676/makefile-variable-expansion-with-wildcard-when-rule-creates-new-file JIRA: FUEL-236 Change-Id: I9c6521a382917822ce930ddf76391c5f3c3a9cb7 Signed-off-by: Matei Valeanu <Matei.Valeanu@enea.com> (cherry picked from commit eb8fbde87578e3853ffd23e403fd46bac6039cd0)
2017-03-28Revert "Revert: Blueprint "bp/distributed-serialization""danube.1.RC1danube.1.0Michael Polenchuk3-1370/+0
This reverts commit 8b28c44a4be6beef8a71e672f543001bcc0a080f. The issue has been fixed in upstream. Change-Id: Id4ad8fb7b1ec887f8d8d1d5b18a9b33a73bda10c Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 4a360c5076f839c8b700638f9b85c3e630894826)
2017-03-26Revert: Blueprint "bp/distributed-serialization"Alexandru Avadanii3-0/+1370
Until upstream fixes bug [1], partially revert blueprint implementation [2]: - fuel-agent: no-op, we overwrite fuel_bootstrap_cli.yaml anyway; - fuel-library: no-op, keep newly added port config in place; - fuel-web: revert all blueprint related changes; NOTE: When this blueprint becomes part of Fuel@OPNFV, we need to update our "fuel_bootstrap_cli.yaml". [1] https://bugs.launchpad.net/fuel/+bug/1676197 [2] https://review.openstack.org/#/q/topic:bp/ distributed-serialization+status:merged+branch:stable/newton JIRA: FUEL-265 Change-Id: Icf392a3446e5c89c2592d1733bc1f3401b7d69ad Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 8b28c44a4be6beef8a71e672f543001bcc0a080f)
2017-03-21[kvm-plugin] Update the kernel versionMichael Polenchuk1-1/+1
Change-Id: Ieeb773e4801073caf50e5b795054aab64d3c7009 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit e74dd025dceb27c8d28f17f11bc34fb88d1f7ff3)
2017-03-20[kvm-plugin] Rename node_reboot taskMichael Polenchuk1-1/+1
Change-Id: I5251f209c74613d8b4683f1923166513762cd526 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 5ef4fd12ed427658ea41efea280f03bc9e07a234)
2017-03-18Merge "f_tacker-pluginbuild: Force cache ID change" into stable/danubeAlexandru Avadanii1-4/+4
2017-03-18Merge "Revert "Increase tcp_retries2 value"" into stable/danubeAlexandru Avadanii1-51/+0
2017-03-17f_tacker-pluginbuild: Force cache ID changeAlexandru Avadanii1-4/+4
This will force a rebuild of Tacker plugin, to bypass poisoned cache. Change-Id: I77a028d56cc6202f799c7c0af3b688674256106c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit f20bfafbcb3e75f13b5ba2955ec38f13baad452d)
2017-03-17Revert "Increase tcp_retries2 value"Michael Polenchuk1-51/+0
This reverts commit 0b313e2c089d296232a9a7ca43e9f37d514400a0. This patch has been merged into upstream. Change-Id: I15ba6f161547b7fd928c4ed54f8a9eef58046e48 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit e6126911ef9d012a83d5733a379627307878242e)
2017-03-17f_repos: Set git patch format explicitlyAlexandru Avadanii1-1/+2
Skip patch format auto-detection, by setting it explicitly to "mbox". This allows adding license headers to patch files. JIRA: ARMBAND-236 Change-Id: I2b19ced80984ea98e220935c9d36836e62203bb7 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 672c1df70b8cafe61a3edaa66fbf9e8dba2b12e2)
2017-03-17Merge "Rebase to fuel ovs plugin stable/10.0" into stable/danubeRuijing Guo1-2/+2
2017-03-17Merge "Rebase barometer to stable/danube" into stable/danubeRuijing Guo1-2/+2
2017-03-17Merge "Rebase vsperf to stable/danube" into stable/danubeRuijing Guo1-2/+2
2017-03-16Rebase to fuel ovs plugin stable/10.0Guo Ruijing1-2/+2
Change-Id: Ib1cce4ca265ec8716272597aeff97d8195276e61 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> (cherry picked from commit f842cfee2b8552bca436323af6ee062d173d6b3f)
2017-03-16Rebase barometer to stable/danubeGuo Ruijing1-2/+2
Change-Id: I5c550d8919a9b2147745caa0c7302f55291ca437 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> (cherry picked from commit 79a05a1da338c74d2c01b1336d112a67cf6fc36d)
2017-03-16Rebase yardstick to stable/danubeGuo Ruijing1-2/+2
Change-Id: I8d284e92608d3fa89cbbe97ccb32536f3a9fae37 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> (cherry picked from commit 989d8ea5ebf2c2fda2bc3792830ba525273189e6)
2017-03-16Rebase vsperf to stable/danubeGuo Ruijing1-2/+2
Change-Id: I621d45c2db74ca3a030f15e29e167a890560ee2d Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> (cherry picked from commit bcb67861f5e6fb51cfd051efce71fbff73a29222)
2017-03-08Update to get the latest bug fix in ODL plugin“Manuel Buil”1-1/+1
https://review.openstack.org/#/q/32b7edbde866b6a4c1c61e674ddf01a93dd010a2 Change-Id: I9b943bd1fd47f98d9bab9eef23faf6f01650f929 Signed-off-by: “Manuel Buil” <mbuil@suse.com>
2017-02-28patch-packages: Disable mechanism once againAlexandru Avadanii1-5/+5
Now that cirros-testvm DEB patching is no longer needed, disable patch-pacakges mechanism. This saves a few minutes from each build. Change-Id: I2e0c8f86a5fda55cb57a3d08a3f585cb535eb2f4 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-27Merge "Tidy up outdated cirros image"Alexandru Avadanii2-32/+1
2017-02-23Bump fuel-plugin-odl to include Zrpcd/QuagggaRomanos Skiadas1-1/+1
Change-Id: I5e2a4bd247fbac9e8518310f8140e12377e7da7e Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-02-22Tidy up outdated cirros imageMichael Polenchuk2-32/+1
Remove outdated daily build of cirros image since version of 0.3.5 has been released and supposed to use by functest suites. Change-Id: If8b7dd86a284485b376ec0f62f43093e674c96a3 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-02-22f_repos: fuel-library: Sync patch w/ upstreamAlexandru Avadanii1-4/+3
Adjust patch context after upstream changes merged recently. Change-Id: I341186055e3a77620028ae1bab9cd69c70f87014 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-17[kvm-plugin] Employ dedicated reboot taskMichael Polenchuk1-1/+1
* Use native reboot task after kernel setup. * Make dkms modules to get source files of the kernel. JIRA: FUEL-256 Change-Id: I1dd75fa0425e5080fafa2de0ef13cccf0090c4c9 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-02-16Sync os_workers fact with upstreamMichael Polenchuk1-3/+3
The current value for os_workers performs 3x worse in many cases compared to the prevuous default of processorcount. Let's tune value to provide response times close to what processorcount had (with 2 sockets machines). Change-Id: Icecbaa18015e7fb9f5762222d69334bdf1a7566a Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-02-15f_repos: patch: Rebase patches, cleanupAlexandru Avadanii6-59/+77
While at it, re-export patches to remove any redundant info: $ make patches-export Change-Id: I4ce3aba9f9d6092bade305a744738c44a936db7c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-15Merge "Increase tcp_retries2 value"Alexandru Avadanii1-0/+48
2017-02-15Remove OVS with DPDKGuo Ruijing1-2/+2
Change-Id: I0191f7c950848c2175851e2e41dc0f7a68b85606 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-02-15patch: fuel-main: Adjust context to match upstreamAlexandru Avadanii1-9/+9
Change-Id: I532567f0d48ceb84eb1e3afedcd9b555eab51ac9 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-14Increase tcp_retries2 valueMichael Polenchuk1-0/+48
Change-Id: I7a01c1b56c3602eb67fc4e1aeaeb1dbd6772841a Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-02-08[odl] Mend standalone mode conditionMichael Polenchuk1-1/+1
Change-Id: If51ee19a0cd0cb0a83dcf40fda46d0aaa817408e Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-02-06[odl] Skip creating non-existing resourcesMichael Polenchuk1-1/+1
Change-Id: I1321b04f5789dfad042befe4b20b5b4ce3f3fb92 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-02-04Merge "barometer: remove RDT from fuel plugin"Alexandru Avadanii1-1/+1
2017-02-04f_tacker-pluginbuild: Bump auth url versionAlexandru Avadanii1-1/+1
Use keystone v3 for authentication instead of v2.0 Change-Id: I8c1938ba86dea1d8ab1e4c0436c87f62b2763c95 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-03barometer: remove RDT from fuel pluginMaryam Tahhan1-1/+1
Remove buggy RDT plugin. Change-Id: Iabd1d1f0777251101aa25c9f6ee7628b57a6ea7c Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
2017-02-02f_odlpluginbuild: Force .cacheid changeAlexandru Avadanii2-3/+3
Recent builds use a stale cache of the ODL plugin artifact, which leads to deploy failures (old Fuel plugin builder was used to generate that artifact, which did not support multiple DEB versions, silently excluding the default [5.0.0] version of ODL). Chasing down the artifact across all build servers requires extensive work, so we can just force a change in the cache id. While at it, cleanup non-rebase plugin list (aesthetics). Change-Id: I174f102f58f83ce6370def6a3de166e0911ff411 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-02Enable fuel plugin of tackerMichael Polenchuk2-2/+2
Change-Id: I172d4d0948559200b8f9e6fbe91159b80ab734ba Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-02-01f_repobuild: Add postfix package explicitlyAlexandru Avadanii1-0/+1
Packetary automatically solves for Fuel@OPNFV: - base pkgs and their deps; - bootstrap/target image additional pkgs; - explicit reqs; However, corner cases like "postfix", which is not in any of the above categories - being installed via puppet only, need to be added to the explicit list. JIRA: FUEL-250 Change-Id: I21f4c295a59426af26035d18be548a39a9e78851 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-01Merge "f_repobuild: Use packetary to build partial mirror"Alexandru Avadanii13-143/+557
2017-01-31Enable bgpvpn plugin build and bump repoNikolas Hermanns3-3/+9
Change-Id: I298868aedf55c560194556bf6680289ae73a5113 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com> Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-01-31Get latest version of plugin builderMichael Polenchuk1-1/+1
JIRA: INFRA-74 Change-Id: I91fa669afb7cc4849bb82fcb80a027d3ae3636f5 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-01-30f_repobuild: Use packetary to build partial mirrorAlexandru Avadanii13-143/+557
Packetary [1] will replace fuel-mirror in upstream Fuel. fuel-mirror is using packetary under the hood already, so the transition should not be too hard. Adapt OPNFV Ubuntu partial mirror build: - obsolete opnfv-config.yaml (packetary uses CLI args for this); - new opnfv_config.yaml will hold old ubuntu.yaml data, split at build runtime into: * mos_<arch>_mirror.yaml - MOS mirror cfg, only for deps analysis; * ubuntu_<arch>_mirror.yaml - Ubuntu mirror cfg, for pkgs download; * ubuntu_<arch>_packages.yaml - Ubuntu packages to download; While the consumers of our mirror still use `debootstrap`, which only supports the "main" repo component, make sure the "main" package set is complete, in the scope of: * ubuntu_<arch>_mirror_main.yaml - Ubuntu [main only] mirror; * ubuntu_<arch>_packages_main.yaml - Ubuntu packages for [main]; New workflow (executed for EACH architecture): 1. Collect bootstrap package deps from <fuel_bootstrap_cli.yaml>; 2. Collect all fixture release pkgs from fuel-web's <openstack.yaml>; 3. Add OPNFV extra pkg deps from "opnfv_config.yaml" (based on old fuel-mirror) Currently, this is based on old fuel-mirror's <fuel-mirror/contrib/fuel_mirror/data/ubuntu.yaml>, holding a hardcoded list of package deps; plus eventual extra OPNFV packages, like additional kernels, bootloaders etc. Since we now inspect MOS repos for deps with packetary, this old list should be easy to throw away as soon as we confirm each item is directly required by another, already existing package in the mirror. For now, keep the old list as safety net for missing deps. NOTE: Dependencies up to and including this group should also be satisfiable from Ubuntu "main" repo component only. 4. Append plugin dependencies to the package list; 5. Run `packetary unresolved` for MOS repos, gathering MOS deps that should be fetched from Ubuntu. The new packages will be appended to the predefined list from old "ubuntu.yaml"; 6. Run `packetary clone` to download all required pkgs for the partial Ubuntu mirror. 7. IF repo component merging is disabled, run `packetary clone` only on Ubuntu[main] repo components to download any (still) missing dependencies for `debootstrap`, which only looks at this component, and not the whole mirror. 8. IF repo component merging is enabled, run first `dpkg-scanpackages` to filter out old duplicate versions of packages, then run `packetary create` to merge all repo comps into a single "main". v1 -> v2: - multiarch support (activated via UBUNTU_ARCH envvar); - fixed debootstrap missing deps in "main" component of Ubuntu mirror; - factored out some hardcodes into variables/functions; - add .gitignore file; - move generated config files to "opnfv_config" subdir; - add arm64 Ubuntu repo URL (ports.ubuntu.com is separated from the main Ubuntu mirror, archive.ubuntu.com, which only holds x86 pkgs); v3 -> v4: - introduce env var "MIRROR_UBUNTU_MERGE" to control local mirror repo-component merging into a single "main"; - enable mirror repo-component merging by default, edit fuel_bootstrap_cli.yaml accordingly; v4 -> v6: - edit dea_base to use only main mirror; - fix duplicated logs; - remove `-q` flag for `create`; v6 -> v7: - rebase for Newton fuel_bootstrap_cli.yaml (s/trusty/xenial/); - include OPNFV plugin deps in local Ubuntu mirror; - add `vgabios` dependency, required for arm64 guest firmware; - remove all fuel-mirror references; - merge old fuel-mirror pkglist to OPNFV pkglist; - update packetary commit to include upstream bugfixes [2, 3]; v7 -> v11: - re-enable f_repobuild after Newton rebase; - fix leftover "trusty" ref to "xenial"; - force f_repobuild rebuild to bypass cache (by editing Makefile); - extend f_repobuild .cacheid to include scripts and OPNFV config; v11 -> v12: - fix install/install.sh old refs to "trusty"; - fix out of date select_ubuntu_repo.s refs to "trusty"; v12 -> v16: - fix leftover mos9.0 / fuel-mirror references; - fix most issues reported by `pylint opnfv_mirror_ubuntu.py`; v16 -> v18: - Sync fuel_bootstrap_cli.yaml with settings.yaml.sample from 10.0: [4] Stub pass for "Get root password for build image from settings" [5] Sync pkg list with "Switch to Ubuntu Xenial" [6] "Add puppet and daemonize to default packages list" [7] "Delete kernel debug related parameter for performance" [8] "Add to bootstrap image dependencies for network checker" - Remove obsolete Trusty kernel images from pkg lists; - Don't break when plugins set is empty; - Fix missing "vim" package, which was resolved using secondary provider packages like GUI-enabled vim flavors; The proposed fix is quite sensitive, also cutting the final mirror size in half (!), and allowing us to remove a previous hacky workaround (re-running packetary only for main). - Remove "main"-only packetary run (hacky), since the new fix for "vim" also takes care of packetary solving dependencies from "universe". - Add OPNFV blacklisting to workaround "upstart" package being installed, together with "systemd" (having them both installed confuses puppet); - Currently in testing in Armband as part of [9]: * bootstrap and target image building works from offline mirror; * systemd is used instead of upstart; * full deploy is not yet confirmed, due to some AArch64 specifics we are in the process of fixing; NOTE: Without filtering out old package verisons using `dpkg-scanpackages`, bootstrap build cannot solve all deps. FIXME: Repo component merging is sort of slow, since packetary insists on copying the source files to the destination dir even if they are pointing to the same repo. FIXME: Packetary `create` uses a different directory scheme for the created mirror than the upstream Ubuntu, e.g.: [p] mirrors/ubuntu/pool/main/l/lvm2_2.02.98-6ubuntu2_amd64.deb [U] mirrors/ubuntu/pool/main/l/lvm2/lvm2_2.02.98-6ubuntu2_amd64.deb This disencourages creating the "merged" mirror in the same location as the source partial mirror. [1] https://wiki.openstack.org/wiki/Packetary [2] https://review.openstack.org/#/c/392936/ [3] https://review.openstack.org/#/c/392937/ [4] https://review.openstack.org/#/c/277353/ [5] https://review.openstack.org/#/c/345516/ [6] https://review.openstack.org/#/c/344909/ [7] https://review.openstack.org/#/c/400165/ [8] https://review.openstack.org/#/c/415912/ [9] https://gerrit.opnfv.org/gerrit/#/c/26157/ [10] https://review.openstack.org/#/c/420815 JIRA: FUEL-218 JIRA: FUEL-223 JIRA: ARMBAND-169 JIRA: ARMBAND-185 Change-Id: If2ee86f348b7683c83bfaf686baba4f1b8f555f0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-01-25Uplift OpenDaylight plugin to Fuel 10Michal Skalski3-5/+6
Currently only update pure odl scenarios because both sfc and bgpvpn variants require additional plugins. JIRA: FUEL-224 JIRA: FUEL-222 Change-Id: I9891029d3f6a4b6b124cca13caceaab6edb6ca6a Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2017-01-23Update barometer pluginGuo Ruijing1-2/+2
1. add feature attributes in plugin 2. update collectd 3. enable mcelog, hugepages, ovs events Change-Id: Ib9da6c3a6ec2d6ded0f212b1b298a0ed9a355c69 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>