summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible
AgeCommit message (Collapse)AuthorFilesLines
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-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>
2016-10-16Merge "Add recovery scripts"Justin chi16-3/+135
2016-10-16Merge "Bug fix for jdk8 installation"Justin chi5-4/+16
2016-10-16Merge "Move all the tar packages in compass4nfv repo to deploy ISO"Justin chi11-12/+50
2016-10-15Add recovery scriptsQiLiang16-3/+135
- add recovery shell scripts - add boot-recovery role to stop services during system boot which could cause boot pending - configure nfs mount in /etc/fstab cause system boot pending, so mount nfs during ansible-playbook run. - kill mysqld before mysql recovery, running mysqld may cause mysql recover failure JIRA: COMPASS-474 Change-Id: I0f6f0ee935fbe3fbbe28a451a02decfb01a6165b Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-10-13Add the roles for OpenStack Newtonliyuenan113-0/+9358
JIRA: COMPASS-491 Change-Id: Id3ae5b254d06766a74140ec0b13608eb67339e29 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-10-12Move all the tar packages in compass4nfv repo to deploy ISOYifei Xue11-12/+50
JIRA: COMPASS-493 Change-Id: I64c87b50fd88bf193a502568986f560fc2a144f6 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-10-11Bug fix for jdk8 installationYifei Xue5-4/+16
JIRA: COMPASS-492 Change-Id: I17e41f7c32652454ff9ff4e788833c6502b5b9e6 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-09-28Merge "Edit the ansible for expansion"Justin chi4-2/+168
2016-09-21Remove unsed files in open-contrail roleQiLiang7-354/+0
JIRA: - Change-Id: Idfb53a9705f206266c01be6d586e57e15280a1bc Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-09-18Edit the ansible for expansionliyuenan4-2/+168
JIRA:COMPASS-481 Change-Id: Iefaea65312317d430f0f7be91787bc48423310a9 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-09-14Add network connectivity checkQiLiang2-0/+70
JIRA: COMPASS-485 Change-Id: I3ca177118dec362ca2350c746519b83889ec3f83 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-09-12set prevent_arp_spoofing to False when disable secgroupQiLiang3-0/+9
JIRA: - Change-Id: Idcfedf9fc48f4626ea93bcee1e4a11f69663a869 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-09-09Temporally disable swift support in moon scenarioQiLiang6-47/+46
Change-Id: Ib7ff639026e6975ca01359a76a57274f1fd8537b Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-09-08Merge "Bug fix for tacker installation"shuai chen1-0/+29
2016-09-08Merge "Bug fix to disable security-group on Mitaka"shuai chen4-0/+14
2016-09-07Restart mysql in centos-no-ha scenarioQiLiang1-0/+18
JIRA: COMPASS-482 Change-Id: Id26a0acbe9b725e236021a4b324960eef02b48eb Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-09-05Bug fix to disable security-group on MitakaQiLiang4-0/+14
Change-Id: If659c8821a97d05dbaeedc864429f0427e145ab0 JIRA: COMPASS-479 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-09-05Merge "sleep 10 second after restart neutron server"Justin chi1-0/+3
2016-09-02sleep 10 second after restart neutron servermeimei1-0/+3
the reason is creating external net random failed after restarting neutron server. Change-Id: I955eb072a06ad71e795c154c52ccf0e19c505897 Signed-off-by: meimei <meimei@huawei.com>
2016-08-31bugfix: disable dlux in ODL for Centos due to conflict with ovs-openstackchenshuai@huawei.com4-2/+81
JIRA: COMPASS-477 Change-Id: If9f1de6bcfde94cbb2cc3777d6ef0de78ba5ef31 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-08-30bugfix:enable metadata in DHCP for odl l3chenshuai@huawei.com4-6/+12
JIRA: COMPASS-476 Change-Id: Ie9734c6b8304a40fbb24e9f6230801c00289d36f Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-08-30Bug fix for tacker installationYifei Xue1-0/+29
JIRA: COMPASS-430 Change-Id: I622b092dac3d77d4094cc470b8eeb9b0628d83e9 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-08-30Merge "change odl password for moon"chenshuai@huawei.com1-0/+5
2016-08-30Merge "Add heat user domain configuration"shuai chen7-40/+51
2016-08-29change odl password for moonchenshuai@huawei.com1-0/+5
JIRA: COMPASS-481 Change-Id: I2075044230a393048803a6776b31927d7fff505c Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-08-30Modify sfc bug for ONOSCNlucius7-4/+265
Change-Id: Ied71c7e57553a846241ec826c8607ac1bb84e1e9 Signed-off-by: CNlucius <lukai1@huawei.com>
2016-08-29Add heat user domain configurationQiLiang7-40/+51
FIX Rally heat create_update_delete_stack test case failure for Liberty Ubuntu JIRA: COMPASS-454 Change-Id: Id4538f9caa5b619d66ab8fe97c63b10688ffe104 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-08-29Merge "Add controller and compute recovery roles"shuai chen13-0/+232
2016-08-28Disable keystone boot auto startQiLiang2-0/+19
keystone is running under apache, disable keystone auto start during system boot. JIRA: COMPASS-475 Change-Id: Ia6c17dff71ae846ced12036da2e08bb7df4a4f2f Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-08-28Add controller and compute recovery rolesQiLiang13-0/+232
After all hosts system restart, login to the compass-core, change directory /var/ansible/run/<openstack-cluster> and execute below command: ansible-playbook \ -i inventories/inventory.yml HA-ansible-multinodes.yml \ -t recovery \ -e "RECOVERY_ENV=True" JIRA: COMPASS-474 Change-Id: I2ed80550c043b14643382609c48d724019cc1cfb Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-08-22Imporve nova-compute virt_type confiugrationQiLiang4-0/+30
JIRA: COMPASS-461 Change-Id: I8efa45df2407fecabf2ea206f747fc61dbc1d1c8 Signed-off-by: QiLiang <liangqi1@huawei.com>