summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-30Merge "Change gnocchi storage and increase the capacity of ceph"Yifei Xue9-1/+87
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-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
2017-12-16Bug fix for the random failure of pip_installYifei Xue1-0/+12
JIAR: - For centos deployment, it sometimes fails when run the role: pip_install due to the network is not so stable. So we add some retyies here to avoid the failure. Change-Id: I9774e5be4d42a66f8cf377ec83161b200266d3d0 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-12-16Bug fix for the random failure of nova cell_v2 discoveryYifei Xue1-0/+13
JIRA: - Sometimes nova cell_v2 fails to discovery the compute hosts. So we add some retries to makr sure cell_v2 discovery success. Change-Id: I74af78667f2718b10b8cbb1e9c7c8d8d3b4b297e Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-12-14Remove the /var/log/osa directory if existwutianwei1-0/+13
generate password again to ensure the password is different everytime Change-Id: I8c88266e724922301f4411b330d7d7154bfb250e Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-12-14Update OS pattern for kubernetesHarry Huang1-1/+1
Ubuntu iso has been updated to 16.04.3 and Centos iso has been updated to 7.17. Update os pattern in adapter conf for kubernetes to avoid deploy failure Change-Id: Ib11c738a4917f736326f6003e33b1c4268b0b7cd Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-12-14add the DNS server when run in intel labwutianwei1-3/+7
Change-Id: I07a9de2f1ed337e289d19241757db0e128ac595d Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-12-14Merge "Update Barometer's collectd plugin to Pike"Yifei Xue1-1/+1
2017-12-14Merge "Add collectd role to compute host only"Yifei Xue1-0/+5
2017-12-14Merge "add the barometer dha file for CI running huawei-pod1 huawei-pod2 ↵Yifei Xue3-0/+238
intel-pod17"
2017-12-13Add collectd role to compute host onlyramamani yeleswarapu1-0/+5
Change-Id: Ibe7d8cb58590da79442a02c4f0e57434eea0e5e4 Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
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-12Bug fix for CentOS BM deploymentYifei Xue17-46/+185
JIRA: - In order to configure network for OSA deployment, it's needed to install some packages, such as bridge-utils, iputils, etc. So we configure external network before using yum to install packages. Change-Id: I87864d6bdae79184aa82223f77b6ced1d0e9cf26 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-12-10deploy/conf: separate x86 and AArch64 docker image namingYibo Cai1-13/+31
Latest update hard-coded some docker image names, which breaks the deployment on Arm platform. This patch fixes the issue by distinguishing docker image naming on different architecture. This is an interim solution, and in the future, we may leverage docker multi arch support to use consistent naming for different architectures. Change-Id: I5c59c12fb250c4e09d83582640e248075b5f7373 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2017-12-10deploy/k8s: support k8s deployment on aarch64Yibo Cai3-1/+50
Kubespray default variables are for x86_64. To support deploying AArch64 node, many variables must be redefined. This patch adds a file to override default kubespray variables, so we can track all changes in compass4nfv code. Change-Id: Ic6180ea9c50302d1a6cef1e0e7a3abea6699ef55 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2017-12-07Update Barometer's collectd plugin to Pikeramamani yeleswarapu1-1/+1
Updates collectd-ceilometer-plugin code from stable/ocata to stable/pike. Change-Id: Idf62f870f2276c8b83249e01d6ed5714a08caa90 Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
2017-12-08Merge "Add CentOS 7.4 support for OpenStack Pike"Yifei Xue7-16/+181
2017-12-08Add CentOS 7.4 support for OpenStack PikeYifei Xue7-16/+181
JIRA: COMPASS-565 After this patch merged, compass can deploy OpenStack Pike on CentOS 7.4. Due to some upstream bugs, we add some fixes in this patch, e.g. add libvirt to os-cinder, remove a useless repo after installing Change-Id: Ibc1e6f1ed103daf2d70a8ae1d7c04f77d1545c41 Signed-off-by: Yifei Xue <xueyifei@huawei.com>