aboutsummaryrefslogtreecommitdiffstats
path: root/deploy
AgeCommit message (Collapse)AuthorFilesLines
2017-03-20Extend error messages listMichael Polenchuk1-1/+3
Start redeploy if errors for the following bugs are caught: https://bugs.launchpad.net/fuel/+bug/1673797 https://bugs.launchpad.net/fuel/+bug/1672683 Change-Id: I41bc10d983f193e4206f0913358f5710f034070a Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit cffc4bb6d13b67d7e1c7ee0f1412ded1704fe999)
2017-03-20Revert "[kvm/dpdk] Switch vlan mode to vxlan"Michael Polenchuk2-6/+52
This reverts commit b8584eeb13c75d7f20a4582d287ab7ac1d52f0af. vxlan mode has broken in upstream: https://bugs.launchpad.net/fuel/+bug/1673767 Change-Id: I71fabf1c74f419ab1f6d5d04a294be98fa927ef3 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 8e27ddc4486407f52c8de29639efc1cc724f0471)
2017-03-17Catch nodes flapping issueMichael Polenchuk1-6/+7
Wait for nodes to become online to row down the bug https://bugs.launchpad.net/fuel/+bug/1672969 Change-Id: Ic0621a415461c1552ebfc9cd7d1ab2061ea7a8cb Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 2fff9fec802617a34aa4ceac8f328d34101189c6)
2017-03-03Enable experimental features by defaultMichael Polenchuk1-0/+2
JIRA: FUEL-260 Change-Id: I2235a876ffd8a403548b380fe28b62c67b0b43ea Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-03-02Revert "Select the fastest mirror of repos"Michael Polenchuk1-3/+3
This reverts commit fc94d23c7780bab8d14ecf7f04603c2c1d4aa7d3. Since connectivity_tests doesn't support "mirror" method. Change-Id: I1fa0a8fafbce0dec271fed67b3599efd40d5cac0 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-03-02Select the fastest mirror of reposMichael Polenchuk1-3/+3
apt-get supports a "mirror" method that will automatically select a closest mirror based on geographical location. Change-Id: I15d345de759e616a705abcdec3588ea4b9409d0a Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-02-24Bump sfc scenario to ODL 5.2.0-1George Paraskevopoulos2-0/+4
This might be related to the instances not getting an IP from DHCP problem in the CI. (https://build.opnfv.org/ci/view/functest/job/functest-fuel-baremetal-daily-master/1166/console) In any case we run the tests using 5.2.0.1 in our pods so we should use this as well in Jenkins. Change-Id: Iab424ea4b55d0abb80e6b6a368dfb78046487ec9 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-02-21[kvm/dpdk] Switch vlan mode to vxlanMichael Polenchuk2-52/+6
On hardware labs the packets doesn't egress from dpdk enabled interface in vlan mode with custom kernel on board. Therefore use vxlan mode instead of vlan for these scenarios. Change-Id: If4b5719a5e58a9298aa0aeeaf1942d05774fba7a Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-02-17Merge "[barometer] Mend scenarios to get all the plugins"Alexandru Avadanii2-4/+0
2017-02-17[barometer] Mend scenarios to get all the pluginsMichael Polenchuk2-4/+0
Due to double section of stack-extensions the plugins are activated only from last one losing required plugin of kvm. Change-Id: I57aa6dbcef1a43dbfd8f472e7cabf1a2c2e5fc26 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-02-17KVMFORNFV: Updating the copyright information for kvmfornfvNavya3-29/+8
scenarios. This patch includes the copyright information for kvmfornfv os-nosdn-kvm_ovs_dpdk-ha, os-nosdn-kvm_ovs_dpdk-noha and os-nosdn-kvm_ovs_dpdk_bar-ha scenarios. Change-Id: I570f465b01e128de980be9cb695e394ec21a73af Signed-off-by: Navya Bathula <navyax.bathula@intel.com>
2017-02-16KVMFORNFV: Implementing kvmfornfv scenarios.Navya2-0/+138
This patch includes implementation of kvmfornfv os-nosdn-kvm_ovs_dpdk_bar-noha scenario. Change-Id: I0049c065b4bb500a262d385e07eee7e71d6f475d Signed-off-by: Navya Bathula <navyax.bathula@intel.com>
2017-02-08Remove vlan id range from scenariosMichael Polenchuk5-15/+0
Since scenarios vlan_range config has precedence, so it doesn't matter that is in dea pod override file of the labs. Let's define/get actual vlan id range in/from lab specific configs. Change-Id: Iba329ae94c6f5a2e3bf046b4838d5a2c3d49bf5e Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-02-06KVMFORNFV: Implementing kvmfornfv Scenarios.kalyanreddy3-0/+204
This patch includes implementation of kvmfornfv os-nosdn-kvm_ovs_dpdk_bar-ha scenario and required barometer plugin configuration file. Change-Id: I1a76002be4581b8d777fb533dde8c03fe001f0cf Co-Authored-By: Navya <b.navya4@tcs.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2017-02-02Enable fuel plugin of tackerMichael Polenchuk3-14/+62
Change-Id: I172d4d0948559200b8f9e6fbe91159b80ab734ba Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-02-02Merge "f_repobuild: Temporary: Use public mirrors in CI"Alexandru Avadanii1-0/+18
2017-02-02f_repobuild: Temporary: Use public mirrors in CIAlexandru Avadanii1-0/+18
Offline mirrors need a second look before they can be used alone, i.e. without the public mirrors. Until we sort out all offline mirror issues, add public ones too. JIRA: FUEL-250 Change-Id: I18700f10b6fa49b541ad7bda085bc7a64f80d992 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-01Update bgpvpn scenarios to version 1.0.0Michael Polenchuk5-77/+37
Change-Id: I22cab1507a2eee5613dee2a473ed07d22ffdaacf Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-02-01Merge "f_repobuild: Use packetary to build partial mirror"Alexandru Avadanii1-14/+2
2017-01-30f_repobuild: Use packetary to build partial mirrorAlexandru Avadanii1-14/+2
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 Skalski8-353/+169
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-23Upload interfaces config before attributesMichael Polenchuk2-16/+8
Enable dpdk on an interface before upload specific settings in order to meet the validator requirements. JIRA: FUEL-247 Change-Id: Id1248b391257b07b26edb5630da47f4dcbafb156 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-01-17Align hugepages size with dpdk reqirementsMichael Polenchuk4-4/+6
Since the minimum value of dpdk hugepages has been changed, increase requested hugepages size (256Mb for virtual, 1024Mb for baremetal labs). JIRA: FUEL-244 Change-Id: I5a46dc17e5ef67bbdc8fc8824efb3453217da214 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-01-17Merge "KVMFORNFV: Implementing kvmfornfv Scenarios."Fedor Zhadaev3-0/+310
2017-01-17Merge "Enable dpdk property on interface"Fedor Zhadaev5-13/+17
2017-01-12Add congress plugin to nosdn-nofeature scenariosFedor Zhadaev3-2/+57
JIRA: FUEL-230 Change-Id: I20d4b38f876d5ee9bb7eeb0efb6a915f1de43bb9 Signed-off-by: Fedor Zhadaev <fzhadaev@mirantis.com>
2017-01-12Enable dpdk property on interfaceMichael Polenchuk5-13/+17
Set dpdk property in network attributes since interface_properties have been removed in scope of nics-and-nodes-attributes-via-plugin blueprint. JIRA: FUEL-243 Change-Id: I7873d3a5c738d421f64237ff41d937856012d65a Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-12-20Merge "Remove unused imports"Alexandru Avadanii9-26/+1
2016-12-20KVMFORNFV: Implementing kvmfornfv Scenarios.kalyanreddy3-0/+310
This patch contains implementation of kvmfornfv os-nosdn-kvm_ovs_dpdk-ha and os-nosdn-kvm_ovs_dpdk-noha scenarios by enabling DPDK. Change-Id: I9a57d7fdc6282f5446240c3129f4cc390d124515 Co-Authored-By: Navya <b.navya4@tcs.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2016-12-15Add dkms package into initial pkgs listMichael Polenchuk4-24/+71
OVS-plugin requires DKMS installed to operate on. Also plugin yamls have been updated. Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> Change-Id: I037b88fdf335e513d5f4e726c3daff9358397776
2016-12-08Turn kvm-plugin back onMichael Polenchuk2-1/+35
Change-Id: I7c46f263ec584b09b6022d9e961ae3c44c642954 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-12-05Disable public ping_checker by default on CIMichael Polenchuk1-1/+1
Change-Id: Ib0a24b7f0d5afa80bf7d05bf6fc035debb510a9e Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-11-24Remove unused importsPeter Barabas9-26/+1
Change-Id: Icb51f3fdec962c6f92e27e63b57bc30e8e6c75bb Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2016-11-16Update dea_base with newton versionMichael Polenchuk1-29/+230
Change-Id: I08c2be408af19df648f3538bfb1948f6ddae0180 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-11-16Merge "Uplift to Fuel 10.0/Newton"Stefan Berg1-6/+8
2016-11-15Uplift to Fuel 10.0/NewtonStefan K. Berg1-6/+8
Build working, automated deploy working (simple test cases only). All plugins disabled, so is the generation of the local ISO cache. Both need to be re-enabled after merge of this uplift. All patches wiped, pertinent ones need to be re-enabled after the merge of this uplift. Change-Id: I978a3d4ed25a45a4b88a6e35693baac597b162c2 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2016-11-10Typo fixesPeter Barabas1-1/+1
Change-Id: I189dd771f9985424694ca0164c6e42f117f12bf9 Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2016-11-04Use networking-odl v1 instead of v2Michal Skalski1-1/+1
Tests shows that networking-odl v2 introduce more problems when it comes to propagate SG rules on ovs. Disable v2 for all scenarios. See: https://bugs.opendaylight.org/show_bug.cgi?id=7021 JIRA: FUEL-216 Change-Id: I5440ba7ff81b2063491259d91f17cb5578a8c48c Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-11-01[virtual envs] Switch to raw imagesMichael Polenchuk9-10/+10
* use raw devices instead of qcow2 * disable i/o caching, it reduces data copies and bus traffic * set native aio instead of thread based JIRA: FUEL-201 Change-Id: I8ac728cbb5be5948080fab8ae4d3d311e0a5c09c Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2016-10-17Fix handling of numbers in DEA and DHA filesPeter Barabas1-24/+24
Fixes https://jira.opnfv.org/browse/FUEL-211 Change-Id: Iebb477b2a4ff370198d05edf595b5059ba47f51a Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
2016-10-12Merge "deploy: templates: Fuel VM for Enea Armband lab"Alexandru Avadanii1-0/+88
2016-10-12Merge "[ODL] Use OpenDaylight Boron"Michal Skalski1-2/+2
2016-10-11[ODL] Use OpenDaylight BoronMichal Skalski1-2/+2
ODL Boron will be used in all scenarios except bgpvpn beacuse vpnservice was removed in this release, we still will use Beryllium for this scenario. This change only replace Beryllium with Boron, it does not use any new features like odl-netvirt-openstack. Change-Id: I95264cc97f5b9e922ab3fb7dc024724d9fb83e9c Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-10-10deploy: templates: Fuel VM for Enea Armband labJosep Puigdemont1-0/+88
This is the initial VM description fit for spawning Fuel Master VMs in Enea's Pharos lab (Armband lab) [1, 2]. [1] http://www.enea.com/pharos-lab [2] https://wiki.opnfv.org/display/pharos/Enea-pharos-lab Change-Id: Ia89f9728fff0ab1c279f6200fd558d9643cf4ea5 Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-10deploy: Fix: remove storage files explicitlyAlexandru Avadanii1-0/+2
Previous change [1] tried to move the responsibility of removing storage files (raw, iso) from our python scripts to libvirt. Although this works as expected for non-root invocations, like Armband deploys, it fails to remove raw files in Fuel@OPNFV deploys. Work around this by keeping both mechanisms (libvirt managed + python explicit handling). Related-bug: ARMBAND-128 [1] https://gerrit.opnfv.org/gerrit/#/c/22447 Change-Id: Ib846cd6071705b71d98824385835d724c729fd78 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2016-10-03Use tacker plugin in SFC scenarioMichal Skalski3-6/+60
JIRA: FUEL-205 verify: no-cache Change-Id: I37746bf3e490f6b707de8fe56af10f1df932908c Signed-off-by: Michal Skalski <mskalski@mirantis.com>
2016-10-03Merge "Simplify decrement"Michal Skalski1-1/+1
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>