aboutsummaryrefslogtreecommitdiffstats
path: root/deploy
AgeCommit message (Collapse)AuthorFilesLines
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 Huang4-83/+50
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-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-08Merge "Add CentOS 7.4 support for OpenStack Pike"Yifei Xue6-15/+180
2017-12-08Add CentOS 7.4 support for OpenStack PikeYifei Xue6-15/+180
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 yeleswarapu3-0/+74
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-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-28Upgrade OpenStack version from Ocata to PikeYifei Xue65-75/+2124
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 Xue1-25/+57
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 "deploy/conf: support configurable docker registry"Justin chi1-7/+10
2017-11-21Merge "cobbler: support aarch64"Justin chi8-1/+300
2017-11-21Merge "deploy/template/vm: support aarch64 VM"Justin chi2-3/+86
2017-11-21Merge "k8s: add package repo for aarch64"Justin chi4-2/+52
2017-11-21Merge "Install networking-sfc for non odl-sfc scenarios"Yifei Xue5-1/+98
2017-11-20deploy/template/vm: support aarch64 VMYibo Cai2-3/+86
- Use architecture specific host-ARCH.xml if available, otherwise fallback to default host.xml(x86_64). - Add "--nvram" to undefine UEFI enabled VMs. Change-Id: I89a0eb3875f98d18a28463bbf1004f5eca5de324 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2017-11-15Install 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>
2017-11-14Fix 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>
2017-11-14Support 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>
2017-11-13Merge "Auto start bridge on jumphost"Justin chi1-0/+3
2017-11-09k8s: add package repo for aarch64Yibo Cai4-2/+52
Use architecture specific repo if available, otherwise fallback to default(x86_64) repo. Change-Id: I82f483494827564ae0e294d0c88c4080338c5634 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2017-11-09deploy/conf: support configurable docker registryYibo Cai1-7/+10
Set COMPASS_DOCKER_REPO to use docker repos other than the default one for x86_64(docker.io/compass4nfv). E.g., to deploy Arm servers, it can be set to "linaro" repo. Change-Id: Ief939e94d4a324dccd1ccf4be4ac75afb2cb0c3e Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2017-11-07cobbler: support aarch64Yibo Cai8-1/+300
Set ADAPTER_OS_PATTERN='(?i)CentOS-7.*arm.*' to deploy CentOS aarch64. Change-Id: I943e2edfc03b92446fb393c63c254ab8e3c37225 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2017-10-29Merge "Update requirements_absolute_requirements.txt"Justin chi1-0/+6
2017-10-29Merge " k8s support the helm."Justin chi2-0/+8
2017-10-29Merge "fix ceph reboot issue"Justin chi1-0/+7
2017-10-27fix 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-26Update 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>