aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-07-26lib.sh: cleanup_vms: Also remove VMs that use UEFIAlexandru Avadanii1-2/+4
Pass `--nvram` to `virsh undefine`, so guest VMs booted using UEFI (OVMF on x86 or AAVMF on AArch64) can be destroyed. This does not affect VMs without UEFI. While at it, fix logical error in previous commit adding support for cleaning up stopped VMs. Change-Id: I44c20566469f29a8683d81e3641c69da572ccd4e Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-26lib.sh: cleanup_vms: Also remove stopped MCP VMsAlexandru Avadanii1-1/+1
In case the cfg01 & co. VMs are in "shut off" state, `virsh --name` will ommit them, which leads to `cleanup_vms` leaving behind stale VMs. Add `--all` arg to list all VMs, including stopped ones. Change-Id: Ia550a10eb0b40138f87ade709336c2871a8b1cd8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-19[bugfix]invalid user ‘jenkins’zhihui wu1-1/+1
See https://build.opnfv.org/ci/job/fuel-deploy-zte-pod1-daily-master/456/console In lib.sh, generate_ssh_key() assumes that "jenkins" is the current user name. But on zte-pod1, the ci user name isn't jenkins. It is better to use $USER replaced "jenkins". JIRA:FUEL-273 Change-Id: I6ec6847eccd055b8b4062dd202f8f0a24ba6dd73 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-07-18Merge "mcp: openstack: Install & configure horizon"Alexandru Avadanii1-0/+2
2017-07-15mcp: openstack: Install & configure horizonAlexandru Avadanii1-0/+2
Change-Id: I2f6b136efebfee95a9a192c40afb88d20bbacef0 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-15mcp: lib.sh: virt-install --noautoconsoleAlexandru Avadanii1-1/+2
When X server is available, virt-install tries opening virt-viewer automatically (for each newly created VM), which blocks the deployment until the user closes the virt-viewer window. Without X, virt-install just throws a warning and moves on. Fix both of the above by passing the "--noautoconsole" argument to virt-install. Change-Id: I7df839aa902f7629dec11d24905fc05d1070f9db Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-13Tune network sysctl optionsMichael Polenchuk9-10/+33
* tune net/tcp opts * handle vcpus setting for vms * fix tempest issue with public subnets visible * set reclass data source to local to avoid git clone Change-Id: Ibac9eba8234ebb20854c03b399405968cb2069e8 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-07-12Apply reclass patches before salt master initMichael Polenchuk7-41/+30
Change-Id: I7bb984880e98b7bdec9aa0b3895a3be9fd75cac0 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-07-11Apply upstream patchesMichael Polenchuk6-0/+210
For opendaylight support: * neutron formula * reclass system model Plus missing apply of haproxy state. Change-Id: Ic9e3672b51d5331656d636c44c3f891e49437e23 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-07-11Set public endpoints to external interfaceMichael Polenchuk11-28/+262
In order to pass functest/api_check, configure public endpoints of openstack core services with external ip address. Change-Id: I519865df5700acbcf542ea71efd87780e9f1d9d5 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-07-10Align reclass cluster model of dpdk scenarioMichael Polenchuk7-75/+78
Change-Id: I4fc0c0e040c97e91c79aae2f0142fb6f025081f2 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-07-06Enable cinder volume serviceMichael Polenchuk10-29/+31
Change-Id: I29ad8fc0e504779184fdf3795dc82ce1b031dbf8 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-07-05Turn on opendaylight scenarioMichael Polenchuk18-84/+84
* fix formula & reclass cluster model * bring in running states Change-Id: I8e66e69045f5c745f9aa6f59f7ce6d66b5bf1c95 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-07-03Rewrite infra deployment scriptsMichael Polenchuk16-109/+223
* bring in scenario files * shift infra code into functions Change-Id: I650a26d03d842c3afcc7fcb97b84ef4826827a38 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-06-29Bring in opendaylight supportMichael Polenchuk17-0/+778
Change-Id: I2eed0cf19907f257be1cb4aee96528cc41f4843a Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-06-28Set salt bootstrap distrib revisionMichael Polenchuk2-6/+2
Change-Id: Id278afd05fd8793f573fce0d4ca1ff7420fc9127 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-06-28Get latest salt-formulas codeMichael Polenchuk2-1/+5
Change-Id: I6284589343bfcdc4f35734d5c291ad0a2bf02d74 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-06-23Remove redundant services from noha scenarioMichael Polenchuk8-67/+69
Change-Id: I445f6ac802fbf1b382b18bcb4306eb5538cb1867 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-06-21Make virtual cluster as noha w/ one controllerMichael Polenchuk4-15/+3
* remove glusterfs from cluster * increase amount of ram on controller * bring in one more compute node Change-Id: I04ccd4cdaf65bb860d6d3b9c012e035f598e44d5 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-06-20Correct ssh key copy optionsVladimir Blokhin1-1/+1
Change-Id: Iea7a28fcd2ae59bc3ba76bffb42675dfc4bc917d Signed-off-by: Volodymyr Blokhin <vladrulez@gmail.com>
2017-06-20[mcp] Mend networks configMichael Polenchuk3-4/+5
* create openstack/neutron external network * set default gateway for mgmt network Change-Id: I71c22ab6d1b8c589c1cf147aa37874600ab1cbd7 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-06-19[mcp] Set default address for salt masterMichael Polenchuk2-3/+3
Change-Id: Iaa9cd3d5734fbf81a224d00ee006b63a66a915f0 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-06-09[mcp] Copy ssh key to tmp dirAndrii Ostapenko2-2/+3
Copy ssh key to tmp dir to be able to retrieve OS credentials by releng/utils/fetch_os_creds.sh Also adds 'set -x' to ci/deploy.sh Change-Id: I056c626288862f84f47c947461894730ce0483ac Signed-off-by: Andrii Ostapenko <aostapenko@mirantis.com>
2017-06-06[mcp] Mend dpdk scenarioMichael Polenchuk6-24/+51
Make a reboot of the compute nodes to activate hugepages support and re-apply required states then. Also align ovs lcore & pmd masks with two cpu nodes. Change-Id: I4a5defe6f08e912aba2d939ba5ba057af768a40c Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-05-31[mcp] Bring in dpdk scenario supportMichael Polenchuk13-8/+495
Change-Id: Ifd6d61026a0e98e8faf59c7d218333122d70ffe9 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-05-29[mcp] Mend installation scriptsMichael Polenchuk17-72/+13
* add/unify ssh options * get base image to temporary directory * specify os type for virt install * fix symbolic link to reclass * remove outdated fuel submodules Change-Id: I6833ce78c8fff97e1b89f4e92e6e6b470e9ce99f Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-05-26[mcp] Replace reclass system models with submoduleMichael Polenchuk432-9483/+13
Change-Id: Id693f7b0f3542d605b0f71601f3bd21eb882c7ba Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-05-25[mcp] Bring in deployment scriptsMichael Polenchuk10-17/+307
Change-Id: I7d2af958e447a5892f7cd1f6c6fb8616951e2ff3 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-05-24[mcp] Bring in reclass system salt modelsMichael Polenchuk436-0/+9950
Change-Id: I1a865b7524f3a5242544e60e6b36b1092721c58b Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-05-18Adding mpolenchuk@mirantis.com to committers listagardner1-0/+2
Change-Id: I973810e55ea24ba879fd91ac47388d52d43867e2 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-05-08f_kvmpluginbuild: Allow overrides in config.mkAlexandru Avadanii1-3/+3
Change-Id: I2e124e09b884a06ab84864fbf3f2173224a99fc6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-05-04docs: Refresh reference for Danube 2.0Alexandru Avadanii3-9/+9
Change-Id: If786099581cf8bf685cc2076c21d4c3041610bf7 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-05-03Merge "Revert "Revert "Select the fastest mirror of repos"""Alexandru Avadanii1-3/+3
2017-05-03Revert "Revert "Select the fastest mirror of repos""Michael Polenchuk1-3/+3
This reverts commit 7785a18f592ecd6eeb307b7bc2f5b134e8e07221. https://bugs.launchpad.net/fuel/+bug/1669751 has been resolved. Change-Id: I009cf6cba8aaa7ff2ae625c5067aa4d1570e4793 JIRA: FUEL-261 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-05-02Update 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. Change-Id: I2e8085792fb8222dfc59d4ece0ac58ec9a16c1bd Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2017-04-26Merge "Update the kvm4nfv git commit"Alexandru Avadanii1-1/+1
2017-04-25Fix for reap.py giving negative id's for nodesCatalina Focsa1-3/+4
Sort node id's as integer values instead of strings in order to return the actual minimum value by which the new list of nodes is generated JIRA: https://jira.opnfv.org/browse/FUEL-208 Change-Id: If59d0d0ff9823076b337b042bceb4a736f1f9153 Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
2017-04-25Update the kvm4nfv git commitYunhong Jiang1-1/+1
Update the kvm4nfv git commit_id to latest kernel, so that it includes the patch for the bxn driver changes. Change-Id: I63e58de24d5f993868b6046eb1b93c9e61c9668f Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2017-04-24Merge "[tacker] Adjust tackerc to v3 of identity api"Alexandru Avadanii1-1/+1
2017-04-21[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>
2017-04-19f_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>
2017-04-19Merge "fuel-menu: Align defaults w/ OPNFV bootstrap cfg"Alexandru Avadanii6-84/+73
2017-04-11[kvm-plugin]Modifying kernel modulesNavya1-1/+1
Omitted the ovs kernel modules from kvmfornfv kernel modules for the plugin. Change-Id: Id907b829c843587c7fbd7914e19a243b77e7d5aa Signed-off-by: Navya Bathula <navyax.bathula@intel.com>
2017-04-09fuel-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>
2017-04-06Merge "build/install: Add USB boot option"Alexandru Avadanii3-2/+5
2017-04-06Merge "Double allocated memory of fuel master node"Alexandru Avadanii1-2/+2
2017-04-06build/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>
2017-04-05Double allocated memory of fuel master nodeMichael Polenchuk1-2/+2
Rise up allocated memory of fuel master node for virtual envs in order to avoid swapping and improve performance of overall deployment process. Change-Id: I04b020b628a9c84f934a9d17e8be98d34fe2a085 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-03-31Update Host OS NTP Servers to pool.ntp.orgCatalina Focsa1-3/+3
Old *.fuel.pool.ntp.org values are no longer accessible Change-Id: I0879dbd6a262491b4dc9f24d77fb87a007cbaec8 Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
2017-03-28Revert "Revert: Blueprint "bp/distributed-serialization""Michael 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>