aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-12-07Merge "Enable tacker horizon" into stable/euphratesHU Xinhui5-4/+53
2017-12-07Add plugin for Barometer.ramamani yeleswarapu14-0/+411
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-12-01fix scenrios file link when k8s deploymentchigang1-1/+1
Change-Id: Ibf64258b368393a0805868501e367f32b28bbe81 Signed-off-by: chigang <chigang@huawei.com> (cherry picked from commit caa1f8d9cb65be7cb368571a831f375a7709a221)
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 Xue3-49/+151
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-20Add timeout and delay time to fix the reboot problemYifei Xue2-2/+2
of rt_kvm scenario JIRA: - The rt_kvm scenario deployment always fails on Huawei Pod2 while running reboot task. However it's fine on Huawei Pod1. We think it may be caused by the performance of Pod1. Pod1 truely has a lower performance than Pod2. So we add timeout and delay time to verify our idea. Change-Id: I56acc88354abcdd4ba72c7d24980033871972688 Signed-off-by: Yifei Xue <xueyifei@huawei.com> (cherry picked from commit 76d56a89cb9c3a3e07a4e1c58561f076eeb0298a)
2017-11-15URL correction for quickstartYifei Xue2-2/+3
JIRA: COMPASS-564 The current quickstart URL for stable/euphrates branch is not correct. This patch is proposed to fix this mistake. Change-Id: I36883480f2af43baca81f6107d2c2281362104d2 Signed-off-by: Yifei Xue <xueyifei@huawei.com> (cherry picked from commit a311e9f44eda91ea0fc51d3e0504290d302f97e7)
2017-11-13Config dpdk and ovsHarry Huang20-40/+511
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-31Remove ugly code in odl pluginYifei Xue4-84/+8
JIRA: - Remove the ugly code in odl plugin. These code may cause tempest failures while running daily functest. These failures cannot be reproduced locally but only in daily functest. So we proposed this patch to improve our code and verify whether it can fix the failures in tempest. Change-Id: I09bbb13702ac75380a0d1a1dac5add52a5725c6a Signed-off-by: Yifei Xue <xueyifei@huawei.com> (cherry picked from commit 60fa3597d93a9ba488c875eb0b47cf7054a2eddd)
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 Xue7-0/+37
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>
2017-10-28bugfixwutianwei3-63/+89
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-19Update testresult link to Euphrates in release notes.opnfv-5.0.0chigang1-6/+1
JIRA: - Change-Id: If9f8bcd5774060bb3cbee30a0cff1e1b9031f822 Signed-off-by: chigang <chigang@huawei.com> (cherry picked from commit 145d0ff2367a58b40e39970e3cb253c52af05c01)
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 Xue14-27/+481
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-11Merge "Add customized DNS server support" into stable/euphratesJustin chi1-1/+1
2017-10-11Doc updates for EuphratesSofia Wallin2-30/+1
Change-Id: Ibf2a41a7e651e0a611a9721e7ebac29e181ad635 Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com> (cherry picked from commit 35e9b46afe0589d0aa093ce1817885ddb09f9df7)
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 Xue5-9/+28
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-30add docker images tagwutianwei1-6/+6
Change-Id: I7705a085491a11e57edaf79b462b750818bedc8d Signed-off-by: wutianwei <wutianwei1@huawei.com>
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-26fix yaml installHarry Huang1-2/+2
move yaml install out of if block to install pyyaml whenever apt packages is installed Change-Id: Icbad66e0d8070afcb183c31af4759443bf0cf7f1 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com> (cherry picked from commit fb952b8c4cb4a47ad33cf7f7c3a06b83954343a2)
2017-09-18Update the documents for compass E releaseYifei Xue18-286/+372
JIRA: - 1. Rewrite vm and bm deployment docs to satisfy the new release 2. add some images for network architecture 3. Update release name, version, etc. Change-Id: I1e9d305de5edf60d937868d49966c153d85fd2b5 Signed-off-by: Yifei Xue <xueyifei@huawei.com> (cherry picked from commit 074eab95235e35431b0439e42d253d44b139004e)
2017-09-15Merge "Upgrade odl from carbon to nitrogen"Justin chi20-60/+86
2017-09-15Merge "add kubernetes quickstart"Justin chi1-0/+30
2017-09-15Merge "Run k8s in CI"Justin chi2-0/+46
2017-09-15Upgrade odl from carbon to nitrogenYifei Xue20-60/+86
JIRA: - 1. Because of the bug in odl sfc carbon, this patch upgrade the odl to Nitrogen release. 2. Use the latest stable/ocata of networking-sfc and networking-odl 3. Fix the bug in the patch of multiple physnet mapping Change-Id: Id6e6084d9af76ff92d3c3ba6f8127154b2675aee Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-09-14Run k8s in CIwutianwei2-0/+46
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-14add kubernetes quickstartchigang1-0/+30
add a shell script to quickstart kubernetes virtual deployment Change-Id: I6c76c550b3e65c1e0aa74712aa9a5c46cc022d07 Signed-off-by: chigang <chigang@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 chi2-4/+4
2017-09-13Add dpdk pluginchigang16-0/+509
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 Xue2-4/+4
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-12Merge "bugfix: fix moon network configuration"Justin chi1-5/+1
2017-09-11bugfix: fix moon network configurationwutianwei1-5/+1
Due to creating the br-mgmt bridge, it is necessary to remove the IP from the eth0 interface. Change-Id: I32cf4d47530be3d625e29202f70b5667e6113a8c Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-09-08Add k8s supporthu xinhui39-0/+1888
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 Huang81-477/+779
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 chi19-6/+859