summaryrefslogtreecommitdiffstats
path: root/deploy
AgeCommit message (Collapse)AuthorFilesLines
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-15Repair Flake8's warnings & errorsKingPoo15-101/+99
Change-Id: I67e71bc37c0464a0714e1e59b3402973786e4aa6 Signed-off-by: KingPoo <haojingbo@huawei.com>
2016-11-11Merge "autopep8 make py files more standard"Justin chi24-502/+952
2016-11-10Merge "Support API v2.0"Justin chi2-0/+16
2016-11-09autopep8 make py files more standardKingPoo24-502/+952
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-10Update intel pod8 conf fileQiLiang10-24/+59
JIRA: - Change-Id: I25be776b05decfbe79c3547f30fbe174d7f14c0d Signed-off-by: QiLiang <liangqi1@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-03Merge "Improvement: add odl cluster new solution for mitaka and newton on ↵shuai chen5-5/+77
xenial"
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-11-02newest-ansible-resolvedchenshuai@huawei.com1-1/+1
Change-Id: I5cde09d93f96d5810c1340917801b3a237cf0d30 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-11-01workaround for ansible latest version bugchenshuai@huawei.com1-1/+1
Change-Id: I1e1aa41c2a858c5e5579273b5c52576b63da9e94 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: opendaylightchenshuai56-1069/+1092
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-28Merge "Workaround for random wait compass boot timeout"Justin chi1-1/+10
2016-10-28Merge "Fix glance images dir mount issue on centos/rhel"Justin chi5-5/+10
2016-10-28Merge "Add rhel 7.2 ks file"Justin chi1-0/+131
2016-10-28Merge "Add ENV to support rhel7.2 + osp9"Justin chi1-0/+4
2016-10-28Merge "add osp9 roles"Justin chi87-0/+4476
2016-10-28Workaround for random wait compass boot timeoutQiLiang1-1/+10
JIRA: - Sometimes compass-core already boot successfully, but wait_ok function retry to ssh login to compass-core vm failed. Add two more times retry before exit the deployment. Change-Id: I1ae7795b2196e9a24c24c2368402e560aba68339 Signed-off-by: QiLiang <liangqi1@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 rhel 7.2 ks fileQiLiang1-0/+131
JIRA: - Change-Id: I2bfa761d59040fb2870fa43340331f0b7915680c Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-10-27Add ENV to support rhel7.2 + osp9QiLiang1-0/+4
JIRA: - Change-Id: Ie655add53b6f8cd3df7d4370e52b7920a3795df2 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-26workaround: xenial lvm boot errorchenshuai1-0/+6
JIRA: COMPASS-499 Change-Id: I4f7909023e2818584b47998571b57c84a06f5309 Signed-off-by: chenshuai <chenshuai@huawei.com>
2016-10-26FIX xenial baremetal deploy failureliyuenan2-2/+2
JIRA: COMPASS-489 Change-Id: I721f22dd15279d5ef586de4eaa3735756245d47f Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-10-25Merge "Edit the docker file and adjust HA yml"shuai chen11-52/+77
2016-10-24Edit the docker file and adjust HA ymlliyuenan11-52/+77
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 chi4-1/+29
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 configurableQiLiang4-1/+29
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 chi22-19/+327
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 scriptsQiLiang22-19/+327
- 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-13Merge "Add the roles for OpenStack Newton"Justin chi114-0/+9360
2016-10-13Add the roles for OpenStack Newtonliyuenan114-0/+9360
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-10-11Merge "Add ip and mac valid check functionality"Justin chi2-1/+11
2016-09-28Merge "Add a expansion functionality"Justin chi9-60/+161
2016-09-28Merge "Edit the ansible for expansion"Justin chi4-2/+168
2016-09-23Add ip and mac valid check functionalityHerry Huang2-1/+11
Add function check_input_para in /deploy/launch.sh to check whether there is invalid address in DHA and NETWORK file after function process_input_para is called. Check_input_para is defined in /deploy/deploy_parameter.sh and calls check_valid.py in /util. Exit installation when invalid address or format error is found. JIRA:COMPASS-480 Change-Id: Ib01c368db6b48cbded0045a2819d895c980c2b1b Signed-off-by: Herry Huang <huangxiangyu5@huawei.com>
2016-09-21Remove unsed files in open-contrail roleQiLiang7-354/+0
JIRA: - Change-Id: Idfb53a9705f206266c01be6d586e57e15280a1bc Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-09-18Add a expansion functionalityliyuenan9-60/+161
Through modify the virtual_cluster_expansion.yml, include host's name and mac, you can decide to how many compute nodes you need to add. And you also need to modify network.yml. Note that external subnet's ip_range should be changed as the first 6 IPs are already taken by the first deployment. Edit ``add.sh``, check the environment variable. Note that the OS version and OpenStack version should be same as the first deployment. Run ``add.sh``. JIRA:COMPASS-481 Change-Id: Id85f02518667e0ff80c2475e70856cd30cf1b9b7 Signed-off-by: liyuenan <liyuenan@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-18Merge "print cobbler status: it will print cobbler status when deploying was ↵Justin chi1-0/+4
timeout"