aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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
2017-08-31Support offline deployment for nosdn no feature scenarioYifei Xue19-6/+859
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-24Docs update for E releaseYifei Xue8-14/+78
JIRA: - Update the structure of docs directory. Update the docs for E release. Add some new docs for E release. Change-Id: Ib4b6aced3d6ac88404d8518b5461e20d26e017e1 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
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>
2017-08-18support the noha scenariowutianwei19-6/+1090
1. add parameter to install keepalived when only one controller 2. change the osa code to start keepalived and haproxy 3. add the noha DHA files 4. fix the setup ovs bug 5. fix the pod1 public vip Change-Id: I19f4e78b9ca834ae3d454e1c8058728ece055f69 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-08-15Merge "Make the storage use ceph"Justin chi9-0/+161
2017-08-15Make the storage use cephwutianwei9-0/+161
1. ceph.yml define which host install ceph-mon and ceph-osd 2. user_ceph.yml define variables of ceph and cinder backend 3. user_variables_ceph.yml.j2 define variables of ceph for user Change-Id: Iafea998f4603eb4b5c15a26f2387e6cb04c35d4c Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-08-14fix loss of group vars definitionchigang1-1/+7
JIRA:- TASK [moon : configure moon.conf for moon slave] fatal: [host5]: FAILED! => {"failed": true, "msg": "'moon_slave_name' is undefined"} https://build.opnfv.org/ci/job/compass-deploy-virtual-daily-master/3311/console Change-Id: Ic6211ef7017e0ed794718f1705ba566af370ea49 Signed-off-by: chigang <chigang@huawei.com>
2017-08-14Modify moon networkHarry Huang5-26/+68
1. modify interface file for moon according to new network structure 2. modify some ips for pods running master Change-Id: Idfca20c8e101222d27847fcac4f12ba21a1b5a67 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-08-11Adapt network.yml to OpenStack AnsibleHarry Huang22-245/+337
JIRA:COMPASS-557 1. modify sys_intf_mappings and ip_settings in network.yml to synchronize with OSA network. networks compass build will be mgmt, external, tenant, storage. 2. modify compass_conf to support new netwok.yml 3. fix some hard coding when transfer ip parameters 4. support heterogeneous network Change-Id: Ib4a8af1f96a40e6456242e3dc2b456e0c8c17c2e Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-08-09Edit Expansion Guideliyuenan1-1/+20
JIRA: - mgmt and storage's network ip_ranges start ip needs update as the first 6 IPs are already taken by the first deployment. Change-Id: Iee01852c04ea7638999f664d567caaea060bdaf9 Signed-off-by: liyuenan <liyuenan@huawei.com>
2017-08-09Merge "Create endpoint in different region"Justin chi1-1/+2
2017-08-04yardstick installation for compass4nfvManjunath Ranganathaiah1-0/+5
JIRA: COMPASS-552 This patch adds changes to install yardstick on jump host. Change-Id: Id389d253f948a19cb682d54bd95bfbc3139ceb39 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
2017-08-04fix bugs for functest and moon baremetalwutianwei2-7/+2
1. functest change the judgement condition, the DOMAIN_NAME need use Default instead of default 2. making the eth0 down and up to change the route in baremetal deploy Change-Id: I7dacf59cdd0c4db396b2db8b0a5fdd7003829391 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-31Fix OS install bugHarry Huang1-1/+1
There is a missing indent in the judgement code block for OS installation complete which cause OS installation complete only affected by the state of host1 Change-Id: I5d470aef93b65ca77d290e596a4fefd62a82517b Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-07-29Merge "Switch to compass4nfv docker repo"Justin chi2-2/+2