Yifei Xue [Wed, 24 Jan 2018 04:04:36 +0000 (04:04 +0000)]
Merge "Bug fix for onos sfc" into stable/danube
wutianwei [Wed, 20 Sep 2017 09:28:08 +0000 (17:28 +0800)]
Add huawei-pod7 network.yml and DHA
dovetail need run in danube, we trigger compass4nfv in huawei-pod7 for davetail
Change-Id: I7cc89ceb3db872fee4a33d05f650289b38053436
Signed-off-by: wutianwei <wutianwei1@huawei.com>
liyuenan [Tue, 14 Mar 2017 07:55:08 +0000 (15:55 +0800)]
Support bond created
JIRA: -
You can add bond according to deploy/conf/network_cfg.yaml.
Change-Id: I70f2f03581cf763dbaf7a8a47bdbd46b66620fcb
Signed-off-by: liyuenan <liyuenan@huawei.com>
(cherry picked from commit
2932812260b57e7f67cef655ee2e043bf66b4887)
wutianwei [Mon, 24 Jul 2017 01:33:31 +0000 (09:33 +0800)]
Change the BMC password of barematel POD
For security, we change the password to Opnfv@pod
Change-Id: Ica563ab897123a6b45d1f97284071efa4a70461b
Signed-off-by: wutianwei <wutianwei1@huawei.com>
Yifei Xue [Mon, 17 Jul 2017 09:21:12 +0000 (17:21 +0800)]
Bug fix for onos sfc
Add the configuration of sfc driver in
networking-sfc and networking-onos.
Change-Id: I2f9345d2caa030960e707f15406cb22f6b525dc0
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Yifei Xue [Fri, 14 Jul 2017 08:50:48 +0000 (16:50 +0800)]
Update release note for Danube 3.1
JIRA: -
Change-Id: Ia88d2803da24cc6633aaaa449e92bbcf2ad69ab8
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Yifei Xue [Wed, 5 Jul 2017 06:39:01 +0000 (14:39 +0800)]
Upgrade networking-sfc to 3.0.0
JIRA: -
In openstack newton, the version of networking-sfc should be 3.0.0. Otherwise after neutron
db upgrading, the sfc related tables cannnot be written into neutron db.
Change-Id: Iceb17b5f9351d66ba43148211fcc5af053f63e39
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Justin chi [Tue, 20 Jun 2017 03:28:04 +0000 (03:28 +0000)]
Merge "Up br-external after its creation" into stable/danube
Justin chi [Thu, 15 Jun 2017 08:12:47 +0000 (08:12 +0000)]
Merge "FIX compass-core vm panic issue" into stable/danube
Yifei Xue [Thu, 15 Jun 2017 00:28:25 +0000 (08:28 +0800)]
Switch on onos-sfc scenario for CI
Change-Id: I23d03618bbfe53f188f594deabb8bc70453c73b9
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
QiLiang [Mon, 15 May 2017 09:21:04 +0000 (17:21 +0800)]
FIX compass-core vm panic issue
JIRA: -
Update compass-core vm cpu mode in libvirt xml to let
compass-core vm support most instruction set that host support.
Change-Id: I654672f441c18e0da87509d3c492ceae2bf9ba95
Signed-off-by: QiLiang <liangqi1@huawei.com>
Justin chi [Tue, 6 Jun 2017 01:58:35 +0000 (01:58 +0000)]
Merge "Switch off congress role in ansible plabook" into stable/danube
Yifei Xue [Mon, 5 Jun 2017 03:44:45 +0000 (11:44 +0800)]
Switch off congress role in ansible plabook
Installation often failed when creating user, role and service of congress.
So we switch off congress here. If compass users want to use congress,
just switch on congress in the ansible playbook.
Change-Id: I6f75ec7d86582650adbb7b273810a0961e8361c8
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Justin chi [Mon, 5 Jun 2017 03:21:05 +0000 (03:21 +0000)]
Merge "Update the release-note for Danube 3.0" into stable/danube
Yifei Xue [Sat, 3 Jun 2017 01:33:01 +0000 (09:33 +0800)]
Update the release-note for Danube 3.0
1. add new features
2. add bug fix
Change-Id: I96a654cc3ded647d71e7c283c5ef0f871ab5673c
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Yifei Xue [Sat, 27 May 2017 06:11:17 +0000 (14:11 +0800)]
Add opendaylight sfc support for compass installer
JIRA: COMPASS-483
As odl sfc has been supported by other installers,
we compass project has also support odl boron and tacker now.
So we are going to support odl sfc+tacker in Danube release.
This patch includes:
1. Add ovs-common and ovs-dkms
2. Install networking-sfc for neutron and odl
3. Configure odl sfc in neutron ml2
4. Add sfc related features in odl
5. Add sfc related repo making scripts
6. Add odl_sfc switch both in compass4nfv and compass-core
Change-Id: If37a9e190c3095d771ffab61777a927b6d94ea9e
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Yifei Xue [Sat, 27 May 2017 07:13:57 +0000 (15:13 +0800)]
onos sfc for danbue
JIRA: COMPASS-483
Install ovs-common and ovs-dkms.
Upgrade the ONOS SFC driver and update the sfc related comfigurations.
Change-Id: I47c7fe5cd2cb83517da18c36820dba05522c3835
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Yifei Xue [Fri, 19 May 2017 01:26:43 +0000 (09:26 +0800)]
Remove ovs-dpdk package
JIRA: COMPASS-483
"openvswitch-switch-dpdk" is not useful for current scenarios
and it will be incompatible with SFC scenarios. So we remove
it in this patch for the preparation of SFC online.
Change-Id: If48f63266101f0bc91faaab4ff330eac20e893c8
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
QiLiang [Mon, 8 May 2017 03:09:02 +0000 (11:09 +0800)]
Update moon role for moonv4
JIRA: -
To deploy moon(master/slave) scenario configure moon role in DHA file like:
- name: host4
roles:
- moon
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: Ie300a85979af31634ab0660ccee1ee8b094110b5
Signed-off-by: QiLiang <liangqi1@huawei.com>
Yifei Xue [Tue, 11 Apr 2017 13:06:20 +0000 (21:06 +0800)]
Change the default packages url from compass http server to opnfv artifacts
JIRA: COMPASS-544
Currently compass4nfv uses compass http server to store those packages used in
building ISO. This is not propriate in OPNFV community. So we push all the packages
into opnfv artifacts repo and change the package url used in compass to opnfv
artifacts repo url.
Change-Id: I9661f2d893767e18c037ba9de5f54933f48ce466
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
(cherry picked from commit
5cee19684b16e80b131cc3b5441781a3c6a7f971)
Justin chi [Fri, 5 May 2017 02:35:56 +0000 (02:35 +0000)]
Merge "Fix memcached doesn't start issue" into stable/danube
wutianwei [Mon, 27 Mar 2017 01:16:31 +0000 (09:16 +0800)]
change the package url
We moved the master package repository from <http://205.177.226.237:9999>
to <http://205.177.226.237:9999/master>. When we build the master ISO,
we need download the package from new URL.
Add md5 checksum after downloading package.
Change-Id: Ia6d8a217569e6e8dc676b1290e583348a7b9c347
Signed-off-by: wutianwei <wutianwei1@huawei.com>
(cherry picked from commit
8bc2146293461a619b5c5516a09d2915effbc19f)
QiLiang [Wed, 5 Apr 2017 08:32:18 +0000 (01:32 -0700)]
Up br-external after its creation
JIRA: -
On a clean env run compass4nfv deploy script will cause the jumpserver
network unreachable. This patch fix this issue.
Change-Id: Ib04762c5cf745ab40adcf05497d518e6d86ad97c
Signed-off-by: QiLiang <liangqi1@huawei.com>
(cherry picked from commit
a6b71efaef32cd9b43abb48f0a0084465bd435dc)
QiLiang [Mon, 27 Mar 2017 02:32:20 +0000 (10:32 +0800)]
Fix memcached doesn't start issue
JIRA: -
Sometimes memcached does not start after installation finished,
which will cause issues like openstack dashboard open instance
console failure.
This patch add memcached restart notify during package installation
and add memcached to cron service-status-check task's config file:
/opt/service
Change-Id: I625899348fb447875fcca7beedb619b5490ce567
Signed-off-by: QiLiang <liangqi1@huawei.com>
(cherry picked from commit
5dfa77861d3d5d561dfa19edcc71363a2b91e96b)
Justin chi [Thu, 30 Mar 2017 08:45:03 +0000 (16:45 +0800)]
Update release notes for Danube release
JIRA: -
1. Add known issues and workaroud instructions
2. Update Danube release date
Change-Id: I6058dcf7db478d680999f451f5959ec4f998036f
Signed-off-by: Justin chi <chigang@huawei.com>
Signed-off-by: chigang <chigang@huawei.com>
(cherry picked from commit
0523f8c84d0dd1530c725b08d881653f8522287f)
Justin chi [Thu, 30 Mar 2017 13:26:41 +0000 (13:26 +0000)]
Merge "[compass-docs] correct some minor mistake" into stable/danube
Harry Huang [Wed, 29 Mar 2017 09:30:15 +0000 (17:30 +0800)]
Fix some opera related error
1. echo a string to compass log to avoid deploy error
bing concealed
2. judge return code of ./opera_launch.sh
Change-Id: I7ac2bac9b600f289c01116e7f7777d1219a58eb2
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Justin chi [Mon, 27 Mar 2017 06:19:06 +0000 (06:19 +0000)]
Revert "opera adapter fix2"
* opera_adapter need sshpass which may cause deploy
fail
* compass log redirection is the last command which
always return 0 and thus cover deploy error
1. add installation of sshpass in prepare.sh
2. echo a string at the end of deploy/launch.sh into
log file to judge if deployment is complete
3. fix typing error in util/check_valid.py
Change-Id: Ifa57faed29e1055a35ab0e24b0026b520f395807
Signed-off-by: Justin chi <chigang@huawei.com>
meimei [Fri, 24 Mar 2017 09:22:16 +0000 (17:22 +0800)]
[compass-docs] correct some minor mistake
Change-Id: I0e065552cbcaeffde83daeac9d1c27445f6cfcbb
Signed-off-by: meimei <meimei@huawei.com>
(cherry picked from commit
751fe977da4661d7c99733afc7d0b1d060da198d)
Harry Huang [Thu, 23 Mar 2017 07:52:09 +0000 (15:52 +0800)]
opera adapter fix2
* opera_adapter need sshpass which may cause deploy
fail
* compass log redirection is the last command which
always return 0 and thus cover deploy error
1. add installation of sshpass in prepare.sh
2. echo a string at the end of deploy/launch.sh into
log file to judge if deployment is complete
3. fix typing error in util/check_valid.py
Change-Id: Ic4bca50b2c316bf46cace45b9b3317ef9452a0ba
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Harry Huang [Tue, 21 Mar 2017 03:31:56 +0000 (11:31 +0800)]
Opera adapter fix
* CI return 0 when opera_adapter fails which cover the error.
* opera_adapter runs with no sudo will fail when generate ssh
key.
* opera_adapter.py use simple ip replacement for openrc file
will lead to error when openrc file changed in compass.
1. add judgement to tell if opera_adapter fails
2. add sudo when run opera_adapter
3. pass data in openrc files to opera openrc instead of ip
rewriting
Change-Id: I681717947746b768791529975a5b0d2a23c6069a
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
(cherry picked from commit
b21d57081d4b705689cb6d7372e254818b84a760)
Harry Huang [Mon, 20 Mar 2017 01:35:29 +0000 (09:35 +0800)]
update opera fix
opera codes has been updated and network_openo.yml is modified
according to new opera net config. open-o related keys in
deploy/compass_conf/package_metadata/openstack.conf should be
modified as well
Change-Id: I55f8ed3dedcbfd30a3f01b70c958258199f600e6
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
(cherry picked from commit
b7fb5c062e0e806e34ebc53fe670f00f8417cd4a)
Harry Huang [Mon, 13 Mar 2017 12:22:47 +0000 (20:22 +0800)]
update opera related files
1. update opera_adapter.py to sync new opera config
2. modify all os-nosdn-openo-ha.yml, add open-o version
and vnf type
3. modify all network_openo.yml, using only one external
ip and assign open-o docker ips
Change-Id: Iadcba8cc2fc17ddf32dfea9fe52c471a6bfadde8
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
(cherry picked from commit
524fea7f6eacfa6a102614b7fb4c66e1be1b8287)
Justin chi [Sat, 18 Mar 2017 05:58:15 +0000 (05:58 +0000)]
Merge "Add ONOS scenario to daily master" into stable/danube
Justin chi [Sat, 18 Mar 2017 05:56:02 +0000 (05:56 +0000)]
Merge "onos 1.8 upgradation for danube" into stable/danube
Yifei Xue [Fri, 17 Mar 2017 06:40:02 +0000 (14:40 +0800)]
Add ONOS scenario to daily master
Currently ONOS scenario only runs when OpenStack version is set to Mitaka.
This patch is going to change daily ONOS scenario to run with OpenStack Newton.
Change-Id: I6595d23778bb50772531e1419d2c7b7b72988967
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
(cherry picked from commit
8c13e15ef13be59dfbb80e3bc115ed8d486d365b)
rssaravana [Fri, 17 Feb 2017 11:14:25 +0000 (16:44 +0530)]
onos 1.8 upgradation for danube
Change-Id: I6242b9fc09749ca83f446ef5456eaad72f248012
Signed-off-by: rssaravana <saravanakumar.somaskandan@huawei.com>
(cherry picked from commit
8da5888adfc919b20807f0783e1ae841fac4244e)
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>
(cherry picked from commit
36de0a04135b0932eab1e3a30d703a98aabc031d)
Justin chi [Fri, 17 Mar 2017 08:47:03 +0000 (08:47 +0000)]
Merge "Adding Labels" into stable/danube
ShubhamRathi [Tue, 7 Mar 2017 11:31:11 +0000 (17:01 +0530)]
Adding Labels
Labels serve as anchors/ refs when referenced from other documents
This patch adds labels to docs/*/*/index.rst
Change-Id: I66414622edcb73d22142d03d55c2040c3ff70d68
Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
(cherry picked from commit
f6971e40269878da23f853a517e1416d8b1a770a)
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>
(cherry picked from commit
185218b1731357f1ef4ee4f2898519ede9a34912)
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>
Justin chi [Wed, 8 Mar 2017 04:42:27 +0000 (04:42 +0000)]
Merge "add open-o scenario"
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>
Justin chi [Fri, 3 Mar 2017 10:10:21 +0000 (10:10 +0000)]
Merge "Development documentations update"
Justin chi [Tue, 28 Feb 2017 12:38:28 +0000 (12:38 +0000)]
Merge "Add License header for files without it"
Justin chi [Tue, 28 Feb 2017 10:51:48 +0000 (10:51 +0000)]
Merge "add ntp for compass-core"
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>
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>
Justin chi [Mon, 27 Feb 2017 06:11:28 +0000 (06:11 +0000)]
Merge "Bug fix for odl l2"
Justin chi [Mon, 27 Feb 2017 06:09:13 +0000 (06:09 +0000)]
Merge "Update deploy.sh"
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>
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>
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>
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>
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>
Justin chi [Mon, 20 Feb 2017 11:34:43 +0000 (11:34 +0000)]
Merge "FIX access database failed"
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>
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>
Justin chi [Mon, 13 Feb 2017 12:00:05 +0000 (12:00 +0000)]
Merge "FIX access database failed"
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>
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>
Justin chi [Fri, 10 Feb 2017 07:21:33 +0000 (07:21 +0000)]
Merge "Ease to switch themes of Horizon"
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>
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>
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>
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>
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>
Justin chi [Sat, 4 Feb 2017 06:26:03 +0000 (06:26 +0000)]
Merge "Add opera support"
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>
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>
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>
Justin chi [Tue, 24 Jan 2017 08:50:35 +0000 (08:50 +0000)]
Merge "Adjust make repo"
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>
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>
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>
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>
Justin chi [Sun, 15 Jan 2017 02:59:56 +0000 (02:59 +0000)]
Merge "Create openstack flavors"
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>
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>
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>
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>
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>
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>
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>
Justin chi [Thu, 12 Jan 2017 03:21:46 +0000 (03:21 +0000)]
Merge "Fix multi-nics BM deploy network unreachable issue"
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>
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>
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>
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>
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>
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>
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>
Justin chi [Tue, 20 Dec 2016 03:42:26 +0000 (03:42 +0000)]
Merge "add congress support"
Justin chi [Tue, 20 Dec 2016 02:29:33 +0000 (02:29 +0000)]
Merge "Add VIM registration for Tacker Mitaka"
Justin chi [Thu, 15 Dec 2016 08:51:22 +0000 (08:51 +0000)]
Merge "Support expansion for newton"
Justin chi [Thu, 15 Dec 2016 08:41:32 +0000 (08:41 +0000)]
Merge "Print information about openstack deployed."
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>
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>
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>