summaryrefslogtreecommitdiffstats
path: root/deploy
AgeCommit message (Collapse)AuthorFilesLines
2017-05-27Merge "Add network name and update gateway of ext-net of baremetal env"Zhijiang Hu1-1/+3
2017-05-27Merge "create data disk for each node in virtual deploy"Alex Yang1-1/+2
2017-05-27create data disk for each node in virtual deployAlex Yang1-1/+2
Since the roles are assigned randomly now, data disk should be created for every node. Change-Id: Idd12191033844dad58676de65df0fbc99a51cfbc Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-05-27Add network name and update gateway of ext-net of baremetal envAlex Yang1-1/+3
The configurations in securedlab has already been updated. Change-Id: I663c3c8a9bac7fe8ef1a5d16018f9c848ca5427c Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-05-27Increase the timeout to avoid possible deployment failureAlex Yang1-1/+1
Multi-node virtual deployment takes longer than baremetal or all_in_one deployment. Increase the timeout to avoid possible failure. Change-Id: Ib6060ad34563724e9949e152fb41accb7a6528da Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-05-25Merge "Use unified vm template files in python deploy script"Zhijiang Hu4-3/+32
2017-05-25Use unified vm template files in python deploy scriptAlex Yang4-3/+32
Change-Id: I386011a35a9be3e4f1d468744a6945360bb2adb3 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-05-19Code optimization for list traversalzhongjun1-8/+4
1.replace the list to generator to simply the code. Change-Id: Ia67cf265f3ca004eab5abb8b1d742f53b7d554ad Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-05-15add separated disk for ceph in multi-nodes virtual deployAlex Yang4-15/+41
Change-Id: Ic3f67bb889c20e95916a1052f0cfa1e238f133a8 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-05-15Merge "refacort deploy.yml and add jsonschema to validate it"Zhijiang Hu6-20/+102
2017-05-10refacort deploy.yml and add jsonschema to validate itAlex Yang6-20/+102
1. add adapter type in deploy.yml Do not rely on the pod's name to detemine whether impi or libvirt should be used. 2. increase disk size in deploy.yml The disk sizes should be bigger than 102400 mega-bytes according to the minimum of root_lv_size in upstream openstack/daisycloud-core. 3. add schemas.py Use jsonschema to validate deploy.yml Change-Id: I3f197f93403caece75460147c8df49b95e0ae9d3 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-05-08Compatible with the no mapping in network.ymlzhongjun1-2/+3
1)resolve the error ' AttributeError: 'NetworkConfig' object has no attribute 'ext_mapping'' with the no mapping in network.yml. 2)resolve the creating external subnet failure if the external netwok exists. Change-Id: I578365d91b8b61f9f88a5d4ff2c9db9ecc512edc Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-05-05Merge "Hardcoded physnet1 changed to obtain from .yml"Zhijiang Hu3-3/+6
2017-05-05Merge "Implement the deployment script with python"Zhijiang Hu5-0/+1087
2017-05-03Hardcoded physnet1 changed to obtain from .ymlzhongjun3-3/+6
the physical network device of external network is hardcode to 'physnet1',change it to obtain from network.yml configuration file. Change-Id: Id2e45ac488619db2247e73cc3fed5706db31d9e9 Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-04-28Implement the deployment script with pythonAlex Yang5-0/+1087
1. deploy.py: control the work flow of the deployment 2. daisy_server.py: maintain the ssh connection with daisy server and execute ssh commands 3. environment.py: create/find/delete the nodes/vms, install operating system and openstack on nodes 4. libvirt_utils.py: deal with the vm templates and call virsh commands 5. utils.py: some common functions such as file/directory/bash operation Change-Id: I1caa4b0b3118665e15410e8f02bcb6473e5a530b Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-04-25modify daisy.conf sleep long for trustme modify cpumodezhouya2-1/+6
1.add multicast flag in daisy.conf 2.sleep40 for trustme.sh execute ok 3.modify cpu mode of xml file to make it much more general 4.fix check_openstack_progress parameter error Change-Id: Ic150698ede448b7651e95d129aeb7d97a8f34309 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-04-24Unify the kolla config in pyzhongjun1-0/+8
put the kolla nova-compute.conf file update handle to prepare/ execute.py for unify the all relate kolla config in py way. Change-Id: Iac585df97d2855038a83f9bfdadfb9e449660c9c Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-04-11support mutinode deploy in vm deployment envzhouya4-28/+126
Change-Id: Ic9e19d4e120fc53d96d0794239cd6e421f25ea27 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-04-10modify service name in service disk tablezhouya1-4/+7
Change-Id: Ic33381ef3339bdcec82cba7afbfc2d32f6e88be4 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-04-06Merge "delete redundant parameters in cluster_meta"Zhijiang Hu1-3/+1
2017-04-06delete redundant parameters in cluster_metazhouya1-3/+1
when we deploy the baremetal,do not have to use pxe_only and skip_pxe_ipmi parameters,or we can't call 'daisy install' command Change-Id: Ief5131c47c16412b8dacec50b5a7858b65baa7a2 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-04-06Get the right columns according to the upstream patchAlex Yang1-3/+5
A column named 'Tecs_version_id' is added in the upstream patch https://review.openstack.org/#/c/450056/. So the column numbers of 'Role_progress' and 'Role_status' should be modified in check_openstack_progress.sh Change-Id: I47607bfe3ab89195569f785b3f815e57cee0406d Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-03-31enable ceph backend for deploy cinderzhouya4-3/+30
Change-Id: I71255872e6bcf485f8ab72c105db931d96233d03 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-03-28Merge "unify the way of obtaining network configuration"Zhijiang Hu2-10/+2
2017-03-28Merge "Fix bug in virtual deploy"Zhijiang Hu1-0/+2
2017-03-26Fix bug in virtual deployAlex Yang1-0/+2
In prepare_install function of tempest.py: 1. get_config.py needs dha and network parameters 2. install_os_for_vm_step2 function needs cluster_id parameter Change-Id: Idb13f71ced76f0d99dcbe818cdac3d3f2eb7d5df Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-03-24unify the way of obtaining network configurationSerenaFeng2-10/+2
Change-Id: Idd960d7faf0f24ae8caac13562858ccaa1c67f7b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-24unify the way of getting openstack clientsSerenaFeng4-12/+15
Change-Id: If3a1d1a8b74e11c5861c016bd722b78f4cf9b475 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-23simplify get_xx process using query.find()SerenaFeng3-21/+15
Change-Id: I2a911fc15c1456b409db840b9ae76c04a23d449d Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-23Merge "add missing license"Zhijiang Hu6-0/+50
2017-03-23Merge "bugfix hardcoded network configuration"Zhijiang Hu3-16/+122
2017-03-23Merge "use local cirros image in post-deploy script"Zhijiang Hu1-1/+1
2017-03-21add missing licenseSerenaFeng6-0/+50
Change-Id: Ie187f76db9ae7518c4fb129b4571cedbd7d931c6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-21bugfix hardcoded network configurationSerenaFeng3-16/+122
Change-Id: I1fb6036a2805ccb9bdbe23622514ccd9d997c1a5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-20use local cirros image in post-deploy scriptAlex Yang1-1/+1
In daisy building job, cirros image is packed in daisy image file. And it would be copied to /var/lib/daisy/images/ directory after daisy installed. The post-deploy script can use it locally. Change-Id: I45adbdd8b7c87b574367820076f6019638310ed8 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-03-17distinguish virtual and bm deployzhouya2-14/+22
Change-Id: I9fcc4f08283c832d32c22c2195401dd86ecf9dc5 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-03-16Merge "refactor set default_floating_pool"Zhijiang Hu1-16/+8
2017-03-16Merge "set 'trusts' auth model in heat"Zhijiang Hu1-8/+43
2017-03-16refactor set default_floating_poolSerenaFeng1-16/+8
Change-Id: I2e59f1ea7abdfc2bbd1f89cb19d55dd4eb053112 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-16set 'trusts' auth model in heatSerenaFeng1-8/+43
Change-Id: I2b61d756adbeef0efecb2a9d479e8c43c56c21fb Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-16create default TestVM for FunctestSerenaFeng2-0/+77
Change-Id: I505a0819d5f1a4350e82ceaa9e5cbee285c8fba0 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-15Merge "bugfix: test_external_network_visibility failed"Zhijiang Hu1-1/+1
2017-03-15Merge "add default_floating_pool configuration for nova-api"Zhijiang Hu8-10/+116
2017-03-15Merge "create m1.micro flavor for functest"Zhijiang Hu2-0/+39
2017-03-15bugfix: test_external_network_visibility failedSerenaFeng1-1/+1
subnet should be invisible Change-Id: I27d7a9ceab3604ccd35667b949e490e341f95f6a Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-15add default_floating_pool configuration for nova-apiSerenaFeng8-10/+116
Change-Id: I9db5509667e9c10a9c07b55531c6d78fb95cc223 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-14create m1.micro flavor for functestSerenaFeng2-0/+39
Change-Id: Iacb36cb05e72b0755cec0a5bd5a6c48f3ec70c6f Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-14modify daisy install interface and modify check_openstack_progress ↵zhouya3-8/+42
targetnode nums Change-Id: I19f8c18f8b977619c9bbf6f1e80f7c48f8f5db9e Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-03-11remove blanks from cluster_idAlex Yang2-2/+2
There are blanks at the head and the tail of $cluster_id. Then in https://build.opnfv.org/ci/job/daisy-deploy-virtual-daily-master/26/console there are error messages as "No such file or directory". Change-Id: Ia5d119df85d4f64fbc3a47705ccc208d7a67b2de Signed-off-by: Alex Yang <yangyang1@zte.com.cn>