aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/compass_conf
AgeCommit message (Collapse)AuthorFilesLines
2018-02-11Merge "change k8s version to v1.9.1"HU Xinhui1-1/+1
2018-02-09change k8s version to v1.9.1hu xinhui1-1/+1
JIRA: - 1. compass4nfv can deploy v1.9.1 kubernetes 2. end user can use the kubernetes dashboard Change-Id: I274dda38599da95f382dfcb4159b530da8422fd8 Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2018-02-07Add workaround for horizon image upload issueHarry Huang1-0/+1
JIRA: COMPASS-573 1. With HORIZON_IMAGES_UPLOAD_MODE set to direct Horizon provides the endpoint for Glance based on OPENSTACK_ENDPOINT_TYPE. If OPENSTACK_ENDPOINT_TYPE is set to internalURL any browser outside the internal network is unable to upload image. Add ansible task to set HORIZON_IMAGES_UPLOAD_MODE to legacy as a workaround. 2. Add ansible lookup plugin to get openstack release 3. set openstack_release into group_vars/all in config-osa to make this variable readable for other tasks Change-Id: I9ef358e1f4acb0c329a032e18359de12284f3b56 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-02-01Ansible callback support both V2.3 and V2.4Harry Huang1-1/+1
JIRA: COMPASS-585 1. Add conditional branch to support both ansible versions 2. Keep callback in ansible_plugins directory which will contains all plugins upcoming in the future Change-Id: I11f3d9700e07ad5bd7f03ad56f4e0bc061df05ec Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2018-01-27Merge "Use run_dir instead of hard coding"HU Xinhui1-0/+2
2018-01-24spport k8s apiserver HAhu xinhui4-4/+9
compass installer deploy k8s using kubespray for default, but k8s apiserver HA is not implemented by kubespray, This patch aim is to achieve the k8s apiserver HA Change-Id: I805b5eb2f4efa7ca82fcef7bfd3f4cad35ed65b5 JIRA: - Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2018-01-23Use run_dir instead of hard codingHarry Huang1-0/+2
Cluster name now can be set in DHA file which makes ansible dir changeable. Use run_dir variable to point to correct dir. Change-Id: I673b0b472b86ce505a8ea29ce4fb3666b4b991bd Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-12-14Update OS pattern for kubernetesHarry Huang1-1/+1
Ubuntu iso has been updated to 16.04.3 and Centos iso has been updated to 7.17. Update os pattern in adapter conf for kubernetes to avoid deploy failure Change-Id: Ib11c738a4917f736326f6003e33b1c4268b0b7cd Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-11-28Upgrade OpenStack version from Ocata to PikeYifei Xue28-0/+1582
JIRA: COMPASS-565 For OPNFV F release, it's going to use OpenStack Pike as the NFVI component. This task is created to monitor the upgrade work of OpenStack Pike. Subtasks as follow: - Add Pike related configurations to compass_conf - Upgrade ubuntu os to ubuntu 16.04.3 - Upgrade centos os to centos 7.4 - Upgrade openstack-ansible from ocata to pike - Upgrade openstack repos from ocata to pike Change-Id: I2202e8e3ae23dae8e575c89170c9e5e057757870 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-11-07cobbler: support aarch64Yibo Cai7-1/+164
Set ADAPTER_OS_PATTERN='(?i)CentOS-7.*arm.*' to deploy CentOS aarch64. Change-Id: I943e2edfc03b92446fb393c63c254ab8e3c37225 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2017-09-30Modification for kargo to generate dynamic inventoryhu xinhui7-128/+28
JIRA: - There is some hardcode for kargo inventory.This patch is to generate dynamic inventory for kargo Change-Id: If4a7c5f973e520e4ca24c3c9e0bfa97725a5a44c Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2017-09-08Add k8s supporthu xinhui12-0/+1049
JIRA: - Add a new k8s scenario for compass Change-Id: Ic5f58a6152315333684e4f2752aaa0d5d870d9ee Signed-off-by: hu xinhui <xinhui_hu@foxmail.com>
2017-09-01Support multiple physnet mappingHarry Huang2-27/+58
JIRA: COMPASS-559 1. support multiple mapping in provider_net_mappings of network.yml and create corresponding ovs bridges 2. support seperate config in sys_intf_mappings of network.yml 3. remove linux bridges in compute nodes for ovs port binding convenience 4. support openstack vlan tenant network 5. modify odl and odl_sfc roles to use configurable provider mapping 6. remove some hard coding Change-Id: Ib57484ce60d029f89c647fd5baf2c7af37c85d0b Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-08-31Support offline deployment for nosdn no feature scenarioYifei Xue2-2/+30
JIRA: - Add a repo docker which includes ubuntu PPA and python packages used for offline deployment. Change-Id: Iad9b0df7f33f5a7ab974c5deffb408fc93b3f3ad Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-08-14fix loss of group vars definitionchigang1-1/+7
JIRA:- TASK [moon : configure moon.conf for moon slave] fatal: [host5]: FAILED! => {"failed": true, "msg": "'moon_slave_name' is undefined"} https://build.opnfv.org/ci/job/compass-deploy-virtual-daily-master/3311/console Change-Id: Ic6211ef7017e0ed794718f1705ba566af370ea49 Signed-off-by: chigang <chigang@huawei.com>
2017-08-11Adapt network.yml to OpenStack AnsibleHarry Huang2-46/+26
JIRA:COMPASS-557 1. modify sys_intf_mappings and ip_settings in network.yml to synchronize with OSA network. networks compass build will be mgmt, external, tenant, storage. 2. modify compass_conf to support new netwok.yml 3. fix some hard coding when transfer ip parameters 4. support heterogeneous network Change-Id: Ib4a8af1f96a40e6456242e3dc2b456e0c8c17c2e Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-07-28Merge "Add moonv4 into Compass4nfv"Justin chi5-12/+64
2017-07-28Add moonv4 into Compass4nfvchigang5-12/+64
JIRA:- 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: I21c0186a029c508d390c69112b43510d9c5b9c5c Signed-off-by: chigang <chigang@huawei.com>
2017-07-26Fix plugin switchHarry Huang1-0/+7
Add plugin switch in group_vars/all which missed when upgrade to dynamic inventory Change-Id: I71927bce552dca89bc6182abc9f721d5222f2be6 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-07-24Dynamic InventoryHarry Huang3-106/+75
JIRA: COMPASS-556 1. using dynamic ansible inventory 2. modify Class AnsibleInstaller in compass-tasks 3. modify compass conf to support this behavior 4. specify docker image in /deploy/conf/compass.conf 5. remove clusterhost status update in playbook_done.py Change-Id: I04079547c8b251571ae4e5b165d3bf425b8913b7 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-07-10Add opendaylight switchHarry Huang2-0/+15
Add key plugins in DHA file and declare opendaylight as a plugin in odl scenario. Change-Id: Iefc07b691d5052a9980d8c87f23a9f82be61ed6e Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-07-04Fix keepalived ping addresschigang1-1/+1
JIRA:- Replace OSA default address with ntp_server address. OSA will use it to check internet connection. Rename some roles that make users confused. Change-Id: I4dd7e242e427e5bc3a611450a3bc436e44a8fefe Signed-off-by: chigang <chigang@huawei.com>
2017-07-03Fix DNS flushchigang1-1/+0
JIRA:- It doesn't need to config DNS in ansible roles, just need to set NAMESERVERS variable Change-Id: I37a70b32c766c1fad7afa5289ffbbc27b956b2d5 Signed-off-by: chigang <chigang@huawei.com>
2017-06-30Change the apt sourcewutianwei1-0/+1
1. change the apt sorce from http://hk.archive.ubuntu.com to http://archive.ubuntu.com 2. if setup host failed, destroy the failed lxc. then retry to setup. 3. fix the dns-nameserver bug Change-Id: Ic609c75b50496e2174ab09425bce45a0ec2c09c0 Signed-off-by: wutianwei <wutianwei1@huawei.com> Signed-off-by: chigang <chigang@huawei.com>
2017-06-09support Containerized compass-corehuangxiangyu28-78/+162
JIRA: COMPASS-534 1. rm compass vm and add ansible to bring up 5 compass containers 2. use tar package instead of compass.iso which contains compass docker images, OS ISO, PPA, pip packages. 3. modify client.py to communicate with containerized compass-core 4. modify cobbler files and ansible callback files to adapt with containerized compass-core 5. upgrade openstack version to ocata 6. use the openstack-ansible to deploy openstack 7. virtual deploy external use nat Change-Id: Ifa2a3f5b8c7c32224ac4276fd3d4cc2b0d270a26 Signed-off-by: huangxiangyu <huangxiangyu5@huawei.com>
2017-03-27Merge "FIX access database failed"Justin chi1-0/+2
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>
2017-03-16onos 1.8 upgradation for danuberssaravana1-0/+1
Change-Id: I6242b9fc09749ca83f446ef5456eaad72f248012 Signed-off-by: rssaravana <saravanakumar.somaskandan@huawei.com>
2017-03-09FIX access database failedliyuenan1-0/+2
JIRA: COMPASS-521 Use a hard value to set number of workers for Openstack API service. This way only fix E9000 failed temporarily. Database need to update in a late patch. Change-Id: Ie03f6a758e1e458567054470962b5be4f6ee630e Signed-off-by: liyuenan <liyuenan@huawei.com>
2017-02-04Congress support for NewtonHarry Huang2-0/+8
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-04Add opera supportHarry Huang1-0/+80
JIRA: COMPASS-504 JIRA: OPERA-1 Function: support open-o deployment by calling opera project. open-o deployment will start at the end of normal compass4nfv deployment. Changes: 1. add scenario and network yaml for opera 2. add opera_adapter.py for calling opera Attention: The git URL for opera will change after opera patch OPERA-2 is meraged. This patch should be modifed before meraged. Change-Id: Id0afcece920c4107bb23f42b460c46eec3ca97e6 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-01-25Ansible Module substitute for Shell Commandsliyuenan1-1/+1
JIRA: COMPASS-520 After update ansible version to v3, keystone_user module only support v2 API. So we use Shell Commands now, but it will failed with high probability. Those Shell Commands should be instead by ansible modules to manage Identity users, projects or some other work like crate networks. Change-Id: I63d38b4a811a9c063ac4404da72787f594411b53 Signed-off-by: liyuenan <liyuenan@huawei.com>
2017-01-14Deploy OpenStack Newton on CentOS hostsliyuenan4-1/+83
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-85/+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>
2016-12-26Update ansible versionliyuenan1-1/+5
JIRA: COMPASS-511 Change-Id: Id0e83c65a08c9f9036b5d3a597b905e8a7bde6e8 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-22Change newton_xenial to newtonliyuenan175-9071/+21
JIRA: COMPASS-513 Change-Id: I937a02bcd69f0df1f5d951dd6630ef2e76e8d386 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-11-25add compass-core conf/ into compass4nfvHarry Huang242-0/+12935
JIRA: COMPASS-507 1.create deploy/compass_conf/ directory to keep local compass-core conf/ files. build.sh will add it into compass.iso 2.adjust conf files to support congress Change-Id: I91dde6f62f2385d1289a5cf9a39eafce945a1bc7 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>