summaryrefslogtreecommitdiffstats
path: root/deploy
AgeCommit message (Collapse)AuthorFilesLines
2017-01-25New patch for orange-pod3 POD with indentation correction for network*.yml filesFrancois DESPRES10-0/+728
Change-Id: Ifa100d6e444c4190d8f15d980c4fd72f8b953a1d Signed-off-by: Francois DESPRES <francois.despres@orange.com>
2017-01-25Ansible Module substitute for Shell Commandsliyuenan13-167/+487
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-24Merge "Adjust make repo"Justin chi1-2/+2
2017-01-23Adjust make repoHarry Huang1-2/+2
Demand: 1.Compass4nfv master code only support one OPNFV version now, no need to keep previous version's repo scripts 2.Currently java packages are in /var/www/package/onos directory which is unreasonable 3.repo.conf has a lot of download URL which can turn into pip requirements Modification: 1.Remove previous version's directory in compass4nfv/repo 2.Only leave java and odl in compass4nfv/repo/features. Other features can be added when they are ready 3.Seperate URLs in repo.conf into compass-core and openstack pip requirements. Therefore pip.tar.gz only contains pip packages for compass-core and pip-openstack.tar.gz only contains pip packages for openstack 3.Move java packages into /var/www/package/java directory 4.Add make pip wheel package function to support congress 5.Use ODL package distribution-karaf-0.5.0-Boron.tar.gz 6.Use python package netwoking-odl-3.2.0 Change-Id: Ifa818e7630ac4435e3bdb7756b83f80f50c24a76 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-01-20FIX access database failedliyuenan4-28/+15
JIRA: COMPASS-521 Number of separate API worker processes for service. The default is calculated by the number of CPUs available for best performance. But some pods have many CPUs, so that some service API worker processes is too many to access database. For example, huawei-pod2 has 47 CPUs, nova-api has 98 processes, cinder-api has 50 processes and heat-api has 33 processes, when aodh want to initialize the database, mysql can not deal with this processes. Change-Id: I00513883ff55cc28cd676c3085615aaac36eb744 Signed-off-by: liyuenan <liyuenan@huawei.com>
2017-01-18[compass] bugfix: it is noneffective to retry the network checkingmeimei1-2/+4
Change-Id: I97413575e1cac87da4ac99bc45e1c55777f38243 Signed-off-by: meimei <meimei@huawei.com>
2017-01-17Support ceilometer for Newton CentOSliyuenan6-47/+20
JIRA: COMPASS-518 The WSGIScriptAlias file should be "/var/www/cgi-bin/ceilometer/app". This file is copied from "/usr/lib/python2.7/site-packages/ceilometer/api/app.wsgi" in CentOS or "/usr/lib/python2.7/dist-packages/ceilometer/api/app.wsgi" in Ubuntu Change-Id: Idcc37b0ed6c1d4c6e39d821a02a6579c57b6f035 Signed-off-by: liyuenan <liyuenan@huawei.com>
2017-01-15Merge "Create openstack flavors"Justin chi2-0/+32
2017-01-14update intel pod8 configurationmeimei10-39/+39
the IPMI IP assignment and vlan of intel-pod8 have been changed Change-Id: Ia6f2880ab2388b031b79046c00e03bc918b957e1 Signed-off-by: meimei <meimei@huawei.com>
2017-01-14Deploy OpenStack Newton on CentOS hostsliyuenan34-57/+300
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 filesliyuenan8-151/+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-14Create openstack flavorsHarry Huang2-0/+32
JIRA: COMPASS-519 Demand: Openstack Newton doesn't create flavors defaultly. But functest needs to run with flavors exist Solution: Add an ansible role to create flavors after openstack deployed Change-Id: Ib7ac56b3d42d9ddfcbefffc44ac92fa81342368a Signed-off-by: Harry Huang <huangxiangyu5@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-12Merge "Fix multi-nics BM deploy network unreachable issue"Justin chi1-0/+7
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-10Fix multi-nics BM deploy network unreachable issueQiLiang1-0/+7
Configure OS_MGMT_NIC when openstack external network and mgmt network use different nics. Otherwise openstack mgmt is unreachabe from jumpserver, then compass cann't pass functest healthcheck. JIRA: - Change-Id: If156806d3b92933ac316f178d3eb2d0aaa9e1b4a Signed-off-by: QiLiang <liangqi1@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 testliyuenan277-4876/+1291
JIRA: COMPASS-516 Change-Id: I482ce9bc86f4f963258c5b8823e0b00e83556eef Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-26Update ansible versionliyuenan65-186/+338
JIRA: COMPASS-511 Change-Id: Id0e83c65a08c9f9036b5d3a597b905e8a7bde6e8 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-22Change newton_xenial to newtonliyuenan178-9121/+55
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-15Merge "Support expansion for newton"Justin chi6-64/+140
2016-12-15Merge "Print information about openstack deployed."Justin chi2-3/+29
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-14Print information about openstack deployed.liyuenan2-3/+29
Change-Id: I80a379bcb5851ef2b29a52c8d45450dd1d36ade0 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-14Merge "Support compute node expansion with ceph-osd"Justin chi10-5/+92
2016-12-13Merge "Offline deployment fails on jumphost with docker installed"Justin chi1-0/+8
2016-12-12because of replacing the huawei-pod5 with a new pod,wutianwei10-169/+174
we need to change the configuratuion according the new pod. Change-Id: Ib2bfa54b5fd300fbed5fae77a7f1e6c36fc63b04 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2016-12-10Support compute node expansion with ceph-osdQiLiang10-5/+92
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-05Merge "add compass-core conf/ into compass4nfv"Justin chi243-2/+12937
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-28Offline deployment fails on jumphost with docker installedYifei Xue1-0/+8
JIRA: COMPASS-508 Change-Id: I92fa3a40d010c74ca7d7d4f638413e7c9e571e36 Signed-off-by: Yifei Xue <xueyifei@huawei.com> (cherry picked from commit ff2621f0dbe1e49e4d7fad752ec6d9a2e9f1b444)
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-25add compass-core conf/ into compass4nfvHarry Huang243-2/+12937
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>
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>