summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible
AgeCommit message (Collapse)AuthorFilesLines
2017-01-14Deploy OpenStack Newton on CentOS hostsliyuenan27-43/+199
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>
2017-01-14Remove some duplicate or useless filesliyuenan4-66/+0
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>
2017-01-13FIX kvm_cpu_num fetch bugQiLiang1-1/+1
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>
2017-01-12Upgrade OpenDaylight to Boron ( l2 scenario )Harry Huang19-106/+50
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>
2017-01-12FIX external net createliyuenan1-2/+2
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>
2017-01-12FIX Ceph user errorliyuenan1-2/+3
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>
2017-01-05Fix instance can't get key bugHarry Huang3-3/+3
JIRA:COMPASS-517 modify metadata_agent.ini to support keystone api V3 Change-Id: If0a3a9f687cdb48af740ed6231e96e3e712755f4 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-01-05Yamllint testliyuenan202-4519/+913
JIRA: COMPASS-516 Change-Id: I482ce9bc86f4f963258c5b8823e0b00e83556eef Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-26Update ansible versionliyuenan61-136/+168
JIRA: COMPASS-511 Change-Id: Id0e83c65a08c9f9036b5d3a597b905e8a7bde6e8 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-22Change newton_xenial to newtonliyuenan1-0/+0
JIRA: COMPASS-513 Change-Id: I937a02bcd69f0df1f5d951dd6630ef2e76e8d386 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-20master only support newtonliyuenan535-24818/+1343
JIRA: COMPASS-513 Remove other roles and ppa, master only support newton. Change-Id: I47ddb16baa25902c3e05cc7f9d0d6430f5dc7e00 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-20Merge "add congress support"Danube.0.1Justin chi29-22/+1820
2016-12-20Merge "Add VIM registration for Tacker Mitaka"Justin chi4-0/+267
2016-12-14Add VIM registration for Tacker MitakaYifei Xue4-0/+267
JIRA: COMPASS-510 Change-Id: I05c2a0670d4c75f516f53f9849793e02e92cb559 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-12-14Support expansion for newtonliyuenan6-64/+140
JIRA: COMPASS-481 Change-Id: I2dc6230f808a62f6b852f0668771b7302c7b540c Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-10Support compute node expansion with ceph-osdQiLiang9-5/+73
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>
2016-12-07Merge "Fix keystone token flush"Justin chi1-6/+1
2016-12-05Fix keystone token flushliyuenan1-6/+1
JIRA: COMPASS-491 Change-Id: I5986f8152f88ac7a77dd8bf2bbbcb92faf208aa2 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-11-29Support aodh for Newtonliyuenan8-69/+24
JIRA: COMPASS-491 Change-Id: I209aec69eec1376432807b44c0a0e890261f3dff Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-11-28add congress supportHarry Huang29-22/+1820
JIRA: COMPASS-367 add congress support in openstack_mitaka and openstack_newton_xenial Change-Id: I3aa19cb54081ad2300964955b899c1b56a875b25 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2016-11-28Fix some xenial baremetal deploy bugsliyuenan6-8/+8
1. Fix pip upgrade 2. Fix apache conf file JIRA: COMPASS-489 Change-Id: I2d45114b559298898ab354f884ced74fc9fc7abf Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-11-26Merge "fix demo user password bug"Justin chi3-3/+3
2016-11-26Merge "update pip and split pip source"Justin chi2-0/+8
2016-11-26Merge "Support ceilometer for Newton"Justin chi22-36/+469
2016-11-26Merge "Fix the wait_for modules"Justin chi5-5/+5
2016-11-26Merge "Fix the apache service restart failed in xenial"Justin chi4-0/+136
2016-11-25Fix the apache service restart failed in xenialliyuenan4-0/+136
JIRA: COMPASS-491 Change-Id: I8e12a308e6ba48117b906a0e101cddaeb9ee8a2e Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-11-25Fix the wait_for modulesliyuenan5-5/+5
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>
2016-11-25fix demo user password bugHarry Huang3-3/+3
JIRA: COMPASS-505 add demo user password in keystone ansible Change-Id: I369934b415c91af0a25616cefcea70041a43a63d Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2016-11-25update pip and split pip sourceHarry Huang2-0/+8
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>
2016-11-24Support ceilometer for Newtonliyuenan22-36/+469
JIRA: COMPASS-491 Change-Id: Iffa7e37e931af4c212fe523e529ee34dd2c14c24 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-11-22Improve compass ci verification--clear all flake8 warnings & errors of ↵KingPoo2-16/+16
compass4nfv JIRA: COMPASS-494 Change-Id: Iec4664a376100f2a0f5fe6c46c1a45360f9c2324 Signed-off-by: KingPoo <haojingbo@huawei.com>
2016-11-15Repair Flake8's warnings & errorsKingPoo10-74/+71
Change-Id: I67e71bc37c0464a0714e1e59b3402973786e4aa6 Signed-off-by: KingPoo <haojingbo@huawei.com>
2016-11-11Merge "autopep8 make py files more standard"Justin chi16-304/+681
2016-11-09autopep8 make py files more standardKingPoo16-304/+681
Change-Id: Ibaa74a1f508b28548668e764d1860393caa356d4 Signed-off-by: KingPoo <haojingbo@huawei.com>
2016-11-10Support API v2.0liyuenan2-0/+16
JIRA: COMPASS-491 Change-Id: I56c854d752d0dbf72ec3984670b49606c044bec1 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-11-09Update the API version for Openstack Newtonliyuenan30-513/+1372
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>
2016-11-02Improvement: add odl cluster new solution for mitaka and newton on xenialchenshuai@huawei.com5-5/+77
JIRA: COMPASS-501 Change-Id: I11fc3297be4e72f24fd5ea9958dfd9e20f183afd Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-10-31code refactoring: opendaylight for removing repeatedly fileschenshuai@huawei.com32-645/+10
JIRA: COMPASS-500 Change-Id: Ic3378804550f529e2ca438f2a3f84f3ffc09ef8f Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-10-31code refactoring: opendaylightchenshuai54-1061/+1078
JIRA: COMPASS-500 Change-Id: I205f1fb1f31219517f6e2408fa43c8679a1cc0a6 Signed-off-by: chenshuai <chenshuai@huawei.com> Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-10-29code refactoring: opendaylight for xenianl and moonchenshuai@huawei.com25-465/+547
JIRA: COMPASS-500 Change-Id: I6c967572193bf20dbd9da58bcf001de2b8a8346c Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-10-28Fix glance images dir mount issue on centos/rhelQiLiang5-5/+10
JIRA: - The directory /var/lib/glance/images is not created on centos/rhel system, create it before fs mount. Change-Id: Iec070ad834d6a6206f11923088a73a8dcfe173f9 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-10-27add osp9 rolesQiLiang87-0/+4476
Change-Id: Ie0085f718c2c737ae32c8abf97fd8c0408360acb Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-10-25Merge "Edit the docker file and adjust HA yml"shuai chen10-40/+62
2016-10-24Edit the docker file and adjust HA ymlliyuenan10-40/+62
JIRA: COMPASS-491 Change-Id: Ibca46dca0ca614b9a6e7eb3fe5b9d5c8ca26c006 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-10-24Merge "Bug fix for jdk8 installation-3"shuai chen1-0/+1
2016-10-21Merge "Make openstack dashboard theme configurable"Justin chi1-1/+1
2016-10-21Bug fix for jdk8 installation-3Yifei Xue1-0/+1
JIRA: COMPASS-492 Change-Id: Iec6e35678c67ae965c608b1144b9000a64fa2c9d Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-10-21Make openstack dashboard theme configurableQiLiang1-1/+1
Use flag ENABLE_UBUNTU_THEME to configure enable or disable ubuntu dashboard theme. Set default to use ubuntu theme. JIRA: - Change-Id: I454c69b0290084c244979bb86c733a03721481cb Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-10-20Bug fix for jdk8 installation-2Yifei Xue1-0/+1
JIRA: COMPASS-492 Change-Id: I3a83b1a0bc2a98fc45c082bd06492b913b7a3a81 Signed-off-by: Yifei Xue <xueyifei@huawei.com>