summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/openstack_mitaka
AgeCommit message (Collapse)AuthorFilesLines
2016-11-15Repair Flake8's warnings & errorsKingPoo1-4/+3
Change-Id: I67e71bc37c0464a0714e1e59b3402973786e4aa6 Signed-off-by: KingPoo <haojingbo@huawei.com>
2016-11-09autopep8 make py files more standardKingPoo2-11/+24
Change-Id: Ibaa74a1f508b28548668e764d1860393caa356d4 Signed-off-by: KingPoo <haojingbo@huawei.com>
2016-11-09Update the API version for Openstack Newtonliyuenan2-3/+3
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.com1-5/+1
JIRA: COMPASS-501 Change-Id: I11fc3297be4e72f24fd5ea9958dfd9e20f183afd Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-10-31code refactoring: opendaylightchenshuai1-148/+0
JIRA: COMPASS-500 Change-Id: I205f1fb1f31219517f6e2408fa43c8679a1cc0a6 Signed-off-by: chenshuai <chenshuai@huawei.com> Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-10-28Fix glance images dir mount issue on centos/rhelQiLiang1-1/+2
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-15Add recovery scriptsQiLiang2-1/+14
- 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-09-18Edit the ansible for expansionliyuenan2-1/+90
JIRA:COMPASS-481 Change-Id: Iefaea65312317d430f0f7be91787bc48423310a9 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-09-12set prevent_arp_spoofing to False when disable secgroupQiLiang1-0/+3
JIRA: - Change-Id: Idcfedf9fc48f4626ea93bcee1e4a11f69663a869 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-09-05Bug fix to disable security-group on MitakaQiLiang2-0/+7
Change-Id: If659c8821a97d05dbaeedc864429f0427e145ab0 JIRA: COMPASS-479 Signed-off-by: QiLiang <liangqi1@huawei.com>
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-30Merge "Add heat user domain configuration"shuai chen2-40/+0
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 configurationQiLiang2-40/+0
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 chen1-0/+15
2016-08-28Disable keystone boot auto startQiLiang1-0/+9
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 rolesQiLiang1-0/+15
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 confiugrationQiLiang2-0/+15
JIRA: COMPASS-461 Change-Id: I8efa45df2407fecabf2ea206f747fc61dbc1d1c8 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-08-18Fix apache2 down bugQiLiang1-0/+17
Add apache2 to dashboard restart service list. JIRA: COMPASS-460 Change-Id: I6d6694768724c1fedca1c945cebaac3a12c6623a Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-08-17Merge "rename region name to be unified"shuai chen3-12/+12
2016-08-16Add index.html for web serverQiLiang2-0/+48
JIRA: COMPASS-458 Change-Id: I812e098d11d82aec2376e7ae9f563d251a499104 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-08-15rename region name to be unifiedMatthewLi3-12/+12
JIRA: COMPASS-457 nova region name should be unified. compass use regionOne original, however, upstream usually use RegionOne, this is caused by clerical error. Now the OCL and sfc/tacker use RegionOne by not knowing the compass clerical error. so all should be changed to RegionOne. Change-Id: I8bc280cca036afffe09d0a3bcebc940deaa490b5 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-08-13Merge "FIX centos7 ppa create failure"shuai chen1-0/+37
2016-08-12Add heat user domain configurationQiLiang6-0/+215
FIX Rally heat create_update_delete_stack test case failure JIRA: COMPASS-454 Change-Id: Ib77109c6dde0e7042283e5a9e67be858d360a2ef Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-08-12FIX centos7 ppa create failureQiLiang1-0/+37
ceph repo update, related upstream link: http://tracker.ceph.com/issues/16916 centos ceph-deploy rpm download failure workaround Error info: Package python-setuptools is obsoleted by python2-setuptools, but obsoleting package does not provide for requirements --> Finished Dependency Resolution Error: Package: ceph-deploy-1.5.31-1.el7.noarch (centos-ceph-hammer) Requires: python-distribute Available: python-setuptools-0.9.8-4.el7.noarch (base) python-distribute = 0.9.8-4.el7 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest JIRA: COMPASS-455 Change-Id: Ibebc8b25786b12308d5963e77b0f7959d700113a Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-08-03Bug fix for aodh database and conf fileYifei Xue7-22/+114
JIRA: COMPASS-447 Change-Id: Ida974260b0e90778d5825be4731f461dd410415a Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-07-28Workaround for openstack api access random failureQiLiang4-0/+98
JIRA: COMPASS-446 Change-Id: I312368ca2fc07fcd07a916a2e6f979086f658dba Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-07-21Improvement Ansible Accelerate modechenshuai@huawei.com1-0/+4
JIRA: COMPASS-433 Change-Id: I4b2221e7f8db93981325c52a4c43f8cc9cebc099 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-07-20COMPASS-441CNlucius1-0/+1
Add condition for install related onos packages Change-Id: If8d796f6fbbf47abf0dea8eb7df7bd8ab4fb9518 Signed-off-by: CNlucius <lukai1@huawei.com>
2016-07-18COMPASS-439CNlucius1-4/+4
fix name of neutron-plugin-openvswitch-agent to neutron-openvswitch-agent Change-Id: I880b1ce62a0a73a4e34f0966736301a79572cb6c Signed-off-by: CNlucius <lukai1@huawei.com>
2016-07-18COMPASS-438CNlucius3-15/+150
add a task of onos-sfc Change-Id: Iba0273652afe91e251650f3bf90339bbc4cbdaeb Signed-off-by: CNlucius <lukai1@huawei.com>
2016-07-15COMPASS-437CNlucius2-0/+8
add install onos related package Change-Id: I1d2fe3687a1c38fafce4fab61ba2929375d7d0c7 Signed-off-by: CNlucius <lukai1@huawei.com>
2016-07-15COMPASS-436CNlucius1-0/+7
add Port config Change-Id: I8e9ea4df7a4a1bdd6aaa123c40e2d726d0c4f4e6 Signed-off-by: CNlucius <lukai1@huawei.com>
2016-07-12COMPASS-433CNlucius2-0/+2
Add git install in each host Change-Id: I2ec595630026957960a7e946812cefafa73b1f3f Signed-off-by: CNlucius <lukai1@huawei.com>
2016-07-11COMPASS-432CNlucius1-1/+1
update neutron.conf to delete the blank space Change-Id: I7973d78445f13ca81062d4a91dc0fc12f8b86925 Signed-off-by: CNlucius <lukai1@huawei.com>
2016-07-07COMPASS-429CNlucius1-2/+3
onos_cluster tasks are executed in none onos scenario Change-Id: I03a5d111d5822cbe88b87efd6c333ea65c5bdad9 Signed-off-by: CNlucius <lukai1@huawei.com>
2016-07-05COMPASS-409CNlucius8-70/+234
Upgrade ONOS support for Compass Change-Id: Iefc37dc629b1ad7c19bf2b679ec08c9cb15c6a76 Signed-off-by: CNlucius <lukai1@huawei.com>
2016-07-01Update tacker related packagesYifei Xue1-0/+426
JIRA: COMPASS-423 Change-Id: I3efa0868c0147cc43b1df096ae89a6bdc42f4204 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-06-14umount nfs directory when using cephQiLiang2-0/+52
JIRA: COMPASS-419 Change-Id: I603c3827eb1b9b4e47e611ab9620d36ac3922d68 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-06-07Merge "Bug fix for aodh service in keystone vars list"Justin chi1-0/+164
2016-06-03Bug fix for aodh service in keystone vars listYifei Xue1-0/+164
JIRA: COMPASS-414 Change-Id: I91a749fbf3892ad781f8f5bde404ba4a115c4d3c Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-06-03Update ceph support for mitakaQiLiang3-33/+106
JIRA: COMPASS-412 Change-Id: Ia51bffe81a09bbb19363eb7d2569fc5a859b33b0 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-06-02Merge "Add virtlogd start for ubuntu mitaka"shuai chen1-0/+54
2016-06-02Add virtlogd start for ubuntu mitakaQiLiang1-0/+54
JIRA: COMPASS-411 Change-Id: Ie45789a9ce74635fa9df7a13834d2f9f60fc62ec Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-06-02Update neutron plugin configuration for ubuntu mitakaQiLiang2-0/+192
JIRA: COMPASS-410 Change-Id: I83a12b9c7f8803954865fdc5970582151e2e3931 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-05-28Add nova_api db configuration for mitakaQiLiang7-0/+745
* add nova_api confiugration * tmp add nfs packages install, FIXME when ceph is ready * update neutron.conf and nova.conf JIRA: COMPASS-404 Change-Id: I9b059d28e6e87b9ba789043634751123202f08f9 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-05-26Update the service names of aodh for centos7Yifei Xue1-4/+4
JIRA: COMPASS-403 Change-Id: I606e0846f32967b1c212d8fb9ef79fd692c8b334 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-05-25Update ansible playbook (HA-ansible-multinodes.yml) for mitakaYifei Xue1-0/+239
JIRA: COMPASS-400 Change-Id: I6402ce97f998f4a61f4188f7e659ea813f910a52 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-05-25Merge "Update the service name of neutron-plugin-openvswitch-agent"shuai chen9-0/+481
2016-05-25Set "memcached_servers" in aodh.confYifei Xue1-0/+6
JIRA: COMPASS-399 Change-Id: I821aceb0430b071814591781985ee7a4f22a7091 Signed-off-by: Yifei Xue <xueyifei@huawei.com>