summaryrefslogtreecommitdiffstats
path: root/ci/deploy
AgeCommit message (Collapse)AuthorFilesLines
2017-06-02Set compute to qemu only in virtual deploymentZhijiang Hu1-1/+1
Change-Id: I0660c016e18491395c7253e5576f8fa1c8aa051e Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-05-31Remove iptables rules only in virtual deploymentAlex Yang1-5/+7
There are error messages "iptables: No chain/target/match by that name" in baremetal deployment: https://build.opnfv.org/ci/job/daisy-deploy-daily-master/298/console Change-Id: I7e2940222fd0a99ee42823a08a285bdd93892fe6 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-05-30modify deploy script to deploy 1 lb and 4computerzhouya1-1/+1
Change-Id: I654a27042ff9807a502773d48df1c26d12302de7 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-05-29bugfix: delete extra firewalls in virtual deploymentSerenaFeng1-0/+6
Change-Id: I179b5aab51958c0cd4653e65bbd74df5cfd7c53e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-27Merge "Create ceph disk in bash script"Alex Yang1-1/+2
2017-05-26add prepare and post process for baremental deploymentSerenaFeng1-8/+5
Change-Id: I3026c4dd83cc19246c19ab568005c4c0b37ff9d9 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-26Create ceph disk in bash scriptAlex Yang1-1/+2
Change-Id: Ib80710c784d384ebc27eb0f51fcb4384017eecca Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-05-05Merge "Hardcoded physnet1 changed to obtain from .yml"Zhijiang Hu1-1/+0
2017-05-03Hardcoded physnet1 changed to obtain from .ymlzhongjun1-1/+0
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-25modify daisy.conf sleep long for trustme modify cpumodezhouya1-1/+4
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-2/+0
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-15Modify the log message in deploy scriptAlex Yang1-20/+14
1. Move an log message to the correct location(now at line 331). In baremetal deployment, the virtual-deploy message is printed. 2. Modify all the "===" in the log messages to the same number of "=" 3. Remove the TODO list since the work finished Change-Id: I34325c522036caf9d1aa58c9cbf30eb77843fdfc Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-04-15Merge "add the argument WORKDIR in daisy-img-modify.sh"Zhijiang Hu1-6/+2
2017-04-14add the argument WORKDIR in daisy-img-modify.shzhongjun1-6/+2
the daisy install tmp workdir can be configurated as an input argument in deploy.sh,and it also should be used in subshell daisy-img-modify.sh,so add the input argument -w workdir in daisy-img-modify.sh. 1.add an input argument -w workdir in daisy-img-modify.sh. 2.modify the WORKDIR default value to /tmp/workdir/daisy. 3.code refactor to put the centos7.qcow2 file clean statement from the deploy.sh to daisy-img-modify.sh. Change-Id: Id375a15ad2839c209329e644c5e032d044604e7d Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-04-11support mutinode deploy in vm deployment envzhouya1-5/+39
Change-Id: Ic9e19d4e120fc53d96d0794239cd6e421f25ea27 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-04-10code variable name refactorzhongjun1-19/+21
refactor the deploy.sh variable name 1.unify the glabs var name to upper case. 2.refactor the variable of target_node_net/daisy_server_net to add prefix VMDEPLOY for code readablity. 3.refactor the usage() to function usage for uniform the code style. Change-Id: Ibd7ea91ac8b19cd7147e3a7d97b3359880cec59c Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-03-26Fix bug in virtual deployAlex Yang1-1/+1
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-23Merge "bugfix hardcoded network configuration"Zhijiang Hu1-1/+3
2017-03-21bugfix hardcoded network configurationSerenaFeng1-1/+3
Change-Id: I1fb6036a2805ccb9bdbe23622514ccd9d997c1a5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-17distinguish virtual and bm deployzhouya1-2/+4
Change-Id: I9fcc4f08283c832d32c22c2195401dd86ecf9dc5 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-03-16unify the definition of NETWORK and NETWORK_CONFSerenaFeng1-9/+2
Change-Id: I1669c92f24739812a4e2d47655b1fc0a1daa3171 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-15Merge "add default_floating_pool configuration for nova-api"Zhijiang Hu1-0/+2
2017-03-15add default_floating_pool configuration for nova-apiSerenaFeng1-0/+2
Change-Id: I9db5509667e9c10a9c07b55531c6d78fb95cc223 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-14modify daisy install interface and modify check_openstack_progress ↵zhouya1-1/+1
targetnode nums Change-Id: I19f8c18f8b977619c9bbf6f1e80f7c48f8f5db9e Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-03-10add known_hosts file in daisy vmzhouya1-0/+4
Change-Id: Icc58c1ad41264557ad462174188f518fbb1f5ef6 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-03-08fix libvirt bug of https://bugzilla.redhat.com/show_bug.cgi?id=1404627zhouya1-3/+5
Change-Id: Ia018529ed3ca89e883a8ba2b1a693e2a5250af21 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-03-07Merge "fix some bug of bm deploy"Zhijiang Hu1-6/+6
2017-03-07Merge "add framework of post deploy process"Zhijiang Hu1-0/+6
2017-03-06fix some bug of bm deployzhouya1-6/+6
Change-Id: I96bed7259666d48a1fbc41bb9452d8493c4417b8 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-03-06add framework of post deploy processSerenaFeng1-0/+6
Change-Id: I3f5a067a6359be482a853b164fd7effdfad8fc8f Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-03-02End deployment when timeoutAlex Yang1-1/+7
Change-Id: Iaae02bfc69450d6138b7b187ec23e4ed2eef6138 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-02-25Make opnfv.bin executableAlex Yang1-2/+5
The downloaded opnfv.bin file has no executable attribute, although it has +x in building-job. Change-Id: I38347db6de2630e0a92106df22b027efa20d4498 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-02-23Merge "Baremetal Deployment on zte-pod2 JIRA: DAISY-30"Zhijiang Hu1-25/+54
2017-02-22Merge "Add executable attribute to opnfv bin file"Zhijiang Hu1-0/+5
2017-02-22Add executable attribute to opnfv bin fileAlex Yang1-0/+5
1. Add executable attribute to the build-output bin file 2. Determine whether the bin file exists and is excutable before deployment Change-Id: I95b43c9efacfbd47a5f570dac793c0a8d3fe9bbb Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-02-22Baremetal Deployment on zte-pod2Zhou Ya1-25/+54
JIRA: DAISY-30 Change-Id: Ie34180b9d036797d310f612caa189b0a06efb732 Signed-off-by: Zhou Ya <zhou.ya@zte.com.cn>
2017-02-22missing a $ bere varJulien1-1/+1
Change-Id: Ida548591f4e793bc28f4a8df31c07356cee9a82a Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-17Add missing bracketsAlex Yang1-1/+1
Change-Id: Ia1f437cad2c4d42e72d4b53cdd6a4f7f00a29edf Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-02-16Fix some typo mistakesAlex Yang1-3/+3
Change-Id: If85c06459cda8392827920928b7d65f7e70fc82b Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-02-14Refactor for get_para_from_deployJulien1-31/+24
Change-Id: I6d8fb4df38bf0749222a2b967a76222c273a7549 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-14refactor for ssh callJulien1-20/+16
Be easy to understand Change-Id: I385569342b96d21f8a9ac6bfb68c92ba424f03ae Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-12Use securedlab for configurationJulien1-16/+74
1. Use labname and podname to fetch configuration files; 2. Support dry-run, which just print the parameters passed without physically deployment; 3. Add Bridge parameter from POD JIRA: DAISY-40 Change-Id: I8cda3f47746d526f442b420a7a4101f84e9ad002 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-02-06Add parameters support for deployJulien1-9/+101
JIRA: DAISY-29 Change-Id: I53a08f2fa458028a59597d1b7a0c7b9137e40dd7 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-01-19remove centos7.qcow2Yao Lu1-2/+3
every time before deploy,we need new centos7.qcow2. Change-Id: I295ed192674a31290b25042c0843875b93831ebc Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
2017-01-12Use different variables for local workspace and remote workspaceAlex Yang1-11/+18
1. get local WORKSPACE from the script path 2. use REMOTE_SPACE for jumpserver, WORKSPACE for local 3. specify the vm storage directory Change-Id: I7ff17d40819b6a74ce81862c32ce4a71b3eb8c73 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-01-04clean up env before deployZhou Ya1-8/+33
1、modify function param standarded 2、modify centos version 3、clean up net and host before deploy 4、modify daisyserver password and node size Change-Id: I9cbf4c5ed9984b12941afc8e45dba216f2b5ee0d Signed-off-by: Zhou Ya <zhou.ya@zte.com.cn>
2016-12-30solve no file of known_hosts bugzhouya1-1/+1
Change-Id: If70e8765709d49a22a4f6c17ab4e2c4589fbf05a Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2016-12-20implement deploy on virthal podYao Lu1-39/+104
Change-Id: I600e21f0d36f37c75cac4ace5f7225e32ab93d56 Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
2016-12-07modify spelling mistakezhouya1-1/+1
Change-Id: Idbcf956afb4be1b7128999c74c90ec6ed16ac33a Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2016-11-19add common config and parse it to prepare deployYao Lu1-25/+26
Change-Id: I864082b885a4c7117f0b546da602e9580e8ccf46 Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>