compass4nfv.git
7 years agoMerge "bugfix" into stable/euphrates
Justin chi [Sun, 29 Oct 2017 12:53:37 +0000 (12:53 +0000)]
Merge "bugfix" into stable/euphrates

7 years agofix ceph reboot issue 55/46355/1
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 agobugfix 53/46353/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>
(cherry picked from commit 660b8bfbb0546322f35f8c7f54d62e1bf5d5dd95)

7 years agoUpdate testresult link to Euphrates in release notes. 65/45765/1 opnfv-5.0.0
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>
(cherry picked from commit 145d0ff2367a58b40e39970e3cb253c52af05c01)

7 years agoFix ceilometer issue 47/45547/1
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>
(cherry picked from commit f55635085312ab2c367d1ae37d0979874b2a7d82)

7 years agoUpdate the Euphrates docs for kubernetes scenario 43/45543/1
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>
(cherry picked from commit 4f90858ffbe3e566f30f8bf58309d28989212d0e)

7 years agoAdd k8-nosdn-nofeature-noha scenario support 17/45417/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>
(cherry picked from commit 2e3e4dcfd50ad29f80f675fcefff3c3a579338e5)

7 years agoAscertain the pandas version 07/45207/1
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>
(cherry picked from commit 05aafa14c76537222fac2f93fc6ab7bec741cff5)

7 years agoModification for kargo to generate dynamic inventory 63/45163/1
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>
(cherry picked from commit 179cd6db9f1bd9be1606187cf74e128bede7a8e6)

7 years agoModefy configuration for refstack_defcore 73/44973/1
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>
(cherry picked from commit b3aec6773447e8ab0b532723b08fd76ebddf9d8c)

7 years agoMerge "Add customized DNS server support" into stable/euphrates
Justin chi [Wed, 11 Oct 2017 07:50:53 +0000 (07:50 +0000)]
Merge "Add customized DNS server support" into stable/euphrates

7 years agoDoc updates for Euphrates 61/44761/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>
(cherry picked from commit 35e9b46afe0589d0aa093ce1817885ddb09f9df7)

7 years agoAdd customized DNS server support 45/44745/1
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>
(cherry picked from commit 7b110b32e0688896967703dc2bfe7192d469164f)

7 years agoAdd default value for offline deploy switch 67/43767/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>
(cherry picked from commit 7e70daca6c7ac54e03fc72f6e27940c778ed5521)

7 years agoSFC scenario release notes and bug fix for SFC switch 11/43711/1
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>
(cherry picked from commit 1c0f6a907f57e75529dcef959763220c10e7e1f0)

7 years agoadd docker images tag 03/43703/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 65/43465/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>
(cherry picked from commit f70d3aa8ffe7878e86b8f12c91c99018924a74b3)

7 years agofix yaml install 87/43187/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>
(cherry picked from commit fb952b8c4cb4a47ad33cf7f7c3a06b83954343a2)

7 years agoUpdate the documents for compass E release 87/42187/1
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>
(cherry picked from commit 074eab95235e35431b0439e42d253d44b139004e)

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 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>
7 years agoAdapt network.yml to OpenStack Ansible 59/38259/14
Harry Huang [Tue, 25 Jul 2017 09:01:04 +0000 (17:01 +0800)]
Adapt network.yml to OpenStack Ansible

JIRA:COMPASS-557

1. modify sys_intf_mappings and ip_settings in
network.yml to synchronize with OSA network.
networks compass build will be mgmt, external,
tenant, storage.
2. modify compass_conf to support new netwok.yml
3. fix some hard coding when transfer ip parameters
4. support heterogeneous network

Change-Id: Ib4a8af1f96a40e6456242e3dc2b456e0c8c17c2e
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agoEdit Expansion Guide 93/34093/2
liyuenan [Wed, 3 May 2017 02:03:44 +0000 (10:03 +0800)]
Edit Expansion Guide

JIRA: -

mgmt and storage's network ip_ranges start ip needs update as the
first 6 IPs are already taken by the first deployment.

Change-Id: Iee01852c04ea7638999f664d567caaea060bdaf9
Signed-off-by: liyuenan <liyuenan@huawei.com>
7 years agoMerge "Create endpoint in different region"
Justin chi [Wed, 9 Aug 2017 06:43:10 +0000 (06:43 +0000)]
Merge "Create endpoint in different region"

7 years agoyardstick installation for compass4nfv 05/38705/3
Manjunath Ranganathaiah [Tue, 1 Aug 2017 21:45:41 +0000 (14:45 -0700)]
yardstick installation for compass4nfv

JIRA: COMPASS-552

This patch adds changes to install yardstick on jump host.

Change-Id: Id389d253f948a19cb682d54bd95bfbc3139ceb39
Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
7 years agofix bugs for functest and moon baremetal 37/38737/1
wutianwei [Fri, 4 Aug 2017 03:44:14 +0000 (11:44 +0800)]
fix bugs for functest and moon baremetal

1. functest change the judgement condition, the DOMAIN_NAME need use Default instead of default
2. making the eth0 down and up to change the route in baremetal deploy

Change-Id: I7dacf59cdd0c4db396b2db8b0a5fdd7003829391
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoFix OS install bug 89/38389/1
Harry Huang [Mon, 31 Jul 2017 01:48:10 +0000 (09:48 +0800)]
Fix OS install bug

There is a missing indent in the judgement
code block for OS installation complete which
cause OS installation complete only affected
by the state of host1

Change-Id: I5d470aef93b65ca77d290e596a4fefd62a82517b
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agoMerge "Switch to compass4nfv docker repo"
Justin chi [Sat, 29 Jul 2017 09:51:08 +0000 (09:51 +0000)]
Merge "Switch to compass4nfv docker repo"

7 years agoSwitch to compass4nfv docker repo 25/38325/2
Harry Huang [Fri, 28 Jul 2017 08:30:26 +0000 (16:30 +0800)]
Switch to compass4nfv docker repo

Dynamic inventory support for compass4nfv/compass-tasks-osa
is ready, switch docker repo.

Change-Id: I9ad5cd1cc860dd649cf43c6d5f1ea1e7c39e20fc
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agoenalbe pass-through cpumode for virtual deployment 29/38329/3
chigang [Fri, 28 Jul 2017 08:59:42 +0000 (16:59 +0800)]
enalbe pass-through cpumode for virtual deployment

JIRA:-

For KVM scenario, each host should set cpumode pass-through,
otherwise instances will fail to launch.

Change-Id: If58dca1ad590203f6e8de36e44c242252350ad19
Signed-off-by: chigang <chigang@huawei.com>
7 years agoMerge "Configurate moon host"
Justin chi [Sat, 29 Jul 2017 06:06:48 +0000 (06:06 +0000)]
Merge "Configurate moon host"

7 years agoMerge "Correct the DHA name of SFC scenario"
Justin chi [Sat, 29 Jul 2017 06:06:30 +0000 (06:06 +0000)]
Merge "Correct the DHA name of SFC scenario"

7 years agoConfigurate moon host 73/38373/1
wutianwei [Sat, 29 Jul 2017 03:41:35 +0000 (11:41 +0800)]
Configurate moon host

1. configurate  network
2. change the apt sources.list

Change-Id: I93336d48b02846192f47eb1d64a63b50190863e9
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoCorrect the DHA name of SFC scenario 71/38371/1
Yifei Xue [Sat, 29 Jul 2017 01:04:16 +0000 (09:04 +0800)]
Correct the DHA name of SFC scenario

The DHA name of SFC scenario in compass4nfv repo is "
os-odl_l3-sfc-ha.yml". However, the scenario name on
CI master is "os-odl-sfc-ha.yml". So CI failed when read
DHA file. THis patch is proposed to fix this problem.

Change-Id: Icb8db6c6c023a794bdd803d0365d719a853dc712
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
7 years agoRun odl_l2-moon scenario in compass 67/38367/1
wutianwei [Sat, 29 Jul 2017 00:43:03 +0000 (08:43 +0800)]
Run odl_l2-moon scenario in compass

Change-Id: I5deff9d6322708e8bf1dfd7d82b5a891334bffca
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoAdd ODL SFC support 69/38269/10
Yifei Xue [Thu, 27 Jul 2017 12:34:52 +0000 (20:34 +0800)]
Add ODL SFC support

Add SFC support for Ocata and Carbon.
1. Add ovs-nsh package for sfc scenario
2. Add sfc configuration and tasks
3. Add sfc DHA files

Change-Id: Icf8f20220a2c5ac38a5b92d3ca0e24cbb0e89a52
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
7 years agoMerge "Change "Default" to "default" in openrc"
Justin chi [Fri, 28 Jul 2017 09:11:19 +0000 (09:11 +0000)]
Merge "Change "Default" to "default" in openrc"

7 years agoMerge "Add moonv4 into Compass4nfv"
Justin chi [Fri, 28 Jul 2017 04:11:43 +0000 (04:11 +0000)]
Merge "Add moonv4 into Compass4nfv"

7 years agoChange "Default" to "default" in openrc 11/38311/1
wutianwei [Fri, 28 Jul 2017 02:56:50 +0000 (10:56 +0800)]
Change "Default" to "default" in openrc

when OS_USER_DOMAIN_NAME and OS_PROJECT_DOMAIN_NAME
is Default in openrc, it will cause some issue in
functest.

Change-Id: I39a7a3712ac2311076c45caed70c0c4c2036b561
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoAdd moonv4 into Compass4nfv 53/38153/6
chigang [Wed, 26 Jul 2017 09:19:30 +0000 (17:19 +0800)]
Add moonv4 into Compass4nfv

JIRA:-

To deploy moon master, export MOON_CFG env like below compass deploy:
export MOON_CFG="master:flag=Disable,slave:flag=Enable,slave:name=slave1,slave:master_ip=master_ip"

To deploy moon slave, export MOON_CFG env like below compass deploy:
export MOON_CFG="master:flag=Enable,slave:flag=Disable,slave:name=slave1,slave:master_ip=master_ip"

Change-Id: I21c0186a029c508d390c69112b43510d9c5b9c5c
Signed-off-by: chigang <chigang@huawei.com>
7 years agoMerge "Update notes when OpenStack installaion complete"
Justin chi [Wed, 26 Jul 2017 23:57:39 +0000 (23:57 +0000)]
Merge "Update notes when OpenStack installaion complete"

7 years agoFix plugin switch 75/38175/1
Harry Huang [Wed, 26 Jul 2017 10:30:53 +0000 (18:30 +0800)]
Fix plugin switch

Add plugin switch in group_vars/all which missed when
upgrade to dynamic inventory

Change-Id: I71927bce552dca89bc6182abc9f721d5222f2be6
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agoUpdate notes when OpenStack installaion complete 63/38163/1
chigang [Wed, 26 Jul 2017 09:35:37 +0000 (17:35 +0800)]
Update notes when OpenStack installaion complete

JIRA:-

Change-Id: Ie007baa4bbfb3f6860101b0e720315047c497c0d
Signed-off-by: chigang <chigang@huawei.com>
7 years agoMerge "Functest needs huawei virtual5 to test alpine"
Justin chi [Tue, 25 Jul 2017 06:05:33 +0000 (06:05 +0000)]
Merge "Functest needs huawei virtual5 to test alpine"

7 years agoDynamic Inventory 59/37859/5
Harry Huang [Thu, 20 Jul 2017 12:17:36 +0000 (20:17 +0800)]
Dynamic Inventory

JIRA: COMPASS-556

1. using dynamic ansible inventory
2. modify Class AnsibleInstaller in compass-tasks
3. modify compass conf to support this behavior
4. specify docker image in /deploy/conf/compass.conf
5. remove clusterhost status update in playbook_done.py

Change-Id: I04079547c8b251571ae4e5b165d3bf425b8913b7
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agoFunctest needs huawei virtual5 to test alpine 49/37849/2
wutianwei [Thu, 20 Jul 2017 09:25:20 +0000 (17:25 +0800)]
Functest needs huawei virtual5 to test alpine

They want to use jenkins to trigger the build.
So it need to add the huawei-virtual5 network*.yml

Change-Id: Icb8d5d8f574fbbc4674ab1c61a0e3c0c3325f2d4
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoAdjust the plugins directory structure 27/37827/5
Yifei Xue [Thu, 20 Jul 2017 03:46:14 +0000 (11:46 +0800)]
Adjust the plugins directory structure

JIRA:-

Since there may be multiple roles in one plugin, so add
a level of roles to the directory.
Move the copy operation of ODL from configure_osa to
a new setup-opendaylgiht role.
Add excute_order in the plugin description of ODL.

Change-Id: I905fb84b11df201dc1436ec888f511e251bba89c
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Signed-off-by: chigang <chigang@huawei.com>
7 years agoMerge "Change the BMC password of POD"
Justin chi [Thu, 20 Jul 2017 06:08:41 +0000 (06:08 +0000)]
Merge "Change the BMC password of POD"

7 years agoChange the BMC password of POD 15/37815/2
wutianwei [Thu, 20 Jul 2017 02:37:06 +0000 (10:37 +0800)]
Change the BMC password of POD

For security, we change the password to Opnfv@pod

Change-Id: I647af6db65c89fb0feee7936a3747abbab735ab7
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoMerge "To judge download is successful or not"
Justin chi [Thu, 20 Jul 2017 02:18:16 +0000 (02:18 +0000)]
Merge "To judge download is successful or not"

7 years agoMerge "Add real time kvm feature from kvmfornfv project"
Justin chi [Thu, 20 Jul 2017 00:40:43 +0000 (00:40 +0000)]
Merge "Add real time kvm feature from kvmfornfv project"

7 years agoAdd real time kvm feature from kvmfornfv project 91/37291/11
davidjchou [Tue, 18 Jul 2017 12:31:50 +0000 (05:31 -0700)]
Add real time kvm feature from kvmfornfv project

JIRA: COMPASS-549

1. Add rt_kvm plugin and os-nosdn-kvm-ha scenario in vm_enviroment
2. Add rt_kvm in compass4nfv playbook
3. Disable kernel update in KVM scenarios

Signed-off-by: davidjchou <david.j.chou@intel.com>
Change-Id: Ie164fe7ea28ebcb1e41299e92dc51b8ec16310eb
Signed-off-by: chigang <chigang@huawei.com>
7 years agoTo judge download is successful or not 97/37597/2
wutianwei [Mon, 17 Jul 2017 03:08:41 +0000 (11:08 +0800)]
To judge download is successful or not

if download fialed then exit

Change-Id: I40d847523ac5448c51d0788f79e4af9737bb5944
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoAdjust redeploy 79/36479/3
Harry Huang [Mon, 26 Jun 2017 04:22:59 +0000 (12:22 +0800)]
Adjust redeploy

When deployment is interrupted (e.g. ctrl+c kill deploy.sh),
ansible processes in compass-tasks are still running. Redeploy
at this situation new ansible process will be affacted by
remained ones which cause errors.

Change-Id: I821445bd53397c7030145bf6dc925032cb42519c
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agoMerge "change the public endpoint protocol with https"
Justin chi [Fri, 14 Jul 2017 10:16:59 +0000 (10:16 +0000)]
Merge "change the public endpoint protocol with https"

7 years agoMerge "fix some error in functest"
Justin chi [Fri, 14 Jul 2017 08:01:59 +0000 (08:01 +0000)]
Merge "fix some error in functest"

7 years agoMerge "Modify deploy/client.py"
Justin chi [Fri, 14 Jul 2017 06:00:59 +0000 (06:00 +0000)]
Merge "Modify deploy/client.py"

7 years agochange the public endpoint protocol with https 51/37451/2
wutianwei [Fri, 14 Jul 2017 03:01:28 +0000 (11:01 +0800)]
change the public endpoint protocol with https

Fetch the os_cacerts for funtest
replace the internalURL with publicURL

Change-Id: Iff4fe2c998f3b5e723e826cf27e8901208988785
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoMerge "Add deployment timeout to 300 mins"
Justin chi [Thu, 13 Jul 2017 07:46:48 +0000 (07:46 +0000)]
Merge "Add deployment timeout to 300 mins"

7 years agoMerge "Fix bug the controller node when baremetal deploy"
Justin chi [Thu, 13 Jul 2017 02:32:00 +0000 (02:32 +0000)]
Merge "Fix bug the controller node when baremetal deploy"

7 years agoModify deploy/client.py 39/36239/3
huangxiangyu [Tue, 20 Jun 2017 12:42:07 +0000 (20:42 +0800)]
Modify deploy/client.py

Bug:
1. when ansible_print process encounter runtime error
e.g. ansible.log doesn't exist, whole client.py
process stucks.
2. cobbler status encounters error when deploy timeout
happens.

Solution:
1. add ansible_print process alive check in function
get_installing_progress to exit parent process
when child process encounter runtime error.
2. remove unnecessary code in calling cobbler status
which cause error.

Change-Id: Ie04d45fd612e7273a6d584e3efb69e1506cdd0f9
Signed-off-by: huangxiangyu <huangxiangyu5@huawei.com>
7 years agoAdd deployment timeout to 300 mins 09/37309/1
chigang [Thu, 13 Jul 2017 01:57:47 +0000 (09:57 +0800)]
Add deployment timeout to 300 mins

JIRA:-

Deployment timeout in Intel POD, so add more timeout.
Reduce it when offline deployment support.

Change-Id: I244033ceb6d32ef1e3966716be9303c58c662d80
Signed-off-by: chigang <chigang@huawei.com>
7 years agoBug fix for odl_l2 51/37151/2
Yifei Xue [Tue, 11 Jul 2017 05:03:07 +0000 (13:03 +0800)]
Bug fix for odl_l2

The "external_network_bridge" should be configured in neutron-server's
LXC container. Currently we configure it in agents' LXC container.
So in ODL L2 scenario, the DNAT failed.
This patch will fix this.

Change-Id: Ifca005d8cdb901d114838ec88d2f24bcee73abf7
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
7 years agoFix bug the controller node when baremetal deploy 47/37047/3
wutianwei [Fri, 7 Jul 2017 04:09:27 +0000 (12:09 +0800)]
Fix bug the controller node when baremetal deploy

We need to flush the handle to restart network,
before checking network.

improve the message when failed

Change-Id: If38198c62b4bf81d38b294264db30514998fe086
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agofix some error in functest 23/37223/1
wutianwei [Wed, 12 Jul 2017 00:46:08 +0000 (08:46 +0800)]
fix some error in functest

1. Remove the --share when create network
   to fix the error in tempest network visibility
2. create the cinder-volums to fix issue in test volumes

Change-Id: I8bf7197ac33271eb6856e542da114249b79a391d
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoFix docker-compose 41/36941/2
Harry Huang [Wed, 5 Jul 2017 03:09:54 +0000 (11:09 +0800)]
Fix docker-compose

Add sudo when install docker-compose

Change-Id: I7025919889d543c860bf49bbbaf9665030437160
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agoUtilize yaml.safe_load 93/37093/2
lhinds [Sat, 8 Jul 2017 15:51:27 +0000 (16:51 +0100)]
Utilize yaml.safe_load

The patch changes instances of yaml.load with yaml.safe_load
which is more secure at blocking arbitrary code execution.

The following blog has a decent explaination:

https://www.kevinlondon.com/2015/08/15/dangerous-python-functions-pt2.html

Change-Id: I8201baab6cb31ab31228eca83134f87a57c2f5d2
Signed-off-by: lhinds <lhinds@redhat.com>
7 years agoBug fix for physnet name in ODL 23/37123/1
Yifei Xue [Mon, 10 Jul 2017 15:10:14 +0000 (23:10 +0800)]
Bug fix for physnet name in ODL

The physnet name used in ODL should be the same the one used in
those none odl scenarios.

Change-Id: I5afc9196d8365b649eb088f29bac4f94d9d12d16
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
7 years agoUpgrade ODL from boron to carbon 87/36187/15
Yifei Xue [Mon, 19 Jun 2017 11:22:11 +0000 (19:22 +0800)]
Upgrade ODL from boron to carbon

JIRA: -

Change-Id: I031444d1094af646ae39a9c0c3fbfc30548e6ee4
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
7 years agoAdd opendaylight switch 85/37085/2
Harry Huang [Sat, 8 Jul 2017 09:00:31 +0000 (17:00 +0800)]
Add opendaylight switch

Add key plugins in DHA file and declare opendaylight
as a plugin in odl scenario.

Change-Id: Iefc07b691d5052a9980d8c87f23a9f82be61ed6e
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agoChange docker repo in build 37/36937/2
Harry Huang [Wed, 5 Jul 2017 02:59:42 +0000 (10:59 +0800)]
Change docker repo in build

1. change docker repo to compass4nfv
2. change compass-docker-compose github to Compass4NFV

Change-Id: I81803ec3123c681e023f6e38456f431c6fc2e346
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agofetch openrc for functest 05/36905/10
wutianwei [Tue, 4 Jul 2017 09:46:39 +0000 (17:46 +0800)]
fetch openrc for functest

We use openstack-ansible to deploy the openstack,
the position of openrc is different from the before.
change the apt source when use local apt repository

Change-Id: I1c5492b294a8645f452868c9cf2fec2e0802f823
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoMerge "add plugins template"
Justin chi [Tue, 4 Jul 2017 11:34:51 +0000 (11:34 +0000)]
Merge "add plugins template"

7 years agoadd plugins template 89/36489/11
chigang [Sat, 24 Jun 2017 06:13:53 +0000 (14:13 +0800)]
add plugins template

JIRA: -

add a plugin template for compass4nfv

Change-Id: Iec767a7fab43617633238f9c5e326896dd6ce82e
Signed-off-by: chigang <chigang@huawei.com>
7 years agoFix keepalived ping address 83/36883/1
chigang [Tue, 4 Jul 2017 05:21:12 +0000 (13:21 +0800)]
Fix keepalived ping address

JIRA:-

Replace OSA default address with  ntp_server address.
OSA will use it to check internet connection.
Rename some roles that make users confused.

Change-Id: I4dd7e242e427e5bc3a611450a3bc436e44a8fefe
Signed-off-by: chigang <chigang@huawei.com>
7 years agoRemove obsoleted code 99/36799/3
chigang [Fri, 30 Jun 2017 12:24:25 +0000 (20:24 +0800)]
Remove obsoleted code

JIRA:-

use OpenStack-ansible deploy openstack, so remove obsoleted code.
Some of the enhanced features will be added in later versions

Change-Id: Ie92b92b5de234a7d7d03b578b0bc15fd0218b3b3
Signed-off-by: chigang <chigang@huawei.com>