summaryrefslogtreecommitdiffstats
path: root/deploy
AgeCommit message (Collapse)AuthorFilesLines
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-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>
2017-03-09Fix ipmi info updating in OS installationAlex Yang1-3/+9
1. No need for virtual deploy to update ipmi info 2. Print host details in virtual deploy Change-Id: Ie1f16f869440191458c7f672fc3cea2393b76245 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-03-07create admin external subnetSerenaFeng2-7/+59
Change-Id: Ib56c94c090fd2fc0950ce97e1c4c1fdf622f2d08 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-07create external networkSerenaFeng2-5/+35
Change-Id: I6621fed21832f3e4653c2d236bb29de421b5b573 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-07Merge "fix some bug of bm deploy"Zhijiang Hu2-2/+9
2017-03-07Merge "add framework of post deploy process"Zhijiang Hu5-0/+108
2017-03-06fix some bug of bm deployzhouya2-2/+9
Change-Id: I96bed7259666d48a1fbc41bb9452d8493c4417b8 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-03-06add framework of post deploy processSerenaFeng5-0/+108
Change-Id: I3f5a067a6359be482a853b164fd7effdfad8fc8f Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-02End deployment when timeoutAlex Yang2-1/+19
Change-Id: Iaae02bfc69450d6138b7b187ec23e4ed2eef6138 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-02-24Correct the type error of env CLI Option in tempest.pyAlex Yang1-2/+2
Change-Id: Id7a4f567c7c81e17c33b5c3ba558fa1cc891b42d Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-02-22Baremetal Deployment on zte-pod2Zhou Ya7-95/+240
JIRA: DAISY-30 Change-Id: Ie34180b9d036797d310f612caa189b0a06efb732 Signed-off-by: Zhou Ya <zhou.ya@zte.com.cn>
2017-02-14Refactor for get_para_from_deployJulien1-6/+4
Change-Id: I6d8fb4df38bf0749222a2b967a76222c273a7549 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>