compass4nfv.git
8 years agoMerge "Add vm live migration support"
Justin chi [Tue, 14 Mar 2017 07:41:27 +0000 (07:41 +0000)]
Merge "Add vm live migration support"

8 years agoAdd vm live migration support 79/30379/1
QiLiang [Tue, 14 Mar 2017 04:54:52 +0000 (12:54 +0800)]
Add vm live migration support

JIRA: -

Add libvirtd configure to support vm live migration.

Test cmd:

    nova live-migration <vm-id> <dest-host-name>

Change-Id: Ic7f47f1e13a7cd84a2d1c67089fedf76662bf412
Signed-off-by: QiLiang <liangqi1@huawei.com>
8 years agoMerge "Add deploy log to file"
Justin chi [Tue, 14 Mar 2017 03:49:12 +0000 (03:49 +0000)]
Merge "Add deploy log to file"

8 years agoAdd deploy log to file 37/30237/1
QiLiang [Fri, 10 Mar 2017 09:08:46 +0000 (17:08 +0800)]
Add deploy log to file

JIRA: -

The default log file path is: work/deploy/log/compass-deploy.log

Change-Id: I6f8ebb028d169a0da88f2a588e4563db4f2f1f76
Signed-off-by: QiLiang <liangqi1@huawei.com>
8 years agoAdd network_openo.yml in all virtual pods 41/30141/2
Harry Huang [Thu, 9 Mar 2017 08:59:35 +0000 (16:59 +0800)]
Add network_openo.yml in all virtual pods

add network_openo.yml to adapt with open-o scenario in:
1. huawei-virtual1
2. huawei-virtual2
3. huawei-virtual3
4. huawei-virtual4
5. huawei-virtual7

Change-Id: I96046470ddb05f8f613489db35f4a6b623a5cf4c
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
8 years agoUpgrade tacker from mitaka to newton 47/29547/3
Yifei Xue [Wed, 1 Mar 2017 08:39:43 +0000 (16:39 +0800)]
Upgrade tacker from mitaka to newton

JIRA: COMPASS-528

Add tacker package making scripts into repo/pip/ directory.
Compass will install tacker using pip in this release.
Upgrade tacker role including tasks, templates and vars.
Modify the installation method from using source code to using whl package.

Change-Id: Iead323c7b46d8d1df084ed868d0e01bc1b0f7e55
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
8 years agoMerge "add open-o scenario"
Justin chi [Wed, 8 Mar 2017 04:42:27 +0000 (04:42 +0000)]
Merge "add open-o scenario"

8 years agoadd open-o scenario 19/29819/2
Harry Huang [Mon, 6 Mar 2017 02:00:18 +0000 (10:00 +0800)]
add open-o scenario

add os-nosdn-openo-ha.yml and network_openo.yml in:
1. huawei-pod1
2. huawei-pod2
3. intel-pod8

Change-Id: I89ad426c1e3006bf2ef218cd9b55d97e53aa8721
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
8 years agoMerge "Development documentations update"
Justin chi [Fri, 3 Mar 2017 10:10:21 +0000 (10:10 +0000)]
Merge "Development documentations update"

8 years agoMerge "Add License header for files without it"
Justin chi [Tue, 28 Feb 2017 12:38:28 +0000 (12:38 +0000)]
Merge "Add License header for files without it"

8 years agoMerge "add ntp for compass-core"
Justin chi [Tue, 28 Feb 2017 10:51:48 +0000 (10:51 +0000)]
Merge "add ntp for compass-core"

8 years agoDevelopment documentations update 01/29401/8
Yifei Xue [Mon, 27 Feb 2017 01:16:46 +0000 (09:16 +0800)]
Development documentations update

JIRA: DOCS-165

Add the document for feature integration which introduces how
to integrate a feature into compass4nfv including creating a role,
making repo and building a feature included ISO.

Change-Id: I8ea70a298cbf079ed30e318ce2cfc4b803218434
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
8 years agoAdd License header for files without it 85/28885/6
chigang [Fri, 17 Feb 2017 02:37:01 +0000 (10:37 +0800)]
Add License header for files without it

JIRA: -

use the first author's company for license holder
use the latest year for license year
add license for yml,c,cpp,shell,python,java.
don't add license for template files such as config and j2
patch for auto add license:
https://github.com/Justin-chi/Lab/blob/master/add_license.sh
delete the files with the Eclipse License

Change-Id: I4f17da4ebb36a074c0b6722a2a4154e6c235d4bb
Signed-off-by: chigang <chigang@huawei.com>
8 years agoMerge "Bug fix for odl l2"
Justin chi [Mon, 27 Feb 2017 06:11:28 +0000 (06:11 +0000)]
Merge "Bug fix for odl l2"

8 years agoMerge "Update deploy.sh"
Justin chi [Mon, 27 Feb 2017 06:09:13 +0000 (06:09 +0000)]
Merge "Update deploy.sh"

8 years agoUpdate deploy.sh 91/29191/1
liyuenan [Wed, 22 Feb 2017 03:27:07 +0000 (11:27 +0800)]
Update deploy.sh

JIRA: -

Remove some environment variables in deploy.sh, such as EXPANSION
DEPLOY_COMPASS DEPLOY_HOST DEPLOY_RECOVERY. Those environment
variables's instructions can be found in installation guide document.

Change-Id: I1a7a2e1ad48d7488793ef80742bad1dab47b4270
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoBug fix for odl l2 89/29189/2
Yifei Xue [Wed, 22 Feb 2017 03:24:11 +0000 (11:24 +0800)]
Bug fix for odl l2

JIRA: COMPASS-512

1. Correct the script of unarchiving odl package for rerunnable
2. Delete the useless code in the script of installing networking-odl
3. Correct the variable "odl_pip" in vars/main.yml

Change-Id: I5488dd4caedcbda735de24fd594207d66310e828
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
8 years agoInstallation and release documentations update 89/24789/17
Qingyu Wang [Mon, 21 Nov 2016 23:52:31 +0000 (15:52 -0800)]
Installation and release documentations update

JIRA: DOCS-165

update document for Danube release according to new doc guide;
https://wiki.opnfv.org/display/DOC/Documentation+Guide
add network topology for virtual and bm deployment;
add a section for network_cfg.yaml configuration;
add feature section, listing supported openstack version and features
update installation for deployment and expansion.

Change-Id: If43d94554bebc78bbd56cdf889c8c34dda926218
Signed-off-by: Qingyu <qingyuwang33@gmail.com>
Signed-off-by: Justin <chigang@huawei.com>
8 years agoadd ntp for compass-core 57/28657/2
qiwei-li-huawei [Fri, 10 Feb 2017 07:48:38 +0000 (15:48 +0800)]
add ntp for compass-core

JIRA: COMPASS-514

add ntp for compass-core and set up timezone, make timezone
in compass-core same as where hosts' are
To set timezone of both compass-core and hosts, edit
    /deploy/conf/compass.conf
    TIMEZONE: Asia/Shanghai

Change-Id: If60623dbff793e56e65c32f80addc5e1d956f3e1
Signed-off-by: qiwei-li-huawei <qiwei.li@huawei.com>
8 years agoUpgrade OpenDaylight to Boron ( centos ) 83/28783/5
Harry Huang [Thu, 16 Feb 2017 06:57:39 +0000 (14:57 +0800)]
Upgrade OpenDaylight to Boron ( centos )

JIRA: COMPASS-512

1. Install requirements of networking-odl
2. Adjust order of removing neutron l3 agent
3. Modify file head

Change-Id: I27869821dc2f534500ec96b48df7a52ce27b58d8
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
8 years agoMerge "FIX access database failed"
Justin chi [Mon, 20 Feb 2017 11:34:43 +0000 (11:34 +0000)]
Merge "FIX access database failed"

8 years agoFIX access database failed 67/28767/4
liyuenan [Thu, 16 Feb 2017 01:08:52 +0000 (09:08 +0800)]
FIX access database failed

JIRA: COMPASS-521

Use a dynamic value to set number of workers for Openstack API
service when the number of cpu more than 4.

Change-Id: Ic6482cfad9b5eba8fad9e56ea1a33f65e8c71001
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoupdate info for PTL election 65/28665/1
Justin-chi [Wed, 15 Feb 2017 02:06:20 +0000 (10:06 +0800)]
update info for PTL election

JIRA: -
update info for new PTL election.
add irc channel information.

Change-Id: I7da3e8b40fa90b0f70fc477be9577d6da29a22f6
Signed-off-by: Justin chi <chigang@huawei.com>
8 years agoMerge "FIX access database failed"
Justin chi [Mon, 13 Feb 2017 12:00:05 +0000 (12:00 +0000)]
Merge "FIX access database failed"

8 years agoFIX access database failed 99/28399/2
liyuenan [Fri, 10 Feb 2017 01:37:26 +0000 (09:37 +0800)]
FIX access database failed

JIRA: COMPASS-521

Nova compute use osapi_compute and metadata api. Both of their worker
processes should be limited, otherwise mysql would not deal with those
processes.

Change-Id: Ib00b4731369c1c677639c9437ab83887550db572
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoFix create stack failed 95/28495/3
liyuenan [Sun, 12 Feb 2017 09:26:28 +0000 (17:26 +0800)]
Fix create stack failed

JIRA: COMPASS-523

Heat needs grant heat admin role and create a menber role, otherwise
functest smoke test will failed when create stack by heat.

Change-Id: I925b473861bf82becf119bfd490c38732814c336
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoMerge "Ease to switch themes of Horizon"
Justin chi [Fri, 10 Feb 2017 07:21:33 +0000 (07:21 +0000)]
Merge "Ease to switch themes of Horizon"

8 years agoUpdate shade version to avoid the conflict 81/28081/4
liyuenan [Mon, 6 Feb 2017 02:05:49 +0000 (10:05 +0800)]
Update shade version to avoid the conflict

JIRA: COMPASS-520

Shade and python-openstackclient both depends on python client libraries
for OpenStack.If install one from pip and one from yum or apt, then there
can be weird conflicts between the two sets of libraries. Update shade
packages to resolve this problem.

Change-Id: Icfd82d2818abfcf5061133fa6670b23daac9fb5b
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoUpgrade OpenDaylight to Boron ( l3 scenario ) 43/27543/6
Harry Huang [Wed, 25 Jan 2017 12:54:29 +0000 (20:54 +0800)]
Upgrade OpenDaylight to Boron ( l3 scenario )

JIRA: COMPASS-512

1. Use package distribution-karaf-0.5.2-Boron.tar.gz
2. Add configuring ACL
3. Remove neutron-l3 agent in odl_cluster role
4. Fix ODL l2 metadata problem

Change-Id: Ib14cdf3539deeeb91ebfec0450a9e7f0228f7741
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
8 years agoEase to switch themes of Horizon 99/28099/2
liyuenan [Mon, 6 Feb 2017 09:12:50 +0000 (17:12 +0800)]
Ease to switch themes of Horizon

JIRA: -

Default Horizon theme is ubuntu. If you want to use openstack theme,
you can run `export ENABLE_UBUNTU_THEME=False` before deploy.

And if you want to change theme after you installed openstack, you need
to run this commands:
  1. access compass VM, password is root
      `ssh root@192.168.200.2`
  2. change path:
      `cd /var/ansible/run/openstack_newton-opnfv2`
  3. Edit the `group_vars/all` file, change `enable_ubuntu_theme` var:
      `enable_ubuntu_theme: False`
     if `enable_ubuntu_theme: True`, the Horizon theme is ubuntu, otherwise
     the Horizon theme is openstack.
  4. run ansible playbook:
       `ansible-playbook -i inventories/inventory.yml HA-ansible-multinodes.yml
        -t horizon_theme`

Change-Id: I5465107228af32a482879c8a058899494f33e2d0
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoFix Aodh Bug 21/28221/2
Harry Huang [Tue, 7 Feb 2017 10:48:49 +0000 (18:48 +0800)]
Fix Aodh Bug

JIRA: COMPASS-522

Bug:
Connection error happens when using aodh command.
Curl aodh-api also returns empty reply.

Solution:
Use apache to be aodh api server. Disable aodh-api
service. Delete aodh-api restart in ext-network role
to avoid aodh-api start again.

Change-Id: I04a4af38325bcbe4a0b86ec3d3beb7c9f3abd73b
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
8 years agoCongress support for Newton 61/27361/7
Harry Huang [Mon, 23 Jan 2017 07:38:52 +0000 (15:38 +0800)]
Congress support for Newton

Modification:
  1.Add congress support in deploy/compass_conf
  2.Optimize congress role to be more independant.
    Separate congress role into install, keystone,
    database, start.
  3.Support both ubuntu and centos

Change-Id: I1c9a458addd84133652fb7c0563bc287d161d129
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
8 years agoMerge "Add opera support"
Justin chi [Sat, 4 Feb 2017 06:26:03 +0000 (06:26 +0000)]
Merge "Add opera support"

8 years agoAdd opera support 75/27075/9
Harry Huang [Tue, 17 Jan 2017 06:45:57 +0000 (14:45 +0800)]
Add opera support

JIRA: COMPASS-504
JIRA: OPERA-1

Function:
  support open-o deployment by calling opera project.
  open-o deployment will start at the end of normal
  compass4nfv deployment.

Changes:
  1. add scenario and network yaml for opera
  2. add opera_adapter.py for calling opera

Attention:
  The git URL for opera will change after opera patch
  OPERA-2 is meraged. This patch should be modifed
  before meraged.

Change-Id: Id0afcece920c4107bb23f42b460c46eec3ca97e6
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
8 years agoNew patch for orange-pod3 POD with indentation correction for network*.yml files 37/27537/2
Francois DESPRES [Wed, 25 Jan 2017 09:59:31 +0000 (10:59 +0100)]
New patch for orange-pod3 POD with indentation correction for network*.yml files

Change-Id: Ifa100d6e444c4190d8f15d980c4fd72f8b953a1d
Signed-off-by: Francois DESPRES <francois.despres@orange.com>
8 years agoAnsible Module substitute for Shell Commands 63/27163/9
liyuenan [Wed, 18 Jan 2017 10:05:27 +0000 (18:05 +0800)]
Ansible Module substitute for Shell Commands

JIRA: COMPASS-520

After update ansible version to v3, keystone_user module only support v2 API.
So we use Shell Commands now, but it will failed with high probability.
Those Shell Commands should be instead by ansible modules to manage Identity users,
projects or some other work like crate networks.

Change-Id: I63d38b4a811a9c063ac4404da72787f594411b53
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoMerge "Adjust make repo"
Justin chi [Tue, 24 Jan 2017 08:50:35 +0000 (08:50 +0000)]
Merge "Adjust make repo"

8 years agoAdjust make repo 57/27157/5
Harry Huang [Wed, 18 Jan 2017 08:47:25 +0000 (16:47 +0800)]
Adjust make repo

Demand:
  1.Compass4nfv master code only support one OPNFV version
    now, no need to keep previous version's repo scripts
  2.Currently java packages are in /var/www/package/onos
    directory which is unreasonable
  3.repo.conf has a lot of download URL which can turn into
    pip requirements

Modification:
  1.Remove previous version's directory in compass4nfv/repo
  2.Only leave java and odl in compass4nfv/repo/features.
    Other features can be added when they are ready
  3.Seperate URLs in repo.conf into compass-core and openstack
    pip requirements. Therefore pip.tar.gz only contains pip
    packages for compass-core and pip-openstack.tar.gz only
    contains pip packages for openstack
  3.Move java packages into /var/www/package/java directory
  4.Add make pip wheel package function to support congress
  5.Use ODL package distribution-karaf-0.5.0-Boron.tar.gz
  6.Use python package netwoking-odl-3.2.0

Change-Id: Ifa818e7630ac4435e3bdb7756b83f80f50c24a76
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
8 years agoFIX access database failed 67/27267/1
liyuenan [Fri, 20 Jan 2017 05:15:00 +0000 (13:15 +0800)]
FIX access database failed

JIRA: COMPASS-521

Number of separate API worker processes for service. The default is calculated by
the number of CPUs available for best performance. But some pods have many CPUs,
so that some service API worker processes is too many to access database.
For example, huawei-pod2 has 47 CPUs, nova-api has 98 processes, cinder-api has
50 processes and heat-api has 33 processes, when aodh want to initialize the database,
mysql can not deal with this processes.

Change-Id: I00513883ff55cc28cd676c3085615aaac36eb744
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years ago[compass] bugfix: it is noneffective to retry the network checking 25/27125/2
meimei [Wed, 18 Jan 2017 01:34:22 +0000 (09:34 +0800)]
[compass] bugfix: it is noneffective to retry the network checking

Change-Id: I97413575e1cac87da4ac99bc45e1c55777f38243
Signed-off-by: meimei <meimei@huawei.com>
8 years agoSupport ceilometer for Newton CentOS 13/27013/2
liyuenan [Mon, 16 Jan 2017 06:22:07 +0000 (14:22 +0800)]
Support ceilometer for Newton CentOS

JIRA: COMPASS-518

The WSGIScriptAlias file should be "/var/www/cgi-bin/ceilometer/app".
This file is copied from
"/usr/lib/python2.7/site-packages/ceilometer/api/app.wsgi" in CentOS
or
"/usr/lib/python2.7/dist-packages/ceilometer/api/app.wsgi" in Ubuntu

Change-Id: Idcc37b0ed6c1d4c6e39d821a02a6579c57b6f035
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoMerge "Create openstack flavors"
Justin chi [Sun, 15 Jan 2017 02:59:56 +0000 (02:59 +0000)]
Merge "Create openstack flavors"

8 years agoupdate intel pod8 configuration 99/26899/7
meimei [Thu, 12 Jan 2017 02:13:46 +0000 (10:13 +0800)]
update intel pod8 configuration

the IPMI IP assignment and vlan of intel-pod8 have been changed

Change-Id: Ia6f2880ab2388b031b79046c00e03bc918b957e1
Signed-off-by: meimei <meimei@huawei.com>
8 years agoDeploy OpenStack Newton on CentOS hosts 95/26995/2
liyuenan [Sat, 14 Jan 2017 03:31:08 +0000 (11:31 +0800)]
Deploy OpenStack Newton on CentOS hosts

JIRA: COMPASS-518

Make Centos Newton ppa.
Update host Centos version to 7.3.
Support Centos Newton Deploy.
Support Ceph Deploy.

Change-Id: I6dd110cc10d425a9d590e1dcb5777ade5cce96aa
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoRemove some duplicate or useless files 93/26993/1
liyuenan [Sat, 14 Jan 2017 03:16:38 +0000 (11:16 +0800)]
Remove some duplicate or useless files

JIRA: -

Remove some templates because it is duplicated.
Remove some repo files because master support newton only.

Change-Id: I6651191c6edb2ef6ab5da109922a889a8cd58a78
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoCreate openstack flavors 91/26991/1
Harry Huang [Sat, 14 Jan 2017 01:43:11 +0000 (09:43 +0800)]
Create openstack flavors

JIRA: COMPASS-519

Demand:
  Openstack Newton doesn't create flavors defaultly. But
functest needs to run with flavors exist

Solution:
  Add an ansible role to create flavors after openstack
deployed

Change-Id: Ib7ac56b3d42d9ddfcbefffc44ac92fa81342368a
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
8 years agoFIX kvm_cpu_num fetch bug 97/26897/2
QiLiang [Thu, 12 Jan 2017 01:26:33 +0000 (09:26 +0800)]
FIX kvm_cpu_num fetch bug

If the compute node not support kvm virtualization, will get error:

TASK: [nova-compute | get number of cpu support virtualization] *********
failed: [host-1] => {"changed": true, "cmd": "egrep -c '(vmx|svm)'
 /proc/cpuinfo", "delta": "0:00:00.054521", "end":
"2017-01-11 10:46:12.093745", "rc": 1, "start":
"2017-01-11 10:46:12.039224", "warnings": []}

JIRA: -

Change-Id: I773d6c703c23c8c0eb477e1d61eb0ca5366e6722
Signed-off-by: QiLiang <liangqi1@huawei.com>
8 years agoUpgrade OpenDaylight to Boron ( l2 scenario ) 39/26739/9
Harry Huang [Fri, 6 Jan 2017 02:58:12 +0000 (10:58 +0800)]
Upgrade OpenDaylight to Boron ( l2 scenario )

JIRA: COMPASS-512

1. Use package distribution-karaf-0.5.0-Boron.tar.gz
2. Use package networking-odl-3.2.0.tar.gz
3. Set both neutron and odl as ovs manager

Change-Id: I126ba21346afaaccf1f71a17a500146968bdb4eb
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
8 years agoFIX external net create 03/26903/2
liyuenan [Thu, 12 Jan 2017 03:28:13 +0000 (11:28 +0800)]
FIX external net create

JIRA: -

The dictionary public_net_info in network.yml had changed to pass the
yamllint:
  public_net_info:
    enable: True
change to:
  public_net_info:
    enable: "True"
Because of that, the public_net_info.enable in group_var/all had changed.
  'public_net_info': {..., 'enable': True, ...}
change to:
  'public_net_info': {..., 'enable': 'True', ...}
So the conditionals in roles/ext-network/tasks/main.yml should be changed,
otherwise the ext-net can not be created.

Change-Id: I7b4aeb1d0edec0ad77252849704bdf3055adfa5a
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoMerge "Fix multi-nics BM deploy network unreachable issue"
Justin chi [Thu, 12 Jan 2017 03:21:46 +0000 (03:21 +0000)]
Merge "Fix multi-nics BM deploy network unreachable issue"

8 years agoFIX Ceph user error 47/26847/2
liyuenan [Wed, 11 Jan 2017 06:26:41 +0000 (14:26 +0800)]
FIX Ceph user error

The command of create ceph user for openstack is destroied in Yamllint patch.
There is a error in the roles/ceph-openstack/tasks/ceph-openstack-pre.yml.
It should not change a line between the quotations.

JIRA: -

Change-Id: I5347e8bfde129855c28cb5313b8367f4edb065ca
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoFix multi-nics BM deploy network unreachable issue 13/26813/1
QiLiang [Tue, 10 Jan 2017 01:49:02 +0000 (09:49 +0800)]
Fix multi-nics BM deploy network unreachable issue

Configure OS_MGMT_NIC when openstack external network and mgmt
network use different nics. Otherwise openstack mgmt is unreachabe
from jumpserver, then compass cann't pass functest healthcheck.

JIRA: -

Change-Id: If156806d3b92933ac316f178d3eb2d0aaa9e1b4a
Signed-off-by: QiLiang <liangqi1@huawei.com>
8 years agoFix instance can't get key bug 99/26699/1
Harry Huang [Thu, 5 Jan 2017 07:05:17 +0000 (15:05 +0800)]
Fix instance can't get key bug

JIRA:COMPASS-517

modify metadata_agent.ini to support keystone api V3

Change-Id: If0a3a9f687cdb48af740ed6231e96e3e712755f4
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
8 years agoYamllint test 17/26517/12
liyuenan [Tue, 27 Dec 2016 09:44:34 +0000 (17:44 +0800)]
Yamllint test

JIRA: COMPASS-516

Change-Id: I482ce9bc86f4f963258c5b8823e0b00e83556eef
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoUpdate ansible version 25/26425/18
liyuenan [Thu, 22 Dec 2016 08:59:08 +0000 (16:59 +0800)]
Update ansible version

JIRA: COMPASS-511

Change-Id: Id0e83c65a08c9f9036b5d3a597b905e8a7bde6e8
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoChange newton_xenial to newton 83/26283/10
liyuenan [Tue, 20 Dec 2016 08:44:59 +0000 (16:44 +0800)]
Change newton_xenial to newton

JIRA: COMPASS-513

Change-Id: I937a02bcd69f0df1f5d951dd6630ef2e76e8d386
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agomaster only support newton 93/26193/9
liyuenan [Mon, 19 Dec 2016 03:06:36 +0000 (11:06 +0800)]
master only support newton

JIRA: COMPASS-513

Remove other roles and ppa, master only support newton.

Change-Id: I47ddb16baa25902c3e05cc7f9d0d6430f5dc7e00
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoMerge "add congress support" Danube.0.1
Justin chi [Tue, 20 Dec 2016 03:42:26 +0000 (03:42 +0000)]
Merge "add congress support"

8 years agoMerge "Add VIM registration for Tacker Mitaka"
Justin chi [Tue, 20 Dec 2016 02:29:33 +0000 (02:29 +0000)]
Merge "Add VIM registration for Tacker Mitaka"

8 years agoMerge "Support expansion for newton"
Justin chi [Thu, 15 Dec 2016 08:51:22 +0000 (08:51 +0000)]
Merge "Support expansion for newton"

8 years agoMerge "Print information about openstack deployed."
Justin chi [Thu, 15 Dec 2016 08:41:32 +0000 (08:41 +0000)]
Merge "Print information about openstack deployed."

8 years agoAdd VIM registration for Tacker Mitaka 59/25659/4
Yifei Xue [Thu, 8 Dec 2016 08:03:12 +0000 (16:03 +0800)]
Add VIM registration for Tacker Mitaka

JIRA: COMPASS-510

Change-Id: I05c2a0670d4c75f516f53f9849793e02e92cb559
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
8 years agoSupport expansion for newton 45/25945/2
liyuenan [Wed, 14 Dec 2016 09:12:41 +0000 (17:12 +0800)]
Support expansion for newton

JIRA: COMPASS-481

Change-Id: I2dc6230f808a62f6b852f0668771b7302c7b540c
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoPrint information about openstack deployed. 65/25765/3
liyuenan [Mon, 12 Dec 2016 02:46:18 +0000 (10:46 +0800)]
Print information about openstack deployed.

Change-Id: I80a379bcb5851ef2b29a52c8d45450dd1d36ade0
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoMerge "Support compute node expansion with ceph-osd"
Justin chi [Wed, 14 Dec 2016 07:28:39 +0000 (07:28 +0000)]
Merge "Support compute node expansion with ceph-osd"

8 years agoMerge "Offline deployment fails on jumphost with docker installed"
Justin chi [Tue, 13 Dec 2016 14:37:41 +0000 (14:37 +0000)]
Merge "Offline deployment fails on jumphost with docker installed"

8 years agobecause of replacing the huawei-pod5 with a new pod, 81/25781/1
wutianwei [Mon, 12 Dec 2016 08:51:51 +0000 (16:51 +0800)]
because of replacing the huawei-pod5 with a new pod,
we need to change the configuratuion according the new pod.

Change-Id: Ib2bfa54b5fd300fbed5fae77a7f1e6c36fc63b04
Signed-off-by: wutianwei <wutianwei1@huawei.com>
8 years agoSupport compute node expansion with ceph-osd 97/25197/4
QiLiang [Wed, 30 Nov 2016 03:33:04 +0000 (11:33 +0800)]
Support compute node expansion with ceph-osd

JIRA: COMPASS-481

- Use public_vip to fetch ceph related conf from controller nodes.
- Add ceph-uuid for libvirt store and fetch for expansion.

Change-Id: I9e93183ac108bd959a1226546fbb89706e3004c9
Signed-off-by: QiLiang <liangqi1@huawei.com>
8 years agoFix manual ci trigger build 55/25655/11
liyuenan [Thu, 8 Dec 2016 04:42:00 +0000 (12:42 +0800)]
Fix manual ci trigger build

JIRA: COMPASS-509

Change-Id: I17bc50b855203af5c1fa9227dbb02e7ccbb87965
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoMerge "Fix keystone token flush"
Justin chi [Wed, 7 Dec 2016 05:18:18 +0000 (05:18 +0000)]
Merge "Fix keystone token flush"

8 years agoMerge "Deploy some special scenarios automatically in CI"
Justin chi [Wed, 7 Dec 2016 05:15:22 +0000 (05:15 +0000)]
Merge "Deploy some special scenarios automatically in CI"

8 years agoDeploy some special scenarios automatically in CI 05/25205/13
liyuenan [Wed, 30 Nov 2016 06:42:29 +0000 (14:42 +0800)]
Deploy some special scenarios automatically in CI

For daily build or verify build, adjust OS_VERSION and OPENSTACK_VERSION
value according to OS_VERSION and DEPLOY_SCENARIO pass from CI.

JIRA: COMPASS-509

Change-Id: I4db4d759e62a3b574ac8decde11ee8cba80069e2
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoMerge "add compass-core conf/ into compass4nfv"
Justin chi [Mon, 5 Dec 2016 12:41:23 +0000 (12:41 +0000)]
Merge "add compass-core conf/ into compass4nfv"

8 years agoFix keystone token flush 71/25471/1
liyuenan [Mon, 5 Dec 2016 08:50:19 +0000 (16:50 +0800)]
Fix keystone token flush

JIRA: COMPASS-491

Change-Id: I5986f8152f88ac7a77dd8bf2bbbcb92faf208aa2
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoSupport aodh for Newton 21/24921/2
liyuenan [Sat, 26 Nov 2016 06:29:38 +0000 (14:29 +0800)]
Support aodh for Newton

JIRA: COMPASS-491

Change-Id: I209aec69eec1376432807b44c0a0e890261f3dff
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoadd congress support 39/24939/1
Harry Huang [Mon, 28 Nov 2016 09:25:35 +0000 (17:25 +0800)]
add congress support

JIRA: COMPASS-367

add congress support in openstack_mitaka and openstack_newton_xenial

Change-Id: I3aa19cb54081ad2300964955b899c1b56a875b25
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
8 years agoOffline deployment fails on jumphost with docker installed 89/24989/1
Yifei Xue [Mon, 28 Nov 2016 05:08:26 +0000 (13:08 +0800)]
Offline deployment fails on jumphost with docker installed

JIRA: COMPASS-508

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

8 years agoFix some xenial baremetal deploy bugs 69/24969/2
liyuenan [Mon, 28 Nov 2016 05:20:23 +0000 (13:20 +0800)]
Fix some xenial baremetal deploy bugs

1. Fix pip upgrade

2. Fix apache conf file

JIRA: COMPASS-489

Change-Id: I2d45114b559298898ab354f884ced74fc9fc7abf
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoMerge "fix demo user password bug"
Justin chi [Sat, 26 Nov 2016 06:17:31 +0000 (06:17 +0000)]
Merge "fix demo user password bug"

8 years agoMerge "update pip and split pip source"
Justin chi [Sat, 26 Nov 2016 06:15:22 +0000 (06:15 +0000)]
Merge "update pip and split pip source"

8 years agoMerge "Support ceilometer for Newton"
Justin chi [Sat, 26 Nov 2016 06:13:01 +0000 (06:13 +0000)]
Merge "Support ceilometer for Newton"

8 years agoMerge "Fix the wait_for modules"
Justin chi [Sat, 26 Nov 2016 06:11:43 +0000 (06:11 +0000)]
Merge "Fix the wait_for modules"

8 years agoMerge "Fix the apache service restart failed in xenial"
Justin chi [Sat, 26 Nov 2016 06:11:02 +0000 (06:11 +0000)]
Merge "Fix the apache service restart failed in xenial"

8 years agoFix the apache service restart failed in xenial 15/24815/3
liyuenan [Thu, 24 Nov 2016 05:29:19 +0000 (13:29 +0800)]
Fix the apache service restart failed in xenial

JIRA: COMPASS-491

Change-Id: I8e12a308e6ba48117b906a0e101cddaeb9ee8a2e
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoFix the wait_for modules 35/24835/2
liyuenan [Thu, 24 Nov 2016 08:04:21 +0000 (16:04 +0800)]
Fix the wait_for modules

After restart the service, service's port should be polled rather than haproxy.

JIRA: COMPASS-491

Change-Id: I52165e9673b997883109fbf93a93b360a25dabba
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoadd compass-core conf/ into compass4nfv 47/24847/1
Harry Huang [Thu, 24 Nov 2016 20:08:19 +0000 (04:08 +0800)]
add compass-core conf/ into compass4nfv

JIRA: COMPASS-507

1.create deploy/compass_conf/ directory to keep local
compass-core conf/ files. build.sh will add it into
compass.iso

2.adjust conf files to support congress

Change-Id: I91dde6f62f2385d1289a5cf9a39eafce945a1bc7
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
8 years agofix demo user password bug 53/24453/2
Harry Huang [Thu, 17 Nov 2016 09:48:13 +0000 (17:48 +0800)]
fix demo user password bug

JIRA: COMPASS-505

add demo user password in keystone ansible

Change-Id: I369934b415c91af0a25616cefcea70041a43a63d
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
8 years agoupdate pip and split pip source 91/24491/4
Harry Huang [Thu, 17 Nov 2016 18:56:28 +0000 (02:56 +0800)]
update pip and split pip source

JIRA: COMPASS-506

update pip to 9.0.1 in ansible common
adjust pip download source to http://10.1.0.12/pip-openstack

Change-Id: I043d199faf57342f89e46bc9d90229ed40c510f0
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
8 years agoMerge "Improve compass ci verification--clear all flake8 warnings & errors of compass...
Justin chi [Thu, 24 Nov 2016 09:19:15 +0000 (09:19 +0000)]
Merge "Improve compass ci verification--clear all flake8 warnings & errors of compass4nfv JIRA: COMPASS-494"

8 years agoMerge "Create make_repo directory and optimize the current repo making related script"
Justin chi [Thu, 24 Nov 2016 08:47:48 +0000 (08:47 +0000)]
Merge "Create make_repo directory and optimize the current repo making related script"

8 years agoSupport ceilometer for Newton 45/24645/9
liyuenan [Tue, 22 Nov 2016 03:51:53 +0000 (11:51 +0800)]
Support ceilometer for Newton

JIRA: COMPASS-491

Change-Id: Iffa7e37e931af4c212fe523e529ee34dd2c14c24
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoMerge "Fix libvirt error on jumphost"
Justin chi [Wed, 23 Nov 2016 11:49:08 +0000 (11:49 +0000)]
Merge "Fix libvirt error on jumphost"

8 years agoMerge "Add refresh.sh exec on compass-core"
Justin chi [Wed, 23 Nov 2016 11:48:12 +0000 (11:48 +0000)]
Merge "Add refresh.sh exec on compass-core"

8 years agoMerge "up INSTALL_NIC during installation"
Justin chi [Wed, 23 Nov 2016 11:46:21 +0000 (11:46 +0000)]
Merge "up INSTALL_NIC during installation"

8 years agoFix libvirt error on jumphost 25/24725/2
QiLiang [Wed, 23 Nov 2016 03:46:28 +0000 (11:46 +0800)]
Fix libvirt error on jumphost

Fix permission denied (Libvirt::Error) on the disk image, when
boot compass-core vm on some jumphost env.

Ref:
* https://github.com/adrahon/vagrant-kvm/issues/163
* https://ubuntuforums.org/showthread.php?t=1985773

JIRA: -

Change-Id: I17adad6ff6984beac4a4c65d8953a36d3a39f7ce
Signed-off-by: QiLiang <liangqi1@huawei.com>
8 years agoAdd refresh.sh exec on compass-core 17/24717/1
QiLiang [Wed, 23 Nov 2016 02:43:38 +0000 (10:43 +0800)]
Add refresh.sh exec on compass-core

Add refresh.sh exec on compass-core, so user don't need to manually execute
the refresh.sh script when they what redeploy the openstack without redeploy
the compass-core vm.

Change-Id: I1a6b5ca84d4dd00a3f326b30b68e0ecac022d5ef
Signed-off-by: QiLiang <liangqi1@huawei.com>
8 years agoFIX cobbler system edit cmd args error 09/24709/1
QiLiang [Wed, 23 Nov 2016 01:35:23 +0000 (09:35 +0800)]
FIX cobbler system edit cmd args error

use "--static=1" to set server nic to static mode

JIRA: COMPASS-489

Change-Id: I4d8d90f861b6b264575fc0781f585a6ef6bd1c70
Signed-off-by: QiLiang <liangqi1@huawei.com>
8 years agoImprove compass ci verification--clear all flake8 warnings & errors of compass4nfv 53/24653/1
KingPoo [Tue, 22 Nov 2016 07:58:25 +0000 (15:58 +0800)]
Improve compass ci verification--clear all flake8 warnings & errors of compass4nfv
JIRA: COMPASS-494

Change-Id: Iec4664a376100f2a0f5fe6c46c1a45360f9c2324
Signed-off-by: KingPoo <haojingbo@huawei.com>
8 years agoup INSTALL_NIC during installation 47/24647/1
QiLiang [Tue, 22 Nov 2016 03:55:31 +0000 (11:55 +0800)]
up INSTALL_NIC during installation

Some jumpserver's INSTALL_NIC is down during compass4nfv installation,
this will cause pxe boot failure. So add auto up the INSTALL_NIC during
installation.

JIRA: -

Change-Id: I109b45360edf03e575f00e88d4b2ce12c01b2869
Signed-off-by: QiLiang <liangqi1@huawei.com>
8 years agoCreate make_repo directory and optimize the current repo making related script 55/23855/14
Yifei Xue [Wed, 2 Nov 2016 10:09:35 +0000 (18:09 +0800)]
Create make_repo directory and optimize the current repo making related script

JIRA: COMPASS-496

Change-Id: I662d996382d38a3e9d0de6598dabe403b9d51665
Signed-off-by: Yifei Xue <xueyifei@huawei.com>