compass4nfv.git
6 years agoFix downloading lxc image 33/61833/1 stable/fraser
Harry Huang [Wed, 5 Sep 2018 01:50:57 +0000 (09:50 +0800)]
Fix downloading lxc image

Change-Id: I195a2203c9c998e264c54effc37346fec67c6c6a
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
6 years agoUsing compass4nfv/compass-deck:7.0.0 01/61801/1
Harry Huang [Tue, 4 Sep 2018 07:09:37 +0000 (15:09 +0800)]
Using compass4nfv/compass-deck:7.0.0

Change-Id: Id60fd9082c46ae9e52e612ef6f99eab34af7eea2
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
6 years agoModify download url for lxc image 85/61585/1
Harry Huang [Thu, 30 Aug 2018 09:11:09 +0000 (17:11 +0800)]
Modify download url for lxc image

JIRA: COMPASS-607

Download lxc image from a local server in huawei
lab to avoid lxc pre-staged failur

Change-Id: Ia941d9e883ab5a4ff9c839e65e53703c6c237461
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agocheck ip_forward and set to 1 41/58741/1 opnfv-6.2.0
wutianwei [Tue, 19 Jun 2018 02:52:26 +0000 (10:52 +0800)]
check ip_forward and set to 1

JIRA: COMPASS-600

Change-Id: I21ace213060d9d0dde7f7f4b5cf1f79d567ebeb0
Signed-off-by: wutianwei <wutianwei1@huawei.com>
(cherry picked from commit 1a1ed339b96458c483976a820e30b3a1bbb0b5d8)

7 years agoSpecify netmask for install NIC 81/58581/1
Harry Huang [Fri, 15 Jun 2018 06:18:50 +0000 (14:18 +0800)]
Specify netmask for install NIC

JIRA: COMPASS-599

Interface that be used as install NIC may
have uncertain netmask which may cause
network issue.

Change-Id: Ic10709ca82a0d16af614ac327160f97a654d2294
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
(cherry picked from commit da8ccfe3c89726673ff6c3d2a967fd670d40b6fd)

7 years agoset spice-html5 git repository URL 69/58469/1
wutianwei [Thu, 7 Jun 2018 08:55:44 +0000 (16:55 +0800)]
set spice-html5 git repository URL

Change-Id: Ie2d473d3cdc804f698244f163c62bed30a5dd33d
Signed-off-by: wutianwei <wutianwei1@huawei.com>
(cherry picked from commit 3e8cc46ac37c5b89b606bd2ee1e3b389c84fd7fa)

7 years agofix 3 test failure in neutron_trunk 01/57101/1 opnfv-6.1.0
wutianwei [Fri, 27 Apr 2018 06:42:07 +0000 (14:42 +0800)]
fix 3 test failure in neutron_trunk

JIRA: COMPASS-595

set enable_proxy_headers_parsing to True in neutron config file

Change-Id: I63a0795cad02051164b0881b8b33ac14a1562c9d
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoadd the command "rm /etc/resolve.conf" in cache_prep_commands 37/57037/1
wutianwei [Thu, 3 May 2018 02:38:44 +0000 (10:38 +0800)]
add the command "rm /etc/resolve.conf" in cache_prep_commands

Change-Id: I89b15e7e200d37ac5d44cfee974f0f1c63981625
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoStor4nfv: Install ansible version 2.4 63/54563/2 opnfv-6.0.0
ramamani yeleswarapu [Mon, 26 Mar 2018 21:23:49 +0000 (14:23 -0700)]
Stor4nfv: Install ansible version 2.4

Ansible 2.5 release is causing errors in the installation of
ceph-ansible (for ceph-mon). This patch fixes the ansible
version installed on kube_master to 2.4.3 to address the ceph
errors.

Also, adds these post-install tasks:
 - run 'modprobe rbd'
 - create opensds default profile
 - create csi pods.

Change-Id: Iee8d27da68896009d2e27ce4a6c7f805524d086d
Signed-off-by: Ramamani Yeleswarapu <ramamani.yeleswarapu@intel.com>
7 years agoWorkaround for Tacker in HA scenarios 93/56193/2
Yifei Xue [Sat, 21 Apr 2018 13:38:16 +0000 (21:38 +0800)]
Workaround for Tacker in HA scenarios

JIRA: -

For Tacker service in HA mode, it only generates VIM fernet key on
one of the Tacker hosts. This may cause error when a request is
been routed to another host. We need to use Barbican and Mistral
components. But now OSA did not support Mistral yet. So we add
a workaround here to get over this issue.

Change-Id: I9aa228ec2ac7011cedb1eb503611ca24c7666caa
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
(cherry picked from commit d7156c0b772ada65ff3d094bd70814bf5b0cb4e7)

7 years agoEnable the neutron trunk 29/55329/1
wutianwei [Tue, 10 Apr 2018 04:15:42 +0000 (12:15 +0800)]
Enable the neutron trunk

Change-Id: Ieb5d505adc88644cfc1f802364064f5551a1ed53
Signed-off-by: wutianwei <wutianwei1@huawei.com>
(cherry picked from commit 01ff42530757cf99e99b0d63d6daa822b93e1941)

7 years agoFix pip version to 9.0.1 89/55289/1
Harry Huang [Mon, 2 Apr 2018 09:18:44 +0000 (17:18 +0800)]
Fix pip version to 9.0.1

JIRA: COMPASS-593

OpenStack Ansible install latest pip on
each contoller node and the latest pip
(currently 10.0.0b1) doesn't support empty
package list to be passed into it. Add a
user config file to fix pip version.

Change-Id: Ie193389c2b4995cdc4b81876f8cdcfc512cf5ea1
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
(cherry picked from commit 18cf3eec4990e2e747cadc8b9c177e5b1d0c67f4)

7 years agoInstall PBR to ensure we're not breaking builds 79/54679/1
wutianwei [Fri, 30 Mar 2018 08:17:45 +0000 (16:17 +0800)]
Install PBR to ensure we're not breaking builds

Change-Id: I4e7b47a8f2021a1cf25b80d7818f4dabb441c39f
Signed-off-by: wutianwei <wutianwei1@huawei.com>
(cherry picked from commit 4ce9351a4802a1bdaecdf1a0fe982e2878755c03)

7 years agoMerge "Fix Stor4nfv CI issues due to repo changes"
Yifei Xue [Wed, 21 Mar 2018 03:18:19 +0000 (03:18 +0000)]
Merge "Fix Stor4nfv CI issues due to repo changes"

7 years agoFix Stor4nfv CI issues due to repo changes 17/54117/3
ramamani yeleswarapu [Mon, 19 Mar 2018 14:42:47 +0000 (07:42 -0700)]
Fix Stor4nfv CI issues due to repo changes

Applies the changes in stor4nfv repo and consolidates
opensds and nbp inventories. This fixes the CI failure in
stor4nfv scenarios.

Change-Id: I91f291d52488771934e0e0e93da2c56715abc877
Signed-off-by: Ramamani Yeleswarapu <ramamani.yeleswarapu@intel.com>
7 years agoMerge "Fix workaround of image upload through horizon"
Yifei Xue [Tue, 20 Mar 2018 08:48:52 +0000 (08:48 +0000)]
Merge "Fix workaround of image upload through horizon"

7 years agoFix workaround of image upload through horizon 23/52923/7
Harry Huang [Thu, 1 Mar 2018 08:42:06 +0000 (16:42 +0800)]
Fix workaround of image upload through horizon

1. using horizon group limit
2. set fact openstack_release to hostvars of
localhost

Change-Id: I0af0da1a508e862d0e2bb975f29897ec2948617f
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agocommitter nomination for Harry Huang 45/53745/2
chigang [Wed, 14 Mar 2018 03:18:04 +0000 (11:18 +0800)]
committer nomination for Harry Huang

Hi team, I propose to nominate Harry as a committer of Compass4nfv.
Harry did a lots of work in containized compass core and he is so kind to
help fix Compass4nfv issues in Fraser release.

More detailed contributions are listed:
https://gerrit.opnfv.org/gerrit/#/q/owner:huangxiangyu5%2540huawei.com+status:merged+projects:compass4nfv

please vote +2 if you agree with Harry's nomination.

Change-Id: I3a8cbbe649688cb60271375bbfc09aa0eadfae3b
Signed-off-by: chigang <chigang@huawei.com>
7 years agocommitter nomination for Tianwei Wu 47/53747/2
chigang [Wed, 14 Mar 2018 03:47:27 +0000 (11:47 +0800)]
committer nomination for Tianwei Wu

Hi committers, I propose to nominate Tianwei as a committer of Compass4nfv.
He did a great work in OpenStack and Ceph integration and very kind to help others to
fix the issues of OpenStack-ansible.

More detailed contributions are listed:
https://gerrit.opnfv.org/gerrit/#/q/owner:wutianwei1%2540huawei.com+status:merged+projects:+compass4nfv

Please vote +2 if you agree with Tianwei's nomanation.

Change-Id: Ic5a534c6617d5c159ac18fa36ae63028d8a1e266
Signed-off-by: chigang <chigang@huawei.com>
7 years agocommitter nomination for Yibo Cai 43/53743/3
chigang [Wed, 14 Mar 2018 03:18:04 +0000 (11:18 +0800)]
committer nomination for Yibo Cai

Hi committers, I propose to nominate Yibo as a committer of Compass4nfv.
Yibo did a great work in supporting Kubernetes running on ARM64 servers and
Kubernetes scenarios integration in Fraser release.
More detailed contributions are listed:
https://gerrit.opnfv.org/gerrit/#/q/owner:yibo.cai%2540arm.com+status:merged

Please vote +2 if you agree with Yibo's monination.

Change-Id: Ie9ed38f9aac2a672e54d8ffac75c8e13eaf27871
Signed-off-by: chigang <chigang@huawei.com>
7 years agoMerge "Committer_nomination_rama"
Justin chi [Mon, 19 Mar 2018 12:48:45 +0000 (12:48 +0000)]
Merge "Committer_nomination_rama"

7 years agoMerge "Update collectd-gnocchi conf for DEFAULT_ARCHIVE_POLICY"
Yifei Xue [Mon, 19 Mar 2018 01:47:58 +0000 (01:47 +0000)]
Merge "Update collectd-gnocchi conf for DEFAULT_ARCHIVE_POLICY"

7 years agoMerge "Copy ml2_conf.ini to ODL hosts"
Yifei Xue [Mon, 19 Mar 2018 01:47:15 +0000 (01:47 +0000)]
Merge "Copy ml2_conf.ini to ODL hosts"

7 years agoBug fix for tacker installation 39/53939/1
Yifei Xue [Fri, 16 Mar 2018 06:31:22 +0000 (14:31 +0800)]
Bug fix for tacker installation

JIRA: -

By default, os_tacker will use "{{ tacker_bin | dirname }}/etc/tacker"
as tacker_etc_dir. This will cause a failure when keystone creates
fernet key for VIM in tacker due to keystone uses "/etc/tacker" by
default. So this patch is proposed to set tacker_etc_dir to
"/etc/tacker".

Change-Id: Icbffaeb1376f83b4c9904b0258139ce1518ac9f8
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
7 years agoCopy ml2_conf.ini to ODL hosts 59/53859/3
Yifei Xue [Thu, 15 Mar 2018 09:19:47 +0000 (17:19 +0800)]
Copy ml2_conf.ini to ODL hosts

JIRA: -

SFC test cases in functest need to read ml2_conf.ini to get
ODL controller's IP and port. However they can only gei this file
from control nodes. So we copy this from neutron server containers
to ODL hosts.

Change-Id: I21acbaed6de924247d249d6c4015d9f90c763a08
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
7 years agoUpdate collectd-gnocchi conf for DEFAULT_ARCHIVE_POLICY 79/53879/1
Emma Foley [Thu, 15 Mar 2018 13:01:15 +0000 (13:01 +0000)]
Update collectd-gnocchi conf for DEFAULT_ARCHIVE_POLICY

* Configure the DEFAULT_ARCHIVE_POLICY option.
* This will set the default archive policy to "high".

Change-Id: I42fefc0e9a79fe1032c42156a21f95a96ad2a4ad
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
7 years agoAdd SDN controller's IP in openrc file for functest 35/53735/2
Yifei Xue [Wed, 14 Mar 2018 01:16:41 +0000 (09:16 +0800)]
Add SDN controller's IP in openrc file for functest

JIRA: COMPASS-590

From the time being, Functest ODL testcase calculates ODL ip thanks to Neutron IP.
It should be calculated on Installer side (releng jobs) and set via SDN_CONTROLLER_IP in Functest env instead.
https://git.opnfv.org/functest/tree/functest/opnfv_tests/sdn/odl/odl.py#n185
It ensures that Functest can rely on SDN_CONTROLLER_IP in all cases (OpenStack end users included)

Change-Id: I01c0af952dbb21592aa973daaea3845346dc833f
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
7 years agoCommitter_nomination_rama 39/53739/2
chigang [Wed, 14 Mar 2018 02:54:30 +0000 (10:54 +0800)]
Committer_nomination_rama

Hi committers, I propose to nominate Rama as a committer of Compass4nfv.
Rama did a great work in integration Barometer and Stor4nrfv, she did lots of
contributrion in Compass4nfv scenarios integration in Fraser release.
More detailed contributions are listed:
https://gerrit.opnfv.org/gerrit/#/q/owner:ramamani.yeleswarapu%2540intel.com+status:merged

Please +2 vote for Rama,if you agree with Rama's nomination.

Change-Id: I08113e8b5eae5e6c461a47e83186d5e80c6e0946
Signed-off-by: chigang <chigang@huawei.com>
7 years agoMerge "Modify deploy variable"
Yifei Xue [Tue, 13 Mar 2018 01:43:06 +0000 (01:43 +0000)]
Merge "Modify deploy variable"

7 years agoMerge "add a multus with sriov interfaces installation"
Justin chi [Fri, 9 Mar 2018 03:51:29 +0000 (03:51 +0000)]
Merge "add a multus with sriov interfaces installation"

7 years agoadd a multus with sriov interfaces installation 67/52067/9
Di Xu [Thu, 4 Jan 2018 10:21:20 +0000 (18:21 +0800)]
add a multus with sriov interfaces installation

Support deploying multus sriov CNI plugins by setting
environment "kube_network_plugin" to "sriov".

Change-Id: I3672fd7b6036063bdee57450c2100f39aa5ef68b
Signed-off-by: Di Xu <di.xu@arm.com>
7 years agoMerge "Remove the password of openstack services in compass4nfv"
Yifei Xue [Tue, 6 Mar 2018 12:42:33 +0000 (12:42 +0000)]
Merge "Remove the password of openstack services in compass4nfv"

7 years agoAdd git package for k8s deployment 53/53153/1
Yifei Xue [Tue, 6 Mar 2018 09:28:05 +0000 (17:28 +0800)]
Add git package for k8s deployment

JIRA: -

Ks8 deployment doesn't install git, this will cause failure in
Stor4nfv scenarios. So proposing this patch to solve this.

Change-Id: I98ab0b3a2a5f46eb1eebd4ea94fb60ccafe10272
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
7 years agoRemove the password of openstack services in compass4nfv 41/53141/1
wutianwei [Tue, 6 Mar 2018 03:15:33 +0000 (11:15 +0800)]
Remove the password of openstack services in compass4nfv

JIRA: COMPASS-586

There are lots of hardcode about openstack service name and password.
We would generate the services password randomly when running role config-osa.

Change-Id: Ia0fec0c95a99d378febc837794e8ff550d10af4f
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agodeploy/conf: add arm baremetal pod configuration 79/53079/1
Yibo Cai [Mon, 5 Mar 2018 05:01:50 +0000 (13:01 +0800)]
deploy/conf: add arm baremetal pod configuration

- k8-nosdn-nofeature-noha.yml: 1 master + 1 slave
- k8-nosdn-nofeature-ha.yml: 3 masters + 2 slaves

Change-Id: I7cf4bfd7264bfdaf6d89841c8f39daf0d3d6bae2
Signed-off-by: Yibo Cai <yibo.cai@arm.com>
7 years agomove the update cache after role of setup-k8s-network 65/52965/1
wutianwei [Fri, 2 Mar 2018 03:55:27 +0000 (11:55 +0800)]
move the update cache after role of setup-k8s-network

If don't setup network, the host cannot connect to the Internet on baremetal pod.
So we should update cache after setting the network.

Change-Id: Ief0eb2d82c67b0ace2cfb233b9792f6e009a1524
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoMerge "Update Stor4nfv plugin with nbp csi install"
Yifei Xue [Thu, 1 Mar 2018 01:07:01 +0000 (01:07 +0000)]
Merge "Update Stor4nfv plugin with nbp csi install"

7 years agoMerge "Auto Generated INFO.yaml file"
Justin chi [Wed, 28 Feb 2018 13:33:30 +0000 (13:33 +0000)]
Merge "Auto Generated INFO.yaml file"

7 years agoAdd judgement for k8s stor4nfv 97/52797/1
wutianwei [Wed, 28 Feb 2018 06:36:27 +0000 (14:36 +0800)]
Add judgement for k8s stor4nfv

Don't run storage roles when scenario isn't stor4nfv

Change-Id: Ia8e65c90b58533427e74bad225aaa962d2583934
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoMerge "modify the intel-pod17 k8s dha file"
Yifei Xue [Wed, 28 Feb 2018 02:57:50 +0000 (02:57 +0000)]
Merge "modify the intel-pod17 k8s dha file"

7 years agoMerge "Update Barometer plugin - follow-up patch"
Yifei Xue [Wed, 28 Feb 2018 01:14:39 +0000 (01:14 +0000)]
Merge "Update Barometer plugin - follow-up patch"

7 years agoUpdate Stor4nfv plugin with nbp csi install 01/52701/2
ramamani yeleswarapu [Tue, 27 Feb 2018 04:30:44 +0000 (20:30 -0800)]
Update Stor4nfv plugin with nbp csi install

Change-Id: Ia32ea3c29b78f18aae258fa89b017e894b09301f
Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
7 years agoMerge "Enable CSI plugin for Stor4nfv scenario"
Yifei Xue [Tue, 27 Feb 2018 11:38:50 +0000 (11:38 +0000)]
Merge "Enable CSI plugin for Stor4nfv scenario"

7 years agoEnable CSI plugin for Stor4nfv scenario 27/52627/9
Yifei Xue [Mon, 26 Feb 2018 09:15:45 +0000 (17:15 +0800)]
Enable CSI plugin for Stor4nfv scenario

JIRA: -

Add some configurations to enable CSI plugin in k8s v1.9 which
is used by Stor4nfv scenario.

Change-Id: I78e0b39f31ff666eace50921c691107154dcb249
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
7 years agomodify the intel-pod17 k8s dha file 23/52723/1
wutianwei [Tue, 27 Feb 2018 09:32:30 +0000 (17:32 +0800)]
modify the intel-pod17 k8s dha file

Change-Id: I06e53449a68d8b4291e5c9c4682f42410f28ef68
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoAdd dha files 13/52713/2
wutianwei [Tue, 27 Feb 2018 07:45:22 +0000 (15:45 +0800)]
Add dha files

Add the huawei-pod1 and huawei-pod2 k8s dha files

Change-Id: Id191c6d18508f15d9032a2cb3d0f563c059a7d53
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoMerge "set the kubernetes variable"
Yifei Xue [Tue, 27 Feb 2018 07:20:53 +0000 (07:20 +0000)]
Merge "set the kubernetes variable"

7 years agoset the kubernetes variable 99/52699/2
wutianwei [Tue, 27 Feb 2018 04:10:06 +0000 (12:10 +0800)]
set the kubernetes variable

According to DEPLOY_SCENARIO, we set different nfvi and distro.

Change-Id: I3082923fc7d4a1309c1de83f988f831d67c10d64
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoSet storage role optional 09/52709/1
Harry Huang [Tue, 27 Feb 2018 06:09:48 +0000 (14:09 +0800)]
Set storage role optional

JIRA: -

storage_master and storage_node role are
currently required in kubernetes scenario
which cause scenario with no storage_master
or storage_node fails to be deployed.

Change-Id: I0fd28a7fd4a6161be96044382ea509832473dc71
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agoMerge "doc: add arm deployment guide"
Justin chi [Tue, 27 Feb 2018 02:35:41 +0000 (02:35 +0000)]
Merge "doc: add arm deployment guide"

7 years agoModify deploy variable 25/52625/1
Harry Huang [Mon, 26 Feb 2018 07:42:33 +0000 (15:42 +0800)]
Modify deploy variable

JIRA: -

Under current deploy procedure, when compass
containers are running, they will not be
recreated during redeploy. Using DEPLOY_FIRST_TIME
to determine to run the container create process
when first time deploy

Change-Id: Ic13fd84ed41afdad29c96f803feff3298cbbcfde
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agoAdd plugin for Stor4nfv for k8s deploy 77/51877/12
ramamani yeleswarapu [Thu, 8 Feb 2018 05:33:40 +0000 (21:33 -0800)]
Add plugin for Stor4nfv for k8s deploy

- Adds 'stor4nfv' plugin which installs OpenSDS using stor4nfv.
- Adds k8s-nosdn-stor4nfv-ha scenario file.
- Adds k8s-nosdn-stor4nfv-noha scenario file.

Change-Id: Iee718a48994ad4e55f4b7a01933bd4e7773ac67f
Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
7 years agoMerge "build/arm64: separate compass-tasks"
Yifei Xue [Sat, 24 Feb 2018 07:37:32 +0000 (07:37 +0000)]
Merge "build/arm64: separate compass-tasks"

7 years agoUpdate Barometer plugin - follow-up patch 53/52553/1
ramamani yeleswarapu [Fri, 23 Feb 2018 23:14:09 +0000 (15:14 -0800)]
Update Barometer plugin - follow-up patch

Modifies/updates the following:

- Adds Hostname and enables all plugins in default_plugins
- Adds rrdtool conf template
- Adds a check to enable ExtraStats in virt conf
  only when rdt is not available.

Change-Id: I7af7d86fadcaa0ccf3ba2b67d58c37e37ba84a73
Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
7 years agoMerge "add a multus with 2 fannel interfaces installation"
Yifei Xue [Thu, 22 Feb 2018 00:38:54 +0000 (00:38 +0000)]
Merge "add a multus with 2 fannel interfaces installation"

7 years agoSupport featrue plugin for k8s 07/52307/1
Harry Huang [Mon, 19 Feb 2018 14:51:42 +0000 (22:51 +0800)]
Support featrue plugin for k8s

JIRA: COMPASS-587

Enable plugin siwtch list for k8s scenario.

Change-Id: Id9286567faf47be2bbaa7982a6fcadea92e16ad2
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agoMerge "deploy/conf: add ha role to k8 scenario"
HU Xinhui [Sat, 17 Feb 2018 01:26:37 +0000 (01:26 +0000)]
Merge "deploy/conf: add ha role to k8 scenario"

7 years agodoc: add arm deployment guide 17/49717/3
Yibo Cai [Tue, 26 Dec 2017 09:06:24 +0000 (17:06 +0800)]
doc: add arm deployment guide

Change-Id: Ib66003003ea4697e9634201802e9169bc53a8ade
Signed-off-by: Yibo Cai <yibo.cai@arm.com>
7 years agoadd a multus with 2 fannel interfaces installation 21/50821/6
Di Xu [Thu, 4 Jan 2018 10:21:20 +0000 (18:21 +0800)]
add a multus with 2 fannel interfaces installation

Support deploying multus multiple flannel CNI plugins by setting
environment "kube_network_plugin" to "2flannel".

Change-Id: I23a3d42452b4a5e0858a18934f508649f5961e7a
Signed-off-by: Di Xu <di.xu@arm.com>
7 years agodeploy/conf: add ha role to k8 scenario 73/52073/1
Yibo Cai [Tue, 13 Feb 2018 04:33:16 +0000 (12:33 +0800)]
deploy/conf: add ha role to k8 scenario

Only K8s ha scenario is supported now. This noha scenario is broken.
Add minor fixup so we can still use it to deploy K8s on two nodes.

Change-Id: I3a763fe07ea2d31cd3ae049621e3d978c1bca4be
Signed-off-by: Yibo Cai <yibo.cai@arm.com>
7 years agoUpdate the odl_sfc plugin to use the latest version 45/51745/4
Yifei Xue [Tue, 6 Feb 2018 03:46:09 +0000 (11:46 +0800)]
Update the odl_sfc plugin to use the latest version

JIRA: -

We have upgraded odl version to nitrogen SR1. So this patch
we are going to update the odl_sfc plugin to satisfy the
latest odl version.

Change-Id: I7342fad58c0ae21f918e27e9d72deae214c2af4e
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
7 years agobuild/arm64: separate compass-tasks 23/52023/1
Yibo Cai [Mon, 12 Feb 2018 02:11:22 +0000 (10:11 +0800)]
build/arm64: separate compass-tasks

Follow up https://gerrit.opnfv.org/gerrit/51227/

Change-Id: I9d86af5fe0c74b4fb06e018e783220ee6b8728ee
Signed-off-by: Yibo Cai <yibo.cai@arm.com>
7 years agoMerge "change k8s version to v1.9.1"
HU Xinhui [Sun, 11 Feb 2018 02:15:10 +0000 (02:15 +0000)]
Merge "change k8s version to v1.9.1"

7 years agochange k8s version to v1.9.1 41/51841/2
hu xinhui [Tue, 6 Feb 2018 02:20:40 +0000 (10:20 +0800)]
change k8s version to v1.9.1

JIRA: -

1. compass4nfv can deploy v1.9.1  kubernetes
2. end user can use the kubernetes dashboard

Change-Id: I274dda38599da95f382dfcb4159b530da8422fd8
Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
7 years agoAdd workaround for horizon image upload issue 97/50897/4
Harry Huang [Mon, 22 Jan 2018 04:12:08 +0000 (12:12 +0800)]
Add workaround for horizon image upload issue

JIRA: COMPASS-573

1. With HORIZON_IMAGES_UPLOAD_MODE set to direct
Horizon provides the endpoint for Glance based on
OPENSTACK_ENDPOINT_TYPE. If OPENSTACK_ENDPOINT_TYPE
is set to internalURL any browser outside the internal
network is unable to upload image. Add ansible task to
set HORIZON_IMAGES_UPLOAD_MODE to legacy as a workaround.

2. Add ansible lookup plugin to get openstack release

3. set openstack_release into group_vars/all in config-osa
to make this variable readable for other tasks

Change-Id: I9ef358e1f4acb0c329a032e18359de12284f3b56
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agoBug fix for tacker installation on centos7 41/51741/2
Yifei Xue [Tue, 6 Feb 2018 03:06:29 +0000 (11:06 +0800)]
Bug fix for tacker installation on centos7

JIRA: -

Currently there is no variable definition file of tacker
for centos in os_tacker repo. This will lead an error
while including vars on centos deployment. So this patch will
add a file named "redhat-7.yml" for centos.

Change-Id: I965834adb0d2d25e5a68a9c7dbb397342108078f
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
7 years agoMerge "Fix some hard coding for some ip assignments"
Yifei Xue [Tue, 6 Feb 2018 01:54:03 +0000 (01:54 +0000)]
Merge "Fix some hard coding for some ip assignments"

7 years agoMerge "deploy: remove gic version in arm vm template"
Yifei Xue [Tue, 6 Feb 2018 01:46:56 +0000 (01:46 +0000)]
Merge "deploy: remove gic version in arm vm template"

7 years agoMerge "Ansible callback support both V2.3 and V2.4"
Yifei Xue [Tue, 6 Feb 2018 01:44:37 +0000 (01:44 +0000)]
Merge "Ansible callback support both V2.3 and V2.4"

7 years agoMerge "Upgrade ODL version to Nitrogen SR1"
Yifei Xue [Tue, 6 Feb 2018 01:41:26 +0000 (01:41 +0000)]
Merge "Upgrade ODL version to Nitrogen SR1"

7 years agoMerge "Seperate compass-tasks"
Yifei Xue [Mon, 5 Feb 2018 10:56:58 +0000 (10:56 +0000)]
Merge "Seperate compass-tasks"

7 years agoMerge "Compass4nfv virtual deploy support direct connection"
Yifei Xue [Mon, 5 Feb 2018 03:59:44 +0000 (03:59 +0000)]
Merge "Compass4nfv virtual deploy support direct connection"

7 years agoMerge "Update Barometer plugin to install influxdb, grafana"
Yifei Xue [Sat, 3 Feb 2018 01:15:17 +0000 (01:15 +0000)]
Merge "Update Barometer plugin to install influxdb, grafana"

7 years agoMerge "Update Barometer plugin to use collectd container"
Yifei Xue [Sat, 3 Feb 2018 01:06:20 +0000 (01:06 +0000)]
Merge "Update Barometer plugin to use collectd container"

7 years agoAuto Generated INFO.yaml file 39/51539/1
agardner [Fri, 2 Feb 2018 22:36:10 +0000 (17:36 -0500)]
Auto Generated INFO.yaml file

INFO.yaml meant to be machine readable.
This file was auto generated from an ldap lookup
and your projects INFO file.

Meeting times are not currently filled out.
please ammend this patchset to complete

Going forward comitter promotions should be done
against this file.

PTLs:
Must be merged for you to gain delete access on
testresults.opnfv.org

Change-Id: I3144202a10825e7907be09cc3c66a4227c34064c
Signed-off-by: agardner <agardner@linuxfoundation.org>
7 years agoUpdate Barometer plugin to install influxdb, grafana 67/51367/2
ramamani yeleswarapu [Tue, 30 Jan 2018 19:32:14 +0000 (11:32 -0800)]
Update Barometer plugin to install influxdb, grafana

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>
7 years agoAnsible callback support both V2.3 and V2.4 47/51447/2
Harry Huang [Thu, 1 Feb 2018 07:56:03 +0000 (15:56 +0800)]
Ansible callback support both V2.3 and V2.4

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>
7 years agoSeperate compass-tasks 27/51227/6
Harry Huang [Sat, 27 Jan 2018 06:34:59 +0000 (14:34 +0800)]
Seperate compass-tasks

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>
7 years agoMerge "Collect log from rsyslog container"
Yifei Xue [Wed, 31 Jan 2018 01:20:05 +0000 (01:20 +0000)]
Merge "Collect log from rsyslog container"

7 years agoUpgrade ODL version to Nitrogen SR1 49/51349/1
Yifei Xue [Tue, 30 Jan 2018 12:28:31 +0000 (20:28 +0800)]
Upgrade ODL version to Nitrogen SR1

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>
7 years agoCollect log from rsyslog container 41/51341/1
wutianwei [Tue, 30 Jan 2018 06:58:25 +0000 (14:58 +0800)]
Collect log from rsyslog container

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>
7 years agoUpdate Barometer plugin to use collectd container 53/50953/4
ramamani yeleswarapu [Mon, 22 Jan 2018 18:19:40 +0000 (10:19 -0800)]
Update Barometer plugin to use collectd container

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>
7 years agoAdd tacker support in compass4nfv for Fraser 35/51235/6
Yifei Xue [Sat, 27 Jan 2018 08:48:33 +0000 (16:48 +0800)]
Add tacker support in compass4nfv for Fraser

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>
7 years agoMerge "Change gnocchi storage and increase the capacity of ceph"
Yifei Xue [Tue, 30 Jan 2018 01:03:47 +0000 (01:03 +0000)]
Merge "Change gnocchi storage and increase the capacity of ceph"

7 years agoCompass4nfv virtual deploy support direct connection 37/51237/1
wutianwei [Sat, 27 Jan 2018 10:08:34 +0000 (18:08 +0800)]
Compass4nfv virtual deploy support direct connection

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>
7 years agoChange gnocchi storage and increase the capacity of ceph 23/50823/6
wutianwei [Fri, 19 Jan 2018 09:07:41 +0000 (17:07 +0800)]
Change gnocchi storage and increase the capacity of ceph

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>
7 years agoEnable neutron port trunk 23/51223/1
Yifei Xue [Sat, 27 Jan 2018 03:41:04 +0000 (11:41 +0800)]
Enable neutron port trunk

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>
7 years agoMerge "Use run_dir instead of hard coding"
HU Xinhui [Sat, 27 Jan 2018 02:59:48 +0000 (02:59 +0000)]
Merge "Use run_dir instead of hard coding"

7 years agoChange the scenario file for k8s api ha 61/51161/3
hu xinhui [Fri, 26 Jan 2018 04:30:26 +0000 (12:30 +0800)]
Change the scenario file for k8s api ha

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>
7 years agoMerge "spport k8s apiserver HA compass installer deploy k8s using kubespray for...
HU Xinhui [Fri, 26 Jan 2018 01:32:19 +0000 (01:32 +0000)]
Merge "spport k8s apiserver HA     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>"

7 years agodeploy: remove gic version in arm vm template 09/51109/1
Yibo Cai [Thu, 25 Jan 2018 05:10:23 +0000 (13:10 +0800)]
deploy: remove gic version in arm vm template

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>
7 years agoMerge "Fix subnet create fail when disable ext-net"
Yifei Xue [Wed, 24 Jan 2018 09:47:07 +0000 (09:47 +0000)]
Merge "Fix subnet create fail when disable ext-net"

7 years agoMerge "docker-compose: support aarch64"
Yifei Xue [Wed, 24 Jan 2018 09:30:34 +0000 (09:30 +0000)]
Merge "docker-compose: support aarch64"

7 years agoMerge "deploy/cobbler: drop tcp_tw_recycle in sysctl.conf"
Yifei Xue [Wed, 24 Jan 2018 09:28:04 +0000 (09:28 +0000)]
Merge "deploy/cobbler: drop tcp_tw_recycle in sysctl.conf"

7 years agospport k8s apiserver HA 09/50609/4
hu xinhui [Wed, 10 Jan 2018 08:03:25 +0000 (16:03 +0800)]
spport k8s apiserver HA
    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>
7 years agoUse run_dir instead of hard coding 79/50979/1
Harry Huang [Tue, 23 Jan 2018 09:10:58 +0000 (17:10 +0800)]
Use run_dir instead of hard coding

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>
7 years agoFix some hard coding for some ip assignments 69/49569/6
Harry Huang [Wed, 13 Dec 2017 09:04:21 +0000 (17:04 +0800)]
Fix some hard coding for some ip assignments

JIRA: COMPASS-570

1. fix hard coding in ip assignments for
install network. support full ip assignments
from network.yml
2. remove some used config item in deploy/conf

Change-Id: I566b74f4a55e6b96af3ee9f41d1e183a73424a91
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agoFix subnet create fail when disable ext-net 03/50903/1
Harry Huang [Mon, 22 Jan 2018 08:11:48 +0000 (16:11 +0800)]
Fix subnet create fail when disable ext-net

JIRA: COMPASS-575

Add missing condition check for subnet create
task.

Change-Id: Ibd25a7e7e4edd40be6b0f14bb8bffb828a65f648
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agoMerge "Support multi-cluster deploy"
Yifei Xue [Mon, 22 Jan 2018 08:06:29 +0000 (08:06 +0000)]
Merge "Support multi-cluster deploy"

7 years agoSupport multi-cluster deploy 61/47561/4
Harry Huang [Tue, 21 Nov 2017 07:29:11 +0000 (15:29 +0800)]
Support multi-cluster deploy

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>