summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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-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>
2017-12-07Merge "Add DHA and network files for intel pod17"Yifei Xue9-0/+838
2017-12-05Add 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>
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>
2017-12-01Merge "fix scenrios file link when k8s deployment"Justin chi1-1/+1
2017-11-30Add DHA and network files for intel pod17Yifei Xue9-0/+838
Intel Pod17 is ready now, this patch is proposed to add DHA and network yml files for it. Then we can run some daily BM deployments on it. Change-Id: I1431295b3f7c70afb6ee77979e0eb75972d94bc1 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-11-29fix scenrios file link when k8s deploymentchigang1-1/+1
Change-Id: Ibf64258b368393a0805868501e367f32b28bbe81 Signed-off-by: chigang <chigang@huawei.com>
2017-11-28Upgrade OpenStack version from Ocata to PikeYifei Xue77-107/+2169
JIRA: COMPASS-565 For OPNFV F release, it's going to use OpenStack Pike as the NFVI component. This task is created to monitor the upgrade work of OpenStack Pike. Subtasks as follow: - Add Pike related configurations to compass_conf - Upgrade ubuntu os to ubuntu 16.04.3 - Upgrade centos os to centos 7.4 - Upgrade openstack-ansible from ocata to pike - Upgrade openstack repos from ocata to pike Change-Id: I2202e8e3ae23dae8e575c89170c9e5e057757870 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-11-23Merge "Support the scenario for installing kubernetes in ubuntu system"Yifei Xue10-57/+225
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>
2017-11-21Merge "Fix centos kickstart_done snippet"Justin chi1-1/+1
2017-11-21Merge "fix locale setting: Cannot set LC_ALL to default locale"Justin chi1-0/+3
2017-11-21Merge "deploy/conf: support configurable docker registry"Justin chi1-7/+10
2017-11-21Merge "build: support aarch64 deployment images"Justin chi2-1/+47
2017-11-21Merge "cobbler: support aarch64"Justin chi8-1/+300
2017-11-21Merge "deploy/template/vm: support aarch64 VM"Justin chi3-3/+88