aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-02-06Merge "deploy: remove gic version in arm vm template"Yifei Xue1-3/+0
2018-02-06Merge "Ansible callback support both V2.3 and V2.4"Yifei Xue5-13/+19
2018-02-06Merge "Upgrade ODL version to Nitrogen SR1"Yifei Xue4-8/+8
2018-02-05Merge "Seperate compass-tasks"Yifei Xue3-5/+21
2018-02-05Merge "Compass4nfv virtual deploy support direct connection"Yifei Xue4-7/+16
2018-02-03Merge "Update Barometer plugin to install influxdb, grafana"Yifei Xue10-0/+672
2018-02-03Merge "Update Barometer plugin to use collectd container"Yifei Xue18-104/+381
2018-02-01Update Barometer plugin to install influxdb, grafanaramamani yeleswarapu10-0/+672
Adds/updates the following to install influxdb and grafana on the controller. Configures them to receive collectd data from the compute. /plugins/barometer/roles/influxdb /pluigns/barometer/roles/grafana /deploy/adapters/ansible/openstack/HA-ansible-multinodes.yml Change-Id: Ie33489e9834da5bb5c77b392451b81cf44a849d6 Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
2018-02-01Ansible callback support both V2.3 and V2.4Harry Huang5-13/+19
JIRA: COMPASS-585 1. Add conditional branch to support both ansible versions 2. Keep callback in ansible_plugins directory which will contains all plugins upcoming in the future Change-Id: I11f3d9700e07ad5bd7f03ad56f4e0bc061df05ec Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-01-31Seperate compass-tasksHarry Huang3-5/+21
JIRA: - 1. Keep openstack-ansible in compass-tasks-osa. Keep kubespray in compass-tasks-k8s. Build different compass-tasks in one tar ball. Identify which one to use during docker-compose. 2. Temporarily using private docker repo. 3. COMPOSE_IMAGES is used to controll which components to form compass-core regardless of specific repo. Set default value for openstack and kubernetes when perform single cluster deploy. Change-Id: Ief52580e954c602575c9bf8abe5733c100876c7f Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-01-31Merge "Collect log from rsyslog container"Yifei Xue3-0/+59
2018-01-30Upgrade ODL version to Nitrogen SR1Yifei Xue4-8/+8
JIRA: - Currently compass uses ODL Nitrogen, however the latest ODL version is Nitrogen SR1. So we upgrade to use the latest version to avoid some bugs. Change-Id: I8cc04955b9fc828eb3bc6096df6ac5b97438a259 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-01-30Collect log from rsyslog containerwutianwei3-0/+59
JIRA: COMPASS-579 the script collect-log.sh would be called by releng, after all the deploy and tests job are complete. Change-Id: Ic2604ca0650989bc13310377427694ededf75a9d Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-01-29Update Barometer plugin to use collectd containerramamani yeleswarapu18-104/+381
Modifies/updates the following to use a barometer container from dockerhub for collectd. /plugins/barometer/roles/collectd/tasks /pluigns/barometer/roles/collectd/templates /plugins/barometer/roles/collectd/vars /plugins/barometer/roles/collectd/files Change-Id: I627afd8fef12c4aa3ff5ac54a55d00f9567406f2 Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
2018-01-30Add tacker support in compass4nfv for FraserYifei Xue7-12/+80
JIRA: COMPASS-577 1. Add tacker service into haproxy configuration file 2. Include tacker installation into setup-openstack.yml Change-Id: I5a91766e034ec55af711029aac4ba9ed4a388db2 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-01-30Merge "Change gnocchi storage and increase the capacity of ceph"Yifei Xue9-1/+87
2018-01-27Compass4nfv virtual deploy support direct connectionwutianwei4-7/+16
compass4nfv using nat for VM external network currently, this patch add the direct connection method. if want to use it ,you need set the NAT_EXTERNAL to false, and configure the network.yml according to you environment Change-Id: I5a1a2f96b8c32a00eaef4d591c4452b555f0c9a2 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-01-27Change gnocchi storage and increase the capacity of cephwutianwei9-1/+87
1. Change the gnocchi storage to ceph. 2. Change the size of loopback to 500GB 3. Change the ceilometer polling yaml 4. Run ceilometer-upgrade command and restart ceilometer service Change-Id: I8948c7b7e340c11e5d05c06a7d54c0e1b807620c Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-01-27Enable neutron port trunkYifei Xue1-0/+5
JIRA: COMPASS-571 The network trunk service allows multiple networks to be connected to an instance using a single virtual NIC (vNIC). Multiple networks can be presented to an instance by connecting it to a single port. This is a highly relevant feature for VNFs and hence for OPNFV as a reference NFVI. This patch is about enabling the trunk port feature in Compass deployments. Change-Id: I270c3f1d5e4af99578c8e1882fae12ddddaabe78 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-01-27Merge "Use run_dir instead of hard coding"HU Xinhui5-9/+11
2018-01-26Change the scenario file for k8s api hahu xinhui2-0/+6
1. Change the vm_environment config of k8-nosdn-nofeature-ha.yml 2. Change the hardware_environment config of k8-nosdn-nofeature-ha.yml Change-Id: Ia7654daf50c0c4b9f20e0851d41d25bf1051cb2d Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2018-01-26Merge "spport k8s apiserver HA compass installer deploy k8s using ↵HU Xinhui21-5/+345
kubespray for default, but k8s apiserver HA is not implemented by kubespray, This patch aim is to achieve the k8s apiserver HA Change-Id: I805b5eb2f4efa7ca82fcef7bfd3f4cad35ed65b5 JIRA: - Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>"
2018-01-25deploy: remove gic version in arm vm templateYibo Cai1-3/+0
GIC version is set to v2 in current Arm VM template, but ThunderX only supports GICv3 which results in the failure to start VM. This patch removes GIC version definition and let libvirt to figure out the default value based on host system. Change-Id: I0e487e13ee4192a705f635781b1071521f610db5 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2018-01-24Merge "Fix subnet create fail when disable ext-net"Yifei Xue1-0/+1
2018-01-24Merge "docker-compose: support aarch64"Yifei Xue6-25/+82
2018-01-24Merge "deploy/cobbler: drop tcp_tw_recycle in sysctl.conf"Yifei Xue3-3/+0
2018-01-24spport k8s apiserver HAhu xinhui21-5/+345
compass installer deploy k8s using kubespray for default, but k8s apiserver HA is not implemented by kubespray, This patch aim is to achieve the k8s apiserver HA Change-Id: I805b5eb2f4efa7ca82fcef7bfd3f4cad35ed65b5 JIRA: - Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2018-01-23Use run_dir instead of hard codingHarry Huang5-9/+11
Cluster name now can be set in DHA file which makes ansible dir changeable. Use run_dir variable to point to correct dir. Change-Id: I673b0b472b86ce505a8ea29ce4fb3666b4b991bd Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-01-22Fix 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>
2018-01-22Merge "Support multi-cluster deploy"Yifei Xue5-10/+34
2018-01-19Support multi-cluster deployHarry Huang5-10/+34
JIRA: COMPASS-566 1. set DEPLOY_HOST to "true "no longer refresh compass-core 2. patch depends on merged compass-tasks 3. support assign cluster name in scenario file Change-Id: I28d201c201cff5baefee9993d195be16ef1e830b Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-01-18Using simplejson instead of jsonHarry Huang1-1/+1
JIRA: COMPASS-574 As Ansible upgrade patch will bring in json module issue. Using simplejson module to avoid module confusion. Change-Id: I752b126e37753187fd74daa4fc6fe202f71eec24 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-01-14docker-compose: support aarch64Yibo Cai6-25/+82
Change-Id: I4b1bce45f8412af7076dca90bbb4c1193057d110 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2018-01-11Fetch kubernetes admin.conf for testwutianwei2-0/+22
from kube_master fetch the admin.conf to the directory /opt/admin.conf of compass-tasks docker Change-Id: I1c236414c968f721d04fb6da0dc7a9514c892f93 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-01-10Change the ntp server in chrony confYifei Xue3-1/+110
JIRA: - Use the ntp server in compass-cobbler. Change-Id: Ia5d3d8fb32ce51667841cec74622c7f0da929587 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-01-09Open log server of OSAYifei Xue1-3/+5
JIRA: - Open log server of OpenStack Ansible to collect all of the logs in each LXC. Then it will be very convenient to debug. Change-Id: Iafd625a2af4eea04ff7528c9d8007bed1b218822 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-01-09Update the docker image source to use opnfv dockerhubYifei Xue1-4/+4
JIRA: - Change the docker image source to opnfv dockerhub. Change-Id: I5709c99844d5df29d9a429a72db23c8deaf9feb0 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2018-01-09Open fix_pip_versionHarry Huang1-1/+1
Due to OSA commit id rollback, open this fix_pip_version to fix ldap issue Change-Id: I9d41f0dcb04ecdc3d73b92a5da6fa254b5246045 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-12-28Merge "change the failure judgement condition for setup-openstack"Yifei Xue3-2/+14
2017-12-28change the failure judgement condition for setup-openstackwutianwei3-2/+14
1. Don't check failed=1 instead of checking the last task name. 2. comment the fix pip version yml Change-Id: I3c22074f319a1d0f1ae0f3df43ca6e10ec684aac Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-12-27Merge "Remove the /var/log/osa directory if exist"Yifei Xue1-0/+13
2017-12-25fix the lz4 packages dependencewutianwei2-10/+26
1. install pkgconfig 2. mv the tasks of fixing pip issue out of the main script Change-Id: Icc08a3c461690d1d6747455479df0a58d87d22da Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-12-22deploy/cobbler: drop tcp_tw_recycle in sysctl.confYibo Cai3-3/+0
Currently, tcp_tw_recycle is set explicitly in sysctl.conf when installing OS by cobbler. This option is removed in kernel4.12, current sysctl.conf breaks sysctl function and K8s deployment. Actually, tcp_tw_recycle is considered broken and not recommended to use. We may simply drop this option to be compatible with different kernel versions. References: - https://vincent.bernat.im/en/blog/2014-tcp-time-wait-state-linux - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4396e46187ca5070219b81773c4e65088dac50cc Change-Id: I2cd89db3d423c811ba58eb5960f3cc718475be5f Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2017-12-21Add compass-docker-composeHarry Huang38-98/+4496
1. Add ansible for docker compose containerized compass 2. deploy/conf/compass.conf no longer specify image tags for runtime. build.yaml now is added into compass tarball to be the only place determine image tags 3. This patch is based on patch: https://gerrit.opnfv.org/gerrit/#/c/47393/ use merged compass-tasks 4. Tempoarily using private docker repo for compass-tasks. Switch to opnfv repo when patch https://gerrit.opnfv.org/gerrit/#/c/47329/ is merged 5. Modify ansible callback module accrodingly Change-Id: I0728a9002a1cc7804c9e8f13bd1afdccb684a159 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-12-21Merge "Bug fix for chrony configuration"Yifei Xue4-2/+16
2017-12-21Merge "Update OS pattern for kubernetes"Yifei Xue1-1/+1
2017-12-21Merge "deploy/k8s: support k8s deployment on aarch64"Yifei Xue3-1/+50
2017-12-21Merge "deploy/conf: separate x86 and AArch64 docker image naming"Yifei Xue1-13/+31
2017-12-20Bug fix for chrony configurationYifei Xue4-2/+16
JIRA: - Set "security_ntp_servers" to use only one server; Correct the path of chrony key for centos deployment. Change-Id: I3050018fe07c51912e0b52a1c5c7ce2dd4d3f6ce Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-12-17Merge "Bug fix for the random failure of nova cell_v2 discovery"Yifei Xue1-0/+13