compass4nfv.git
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>
8 years agoRepair Flake8's warnings & errors 07/24307/2
KingPoo [Mon, 14 Nov 2016 07:16:24 +0000 (02:16 -0500)]
Repair Flake8's warnings & errors

Change-Id: I67e71bc37c0464a0714e1e59b3402973786e4aa6
Signed-off-by: KingPoo <haojingbo@huawei.com>
8 years agoMerge "DOC: offline-deploy.rst"
Justin chi [Tue, 15 Nov 2016 03:19:18 +0000 (03:19 +0000)]
Merge "DOC: offline-deploy.rst"

8 years agoDOC: offline-deploy.rst 05/24205/6
Harry Huang [Fri, 11 Nov 2016 10:13:44 +0000 (18:13 +0800)]
DOC: offline-deploy.rst

JIRA: COMPASS-456

Change-Id: Id5897550b7a8fcdd0f1cfea1d35b4f844e298ad6
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
8 years agomake improvement about util/check_valid.py 13/24213/2
Harry Huang [Fri, 11 Nov 2016 14:51:29 +0000 (22:51 +0800)]
make improvement about util/check_valid.py

Change-Id: Ib1f22eb180e6df138b5891ef5ca070224ace219e
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
8 years agoMerge "autopep8 make py files more standard"
Justin chi [Fri, 11 Nov 2016 02:15:30 +0000 (02:15 +0000)]
Merge "autopep8 make py files more standard"

8 years agoMerge "Rename pip-ops to pip-openstack"
Justin chi [Fri, 11 Nov 2016 02:14:48 +0000 (02:14 +0000)]
Merge "Rename pip-ops to pip-openstack"

8 years agoMerge "Support API v2.0"
Justin chi [Thu, 10 Nov 2016 07:01:13 +0000 (07:01 +0000)]
Merge "Support API v2.0"

8 years agoautopep8 make py files more standard 35/24135/1
KingPoo [Thu, 10 Nov 2016 03:39:01 +0000 (22:39 -0500)]
autopep8 make py files more standard

Change-Id: Ibaa74a1f508b28548668e764d1860393caa356d4
Signed-off-by: KingPoo <haojingbo@huawei.com>
8 years agoSupport API v2.0 27/24127/1
liyuenan [Thu, 10 Nov 2016 02:25:03 +0000 (10:25 +0800)]
Support API v2.0

JIRA: COMPASS-491

Change-Id: I56c854d752d0dbf72ec3984670b49606c044bec1
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoRename pip-ops to pip-openstack 25/24125/2
liyuenan [Thu, 10 Nov 2016 01:51:07 +0000 (09:51 +0800)]
Rename pip-ops to pip-openstack

Change-Id: Ie806f15b75ce409fc9283d5c0c0bc6691b430b27
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoUpdate intel pod8 conf file 21/24121/2
QiLiang [Wed, 9 Nov 2016 22:37:43 +0000 (06:37 +0800)]
Update intel pod8 conf file

JIRA: -

Change-Id: I25be776b05decfbe79c3547f30fbe174d7f14c0d
Signed-off-by: QiLiang <liangqi1@huawei.com>
8 years agoMerge "Update the API version for Openstack Newton"
Justin chi [Wed, 9 Nov 2016 07:26:38 +0000 (07:26 +0000)]
Merge "Update the API version for Openstack Newton"

8 years agoUpdate the API version for Openstack Newton 81/23681/10
liyuenan [Wed, 26 Oct 2016 05:55:23 +0000 (13:55 +0800)]
Update the API version for Openstack Newton

Use the "keystone-manage bootstrap" command to instead of admin_token.
Because the  admin_token is treated as a "shared secret" that can be used
to bootstrap Keystone through the API. This "token" does not represent a
user (it has no identity), and carries no explicit authorization (it
effectively bypasses most authorization checks).

Use the API v3 to instead of API v2.0. Identity API v3 was established to
introduce namespacing for users and projects by using "domains" as a
higher-level container for more flexible identity management and fixed a
security issue in the v2.0 API (bearer tokens appearing in URLs).

JIRA: COMPASS-491

Change-Id: I56182c14b761728c3492b9dd2b05c3b57aa5f35f
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoSplit the Openstack's pip from pip 39/24039/2
liyuenan [Tue, 8 Nov 2016 01:12:09 +0000 (09:12 +0800)]
Split the Openstack's pip from pip

JIRA: COMPASS-491

Change-Id: Ief6df7da1b3729beb2ac56ff1cfd14a44c71ef21
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoEdit the deploy.sh 21/23821/2
liyuenan [Tue, 1 Nov 2016 03:36:27 +0000 (11:36 +0800)]
Edit the deploy.sh

Change-Id: I611abbd6a1265fc397c8af4f2131e5e073ad91bb
Signed-off-by: liyuenan <liyuenan@huawei.com>
8 years agoMerge "Improvement: add odl cluster new solution for mitaka and newton on xenial"
shuai chen [Thu, 3 Nov 2016 01:06:30 +0000 (01:06 +0000)]
Merge "Improvement: add odl cluster new solution for mitaka and newton on xenial"

8 years agoImprovement: add odl cluster new solution for mitaka and newton on xenial 75/23875/3
chenshuai@huawei.com [Wed, 2 Nov 2016 08:36:20 +0000 (04:36 -0400)]
Improvement: add odl cluster new solution for mitaka and newton on xenial

JIRA: COMPASS-501

Change-Id: I11fc3297be4e72f24fd5ea9958dfd9e20f183afd
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
8 years agonewest-ansible-resolved 65/23865/1
chenshuai@huawei.com [Wed, 2 Nov 2016 07:37:27 +0000 (03:37 -0400)]
newest-ansible-resolved

Change-Id: I5cde09d93f96d5810c1340917801b3a237cf0d30
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
8 years agoworkaround for ansible latest version bug 31/23831/1
chenshuai@huawei.com [Tue, 1 Nov 2016 08:04:39 +0000 (04:04 -0400)]
workaround for ansible latest version bug

Change-Id: I1e1aa41c2a858c5e5579273b5c52576b63da9e94
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
8 years agocode refactoring: opendaylight for removing repeatedly files 85/23785/2
chenshuai@huawei.com [Mon, 31 Oct 2016 10:08:09 +0000 (06:08 -0400)]
code refactoring: opendaylight for removing repeatedly files

JIRA: COMPASS-500

Change-Id: Ic3378804550f529e2ca438f2a3f84f3ffc09ef8f
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
8 years agocode refactoring: opendaylight 81/23781/2
chenshuai [Mon, 31 Oct 2016 07:17:44 +0000 (03:17 -0400)]
code refactoring: opendaylight

JIRA: COMPASS-500

Change-Id: I205f1fb1f31219517f6e2408fa43c8679a1cc0a6
Signed-off-by: chenshuai <chenshuai@huawei.com>
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
8 years agocode refactoring: opendaylight for xenianl and moon 65/23765/2
chenshuai@huawei.com [Sat, 29 Oct 2016 09:49:22 +0000 (05:49 -0400)]
code refactoring: opendaylight for xenianl and moon

JIRA: COMPASS-500

Change-Id: I6c967572193bf20dbd9da58bcf001de2b8a8346c
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
8 years agoMerge "Workaround for random wait compass boot timeout"
Justin chi [Fri, 28 Oct 2016 17:24:32 +0000 (17:24 +0000)]
Merge "Workaround for random wait compass boot timeout"

8 years agoMerge "Fix glance images dir mount issue on centos/rhel"
Justin chi [Fri, 28 Oct 2016 16:08:04 +0000 (16:08 +0000)]
Merge "Fix glance images dir mount issue on centos/rhel"

8 years agoMerge "Add rhel 7.2 ks file"
Justin chi [Fri, 28 Oct 2016 16:07:52 +0000 (16:07 +0000)]
Merge "Add rhel 7.2 ks file"

8 years agoMerge "Add ENV to support rhel7.2 + osp9"
Justin chi [Fri, 28 Oct 2016 16:07:45 +0000 (16:07 +0000)]
Merge "Add ENV to support rhel7.2 + osp9"

8 years agoMerge "support rhel7.2 with osp9 iso build"
Justin chi [Fri, 28 Oct 2016 16:07:31 +0000 (16:07 +0000)]
Merge "support rhel7.2 with osp9 iso build"

8 years agoMerge "add osp9 roles"
Justin chi [Fri, 28 Oct 2016 16:07:15 +0000 (16:07 +0000)]
Merge "add osp9 roles"

8 years agoMerge "add osp9 ppa create scripts"
Justin chi [Fri, 28 Oct 2016 16:06:57 +0000 (16:06 +0000)]
Merge "add osp9 ppa create scripts"

8 years agoWorkaround for random wait compass boot timeout 37/23737/1
QiLiang [Fri, 28 Oct 2016 04:52:39 +0000 (12:52 +0800)]
Workaround for random wait compass boot timeout

JIRA: -

Sometimes compass-core already boot successfully, but wait_ok function
retry to ssh login to compass-core vm failed. Add two more times retry
before exit the deployment.

Change-Id: I1ae7795b2196e9a24c24c2368402e560aba68339
Signed-off-by: QiLiang <liangqi1@huawei.com>