daisy.git
7 years agoFix unit test for number of hugepages 35/54635/1
Alex Yang [Fri, 30 Mar 2018 05:46:41 +0000 (13:46 +0800)]
Fix unit test for number of hugepages

Change-Id: I2c7c2a9d38ed0789710ef6af371cb6663d7433cc
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoEnlarge hugepage default count 65/54365/1
Zhijiang Hu [Fri, 23 Mar 2018 04:52:29 +0000 (00:52 -0400)]
Enlarge hugepage default count

Change-Id: I551388760fc7e0c30d07350fe15ffa0c39cc7881
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoMerge "Add scenarios docs"
Zhijiang Hu [Mon, 19 Mar 2018 11:08:30 +0000 (11:08 +0000)]
Merge "Add scenarios docs"

7 years agoMerge "Fix Licence header missing issues"
Alex Yang [Mon, 19 Mar 2018 09:14:23 +0000 (09:14 +0000)]
Merge "Fix Licence header missing issues"

7 years agoAdd scenarios docs 21/53921/3
Zhijiang Hu [Fri, 16 Mar 2018 02:28:51 +0000 (10:28 +0800)]
Add scenarios docs

Change-Id: Ice02ae39569fe2efb1fbd3544afa1e5dd47d5e1d
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoFix Licence header missing issues 31/53931/4
Zhijiang Hu [Fri, 16 Mar 2018 05:33:51 +0000 (13:33 +0800)]
Fix Licence header missing issues

Change-Id: I186f94b6e7580974a32a3c3c48fdc891b8445937
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agodocker load latest registry server during runtime 63/54063/5
Zhijiang Hu [Mon, 19 Mar 2018 02:23:35 +0000 (10:23 +0800)]
docker load latest registry server during runtime

Using http://daisycloud.org/static/files/registry-server.tar is unsafe.

Please see upstream patch https://review.openstack.org/#/c/554085/ which
implements docker load latest registry server during runtime.

Change-Id: I42f27f522f328619e19a69e0fa796f7b8efa9bd0
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoEnlarge the time slice between creating VM and assign FIP 45/53445/1
Zhijiang Hu [Sat, 10 Mar 2018 02:28:43 +0000 (10:28 +0800)]
Enlarge the time slice between creating VM and assign FIP

tools/daisy-post-fip.sh is only for user manually test FIP after
deployment, so this change does not have functional change.

Change-Id: I360eee59a4b0eb12fc2e50b7c15c5ccae527061c
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoUpdate docs for Fraser release 15/52715/1
Zhijiang Hu [Tue, 27 Feb 2018 08:15:59 +0000 (16:15 +0800)]
Update docs for Fraser release

Change-Id: Iccaaeb1018b51d80814a7263366eff8e8bd0e1d2
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoAuto Generated INFO.yaml file 47/51547/4
agardner [Fri, 2 Feb 2018 22:51:30 +0000 (17:51 -0500)]
Auto Generated INFO.yaml file

INFO.yaml meant to be machine readable.
This file was auto generated from an ldap lookup
and your projects INFO file.

Meeting times are not currently filled out.
please ammend this patchset to complete

Going forward comitter promotions should be done
against this file.

PTLs:
Must be merged for you to gain delete access on
testresults.opnfv.org

If project_lead: is missing (my script could not parse)
please amend with same from commiters section eg:

project_lead: &opnfv_dovetail_ptl
    name: 'Lead Name'
    email: 'lead email'
    id: 'lead lfid'
    company: 'lead company'

Change-Id: Ia5651755b40f7503a8e0109e19c1ab6200014dea
Signed-off-by: agardner <agardner@linuxfoundation.org>
7 years agoMerge "Sync kolla patches"
Zhijiang Hu [Fri, 26 Jan 2018 01:50:48 +0000 (01:50 +0000)]
Merge "Sync kolla patches"

7 years agoMerge "Update image to include patch for ODL NETVIRT-896"
Zhijiang Hu [Wed, 24 Jan 2018 07:38:02 +0000 (07:38 +0000)]
Merge "Update image to include patch for ODL NETVIRT-896"

7 years agoUpdate image to include patch for ODL NETVIRT-896 31/51031/1
Zhijiang Hu [Wed, 24 Jan 2018 08:37:34 +0000 (03:37 -0500)]
Update image to include patch for ODL NETVIRT-896

Change-Id: I12a29ef9641c75265f7888c630e9e86eb056accd
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoSync kolla patches 33/51033/1
Zhijiang Hu [Wed, 24 Jan 2018 07:22:34 +0000 (15:22 +0800)]
Sync kolla patches

Change-Id: I1f13f72d4e75fa7414c571e6db080d0f08f47a96
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoBreak dead loop in discover_host() 23/51023/2
Alex Yang [Wed, 24 Jan 2018 01:17:34 +0000 (09:17 +0800)]
Break dead loop in discover_host()

Change-Id: I5e0186db88c9db16a8212b1c52e03fb9d6cf6adc
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoMerge "Mount xfs image with -o nouuid"
Zhijiang Hu [Tue, 23 Jan 2018 01:37:09 +0000 (01:37 +0000)]
Merge "Mount xfs image with -o nouuid"

7 years agoMount xfs image with -o nouuid 01/50901/1
Alex Yang [Mon, 22 Jan 2018 06:44:41 +0000 (14:44 +0800)]
Mount xfs image with -o nouuid

In [1], an error occured:
"XFS (dm-6): Filesystem has duplicate UUID ... - can't mount".

[1]: https://build.opnfv.org/ci/job/daisy-deploy-zte-pod9-daily-master/11/console

Change-Id: I84052f481662e370ef8d41d62d356ad9a5e6e3c2
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoMerge "Add extra parameter to integrate with doctor"
Zhijiang Hu [Fri, 19 Jan 2018 07:11:56 +0000 (07:11 +0000)]
Merge "Add extra parameter to integrate with doctor"

7 years agoMerge "support dpdk"
Zhijiang Hu [Fri, 19 Jan 2018 07:11:36 +0000 (07:11 +0000)]
Merge "support dpdk"

7 years agoMerge "no need to separate dpdk from network.yaml.j2"
Alex Yang [Thu, 18 Jan 2018 03:18:41 +0000 (03:18 +0000)]
Merge "no need to separate dpdk from network.yaml.j2"

7 years agoCreate pod's dir if it didn't exist 81/50681/1
Alex Yang [Tue, 16 Jan 2018 10:15:53 +0000 (18:15 +0800)]
Create pod's dir if it didn't exist

Change-Id: I0c284ef830caa2eb0f52efbee0b23d9a70449efe
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agosupport dpdk 27/46627/26
00184532 [Fri, 3 Nov 2017 08:31:03 +0000 (16:31 +0800)]
support dpdk

Change-Id: I30970093bab418d679d3a3396d16aaff257272f4
Signed-off-by: 00184532 <lu.yao135@zte.com.cn>
7 years agoAdd extra parameter to integrate with doctor 75/50075/14
zhouya [Fri, 5 Jan 2018 03:19:52 +0000 (11:19 +0800)]
Add extra parameter to integrate with doctor

Need to change some parameter of ceilometer
to run doctor. In order not to influence
other scenario, add an extra '-d' argument
for doctor test only to change event_pipelint.yaml
template file in kolla-ansible code.

Change-Id: Ia5536658b2a2698bc1384e255328d4d719cc566c
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
7 years agomodify check openstack installation progress 01/50601/1
zhouya [Mon, 8 Jan 2018 06:57:59 +0000 (14:57 +0800)]
modify check openstack installation progress

Due to the add of 'role' column in host-list
check openstack progress shell script has to
change the num in filter line
Merge after this commit been merged.
https://review.openstack.org/#/c/531105/

Change-Id: If089eafeb8b30883f9310ebdc2fe912352031e7f
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
7 years agoupdate image for ODL 45/50545/1
Zhijiang Hu [Sat, 13 Jan 2018 08:17:09 +0000 (16:17 +0800)]
update image for ODL

Change-Id: I549cce85155252e0711a9defe38d936ac09dd63f
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoAlign example config files to pharos format 39/50539/1
Zhijiang Hu [Sat, 13 Jan 2018 04:11:51 +0000 (23:11 -0500)]
Align example config files to pharos format

After [1], get_mac_addresses_for_virtual()'s behavior was
changed. So in order to let it to produce right mac_addresses for
both pharos's and example's config file, the example config files'
format should also be changed accordingly.

[1] https://gerrit.opnfv.org/gerrit/#/c/50325/

Change-Id: Ia1ee481057fbe87ab8410c0354c4724bcf013ac4
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoUpdate image 53/50353/1
Zhijiang Hu [Wed, 10 Jan 2018 12:27:25 +0000 (07:27 -0500)]
Update image

This fallbacks ODL version to opendaylight-6.3.0-0.1.20171122snap208.el7
trying to solve VM creation error occurred with
opendaylight-6.3.0-0.1.20171211rel2065.el7.

Upstream change is [1]:

[1] https://review.openstack.org/#/c/532487/1

Change-Id: Ia5c70932b98c04beae2bc8464091c0b2f48b9d34
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoFix the indentation when generating mac addresses 25/50325/1
Alex Yang [Wed, 10 Jan 2018 00:56:27 +0000 (08:56 +0800)]
Fix the indentation when generating mac addresses

The indentations in deploy.yml of virtual pods were modified
when the files were moved from securedlab to pharos.

Change-Id: I94bcbc155b0eebb03c48939c9902b313fb5ffd2b
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoProvide default password for daisy server 81/50281/1
Alex Yang [Tue, 9 Jan 2018 07:01:46 +0000 (15:01 +0800)]
Provide default password for daisy server

There is no PDF for virtual pods now. And daisy_passwd was deleted
from the deploy.yml of zte-virtual1 in pharos.

Change-Id: I0a6fba8fa634806a21779a382f5ff07f9450e270
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoMerge "Add upstream patches"
Zhijiang Hu [Tue, 9 Jan 2018 01:30:54 +0000 (01:30 +0000)]
Merge "Add upstream patches"

7 years agono need to separate dpdk from network.yaml.j2 09/50209/1
00184532 [Mon, 8 Jan 2018 09:11:19 +0000 (17:11 +0800)]
no need to separate dpdk from network.yaml.j2

Change-Id: I1e2f89f0c6ad1d292a2788910755df17802b3683
Signed-off-by: 00184532 <lu.yao135@zte.com.cn>
7 years agoAdd upstream patches 77/50077/4
Zhijiang Hu [Fri, 5 Jan 2018 05:09:54 +0000 (00:09 -0500)]
Add upstream patches

When we building kolla images in OPNFV jenkins job, we need to
clone code directly from openstack/kolla project and patch it
with necessary patches needed by OPNFV.

This is the first patch focus on ODL and DPDK integration. To
use it, please clone openstack/kolla's stable/pike branch first
then apply patch by using git apply command.

This PS also solved git clone risk found by Anteater by
deleting url variable in git clone command.

Change-Id: I9d02f0d4919b53fb33233399ed4efd57d27b21a1
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoMerge "Fix security risks about shell=True"
Zhijiang Hu [Fri, 5 Jan 2018 06:29:13 +0000 (06:29 +0000)]
Merge "Fix security risks about shell=True"

7 years agoMerge "Get configurations from pharos instead securedlab"
Zhijiang Hu [Fri, 5 Jan 2018 06:28:53 +0000 (06:28 +0000)]
Merge "Get configurations from pharos instead securedlab"

7 years agoFix tmp dir security risks in image build code 03/50003/3
Zhijiang Hu [Thu, 4 Jan 2018 22:11:43 +0000 (17:11 -0500)]
Fix tmp dir security risks in image build code

Change-Id: I2b909101ead10e26d2ec00a0ba3eb4ca63dc226a
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoChange owner of build output 01/50001/2
Zhijiang Hu [Thu, 4 Jan 2018 21:46:13 +0000 (16:46 -0500)]
Change owner of build output

In order to let jenkins to wiping out workspace, the owner of
the built artifacts should be jenkins:jenkins

Change-Id: If0a6f367460ee50fe947e75a800e9e0044f3626e
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoFix security risks about shell=True 21/50021/2
Alex Yang [Thu, 4 Jan 2018 08:40:02 +0000 (16:40 +0800)]
Fix security risks about shell=True

Change-Id: I2db012e2b6a4325c42d5422901dea52a5ab7f664
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoGet configurations from pharos instead securedlab 17/49917/1
Alex Yang [Wed, 3 Jan 2018 07:42:01 +0000 (15:42 +0800)]
Get configurations from pharos instead securedlab

Securedlab will be retired. So we should get configurations from
pharos. See [1]

[1]: https://gerrit.opnfv.org/gerrit/#/c/49161/

Change-Id: I42684a7c00ad96b1e7d0496724f0d820ffc27674
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoupdate image to 171226232545 71/49671/1
Zhijiang Hu [Wed, 27 Dec 2017 22:32:45 +0000 (17:32 -0500)]
update image to 171226232545

Change-Id: I33e00112b556454edbb75f83e7f37499de26b9a8
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoMerge "Generate .ssh/known_hosts when making VM image"
Alex Yang [Tue, 26 Dec 2017 05:43:09 +0000 (05:43 +0000)]
Merge "Generate .ssh/known_hosts when making VM image"

7 years agoMerge "Use deployserver's timezone in daisy VM"
Alex Yang [Tue, 26 Dec 2017 03:44:35 +0000 (03:44 +0000)]
Merge "Use deployserver's timezone in daisy VM"

7 years agoNow SDL cluster use kolla_internal_vip_address as VIP 95/49595/2
Zhijiang Hu [Mon, 25 Dec 2017 17:06:29 +0000 (12:06 -0500)]
Now SDL cluster use kolla_internal_vip_address as VIP

Change-Id: Id22c86d4d2c7c18bba36dc9b50cd56bf75d94053
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoGenerate .ssh/known_hosts when making VM image 53/49253/2
Alex Yang [Tue, 19 Dec 2017 02:30:41 +0000 (10:30 +0800)]
Generate .ssh/known_hosts when making VM image

Change-Id: I3f72239d6c4db27f67d5586c45e46ed01fad281d
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoUse deployserver's timezone in daisy VM 17/48917/1
Alex Yang [Thu, 14 Dec 2017 07:39:25 +0000 (15:39 +0800)]
Use deployserver's timezone in daisy VM

Change-Id: Ie58af69f444924494d1a2949ba894ae55da7efc9
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoFix some spelling mistakes in docs 37/48437/1
zhongjun [Wed, 6 Dec 2017 01:19:39 +0000 (09:19 +0800)]
Fix some spelling mistakes in docs

Change-Id: Ib3412b93dc7862839b4b9293286f70f8082e759d
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
7 years agoUpdate kolla image 97/47797/1
Zhijiang Hu [Sat, 25 Nov 2017 14:10:31 +0000 (22:10 +0800)]
Update kolla image

Change-Id: I7c7b6b10c5acc72f0de70703824e2034494eae77
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoSwitch ODL version to Carbon-SR1 39/47639/1
Zhijiang Hu [Wed, 22 Nov 2017 09:43:32 +0000 (04:43 -0500)]
Switch ODL version to Carbon-SR1

SR2 seems has issues with FIP ping test

Change-Id: I4aea097f2009c2c33de8fc85820bf68c1cbb316a
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agopassword auth module seems can not accept region_name as argument 47/47447/2
Zhijiang Hu [Sat, 18 Nov 2017 09:57:29 +0000 (04:57 -0500)]
password auth module seems can not accept region_name as argument

Please see the error info at the end of [1].

[1] https://build.opnfv.org/ci/job/daisy-deploy-daily-master/815/console

Change-Id: I309fd858ea10a8821c95d66a27b7840a7f70151c
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoMerge "Update image to solve kolla-box missing packaget"
Zhijiang Hu [Fri, 17 Nov 2017 08:43:31 +0000 (08:43 +0000)]
Merge "Update image to solve kolla-box missing packaget"

7 years agoUpdate image to solve kolla-box missing packaget 89/47389/1
Zhijiang Hu [Fri, 17 Nov 2017 07:13:14 +0000 (02:13 -0500)]
Update image to solve kolla-box missing packaget

Change-Id: I66cd8261533f0bb81d9e8839dbd3b819dbd2de88
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoMerge "Nomination of Committer promotion for Jun Zhong"
Zhijiang Hu [Fri, 17 Nov 2017 06:58:38 +0000 (06:58 +0000)]
Merge "Nomination of Committer promotion for Jun Zhong"

7 years agoceilometer needs gnocchi from pike 99/47299/2
Zhijiang Hu [Thu, 16 Nov 2017 06:46:42 +0000 (01:46 -0500)]
ceilometer needs gnocchi from pike

Change-Id: I793a31e42eb5dd9f9af34489c599624b8c83e11a
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoNomination of Committer promotion for Jun Zhong 01/47301/1
Zhijiang Hu [Thu, 16 Nov 2017 07:27:56 +0000 (02:27 -0500)]
Nomination of Committer promotion for Jun Zhong

I'd like to nominate Jun Zhong for Daisy4NFV core reviewer.

Jun started to work on Daisy4NFV since the beginning of the project and he has made significant contribution to project during E release cycle including code pythonizing, add unit test framework, test supplementary and etc.. [1][2]

I have had a talked with him offline and he expressed willing to contribute more to Daisy4NFV project on several new fields such as ARM platform support.... I believe he will make a great addition to the core review team.

All Daisy4NFV committers, please vote +1 or +2 if you support this nomination [3].

[1] http://stackalytics.com/?project_type=opnfv-group&metric=commits&release=all&module=daisy
[2] https://gerrit.opnfv.org/gerrit/#/q/owner:zhong.jun%2540zte.com.cn+status:merged+project:daisy
[3] https://wiki.opnfv.org/display/DEV/Committer+Promotions

Change-Id: I8423b4dfe6a034dbb7c6aeccf55daa7f06172136
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoNomination of Committer promotion for Ya Zhou 65/47165/1
Zhijiang Hu [Tue, 14 Nov 2017 07:18:48 +0000 (02:18 -0500)]
Nomination of Committer promotion for Ya Zhou

I'd like to nominate Ya Zhou(IRC name 'zhouya') for Daisy4NFV
core reviewer.

Ya started to work on Daisy4NFV since the beginning of the project
and he has made significant contribution to project during E
release cycle including adding support of deploying Ceph, Cinder,
ODL and etc... [1][2]

I have had a talked with him offline and he expressed willing to
contribute more to Daisy4NFV project and I believe he will make a
great addition to the core review team.

All Daisy4NFV committers, please vote +1 or +2 if you support this
nomination [3].

[1] http://stackalytics.com/?project_type=opnfv-group&metric=commits&release=all&module=daisy
[2] https://gerrit.opnfv.org/gerrit/#/q/owner:zhou.ya%2540zte.com.cn+status:merged+project:daisy
[3] https://wiki.opnfv.org/display/DEV/Committer+Promotions

Change-Id: I479ee737781d2692ef68edf3d86cb11a6ae0428f
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoBugfix for 47103 51/47151/1
Zhijiang Hu [Tue, 14 Nov 2017 03:08:26 +0000 (22:08 -0500)]
Bugfix for 47103

Change-Id: I013e19ddcceac32e964b6a930edd653a552ca83d
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoExit if kolla image build failed 11/47111/1
Zhijiang Hu [Mon, 13 Nov 2017 07:34:32 +0000 (02:34 -0500)]
Exit if kolla image build failed

Previously, image build failure was ignored since the failure is
caused by images that we do not need. Then, we only build what
we really need. So now, image build failure should not be ginored
any more.

This PS also do clean up task after failure occured, althrough
this is  not really necessary when running in a temporary VM. But
it is helpful when running manually.

Change-Id: Ica8771e80bc313795598e18dc0175177ccb6c11a
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoDump log after deplying timeout 03/47103/2
Zhijiang Hu [Mon, 13 Nov 2017 03:19:29 +0000 (22:19 -0500)]
Dump log after deplying timeout

Change-Id: I8ff298bc09bd3117f5ae8a1d81be3e5661a56e9a
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agomodify iterface to interface 21/46821/1
00184532 [Wed, 8 Nov 2017 01:35:28 +0000 (09:35 +0800)]
modify iterface to interface

Change-Id: I659906163ec7bb5156786269349cc819ea051754
Signed-off-by: 00184532 <lu.yao135@zte.com.cn>
7 years agoSwitch master branch to openstack pike 67/46767/1
Alex Yang [Tue, 7 Nov 2017 02:22:06 +0000 (10:22 +0800)]
Switch master branch to openstack pike

According to the patch in upstream [1].

[1] https://review.openstack.org/#/c/514548/

Change-Id: Ie8edee057aa46ffe0c3f4d96f0c9afb4f1635920
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoIncrease retries and decrease threads to make build more stable 57/46557/1
Zhijiang Hu [Thu, 2 Nov 2017 12:17:46 +0000 (08:17 -0400)]
Increase retries and decrease threads to make build more stable

Change-Id: Idb8d4f64a1799cfdf80401e4dc5b3f24caa7a04b
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoMerge "Support build OVS+DPDK images"
Zhijiang Hu [Thu, 2 Nov 2017 10:42:53 +0000 (10:42 +0000)]
Merge "Support build OVS+DPDK images"

7 years agoMissing parameters in tempest 03/46403/1
Alex Yang [Mon, 30 Oct 2017 02:37:48 +0000 (10:37 +0800)]
Missing parameters in tempest

In patch 45763, client parameters were missed in some functions.

Change-Id: Id311e9ee6c0f7b24fe81832e2de9787e4f5693d7
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoSupport build OVS+DPDK images 65/46365/2
Zhijiang Hu [Sat, 28 Oct 2017 07:36:34 +0000 (15:36 +0800)]
Support build OVS+DPDK images

Change-Id: Ife79062ff702ba281777f3741a56ac188e98ebec
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoBugfix for using sha512sum to check kolla image 67/46367/1
Zhijiang Hu [Sat, 28 Oct 2017 09:49:16 +0000 (05:49 -0400)]
Bugfix for using sha512sum to check kolla image

Change-Id: I26c6fc8a104752c3e65d5b6a19403692493ab44a
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoBuild kolla image in VM 51/46251/8
Zhijiang Hu [Thu, 26 Oct 2017 11:16:59 +0000 (07:16 -0400)]
Build kolla image in VM

This PS:
1. Build kolla image in VM
2. Use sha512sum to check kolla image
3. Delete suffix dot when there is no ext_tag

Change-Id: I94d99e3ff69c47cc247051fae812bfdb29ff0246
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoMerge "Support work dir and jobname parameter"
Zhijiang Hu [Thu, 26 Oct 2017 09:37:52 +0000 (09:37 +0000)]
Merge "Support work dir and jobname parameter"

7 years agoSupport work dir and jobname parameter 33/46233/6
Zhijiang Hu [Thu, 26 Oct 2017 04:23:45 +0000 (00:23 -0400)]
Support work dir and jobname parameter

Change-Id: I6ce45197e01d278a41b9472d0bb92f037ab7d0c6
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoMerge "Update artifacts url"
Zhijiang Hu [Thu, 26 Oct 2017 07:44:04 +0000 (07:44 +0000)]
Merge "Update artifacts url"

7 years agoUpdate artifacts url 37/46237/1
Julien [Thu, 26 Oct 2017 07:00:24 +0000 (15:00 +0800)]
Update artifacts url

Use artifacts.opnfv.org intead of other urls

Change-Id: I9a04d89cfbb8ee3c1296cff4a60180ae3248f1f2
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
7 years agoMerge "Skip recreate Daisy server VM if it exists in python"
Zhijiang Hu [Thu, 26 Oct 2017 03:35:53 +0000 (03:35 +0000)]
Merge "Skip recreate Daisy server VM if it exists in python"

7 years agoMerge "Add the unit test file test_tempest.py"
Zhijiang Hu [Thu, 26 Oct 2017 03:35:37 +0000 (03:35 +0000)]
Merge "Add the unit test file test_tempest.py"

7 years agoAdd the unit test file test_tempest.py 63/45763/1
zhongjun [Thu, 19 Oct 2017 07:57:22 +0000 (15:57 +0800)]
Add the unit test file test_tempest.py

1.Add the unit test file test_tempest.py and related test data
file daisyrc_admin, test stub file daisyclient_stub.py for
tempest.py

2.modify the tempest.py to adapt the unit test.

Change-Id: Ice92ed5a01a049a1a828f7f9e13979bda4b026b7
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
7 years agoMerge "remove unused null value of assigned network"
Zhijiang Hu [Thu, 19 Oct 2017 01:22:48 +0000 (01:22 +0000)]
Merge "remove unused null value of assigned network"

7 years agoSkip recreate Daisy server VM if it exists in python 61/45461/1
Alex Yang [Wed, 18 Oct 2017 07:17:01 +0000 (15:17 +0800)]
Skip recreate Daisy server VM if it exists in python

Do not recreate daisy server if it exists.
Reference to the bash code in patch [1].

[1] https://gerrit.opnfv.org/gerrit/#/c/40337/

Change-Id: If472c59ea180e550f358af4a3a9c7b42e575eddc
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoMerge "Add -allow-limited-size to mkisofs"
Zhijiang Hu [Mon, 16 Oct 2017 01:15:31 +0000 (01:15 +0000)]
Merge "Add -allow-limited-size to mkisofs"

7 years agoMerge "Support securelab dir param in python script"
Zhijiang Hu [Fri, 13 Oct 2017 03:39:43 +0000 (03:39 +0000)]
Merge "Support securelab dir param in python script"

7 years agoremove unused null value of assigned network 23/44923/3
zhouya [Thu, 12 Oct 2017 10:55:50 +0000 (18:55 +0800)]
remove unused null value of assigned network

change 'map' reserved keyword of python to regular variable

Change-Id: I077eca363c095d0596fcd06bbad2e442050cb264
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
7 years agoSupport securelab dir param in python script 99/44899/1
Alex Yang [Thu, 12 Oct 2017 09:12:53 +0000 (17:12 +0800)]
Support securelab dir param in python script

Change-Id: I39d6643aac190820ae30b945f71d21a0ea2e73c9
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoadd functest guide doc 77/44877/3
zhouya [Thu, 12 Oct 2017 07:19:02 +0000 (15:19 +0800)]
add functest guide doc

Change-Id: I615908c95526a982d901ea1186da573e2cc030d9
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
7 years agoAdd -allow-limited-size to mkisofs 67/44867/2
Zhijiang Hu [Thu, 12 Oct 2017 04:41:04 +0000 (00:41 -0400)]
Add -allow-limited-size to mkisofs

Otherwise, we encountered:
File target/el7/noarch/opnfv-2017-10-11_09-58-21.bin is larger than 4GiB-1.
-allow-limited-size was not specified. There is no way do represent this file size. Aborting.

Change-Id: Ied43c9e0c0e635ff52740c18b3b3001a4e6a3604
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoMerge "Mock sleep() to accelerate the unit test"
Zhijiang Hu [Thu, 12 Oct 2017 03:15:37 +0000 (03:15 +0000)]
Merge "Mock sleep() to accelerate the unit test"

7 years agoMerge "Add unit test file test_libvirt_utils.py"
Zhijiang Hu [Thu, 12 Oct 2017 03:14:07 +0000 (03:14 +0000)]
Merge "Add unit test file test_libvirt_utils.py"

7 years agoMock sleep() to accelerate the unit test 51/44851/1
Alex Yang [Thu, 12 Oct 2017 01:22:54 +0000 (09:22 +0800)]
Mock sleep() to accelerate the unit test

Change-Id: I664ba714ab4094754fa3d71587da8536555a02ce
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoAdd unit test file test_libvirt_utils.py 39/44639/3
zhongjun [Tue, 10 Oct 2017 11:01:13 +0000 (19:01 +0800)]
Add unit test file test_libvirt_utils.py

Add the unit test file test_libvirt_utils.py

Change-Id: Id5c44bd3683183367439486fbea8dba03ccb8bb7
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
7 years agoMerge "Create iso file during build"
Zhijiang Hu [Tue, 10 Oct 2017 00:59:11 +0000 (00:59 +0000)]
Merge "Create iso file during build"

7 years agoMerge changes from topic 'unittest2'
Zhijiang Hu [Mon, 9 Oct 2017 02:54:46 +0000 (02:54 +0000)]
Merge changes from topic 'unittest2'

* changes:
  Add more test function and case in test_utils.py
  Add more test cases in test_deploy.py

7 years agoCreate iso file during build 19/44519/3
Zhijiang Hu [Sun, 8 Oct 2017 13:59:53 +0000 (21:59 +0800)]
Create iso file during build

Change-Id: I6ddfe8e291ea8f6d673bd82c4df310d63f61a130
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoExit deploy when exception occurred 99/43599/1
Alex Yang [Fri, 29 Sep 2017 09:29:08 +0000 (17:29 +0800)]
Exit deploy when exception occurred

Exception occurred in [1]. But te deployment didn't stop and
blocked for a long time.

[1] https://build.opnfv.org/ci/job/daisy-deploy-baremetal-daily-master/169/

Change-Id: I0d5639da1e0d011855df0b0651328f11168e5d01
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoAdd more test function and case in test_utils.py 25/43525/1
zhongjun [Fri, 29 Sep 2017 01:12:49 +0000 (09:12 +0800)]
Add more test function and case in test_utils.py

Add more test functions and test case in test_utils.py,
test_daisy_server.py and test_environment.py.

Change-Id: I7e4ea6993205e1d2f7cc8202820a3ada99613910
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
7 years agoMerge "Switch to upstream daisy's master branch"
Zhijiang Hu [Thu, 28 Sep 2017 01:02:24 +0000 (01:02 +0000)]
Merge "Switch to upstream daisy's master branch"

7 years agoSwitch to upstream daisy's master branch 45/43245/1
Zhijiang Hu [Wed, 27 Sep 2017 03:56:52 +0000 (23:56 -0400)]
Switch to upstream daisy's master branch

Change-Id: I7a88d8b65168356420aee2042ac3902834633477
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoMerge "Fix delete_virtual_network function call"
Zhijiang Hu [Wed, 27 Sep 2017 03:29:17 +0000 (03:29 +0000)]
Merge "Fix delete_virtual_network function call"

7 years agoAdd more test cases in test_deploy.py 33/43133/2
zhongjun [Tue, 26 Sep 2017 07:35:34 +0000 (15:35 +0800)]
Add more test cases in test_deploy.py

Add more test cases in test_deploy.py and test_environment.py

Change-Id: I6adf3f51aa7a436387c2da8a8dc8c67f6e5a70db
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
7 years agosecurelab parameter bug fix 91/43091/12
Zhijiang Hu [Tue, 26 Sep 2017 03:27:00 +0000 (23:27 -0400)]
securelab parameter bug fix

This is a bug fix of 02e1f1c8ab3f3857ca2370f98575ccbf41f12a01

Change-Id: I628c5e33a76bc28e0af139e338b29a7393700525
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoFix delete_virtual_network function call 47/43147/1
zhongjun [Tue, 26 Sep 2017 08:18:05 +0000 (16:18 +0800)]
Fix delete_virtual_network function call

create_daisy_server_network method in VirtualEnvironment class
calls self.delete_virtual_network, but it doesn't exist,
actually it should be delete_virtual_network function in module
libvirt_utils.py.

Change-Id: I381e916097744827a22d311b275611df38d8e1be
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
7 years agoFix unittest 11/43111/1
Alex Yang [Tue, 26 Sep 2017 03:42:09 +0000 (11:42 +0800)]
Fix unittest

Change-Id: I82086b85da488e183589af7b4adbd6c80835c039
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
7 years agoMerge "Add some unittest files such as test_nova.py"
Zhijiang Hu [Tue, 26 Sep 2017 02:12:23 +0000 (02:12 +0000)]
Merge "Add some unittest files such as test_nova.py"

7 years agoMerge "Use pxe bridge to replace the bridge in VM template"
Zhijiang Hu [Mon, 25 Sep 2017 06:07:13 +0000 (06:07 +0000)]
Merge "Use pxe bridge to replace the bridge in VM template"

7 years agoMerge "Support passing securelab dir as a optional param"
Zhijiang Hu [Mon, 25 Sep 2017 05:58:37 +0000 (05:58 +0000)]
Merge "Support passing securelab dir as a optional param"

7 years agoSupport passing securelab dir as a optional param 99/42899/2
Zhijiang Hu [Mon, 25 Sep 2017 02:11:05 +0000 (22:11 -0400)]
Support passing securelab dir as a optional param

Change-Id: I5caadb42b3890858e7642a5fd260392370dbbfc8
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>