summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-05-15Update moon role for moonv4QiLiang27-2847/+320
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>
2017-05-10Change the default packages url from compass http server to opnfv artifactsYifei Xue6-8/+6
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)
2017-05-05Merge "Fix memcached doesn't start issue" into stable/danubedanube.2.0Justin chi2-1/+19
2017-05-04change the package urlwutianwei2-2/+8
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)
2017-04-14Fix memcached doesn't start issueQiLiang2-1/+19
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)
2017-03-30Update release notes for Danube releasedanube.1.RC1danube.1.0Justin chi2-23/+20
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)
2017-03-30Merge "[compass-docs] correct some minor mistake" into stable/danubeJustin chi3-6/+5
2017-03-29Fix some opera related errorHarry Huang4-5/+17
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>
2017-03-27Revert "opera adapter fix2"Justin chi4-11/+3
* 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>
2017-03-25[compass-docs] correct some minor mistakemeimei3-6/+5
Change-Id: I0e065552cbcaeffde83daeac9d1c27445f6cfcbb Signed-off-by: meimei <meimei@huawei.com> (cherry picked from commit 751fe977da4661d7c99733afc7d0b1d060da198d)
2017-03-24opera adapter fix2Harry Huang4-3/+11
* 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>
2017-03-21Opera adapter fixHarry Huang2-6/+22
* 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)
2017-03-20update opera fixHarry Huang1-56/+6
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)
2017-03-18update opera related filesHarry Huang13-151/+103
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)
2017-03-18Merge "Add ONOS scenario to daily master" into stable/danubeJustin chi1-4/+0
2017-03-18Merge "onos 1.8 upgradation for danube" into stable/danubeJustin chi18-52/+616
2017-03-17Add ONOS scenario to daily masterYifei Xue1-4/+0
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)
2017-03-17onos 1.8 upgradation for danuberssaravana18-52/+616
Change-Id: I6242b9fc09749ca83f446ef5456eaad72f248012 Signed-off-by: rssaravana <saravanakumar.somaskandan@huawei.com> (cherry picked from commit 8da5888adfc919b20807f0783e1ae841fac4244e)
2017-03-17Add network_openo.yml in all virtual podsHarry Huang5-0/+456
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)
2017-03-17Merge "Adding Labels" into stable/danubeJustin chi4-0/+8
2017-03-14Adding LabelsShubhamRathi4-0/+8
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)
2017-03-14Add deploy log to fileQiLiang1-1/+4
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)
2017-03-08Upgrade tacker from mitaka to newtonYifei Xue16-97/+214
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>
2017-03-08Merge "add open-o scenario"Justin chi7-0/+579
2017-03-06add open-o scenarioHarry Huang7-0/+579
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>
2017-03-03Merge "Development documentations update"Justin chi5-0/+186
2017-02-28Merge "Add License header for files without it"Justin chi125-362/+1083
2017-02-28Merge "add ntp for compass-core"Justin chi3-2/+3
2017-02-28Development documentations updateYifei Xue5-0/+186
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>
2017-02-27Add License header for files without itchigang125-362/+1083
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>
2017-02-27Merge "Bug fix for odl l2"Justin chi3-5/+2
2017-02-27Merge "Update deploy.sh"Justin chi1-49/+10
2017-02-22Update deploy.shliyuenan1-49/+10
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>
2017-02-22Bug fix for odl l2Yifei Xue3-5/+2
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>
2017-02-22Installation and release documentations updateQingyu Wang22-1100/+1127
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>
2017-02-21add ntp for compass-coreqiwei-li-huawei3-2/+3
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>
2017-02-20Upgrade OpenDaylight to Boron ( centos )Harry Huang9-32/+32
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>
2017-02-20Merge "FIX access database failed"Justin chi3-14/+20
2017-02-20FIX access database failedliyuenan3-14/+20
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>
2017-02-15update info for PTL electionJustin-chi1-2/+12
JIRA: - update info for new PTL election. add irc channel information. Change-Id: I7da3e8b40fa90b0f70fc477be9577d6da29a22f6 Signed-off-by: Justin chi <chigang@huawei.com>
2017-02-13Merge "FIX access database failed"Justin chi2-3/+4
2017-02-13FIX access database failedliyuenan2-3/+4
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>
2017-02-13Fix create stack failedliyuenan1-2/+17
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>
2017-02-10Merge "Ease to switch themes of Horizon"Justin chi2-7/+11
2017-02-10Update shade version to avoid the conflictliyuenan2-2/+2
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>
2017-02-09Upgrade OpenDaylight to Boron ( l3 scenario )Harry Huang10-85/+47
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>
2017-02-08Ease to switch themes of Horizonliyuenan2-7/+11
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>
2017-02-07Fix Aodh BugHarry Huang7-6/+92
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>
2017-02-04Congress support for NewtonHarry Huang16-23/+166
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>
2017-02-04Merge "Add opera support"Justin chi5-0/+317