compass4nfv.git
7 years agoAdd CentOS 7.4 support for OpenStack Pike 13/48513/6
Yifei Xue [Thu, 7 Dec 2017 09:08:26 +0000 (17:08 +0800)]
Add CentOS 7.4 support for OpenStack Pike

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>
7 years agoAdd plugin for Barometer. 43/44943/16
ramamani yeleswarapu [Thu, 12 Oct 2017 00:41:52 +0000 (17:41 -0700)]
Add plugin for Barometer.

Change-Id: I5049805eb4e2e2c5e2cc87772afe6650253be36c
Signed-off-by: John Hinman <john.hinman@intel.com>
Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
7 years agoFix the python-ldap version 69/48369/1
wutianwei [Tue, 5 Dec 2017 03:32:35 +0000 (11:32 +0800)]
Fix the python-ldap version

when python-ldap is newest version, there are some issues in dependence

Change-Id: I29f30900733cdd87d922b17da0f7c551b7cbdc90
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoMerge "fix scenrios file link when k8s deployment"
Justin chi [Fri, 1 Dec 2017 02:02:20 +0000 (02:02 +0000)]
Merge "fix scenrios file link when k8s deployment"

7 years agofix scenrios file link when k8s deployment 03/48003/1
chigang [Wed, 29 Nov 2017 08:37:09 +0000 (16:37 +0800)]
fix scenrios file link when k8s deployment

Change-Id: Ibf64258b368393a0805868501e367f32b28bbe81
Signed-off-by: chigang <chigang@huawei.com>
7 years agoUpgrade OpenStack version from Ocata to Pike 43/46543/11
Yifei Xue [Wed, 1 Nov 2017 03:46:18 +0000 (11:46 +0800)]
Upgrade OpenStack version from Ocata to Pike

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>
7 years agoMerge "Support the scenario for installing kubernetes in ubuntu system"
Yifei Xue [Thu, 23 Nov 2017 08:52:43 +0000 (08:52 +0000)]
Merge "Support the scenario for installing kubernetes in ubuntu system"

7 years agoUpgrade the jumphost offline support 09/47009/5
Yifei Xue [Fri, 10 Nov 2017 07:01:04 +0000 (15:01 +0800)]
Upgrade the jumphost offline support

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>
7 years agoMerge "Fix centos kickstart_done snippet"
Justin chi [Tue, 21 Nov 2017 02:25:11 +0000 (02:25 +0000)]
Merge "Fix centos kickstart_done snippet"

7 years agoMerge "fix locale setting: Cannot set LC_ALL to default locale"
Justin chi [Tue, 21 Nov 2017 02:24:35 +0000 (02:24 +0000)]
Merge "fix locale setting: Cannot set LC_ALL to default locale"

7 years agoMerge "deploy/conf: support configurable docker registry"
Justin chi [Tue, 21 Nov 2017 02:24:18 +0000 (02:24 +0000)]
Merge "deploy/conf: support configurable docker registry"

7 years agoMerge "build: support aarch64 deployment images"
Justin chi [Tue, 21 Nov 2017 02:23:05 +0000 (02:23 +0000)]
Merge "build: support aarch64 deployment images"

7 years agoMerge "cobbler: support aarch64"
Justin chi [Tue, 21 Nov 2017 02:22:34 +0000 (02:22 +0000)]
Merge "cobbler: support aarch64"

7 years agoMerge "deploy/template/vm: support aarch64 VM"
Justin chi [Tue, 21 Nov 2017 02:22:26 +0000 (02:22 +0000)]
Merge "deploy/template/vm: support aarch64 VM"

7 years agoMerge "k8s: add package repo for aarch64"
Justin chi [Tue, 21 Nov 2017 02:22:14 +0000 (02:22 +0000)]
Merge "k8s: add package repo for aarch64"

7 years agoMerge "Install networking-sfc for non odl-sfc scenarios"
Yifei Xue [Tue, 21 Nov 2017 01:52:41 +0000 (01:52 +0000)]
Merge "Install networking-sfc for non odl-sfc scenarios"

7 years agoMerge "Add timeout and delay time to fix the reboot problem of rt_kvm scenario"
Yifei Xue [Mon, 20 Nov 2017 06:14:30 +0000 (06:14 +0000)]
Merge "Add timeout and delay time to fix the reboot problem of rt_kvm scenario"

7 years agofix locale setting: Cannot set LC_ALL to default locale 49/46849/2
Di Xu [Wed, 8 Nov 2017 08:59:07 +0000 (16:59 +0800)]
fix locale setting: Cannot set LC_ALL to default locale

Change-Id: I050a17d5f61a31f8690b41bb70b2ea312aa50ab1
Signed-off-by: Di Xu <di.xu@arm.com>
7 years agodeploy/template/vm: support aarch64 VM 01/46901/2
Yibo Cai [Tue, 7 Nov 2017 05:27:38 +0000 (13:27 +0800)]
deploy/template/vm: support aarch64 VM

- 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>
7 years agoMerge "build: add docker-ce apt repo for aarch64"
Yifei Xue [Fri, 17 Nov 2017 08:53:44 +0000 (08:53 +0000)]
Merge "build: add docker-ce apt repo for aarch64"

7 years agoAdd timeout and delay time to fix the reboot problem 15/47315/2
Yifei Xue [Thu, 16 Nov 2017 08:22:50 +0000 (16:22 +0800)]
Add timeout and delay time to fix the reboot problem
of rt_kvm scenario

JIRA: -

The rt_kvm scenario deployment always fails on Huawei Pod2 while
running reboot task. However it's fine on Huawei Pod1. We think
it may be caused by the performance of Pod1. Pod1 truely has a lower
performance than Pod2. So we add timeout and delay time to verify
our idea.

Change-Id: I56acc88354abcdd4ba72c7d24980033871972688
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
7 years agoInstall networking-sfc for non odl-sfc scenarios 75/46475/5
Yifei Xue [Tue, 31 Oct 2017 11:57:27 +0000 (19:57 +0800)]
Install networking-sfc for non odl-sfc scenarios

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>
7 years agoMerge "URL correction for quickstart"
Yifei Xue [Wed, 15 Nov 2017 01:00:21 +0000 (01:00 +0000)]
Merge "URL correction for quickstart"

7 years agoFix centos kickstart_done snippet 67/47167/1
Harry Huang [Tue, 14 Nov 2017 04:16:08 +0000 (12:16 +0800)]
Fix centos kickstart_done snippet

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>
7 years agoSupport the scenario for installing kubernetes in ubuntu system 53/47153/2
hu xinhui [Tue, 14 Nov 2017 01:40:32 +0000 (09:40 +0800)]
Support the scenario for installing kubernetes in ubuntu system

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>
7 years agoMerge "Auto start bridge on jumphost"
Justin chi [Mon, 13 Nov 2017 07:04:04 +0000 (07:04 +0000)]
Merge "Auto start bridge on jumphost"

7 years agobuild: support aarch64 deployment images 17/46917/1
Yibo Cai [Wed, 8 Nov 2017 05:50:32 +0000 (13:50 +0800)]
build: support aarch64 deployment images

- Use per architecture build-ARCH.yaml if available
- Repos for aarch64 OS and docker images are passed by env

Change-Id: Id7f9ca6dad690b8d375a3d8f488c7bf955a128ad
Signed-off-by: Yibo Cai <yibo.cai@arm.com>
7 years agobuild: add docker-ce apt repo for aarch64 15/46915/1
Yibo Cai [Wed, 8 Nov 2017 03:31:47 +0000 (11:31 +0800)]
build: add docker-ce apt repo for aarch64

Change-Id: I5b3c30e6202c4db45d02221d3e4b7e7250b1fd01
Signed-off-by: Yibo Cai <yibo.cai@arm.com>
7 years agok8s: add package repo for aarch64 33/46833/2
Yibo Cai [Tue, 7 Nov 2017 06:11:54 +0000 (14:11 +0800)]
k8s: add package repo for aarch64

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>
7 years agodeploy/conf: support configurable docker registry 05/46905/1
Yibo Cai [Wed, 8 Nov 2017 06:18:31 +0000 (14:18 +0800)]
deploy/conf: support configurable docker registry

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>
7 years agocobbler: support aarch64 31/46831/1
Yibo Cai [Tue, 7 Nov 2017 05:58:59 +0000 (13:58 +0800)]
cobbler: support aarch64

Set ADAPTER_OS_PATTERN='(?i)CentOS-7.*arm.*' to deploy CentOS aarch64.

Change-Id: I943e2edfc03b92446fb393c63c254ab8e3c37225
Signed-off-by: Yibo Cai <yibo.cai@arm.com>
7 years agoURL correction for quickstart 95/46495/2
Yifei Xue [Wed, 1 Nov 2017 01:24:18 +0000 (09:24 +0800)]
URL correction for quickstart

JIRA: COMPASS-564

The current quickstart URL for stable/euphrates branch is not
correct. This patch is proposed to fix this mistake.

Change-Id: I36883480f2af43baca81f6107d2c2281362104d2
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
7 years agoMerge "Remove ugly code in odl plugin"
Justin chi [Sun, 29 Oct 2017 12:54:43 +0000 (12:54 +0000)]
Merge "Remove ugly code in odl plugin"

7 years agoMerge "Update requirements_absolute_requirements.txt"
Justin chi [Sun, 29 Oct 2017 12:54:27 +0000 (12:54 +0000)]
Merge "Update requirements_absolute_requirements.txt"

7 years agoMerge " k8s support the helm."
Justin chi [Sun, 29 Oct 2017 12:53:55 +0000 (12:53 +0000)]
Merge "    k8s support the helm."

7 years agoMerge "fix ceph reboot issue"
Justin chi [Sun, 29 Oct 2017 12:52:50 +0000 (12:52 +0000)]
Merge "fix ceph reboot issue"

7 years agoMerge "Compass4nfv Committer promotion for Yifei Xue and Xinhui Hu"
Justin chi [Sun, 29 Oct 2017 12:52:34 +0000 (12:52 +0000)]
Merge "Compass4nfv Committer promotion for Yifei Xue and Xinhui Hu"

7 years agoCompass4nfv Committer promotion for Yifei Xue and Xinhui Hu 59/46359/1
chigang [Sat, 28 Oct 2017 02:27:40 +0000 (10:27 +0800)]
Compass4nfv Committer promotion for Yifei Xue and Xinhui Hu

Xinhui votes
https://lists.opnfv.org/pipermail/opnfv-tsc/2017-October/003904.html
https://lists.opnfv.org/pipermail/opnfv-tsc/2017-October/003905.html
https://lists.opnfv.org/pipermail/opnfv-tsc/2017-October/003899.html
Yifei Votes
https://lists.opnfv.org/pipermail/opnfv-tsc/2017-October/003906.html
https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-October/018613.html
https://lists.opnfv.org/pipermail/opnfv-tsc/2017-October/003898.html

Change-Id: I5b825af0a3f8b00da9ce4cc7f4adcd667341a2c6
Signed-off-by: chigang <chigang@huawei.com>
7 years agofix ceph reboot issue 79/46279/2
wutianwei [Fri, 27 Oct 2017 03:25:11 +0000 (11:25 +0800)]
fix ceph reboot issue

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>
7 years agoUpdate requirements_absolute_requirements.txt 57/46257/1
Yifei Xue [Thu, 26 Oct 2017 14:45:24 +0000 (22:45 +0800)]
Update requirements_absolute_requirements.txt

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>
7 years ago k8s support the helm. 31/46231/2
hu xinhui [Thu, 26 Oct 2017 02:28:50 +0000 (10:28 +0800)]
k8s support the helm.

    JIRA: -

Change-Id: I8ee06225c32c59a5678a666c47da95f96963dec8
Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
7 years agoSet default openstack version to Ocata 27/46227/1
Harry Huang [Thu, 26 Oct 2017 02:11:17 +0000 (10:11 +0800)]
Set default openstack version to Ocata

Default value of openstack version variable is
still newton which cause error when using this
default value in k8s scenario

Change-Id: I8e89e60f03a0dbf0263b0fef85f80ccb4a32efae
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agoMerge "bugfix"
Justin chi [Tue, 24 Oct 2017 12:21:42 +0000 (12:21 +0000)]
Merge "bugfix"

7 years agoMerge "Config dpdk and ovs"
Justin chi [Tue, 24 Oct 2017 12:21:03 +0000 (12:21 +0000)]
Merge "Config dpdk and ovs"

7 years agoRemove ugly code in odl plugin 37/45937/2
Yifei Xue [Fri, 20 Oct 2017 03:30:30 +0000 (11:30 +0800)]
Remove ugly code in odl plugin

JIRA: -

Remove the ugly code in odl plugin. These code may cause tempest failures while
running daily functest. These failures cannot be reproduced locally but only in
daily functest. So we proposed this patch to improve our code and verify whether
it can fix the failures in tempest.

Change-Id: I09bbb13702ac75380a0d1a1dac5add52a5725c6a
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
7 years agobugfix 51/46151/1
wutianwei [Tue, 24 Oct 2017 01:28:08 +0000 (09:28 +0800)]
bugfix

When not define ceph role in DHA, there are somes issue on config-osa.
This patch add the judgement to check the parameter define or not.

Change-Id: If221fd3d02c87fc60f545b44f94043f38e34d283
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoConfig dpdk and ovs 71/44771/11
Harry Huang [Wed, 11 Oct 2017 10:11:52 +0000 (18:11 +0800)]
Config dpdk and ovs

switch dpdk interface driver and bring
up corresponding ovs bridges.

Change-Id: I07bd9b332978482507711cfbd8ad29802a8b1a8c
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agoUpdate testresult link to Euphrates in release notes. 49/45749/2
chigang [Thu, 19 Oct 2017 06:56:59 +0000 (14:56 +0800)]
Update testresult link to Euphrates in release notes.

JIRA: -

Change-Id: If9f8bcd5774060bb3cbee30a0cff1e1b9031f822
Signed-off-by: chigang <chigang@huawei.com>
7 years agoMerge "Fix ceilometer issue"
Justin chi [Wed, 18 Oct 2017 13:55:40 +0000 (13:55 +0000)]
Merge "Fix ceilometer issue"

7 years agoMerge "Update the Euphrates docs for kubernetes scenario"
Justin chi [Wed, 18 Oct 2017 13:53:29 +0000 (13:53 +0000)]
Merge "Update the Euphrates docs for kubernetes scenario"

7 years agoFix ceilometer issue 35/45435/4
wutianwei [Wed, 18 Oct 2017 03:19:37 +0000 (11:19 +0800)]
Fix ceilometer issue

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>
7 years agoMerge "add tacker support"
Justin chi [Wed, 18 Oct 2017 02:07:10 +0000 (02:07 +0000)]
Merge "add tacker support"

7 years agoUpdate the Euphrates docs for kubernetes scenario 11/45311/5
Yifei Xue [Tue, 17 Oct 2017 07:48:12 +0000 (15:48 +0800)]
Update the Euphrates docs for kubernetes scenario

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>
7 years ago Add k8-nosdn-nofeature-noha scenario support 15/45315/1
hu xinhui [Tue, 17 Oct 2017 08:39:16 +0000 (16:39 +0800)]
Add k8-nosdn-nofeature-noha  scenario support

    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>
7 years agoadd tacker support 05/44605/6
Yifei Xue [Thu, 5 Oct 2017 09:42:34 +0000 (17:42 +0800)]
add tacker support

JIRA: -

Add tacker support in compass euphrates. Upsteam OSA currently doesn't
support tacker in Ocata. But OPNFV needs to use tacker in SFC scenario.
So we refactor os_tacker of Pike to satisfy OpenStack Ocata.

Change-Id: I40bb90949d8cd3b9db166527b0d85ff42ad5cdb9
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
7 years agoMerge "Ascertain the pandas version"
Justin chi [Mon, 16 Oct 2017 11:36:41 +0000 (11:36 +0000)]
Merge "Ascertain the pandas version"

7 years agoAscertain the pandas version 71/45171/3
wutianwei [Mon, 16 Oct 2017 03:12:50 +0000 (11:12 +0800)]
Ascertain the pandas version

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>
7 years agoRemove Iben and Tim from Committer List 41/44841/3
Trevor Bramwell [Wed, 11 Oct 2017 21:45:35 +0000 (14:45 -0700)]
Remove Iben and Tim from Committer List

Both requested they be removed:
  https://lists.opnfv.org/pipermail/opnfv-tsc/2017-October/003868.html

Also updates Ashlee's email address

Change-Id: Ifaa2b2d96d764ea1ea7c1bb0bd2be498dab0528b
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
7 years agoMerge "Modification for kargo to generate dynamic inventory"
Justin chi [Mon, 16 Oct 2017 01:46:57 +0000 (01:46 +0000)]
Merge "Modification for kargo to generate dynamic inventory"

7 years agoModefy configuration for refstack_defcore 79/44879/3
wutianwei [Thu, 12 Oct 2017 06:50:42 +0000 (14:50 +0800)]
Modefy configuration for refstack_defcore

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>
7 years agoMerge "Doc updates for Euphrates"
Justin chi [Wed, 11 Oct 2017 07:47:38 +0000 (07:47 +0000)]
Merge "Doc updates for Euphrates"

7 years agoMerge "Add customized DNS server support"
Justin chi [Wed, 11 Oct 2017 02:39:26 +0000 (02:39 +0000)]
Merge "Add customized DNS server support"

7 years agoMerge "add docker images tag"
Justin chi [Tue, 10 Oct 2017 06:58:00 +0000 (06:58 +0000)]
Merge "add docker images tag"

7 years agoAdd customized DNS server support 59/43759/3
Yifei Xue [Sat, 30 Sep 2017 08:21:04 +0000 (16:21 +0800)]
Add customized DNS server support

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>
7 years agoDoc updates for Euphrates 69/44069/1
Sofia Wallin [Tue, 3 Oct 2017 12:27:06 +0000 (14:27 +0200)]
Doc updates for Euphrates

Change-Id: Ibf2a41a7e651e0a611a9721e7ebac29e181ad635
Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>
7 years agoMerge "Add default value for offline deploy switch"
Justin chi [Sat, 30 Sep 2017 09:47:52 +0000 (09:47 +0000)]
Merge "Add default value for offline deploy switch"

7 years agoModification for kargo to generate dynamic inventory 01/43601/7
hu xinhui [Fri, 29 Sep 2017 09:06:33 +0000 (17:06 +0800)]
Modification for kargo to generate dynamic inventory

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>
7 years agoSFC scenario release notes and bug fix for SFC switch 57/43557/4
Yifei Xue [Fri, 29 Sep 2017 06:18:09 +0000 (14:18 +0800)]
SFC scenario release notes and bug fix for SFC switch

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>
7 years agoAdd default value for offline deploy switch 87/43687/1
Harry Huang [Sat, 30 Sep 2017 02:13:38 +0000 (10:13 +0800)]
Add default value for offline deploy switch

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>
7 years agoadd docker images tag 77/43577/1
wutianwei [Fri, 29 Sep 2017 08:10:25 +0000 (16:10 +0800)]
add docker images tag

Change-Id: I7705a085491a11e57edaf79b462b750818bedc8d
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoModify the network and DHA files 89/43389/1
wutianwei [Thu, 28 Sep 2017 03:25:49 +0000 (11:25 +0800)]
Modify the network and DHA files

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>
7 years agofix yaml install 05/42905/1
Harry Huang [Mon, 25 Sep 2017 01:59:11 +0000 (09:59 +0800)]
fix yaml install

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>
7 years agoUpdate the documents for compass E release 27/40827/7
Yifei Xue [Fri, 1 Sep 2017 09:10:44 +0000 (17:10 +0800)]
Update the documents for compass E release

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>
7 years agoMerge "Upgrade odl from carbon to nitrogen"
Justin chi [Fri, 15 Sep 2017 07:50:29 +0000 (07:50 +0000)]
Merge "Upgrade odl from carbon to nitrogen"

7 years agoMerge "add kubernetes quickstart"
Justin chi [Fri, 15 Sep 2017 02:29:25 +0000 (02:29 +0000)]
Merge "add kubernetes quickstart"

7 years agoMerge "Run k8s in CI"
Justin chi [Fri, 15 Sep 2017 02:29:06 +0000 (02:29 +0000)]
Merge "Run k8s in CI"

7 years agoUpgrade odl from carbon to nitrogen 93/41493/8
Yifei Xue [Mon, 11 Sep 2017 02:38:18 +0000 (10:38 +0800)]
Upgrade odl from carbon to nitrogen

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>
7 years agoRun k8s in CI 29/41929/2
wutianwei [Thu, 14 Sep 2017 08:16:22 +0000 (16:16 +0800)]
Run k8s in CI

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>
7 years agoadd kubernetes quickstart 15/41915/1
chigang [Thu, 14 Sep 2017 06:32:11 +0000 (14:32 +0800)]
add kubernetes quickstart

add a shell script to quickstart kubernetes virtual deployment

Change-Id: I6c76c550b3e65c1e0aa74712aa9a5c46cc022d07
Signed-off-by: chigang <chigang@huawei.com>
7 years agoEnable DPDK scenarios in Jenkins 05/41905/1
chigang [Thu, 14 Sep 2017 02:59:23 +0000 (10:59 +0800)]
Enable DPDK scenarios in Jenkins

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>
7 years agoMerge "Update the image tags to euphrates"
Justin chi [Thu, 14 Sep 2017 02:40:03 +0000 (02:40 +0000)]
Merge "Update the image tags to euphrates"

7 years agoAdd dpdk plugin 23/39023/21
chigang [Thu, 10 Aug 2017 02:40:11 +0000 (10:40 +0800)]
Add dpdk plugin

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>
7 years agoUpdate the image tags to euphrates 21/41821/1
Yifei Xue [Wed, 13 Sep 2017 03:14:57 +0000 (11:14 +0800)]
Update the image tags to euphrates

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>
7 years agoMerge "bugfix: fix moon network configuration"
Justin chi [Tue, 12 Sep 2017 14:10:57 +0000 (14:10 +0000)]
Merge "bugfix: fix moon network configuration"

7 years agoAuto start bridge on jumphost 59/41659/2
Harry Huang [Tue, 12 Sep 2017 06:11:05 +0000 (14:11 +0800)]
Auto start bridge on jumphost

Set libvirt bridges to auto start on jump
host to avoid network failure when reboot.

Change-Id: Ic2fcbe2aa6ac512c25589d49ce10882d2e84ddeb
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agobugfix: fix moon network configuration 95/41495/1
wutianwei [Mon, 11 Sep 2017 02:53:31 +0000 (10:53 +0800)]
bugfix: fix moon network configuration

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>
7 years agoAdd k8s support 53/40953/7
hu xinhui [Wed, 30 Aug 2017 07:36:13 +0000 (15:36 +0800)]
Add k8s support

JIRA: -

Add a new k8s scenario for compass

Change-Id: Ic5f58a6152315333684e4f2752aaa0d5d870d9ee
Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
7 years agofrom controller node fetch os_cert 91/41291/1
wutianwei [Thu, 7 Sep 2017 09:28:47 +0000 (17:28 +0800)]
from controller node fetch os_cert

Change-Id: I2d1cbc6948d2cea1ccb852ed23033d5ddc6393e4
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoSupport multiple physnet mapping 55/39955/11
Harry Huang [Wed, 23 Aug 2017 07:05:02 +0000 (15:05 +0800)]
Support multiple physnet mapping

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>
7 years agoMerge "Support offline deployment for nosdn no feature scenario"
Justin chi [Fri, 1 Sep 2017 08:25:01 +0000 (08:25 +0000)]
Merge "Support offline deployment for nosdn no feature scenario"

7 years agoSupport offline deployment for nosdn no feature scenario 29/39329/13
Yifei Xue [Tue, 15 Aug 2017 03:40:26 +0000 (11:40 +0800)]
Support offline deployment for nosdn no feature scenario

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>
7 years agoFix install netmask 45/40645/1
Harry Huang [Wed, 30 Aug 2017 01:19:13 +0000 (09:19 +0800)]
Fix install netmask

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>
7 years agoMerge "Fix docker install"
Justin chi [Mon, 28 Aug 2017 07:29:18 +0000 (07:29 +0000)]
Merge "Fix docker install"

7 years agoDocs update for E release 99/40099/1
Yifei Xue [Thu, 24 Aug 2017 13:50:22 +0000 (21:50 +0800)]
Docs update for E release

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>
7 years agoFix docker install 11/39711/1
Harry Huang [Mon, 21 Aug 2017 03:42:44 +0000 (11:42 +0800)]
Fix docker install

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>
7 years agosupport the noha scenario 77/39377/5
wutianwei [Wed, 16 Aug 2017 02:55:04 +0000 (10:55 +0800)]
support the noha scenario

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>
7 years agoMerge "Make the storage use ceph"
Justin chi [Tue, 15 Aug 2017 08:59:08 +0000 (08:59 +0000)]
Merge "Make the storage use ceph"

7 years agoMake the storage use ceph 39/38839/9
wutianwei [Mon, 7 Aug 2017 12:03:34 +0000 (20:03 +0800)]
Make the storage use ceph

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>
7 years agofix loss of group vars definition 43/39243/1
chigang [Mon, 14 Aug 2017 09:26:19 +0000 (17:26 +0800)]
fix loss of group vars definition

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>
7 years agoModify moon network 15/39215/1
Harry Huang [Mon, 14 Aug 2017 02:24:03 +0000 (10:24 +0800)]
Modify moon network

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>