daisy.git
8 years agoadd the argument WORKDIR in daisy-img-modify.sh 27/33327/2
zhongjun [Thu, 13 Apr 2017 07:14:45 +0000 (15:14 +0800)]
add the argument WORKDIR in daisy-img-modify.sh

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>
8 years agoAdd rpm based installation doc 15/33215/1
Zhijiang Hu [Tue, 11 Apr 2017 02:44:35 +0000 (22:44 -0400)]
Add rpm based installation doc

Change-Id: I50d5750e985b258cef7874c88902b8fae0539e25
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
8 years agoMerge "Add required packages for build jasmine"
Zhijiang Hu [Mon, 10 Apr 2017 09:46:00 +0000 (09:46 +0000)]
Merge "Add required packages for build jasmine"

8 years agoAdd required packages for build jasmine 77/33177/2
Zhijiang Hu [Mon, 10 Apr 2017 09:20:24 +0000 (05:20 -0400)]
Add required packages for build jasmine

Also add code/jasmine/.tarball-version to set version manually,
otherwise we need more software such as git to get the version and
also we may encounter rpmbuild error due to rpmbuild does not
support dash character in git version.

Change-Id: If9b7ef75cbc0a5e4987658454b47abf02b451989
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
8 years agomodify service name in service disk table 81/33181/1
zhouya [Mon, 10 Apr 2017 08:45:48 +0000 (16:45 +0800)]
modify service name in service disk table

Change-Id: Ic33381ef3339bdcec82cba7afbfc2d32f6e88be4
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
8 years agoMerge "code variable name refactor"
Zhijiang Hu [Mon, 10 Apr 2017 07:57:13 +0000 (07:57 +0000)]
Merge "code variable name refactor"

8 years agocode variable name refactor 91/32391/2
zhongjun [Thu, 30 Mar 2017 07:02:12 +0000 (15:02 +0800)]
code variable name refactor

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>
8 years agojasmine(Just A Simple Multicast engINE) Initial merge 93/33093/4 v1.0.2
Zhijiang Hu [Fri, 7 Apr 2017 03:21:42 +0000 (23:21 -0400)]
jasmine(Just A Simple Multicast engINE) Initial merge

Change-Id: I7a543019c8d92314ef549bf72369b7276f39577d
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
8 years agoMerge "Add multicast spec"
Zhijiang Hu [Fri, 7 Apr 2017 01:36:45 +0000 (01:36 +0000)]
Merge "Add multicast spec"

8 years agoAdd multicast spec 09/32709/9
Zhijiang Hu [Fri, 31 Mar 2017 08:39:29 +0000 (04:39 -0400)]
Add multicast spec

Change-Id: I3f9b9167864126b7b455761799dc79c40c394854
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
8 years agoMerge "delete redundant parameters in cluster_meta"
Zhijiang Hu [Thu, 6 Apr 2017 09:41:56 +0000 (09:41 +0000)]
Merge "delete redundant parameters in cluster_meta"

8 years agodelete redundant parameters in cluster_meta 29/33029/1
zhouya [Thu, 6 Apr 2017 02:46:30 +0000 (10:46 +0800)]
delete redundant parameters in cluster_meta

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>
8 years agoGet the right columns according to the upstream patch 23/33023/1
Alex Yang [Thu, 6 Apr 2017 01:23:38 +0000 (09:23 +0800)]
Get the right columns according to the upstream patch

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>
8 years agoMerge "enable ceph backend for deploy cinder"
Zhijiang Hu [Wed, 5 Apr 2017 09:15:30 +0000 (09:15 +0000)]
Merge "enable ceph backend for deploy cinder"

8 years agoenable ceph backend for deploy cinder 03/31903/4
zhouya [Mon, 27 Mar 2017 12:06:37 +0000 (20:06 +0800)]
enable ceph backend for deploy cinder

Change-Id: I71255872e6bcf485f8ab72c105db931d96233d03
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
8 years agoadd tox framework for pep8 and unittest 69/32469/3
SerenaFeng [Thu, 30 Mar 2017 11:26:06 +0000 (19:26 +0800)]
add tox framework for pep8 and unittest

Change-Id: If783d387c29dad7fa472578ead2bcd5a6d42ee70
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "unify the way of obtaining network configuration"
Zhijiang Hu [Tue, 28 Mar 2017 02:23:41 +0000 (02:23 +0000)]
Merge "unify the way of obtaining network configuration"

8 years agoMerge "Fix bug in virtual deploy"
Zhijiang Hu [Tue, 28 Mar 2017 02:23:05 +0000 (02:23 +0000)]
Merge "Fix bug in virtual deploy"

8 years agoFix bug in virtual deploy 89/31789/1
Alex Yang [Sun, 26 Mar 2017 14:01:43 +0000 (22:01 +0800)]
Fix bug in virtual deploy

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>
8 years agounify the way of obtaining network configuration 61/31661/1
SerenaFeng [Fri, 24 Mar 2017 06:51:32 +0000 (14:51 +0800)]
unify the way of obtaining network configuration

Change-Id: Idd960d7faf0f24ae8caac13562858ccaa1c67f7b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agounify the way of getting openstack clients 59/31659/2
SerenaFeng [Fri, 24 Mar 2017 06:43:04 +0000 (14:43 +0800)]
unify the way of getting openstack clients

Change-Id: If3a1d1a8b74e11c5861c016bd722b78f4cf9b475
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "modify image path according to https://review.openstack.org/#/c/446820/"
Zhijiang Hu [Thu, 23 Mar 2017 15:21:10 +0000 (15:21 +0000)]
Merge "modify image path according to https://review.openstack.org/#/c/446820/"

8 years agomodify image path 59/31559/2
Yao Lu [Thu, 23 Mar 2017 11:45:04 +0000 (19:45 +0800)]
modify image path
according to https://review.openstack.org/#/c/446820/

Change-Id: Ie5ece043ac27e207e232cb05b8b007fa6c1b04c5
Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
8 years agosimplify get_xx process using query.find() 61/30661/9
SerenaFeng [Thu, 16 Mar 2017 08:59:48 +0000 (16:59 +0800)]
simplify get_xx process using query.find()

Change-Id: I2a911fc15c1456b409db840b9ae76c04a23d449d
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "add missing license"
Zhijiang Hu [Thu, 23 Mar 2017 02:06:28 +0000 (02:06 +0000)]
Merge "add missing license"

8 years agoMerge "abolish tag to use branch to get daisy from upstream"
Zhijiang Hu [Thu, 23 Mar 2017 02:05:41 +0000 (02:05 +0000)]
Merge "abolish tag to use branch to get daisy from upstream"

8 years agoMerge "bugfix hardcoded network configuration"
Zhijiang Hu [Thu, 23 Mar 2017 02:04:10 +0000 (02:04 +0000)]
Merge "bugfix hardcoded network configuration"

8 years agoMerge "use local cirros image in post-deploy script"
Zhijiang Hu [Thu, 23 Mar 2017 02:03:42 +0000 (02:03 +0000)]
Merge "use local cirros image in post-deploy script"

8 years agoabolish tag to use branch to get daisy from upstream 31/31331/2
zhouya [Wed, 22 Mar 2017 08:18:30 +0000 (16:18 +0800)]
abolish tag to use branch to get daisy from upstream

Change-Id: I3bcc1e6d9cbcb2974fc9246a3b1559f9b988d530
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
8 years agoadd missing license 85/31185/2
SerenaFeng [Tue, 21 Mar 2017 11:19:58 +0000 (19:19 +0800)]
add missing license

Change-Id: Ie187f76db9ae7518c4fb129b4571cedbd7d931c6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agobugfix hardcoded network configuration 53/30653/4
SerenaFeng [Thu, 16 Mar 2017 07:16:12 +0000 (15:16 +0800)]
bugfix hardcoded network configuration

Change-Id: I1fb6036a2805ccb9bdbe23622514ccd9d997c1a5
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agouse local cirros image in post-deploy script 55/30755/2
Alex Yang [Fri, 17 Mar 2017 00:57:39 +0000 (08:57 +0800)]
use local cirros image in post-deploy script

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>
8 years agodistinguish virtual and bm deploy 09/30609/9
zhouya [Thu, 16 Mar 2017 01:36:20 +0000 (09:36 +0800)]
distinguish virtual and bm deploy

Change-Id: I9fcc4f08283c832d32c22c2195401dd86ecf9dc5
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
8 years agoMerge "download and pack cirros image into opnfv.bin"
Zhijiang Hu [Thu, 16 Mar 2017 08:03:13 +0000 (08:03 +0000)]
Merge "download and pack cirros image into opnfv.bin"

8 years agoMerge "unify the definition of NETWORK and NETWORK_CONF"
Zhijiang Hu [Thu, 16 Mar 2017 07:59:02 +0000 (07:59 +0000)]
Merge "unify the definition of NETWORK and NETWORK_CONF"

8 years agoMerge "refactor set default_floating_pool"
Zhijiang Hu [Thu, 16 Mar 2017 07:36:13 +0000 (07:36 +0000)]
Merge "refactor set default_floating_pool"

8 years agoMerge "set 'trusts' auth model in heat"
Zhijiang Hu [Thu, 16 Mar 2017 07:35:42 +0000 (07:35 +0000)]
Merge "set 'trusts' auth model in heat"

8 years agodownload and pack cirros image into opnfv.bin 51/30651/1
Alex Yang [Thu, 16 Mar 2017 06:53:35 +0000 (14:53 +0800)]
download and pack cirros image into opnfv.bin

In daisy-build job, download and pack cirros 0.3.5 image into daisy
image file. Then post-deploy script can use it as a glance image.
It will locate in /var/lib/daisy/images/ on daisy server.

Change-Id: I1bf67c32bd245b43dd50974076daaca04721bc11
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
8 years agounify the definition of NETWORK and NETWORK_CONF 33/30633/1
SerenaFeng [Thu, 16 Mar 2017 04:15:37 +0000 (12:15 +0800)]
unify the definition of NETWORK and NETWORK_CONF

Change-Id: I1669c92f24739812a4e2d47655b1fc0a1daa3171
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agorefactor set default_floating_pool 27/30627/1
SerenaFeng [Thu, 16 Mar 2017 03:02:22 +0000 (11:02 +0800)]
refactor set default_floating_pool

Change-Id: I2e59f1ea7abdfc2bbd1f89cb19d55dd4eb053112
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoset 'trusts' auth model in heat 19/30519/6
SerenaFeng [Wed, 15 Mar 2017 07:50:35 +0000 (15:50 +0800)]
set 'trusts' auth model in heat

Change-Id: I2b61d756adbeef0efecb2a9d479e8c43c56c21fb
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agocreate default TestVM for Functest 01/30401/3
SerenaFeng [Tue, 14 Mar 2017 08:48:22 +0000 (16:48 +0800)]
create default TestVM for Functest

Change-Id: I505a0819d5f1a4350e82ceaa9e5cbee285c8fba0
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "bugfix: test_external_network_visibility failed"
Zhijiang Hu [Wed, 15 Mar 2017 14:37:21 +0000 (14:37 +0000)]
Merge "bugfix: test_external_network_visibility failed"

8 years agoMerge "add default_floating_pool configuration for nova-api"
Zhijiang Hu [Wed, 15 Mar 2017 14:28:04 +0000 (14:28 +0000)]
Merge "add default_floating_pool configuration for nova-api"

8 years agoMerge "create m1.micro flavor for functest"
Zhijiang Hu [Wed, 15 Mar 2017 14:17:31 +0000 (14:17 +0000)]
Merge "create m1.micro flavor for functest"

8 years agobugfix: test_external_network_visibility failed 41/30541/1
SerenaFeng [Wed, 15 Mar 2017 09:11:02 +0000 (17:11 +0800)]
bugfix: test_external_network_visibility failed

subnet should be invisible

Change-Id: I27d7a9ceab3604ccd35667b949e490e341f95f6a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoadd default_floating_pool configuration for nova-api 07/30507/3
SerenaFeng [Wed, 15 Mar 2017 06:31:36 +0000 (14:31 +0800)]
add default_floating_pool configuration for nova-api

Change-Id: I9db5509667e9c10a9c07b55531c6d78fb95cc223
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agocreate m1.micro flavor for functest 05/30405/2
SerenaFeng [Tue, 14 Mar 2017 09:53:45 +0000 (17:53 +0800)]
create m1.micro flavor for functest

Change-Id: Iacb36cb05e72b0755cec0a5bd5a6c48f3ec70c6f
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agomodify daisy install interface and modify check_openstack_progress targetnode nums 87/30387/1
zhouya [Tue, 14 Mar 2017 06:59:35 +0000 (14:59 +0800)]
modify daisy install interface and modify check_openstack_progress targetnode nums

Change-Id: I19f8c18f8b977619c9bbf6f1e80f7c48f8f5db9e
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
8 years agoremove blanks from cluster_id 01/30301/1
Alex Yang [Sat, 11 Mar 2017 15:52:14 +0000 (23:52 +0800)]
remove blanks from cluster_id

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>
8 years agoMerge "add known_hosts file in daisy vm"
Zhijiang Hu [Fri, 10 Mar 2017 08:56:35 +0000 (08:56 +0000)]
Merge "add known_hosts file in daisy vm"

8 years agoMerge "Fix ipmi info updating in OS installation"
Zhijiang Hu [Fri, 10 Mar 2017 08:46:02 +0000 (08:46 +0000)]
Merge "Fix ipmi info updating in OS installation"

8 years agoadd known_hosts file in daisy vm 29/30229/1
zhouya [Fri, 10 Mar 2017 08:26:33 +0000 (16:26 +0800)]
add known_hosts file in daisy vm

Change-Id: Icc58c1ad41264557ad462174188f518fbb1f5ef6
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
8 years agoEliminate the exception in image-modify 79/29979/3
Alex Yang [Tue, 7 Mar 2017 16:30:24 +0000 (00:30 +0800)]
Eliminate the exception in image-modify

Sometimes kpartx fails when it deletes the partition device mappings
because of the automatic mounting to /run/media/root/xxxx. So umounting
and removing forcibly are needed.

Change-Id: Ic8a19ef9139adb9c0c5c4bead0ae0ffbd92f24b8
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
8 years agoFix ipmi info updating in OS installation 57/30157/1
Alex Yang [Thu, 9 Mar 2017 11:51:57 +0000 (19:51 +0800)]
Fix ipmi info updating in OS installation

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>
8 years agoMerge "create admin external subnet"
Zhijiang Hu [Thu, 9 Mar 2017 08:04:09 +0000 (08:04 +0000)]
Merge "create admin external subnet"

8 years agoMerge "add patch from upstream to fit bm deploy"
Zhijiang Hu [Thu, 9 Mar 2017 06:39:06 +0000 (06:39 +0000)]
Merge "add patch from upstream to fit bm deploy"

8 years agoMerge "fix libvirt bug of https://bugzilla.redhat.com/show_bug.cgi?id=1404627"
Zhijiang Hu [Thu, 9 Mar 2017 06:33:07 +0000 (06:33 +0000)]
Merge "fix libvirt bug of https://bugzilla.redhat.com/show_bug.cgi?id=1404627"

8 years agoadd patch from upstream to fit bm deploy 25/30025/1
zhouya [Wed, 8 Mar 2017 07:53:05 +0000 (15:53 +0800)]
add patch from upstream to fit bm deploy

Change-Id: Iefba02c658f7feb45868822334deada245b1d7aa
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
8 years agofix libvirt bug of https://bugzilla.redhat.com/show_bug.cgi?id=1404627 41/29941/4
zhouya [Tue, 7 Mar 2017 11:52:08 +0000 (19:52 +0800)]
fix libvirt bug of https://bugzilla.redhat.com/show_bug.cgi?id=1404627

Change-Id: Ia018529ed3ca89e883a8ba2b1a693e2a5250af21
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
8 years agoMerge "create external network"
Zhijiang Hu [Wed, 8 Mar 2017 02:21:57 +0000 (02:21 +0000)]
Merge "create external network"

8 years agocreate admin external subnet 05/29905/3
SerenaFeng [Tue, 7 Mar 2017 06:36:03 +0000 (14:36 +0800)]
create admin external subnet

Change-Id: Ib56c94c090fd2fc0950ce97e1c4c1fdf622f2d08
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agocreate external network 99/29899/3
SerenaFeng [Tue, 7 Mar 2017 02:43:56 +0000 (10:43 +0800)]
create external network

Change-Id: I6621fed21832f3e4653c2d236bb29de421b5b573
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoFix judging condition flaw 47/29647/3
Julien-zte [Thu, 2 Mar 2017 13:11:17 +0000 (21:11 +0800)]
Fix judging condition flaw

*the judging condition var is $volumes_to_remove instead of
$containers_to_kill at line 95 in kolla-build.sh

*unify the code indent

Change-Id: Ia6722d32f98fbee938e4eb6f1be0cedd3dc38aa8
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
8 years agoMerge "fix some bug of bm deploy"
Zhijiang Hu [Tue, 7 Mar 2017 01:43:41 +0000 (01:43 +0000)]
Merge "fix some bug of bm deploy"

8 years agoMerge "add framework of post deploy process"
Zhijiang Hu [Tue, 7 Mar 2017 01:43:27 +0000 (01:43 +0000)]
Merge "add framework of post deploy process"

8 years agofix some bug of bm deploy 95/29595/4
zhouya [Thu, 2 Mar 2017 02:41:15 +0000 (10:41 +0800)]
fix some bug of bm deploy

Change-Id: I96bed7259666d48a1fbc41bb9452d8493c4417b8
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
8 years agoadd framework of post deploy process 15/29715/2
SerenaFeng [Fri, 3 Mar 2017 10:34:16 +0000 (18:34 +0800)]
add framework of post deploy process

Change-Id: I3f5a067a6359be482a853b164fd7effdfad8fc8f
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
8 years agoMerge "fix some typos in .rst files"
Zhijiang Hu [Fri, 3 Mar 2017 09:04:41 +0000 (09:04 +0000)]
Merge "fix some typos in .rst files"

8 years agoMerge "End deployment when timeout"
Zhijiang Hu [Fri, 3 Mar 2017 09:03:20 +0000 (09:03 +0000)]
Merge "End deployment when timeout"

8 years agoFix an error in docker volume remove 37/29637/1
Alex Yang [Thu, 2 Mar 2017 12:20:01 +0000 (20:20 +0800)]
Fix an error in docker volume remove

Replace $containers_to_kill with $volumes_to_remove in docker
volumes removing.

Change-Id: I715ff135099be0a8c9424ab3f94509ee72558415
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
8 years agoEnd deployment when timeout 35/29635/1
Alex Yang [Thu, 2 Mar 2017 12:08:35 +0000 (20:08 +0800)]
End deployment when timeout

Change-Id: Iaae02bfc69450d6138b7b187ec23e4ed2eef6138
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
8 years agofix some typos in .rst files 19/29419/2
zhongjun [Mon, 27 Feb 2017 17:14:42 +0000 (01:14 +0800)]
fix some typos in .rst files

*Correct some typos in vmdeploy.rst
*Correct some typos in installation_guide.rst

Change-Id: I1b395ecbc0f4b5e5e47a056eebc3a1b9fd0e4347
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
8 years agoFix daisycloud-core to a specific tag 75/29475/1
Zhijiang [Tue, 28 Feb 2017 11:18:39 +0000 (06:18 -0500)]
Fix daisycloud-core to a specific tag

Change-Id: Ife00fdc3409711f8d2de54f03a2a48f778761f80
Signed-off-by: Zhijiang <hu.zhijiang@zte.com.cn>
8 years agoMake opnfv.bin executable 79/29379/1
Alex Yang [Sat, 25 Feb 2017 10:04:42 +0000 (18:04 +0800)]
Make opnfv.bin executable

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>
8 years agoMerge "spelling check:artifacts repository->artifact repository"
Zhijiang Hu [Fri, 24 Feb 2017 07:20:24 +0000 (07:20 +0000)]
Merge "spelling check:artifacts repository->artifact repository"

8 years agoCorrect the type error of env CLI Option in tempest.py 19/29319/2
Alex Yang [Fri, 24 Feb 2017 01:36:32 +0000 (09:36 +0800)]
Correct the type error of env CLI Option in tempest.py

Change-Id: Id7a4f567c7c81e17c33b5c3ba558fa1cc891b42d
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
8 years agospelling check:artifacts repository->artifact repository 23/29323/1
zhongjun [Thu, 23 Feb 2017 09:32:40 +0000 (17:32 +0800)]
spelling check:artifacts repository->artifact repository

Change-Id: I69d5d07e61e3b8aef0a8ecbecfe6828e2361ba66
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
8 years agoMerge "Baremetal Deployment on zte-pod2 JIRA: DAISY-30"
Zhijiang Hu [Thu, 23 Feb 2017 00:54:36 +0000 (00:54 +0000)]
Merge "Baremetal Deployment on zte-pod2 JIRA: DAISY-30"

8 years agoMerge "Add executable attribute to opnfv bin file"
Zhijiang Hu [Wed, 22 Feb 2017 09:19:06 +0000 (09:19 +0000)]
Merge "Add executable attribute to opnfv bin file"

8 years agoAdd executable attribute to opnfv bin file 05/29205/1
Alex Yang [Wed, 22 Feb 2017 08:57:37 +0000 (16:57 +0800)]
Add executable attribute to opnfv bin file

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>
8 years agoBaremetal Deployment on zte-pod2 47/28347/11
Zhou Ya [Thu, 9 Feb 2017 08:19:19 +0000 (16:19 +0800)]
Baremetal Deployment on zte-pod2
JIRA: DAISY-30

Change-Id: Ie34180b9d036797d310f612caa189b0a06efb732
Signed-off-by: Zhou Ya <zhou.ya@zte.com.cn>
8 years agomissing a $ bere var 83/29183/1
Julien [Wed, 22 Feb 2017 00:36:12 +0000 (08:36 +0800)]
missing a $ bere var

Change-Id: Ida548591f4e793bc28f4a8df31c07356cee9a82a
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
8 years agoAdd missing brackets 07/28907/1
Alex Yang [Fri, 17 Feb 2017 08:22:01 +0000 (16:22 +0800)]
Add missing brackets

Change-Id: Ia1f437cad2c4d42e72d4b53cdd6a4f7f00a29edf
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
8 years agoFix some typo mistakes 73/28773/2
Alex Yang [Thu, 16 Feb 2017 03:41:59 +0000 (11:41 +0800)]
Fix some typo mistakes

Change-Id: If85c06459cda8392827920928b7d65f7e70fc82b
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
8 years agoRefactor for get_para_from_deploy 39/28639/1
Julien [Tue, 14 Feb 2017 15:49:40 +0000 (23:49 +0800)]
Refactor for get_para_from_deploy

Change-Id: I6d8fb4df38bf0749222a2b967a76222c273a7549
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
8 years agorefactor for ssh call 23/28623/1
Julien [Tue, 14 Feb 2017 14:22:12 +0000 (22:22 +0800)]
refactor for ssh call

Be easy to understand

Change-Id: I385569342b96d21f8a9ac6bfb68c92ba424f03ae
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
8 years agoMerge "Use securedlab for configuration"
Zhijiang Hu [Tue, 14 Feb 2017 04:07:02 +0000 (04:07 +0000)]
Merge "Use securedlab for configuration"

8 years agoUse securedlab for configuration 85/28485/2
Julien [Mon, 6 Feb 2017 15:46:44 +0000 (23:46 +0800)]
Use securedlab for configuration

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>
8 years agoMerge "Add parameters support for deploy"
Zhijiang Hu [Fri, 10 Feb 2017 08:12:15 +0000 (08:12 +0000)]
Merge "Add parameters support for deploy"

8 years agoMerge "Add basic installation guide docs"
Zhijiang Hu [Wed, 8 Feb 2017 04:11:47 +0000 (04:11 +0000)]
Merge "Add basic installation guide docs"

8 years agoResolve build silent failure 25/28225/5
Zhijiang Hu [Tue, 7 Feb 2017 12:53:08 +0000 (07:53 -0500)]
Resolve build silent failure

1) Add "-f" to docker rmi command, otherwise we encountered "Error
response from daemon: conflict: unable to remove repository ..."

2) Remove "2>&1" to get error message printed out if present.

3) Add cleanup_container, otherwise we got "Error response from
daemon: Conflict. The name "/daisy" is already in use by container"

Change-Id: Ic5cecb34699c6fbe0d3af45be38633d35bdfc89f
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
8 years agoAdd basic installation guide docs 69/28169/3
Zhijiang [Tue, 7 Feb 2017 05:43:12 +0000 (00:43 -0500)]
Add basic installation guide docs

Change-Id: I9ecb49ceee687b6488f8635544e46e854989d6a5
Signed-off-by: Zhijiang <hu.zhijiang@zte.com.cn>
8 years agoMerge "Add a judgment in trustme.sh"
Zhijiang Hu [Tue, 7 Feb 2017 01:38:51 +0000 (01:38 +0000)]
Merge "Add a judgment in trustme.sh"

8 years agoAdd a judgment in trustme.sh 47/27047/4
zhuzeyu [Mon, 16 Jan 2017 12:31:53 +0000 (20:31 +0800)]
Add a judgment in trustme.sh

To check whether the script runs successful

Change-Id: I0ae4e01d845690cb6c19f95f0950cd98ebd1338c
Signed-off-by: zhuzeyu <zhu.zeyu@zte.com.cn>
8 years agoAdd parameters support for deploy 59/28059/2
Julien [Sun, 5 Feb 2017 08:41:37 +0000 (16:41 +0800)]
Add parameters support for deploy

JIRA: DAISY-29

Change-Id: I53a08f2fa458028a59597d1b7a0c7b9137e40dd7
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
8 years agoMerge "add centos to /var/lib/daisy/kolla"
Zhijiang Hu [Thu, 19 Jan 2017 09:24:43 +0000 (09:24 +0000)]
Merge "add centos to /var/lib/daisy/kolla"

8 years agoremove centos7.qcow2 41/27141/3
Yao Lu [Wed, 18 Jan 2017 07:28:49 +0000 (15:28 +0800)]
remove centos7.qcow2
every time before deploy,we need new centos7.qcow2.

Change-Id: I295ed192674a31290b25042c0843875b93831ebc
Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
8 years agoadd centos to /var/lib/daisy/kolla 55/27155/2
Yao Lu [Wed, 18 Jan 2017 09:00:35 +0000 (17:00 +0800)]
add centos to /var/lib/daisy/kolla

Change-Id: Ifc160b5ae884c2ea7be481b31457752b0be44a71
Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
8 years agoUse different variables for local workspace and remote workspace 13/26913/1
Alex Yang [Thu, 12 Jan 2017 06:19:13 +0000 (14:19 +0800)]
Use different variables for local workspace and remote workspace

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>