summaryrefslogtreecommitdiffstats
path: root/deploy
AgeCommit message (Collapse)AuthorFilesLines
2017-06-30Merge "Initial merge of BM Installation guide"Zhijiang Hu1-6/+0
2017-06-29Initial merge of BM Installation guideZhijiang Hu1-6/+0
Change-Id: I9964f0d75ae879c6b86d245f2007841236a0b931 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-06-29Add an missing parameter and fix a typo in daisy_server.pyAlex Yang1-3/+4
Change-Id: I339508f1c07a9bbefa389c6f6eb5e53640a79417 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-06-27Merge "Adapt the scenario arg add in tempset.py"Alex Yang3-26/+56
2017-06-27Adapt the scenario arg add in tempset.pyzhongjun3-26/+56
1.adapt the scenario argument add in tempset.py, detail please refer to https://gerrit.opnfv.org/gerrit/#/c/36229/5/deploy/tempest.py. 2.bugfix to update the self.deploy_file with the constructed final deploy file in deoploy.py. Change-Id: Ia46720649a2361f0b84749925d2c0dede78ccdb5 Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-06-24enable opendaylightzhouya1-0/+30
Change-Id: I759d864efa524c0d564b9d93aa480e155149adaa Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-06-23Merge "add the scenarios option"Zhijiang Hu9-5/+371
2017-06-23add the scenarios optionzhongjun9-5/+371
Add the scenarios option and yaml configuration files, currently only support three scenarios as below. os-nosdn-nofeature-noha/os-odl_l3-nofeature-noha/ os-odl_l2-nofeature-noha. we will support more secnarios such as os-odl_l3-nofeature-ha in future. Change-Id: I24d7875208e277f6ee1b794c0033d5fee6b5e371 Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-06-08solve "no disks in host-detail" errorzhouya1-0/+1
Change-Id: Ifb408a3b3dfa139bb938cc7ef8c9b0981e4266c3 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-06-08Merge "add deployment guidance in vm deployment doc"Zhijiang Hu1-8/+8
2017-06-08add deployment guidance in vm deployment doczhouya1-8/+8
Change-Id: Ia9b370b314b5e897087ae82463af90c4b61018d5 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-06-02Set compute to qemu only in virtual deploymentZhijiang Hu2-5/+16
Change-Id: I0660c016e18491395c7253e5576f8fa1c8aa051e Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-05-31add the missing openrc tokenzhouya1-0/+1
Change-Id: Id9fca539f2f5a866376b12a11306a9ea97760a0d Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-05-29bugfix: delete extra firewalls in virtual deploymentSerenaFeng2-1/+3
Change-Id: I179b5aab51958c0cd4653e65bbd74df5cfd7c53e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-27Merge "Call python script directly in preparation & post-phase"Zhijiang Hu1-4/+6
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-27Call python script directly in preparation & post-phaseAlex Yang1-4/+6
Avoid calling python though a bash in the deployment script of python. Change-Id: I655c7b919ea5970ff842ac03cafed11b82d03601 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>