path: root/deploy
AgeCommit message (Collapse)AuthorFilesLines
2018-06-20check ip_forward and set to 1stable/euphrateswutianwei1-0/+4
JIRA: COMPASS-600 Change-Id: I21ace213060d9d0dde7f7f4b5cf1f79d567ebeb0 Signed-off-by: wutianwei <wutianwei1@huawei.com> (cherry picked from commit 1a1ed339b96458c483976a820e30b3a1bbb0b5d8)
2018-06-20Add workaround for horizon image upload issueHarry Huang2-0/+18
Change-Id: I1ddf4d4c8c57c26d6948c69a60507f35f25e57ff Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-06-19Fix missing default gateway issueHarry Huang1-1/+1
Change-Id: Ic10709ca82a0d16af614ac327160f97a654d2280 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-06-19Specify netmask for install NICHarry Huang1-1/+1
JIRA: COMPASS-599 Interface that be used as install NIC may have uncertain netmask which may cause network issue. Change-Id: Ic10709ca82a0d16af614ac327160f97a654d2294 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit da8ccfe3c89726673ff6c3d2a967fd670d40b6fd)
2018-06-19Fix some hard coding for some ip assignmentsHarry Huang6-27/+26
Change-Id: I13571914eb51fd0923bf025302dab46bae46ba9a Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-04-09Fix pip version to 9.0.1Harry Huang1-0/+7
JIRA: COMPASS-593 OpenStack Ansible install latest pip on each contoller node and the latest pip (currently 10.0.0b1) doesn't support empty package list to be passed into it. Add a user config file to fix pip version Change-Id: Ic625053ec41356fdf3a8bf89a666ca6574d78fd9 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-03-31Install PBR to ensure we're not breaking buildswutianwei1-0/+6
Change-Id: Icd423f469debc4d54b759445f642805c06683bcd Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-02-24Bug fix for chronyYifei Xue1-0/+16
JIRA: - OSA doesn't install chrony on compute nodes. This patch is proposed to install chrony on compute nodes. Change-Id: If2564f331e47beb97ef7e98e42cb4f848c28ba7f Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-01-24Fix subnet create fail when disable ext-netHarry Huang1-0/+1
JIRA: COMPASS-575 Add missing condition check for subnet create task. Change-Id: Ibd25a7e7e4edd40be6b0f14bb8bffb828a65f648 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit b096febb727a7cb9c6b72418c422b3affe106134)
2017-12-29Bug fix for offline deployment of euphrates branchYifei Xue1-1/+4
JIRA: - For offline deployment, there is no need to fix the pandas and python-ldap version. Change-Id: I30fa1f2af8ad13e115c0078c4f33102936bdd71d Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-12-14Add collectd role to compute host onlyramamani yeleswarapu1-0/+5
Change-Id: Ibe7d8cb58590da79442a02c4f0e57434eea0e5e4 Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com> (cherry picked from commit e22dac31b54f0f343d74a8ea0779671324313997)
2017-12-13add the barometer dha file for CI runningwutianwei3-0/+238
huawei-pod1 huawei-pod2 intel-pod17 Change-Id: Icc592d070a7835245f706699df6927af296bf5bd Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-12-07Merge "Enable tacker horizon" into stable/euphratesHU Xinhui5-4/+53
2017-12-07Add plugin for Barometer.ramamani yeleswarapu3-0/+74
Change-Id: I5049805eb4e2e2c5e2cc87772afe6650253be36c Signed-off-by: John Hinman <john.hinman@intel.com> Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com> (cherry picked from commit 51ce441ca60cd115d9e8a932203ccc9d3cebcf82)
2017-12-06Fix centos kickstart_done snippetHarry Huang1-1/+1
Bug: CentOS-7-Minimal-1611-x86_64 image doesn't contain wget package and kickstart_done snippet use wget to call cobbler api to set netboot enable to false. This way if host installed centos which is not set to boot from disk will stuck in pxe loop Solution: Use curl instead of wget in kickstart_done Change-Id: I0414adab72047a367b7cb15fe6a5537c76234972 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit 08a15a8dae520e2b02748a34ff1ec034ee6806b9)
2017-12-05Fix the python-ldap versionwutianwei1-0/+6
when python-ldap is newest version, there are some issues in dependence Change-Id: I29f30900733cdd87d922b17da0f7c551b7cbdc90 Signed-off-by: wutianwei <wutianwei1@huawei.com> (cherry picked from commit db18432af86badcac4d12066f0c2379b7857a165)
2017-12-04Enable tacker horizonYifei Xue5-4/+53
JIRA: - 1 - Enable tacker horizon 2 - Open SFC extension on compute nodes Change-Id: I7d6ea0db78dc529e3d7f8bd1a44a3c0de76aac22 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-11-23Support the scenario for installing kubernetes in ubuntu systemhu xinhui10-57/+225
JIRA: - Currently we only support the the scenario for installing kubernetes in centos system. This patch is to install kubernetes in ubuntu system Change-Id: Idc5eafea5d02c28c62a31e4c29451b8c5aaf1fd5 Signed-off-by: hu xinhui <xinhui_hu@foxmail.com> (cherry picked from commit a9f6a2b1665a31bbdaf266c333410bde2418cf15)
2017-11-23Upgrade the jumphost offline supportYifei Xue1-25/+57
JIRA: - 1. Add support for ubuntu 16.04.3 2. Update the package building scripts for ubuntu 14.04.3 3. Remove some hard code Change-Id: I96e587b6b3aa2c39e14e5b0ec7db82b460e1fb29 Signed-off-by: Yifei Xue <xueyifei@huawei.com> (cherry picked from commit abf896027b53f98f6f61a6c225aa3cde636f5877)
2017-11-21Install networking-sfc for non odl-sfc scenariosYifei Xue5-1/+98
JIRA: - Currently we only install networking-sfc for odl-sfc scenario, however someone may use native neutron sfc functionality.So we propose this patch to add installation of networking-sfc for non odl scenarios. Change-Id: I4527387626f0c14fb6af135c511d0fd783b8f624 Signed-off-by: Yifei Xue <xueyifei@huawei.com> (cherry picked from commit 989d936c05c4f841efa383676473d2c6cc2cfba5)
2017-11-13Config dpdk and ovsHarry Huang8-27/+309
switch dpdk interface driver and bring up corresponding ovs bridges. Change-Id: I07bd9b332978482507711cfbd8ad29802a8b1a8c Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit 849d51833bdb16e8f04370270cd3e082ad9db928)
2017-10-31Update requirements_absolute_requirements.txtYifei Xue1-0/+6
JIRA: - For offline deployment, some packages' versions need to be upgraded and add the version limitation of tacker and tacker client. Change-Id: I8b55fe270998c716df8791f1909ea4f4ab654a6c Signed-off-by: Yifei Xue <xueyifei@huawei.com> (cherry picked from commit 2b48cb8ce734459ccfe4c106d0c398d7e55c972f)
2017-10-31add tacker supportYifei Xue5-0/+26
JIRA: - Add tacker support in compass euphrates. Upsteam OSA currently doesn't support tacker in Ocata. But OPNFV needs to use tacker in SFC scenario. So we refactor os_tacker of Pike to satisfy OpenStack Ocata. Change-Id: I40bb90949d8cd3b9db166527b0d85ff42ad5cdb9 Signed-off-by: Yifei Xue <xueyifei@huawei.com> (cherry picked from commit d0886a8dcf47ef0d27a0b7960dd152596f0a3a88)
2017-10-29Merge "bugfix" into stable/euphratesJustin chi3-63/+89
2017-10-28fix ceph reboot issuewutianwei1-0/+7
When storage nodes reboot or shutdown, the partitions of loop device will lose. We add the command partprobe -s {{loopdevice}} to rc.local, it will reload the partitions, when boot up the storage nodes. Change-Id: I31dfca953aa254fa516421a494318b01cd39675c Signed-off-by: wutianwei <wutianwei1@huawei.com>
When not define ceph role in DHA, there are somes issue on config-osa. This patch add the judgement to check the parameter define or not. Change-Id: If221fd3d02c87fc60f545b44f94043f38e34d283 Signed-off-by: wutianwei <wutianwei1@huawei.com> (cherry picked from commit 660b8bfbb0546322f35f8c7f54d62e1bf5d5dd95)
2017-10-18Fix ceilometer issuewutianwei3-0/+88
OSA don't maintain the ceilometer component. We change the OSA code to make ceilometer work. 1. create ceilometer database 2. change the ceilometer policy 3. change the ceilometer config 4. change the OS_AUTH_TYPE in openrc Change-Id: I2d8630a0c50f5c6bd1e86171cae1fa8f9934334b Signed-off-by: wutianwei <wutianwei1@huawei.com> (cherry picked from commit f55635085312ab2c367d1ae37d0979874b2a7d82)
2017-10-18Update the Euphrates docs for kubernetes scenarioYifei Xue1-0/+65
JIRA: - In the Euphrates release, compass has supported kubernates deployment now. However, there is no k8s related description in docs of compass4nfv. So we add k8s related description in this patch including the k8s architeture, k8s networking in Compass, k8s virtual deployment and k8s bare metel deployment. Change-Id: I3bea3ae06b1c73076ba44d10caf89602928b7021 Signed-off-by: Yifei Xue <xueyifei@huawei.com> (cherry picked from commit 4f90858ffbe3e566f30f8bf58309d28989212d0e)
2017-10-18Add k8-nosdn-nofeature-noha scenario supporthu xinhui1-0/+22
JIRA: - Currently Compass support 3+2 highly available Kubernetes cluster. This yaml file define 1+1 Kubernetes cluster for k8-nosdn-nofeature-noha scenario Change-Id: Iaeb4ef854a88657813fab9d255120ac93854dc6f Signed-off-by: hu xinhui <xinhui_hu@foxmail.com> (cherry picked from commit 2e3e4dcfd50ad29f80f675fcefff3c3a579338e5)
2017-10-16Ascertain the pandas versionwutianwei3-0/+27
the 0.21.0rc1 version of pandas will block the gnocchi install, so we use 0.20.3. we replace the pandas package in repo Change-Id: Ic8d9fa3a691b64a0783034ffbf0d958427e30d16 Signed-off-by: wutianwei <wutianwei1@huawei.com> (cherry picked from commit 05aafa14c76537222fac2f93fc6ab7bec741cff5)
2017-10-16Modification for kargo to generate dynamic inventoryhu xinhui10-168/+98
JIRA: - There is some hardcode for kargo inventory.This patch is to generate dynamic inventory for kargo Change-Id: If4a7c5f973e520e4ca24c3c9e0bfa97725a5a44c Signed-off-by: hu xinhui <xinhui_hu@foxmail.com> (cherry picked from commit 179cd6db9f1bd9be1606187cf74e128bede7a8e6)
2017-10-13Modefy configuration for refstack_defcorewutianwei1-3/+5
1. set the log level debug to true 2. add oslo_middleware enable_proxy_headers_parsing: True in cinder.conf Change-Id: I555345ab2e1ea2ff0b56f0b9279ed7141bde2282 Signed-off-by: wutianwei <wutianwei1@huawei.com> (cherry picked from commit b3aec6773447e8ab0b532723b08fd76ebddf9d8c)
2017-10-11Add customized DNS server supportYifei Xue1-1/+1
JIRA: - Currently Compass uses the gateway of install network as the only DNS server of host1 to 5. Sometimes it doesn't work in some environments. This patch we add a variable named USER_NAMESERVER which can be exported before deployment. It is used to store a user defined DNS nameserver. Change-Id: Id74889c20cf09ec7e25d882b56ab6331ee64cdcf Signed-off-by: Yifei Xue <xueyifei@huawei.com> (cherry picked from commit 7b110b32e0688896967703dc2bfe7192d469164f)
2017-09-30Add default value for offline deploy switchHarry Huang1-0/+1
JIRA: COMPASS-563 The switch controls offline deploy missing default value which cause passing a empty value into ansible and lead to condition check error Change-Id: I0af4df0556dcbe30dacc743456728e8bdee698e8 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit 7e70daca6c7ac54e03fc72f6e27940c778ed5521)
2017-09-30SFC scenario release notes and bug fix for SFC switchYifei Xue1-5/+11
JIRA: COMPASS-562 Because of the inventory file modification, the sfc switch cannot be enabled. Add a sperate sfc role to fix this bug. Change-Id: If583d10ebbe78d0abe9078add24beb5f506dbda8 Signed-off-by: Yifei Xue <xueyifei@huawei.com> (cherry picked from commit 1c0f6a907f57e75529dcef959763220c10e7e1f0)
2017-09-28Modify the network and DHA fileswutianwei23-117/+967
Due to pod2 virtual3 and virtual4 run danube before, we need to change the network and DHA to run euphrates Change-Id: I720138cb960cc6f3a57bf5f777c0debb80f64eba Signed-off-by: wutianwei <wutianwei1@huawei.com> (cherry picked from commit f70d3aa8ffe7878e86b8f12c91c99018924a74b3)
2017-09-15Merge "Run k8s in CI"Justin chi1-0/+42
2017-09-14Run k8s in CIwutianwei1-0/+42
Add k8s DHA file k8s-nosdn-nofeature-ha.yml when run k8s-nosdn-nofeature-ha scenario, export two variables COMPASS_OS_VERSION=centos7 KUBERNETES_VERSION="v1.7.3" Change-Id: I9012598e6d46b20f325e93aba92f03da444d97a2 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-09-14Enable DPDK scenarios in Jenkinschigang3-0/+338
Add network configuration files and scenario files to fix running error in Jenkins https://build.opnfv.org/ci/job/compass-deploy-baremetal-daily-master/2888/console Change-Id: Ie0e930e143d520c553eac41e56cf4b2504374e30 Signed-off-by: chigang <chigang@huawei.com>
2017-09-14Merge "Update the image tags to euphrates"Justin chi1-2/+2
2017-09-13Add dpdk pluginchigang4-0/+140
JIRA: COMPASS-550 add OVS-DPDK plugin, there are two roles in this plugin. 1. ins_dpdk is for dpdk installation and hugepages setting. 2. ins_ovs is for openvswitch installation. add dpdk scenario networking configuration example called "network_cfg_dpdk.yaml" Change-Id: Ifd8c1aadc218753f99bc26bb530e7cf9962ad8e3 Signed-off-by: chigang <chigang@huawei.com>
2017-09-13Update the image tags to euphratesYifei Xue1-2/+2
JIRA: - Currently the latest tag is used in building tarball. As OPNFV Euphrates will be released soon, we change the tags of some docker images to euphrates. Change-Id: Ic7a746f3a3338cf7f5cacd2f932816b3776e7de6 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-09-08Add k8s supporthu xinhui37-0/+1878
JIRA: - Add a new k8s scenario for compass Change-Id: Ic5f58a6152315333684e4f2752aaa0d5d870d9ee Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2017-09-07from controller node fetch os_certwutianwei2-1/+14
Change-Id: I2d1cbc6948d2cea1ccb852ed23033d5ddc6393e4 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-09-01Support multiple physnet mappingHarry Huang28-350/+519
JIRA: COMPASS-559 1. support multiple mapping in provider_net_mappings of network.yml and create corresponding ovs bridges 2. support seperate config in sys_intf_mappings of network.yml 3. remove linux bridges in compute nodes for ovs port binding convenience 4. support openstack vlan tenant network 5. modify odl and odl_sfc roles to use configurable provider mapping 6. remove some hard coding Change-Id: Ib57484ce60d029f89c647fd5baf2c7af37c85d0b Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-09-01Merge "Support offline deployment for nosdn no feature scenario"Justin chi18-6/+854
2017-08-31Support offline deployment for nosdn no feature scenarioYifei Xue18-6/+854
JIRA: - Add a repo docker which includes ubuntu PPA and python packages used for offline deployment. Change-Id: Iad9b0df7f33f5a7ab974c5deffb408fc93b3f3ad Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-08-30Fix install netmaskHarry Huang1-2/+2
Netmask of install network is parsed from netwok.yml now. A var named INSTALL_NETWORK will be generated in script/deploy_config.sh and exported. But var of install mask in deploy/network.sh is called INSTALL_MASK. This mismatch cause empty netmask of install network. Change-Id: I2a468844a74a9c38481615d6353149fa74ccbcd9 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-08-28Merge "Fix docker install"Justin chi1-0/+5
2017-08-21Fix docker installHarry Huang1-0/+5
Docker install only exist in off-line deploy flow. Add it into normal deploy flow. Change-Id: I2addf54eb6f74cb8faf799db343d84eaacea9fcb Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>