Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I9916d494e67b788d491b44fc1d0202d5ac20e710
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
|
|
1.add the below unit test files:
test_netwrok.py/test_schemas.py/test_query.py/test_utils.py
2.add the corresponding test conf file deploy_virtual_error.yml.
Change-Id: I01292d4c94b9d6159597961a0cab515f57727ec3
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
|
|
|
|
|
|
Change-Id: I3593593d540bf0e74ae1642f3450d4945af8a334
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
Kolla offcial image tag is, for example, 4.0.2. Daisy images can
be names as 4.0.2.n And Kolla supports upgrading not only from
4.0.2 to 4.0.3, but also from 4.0.2 to 4.0.2.n. It is a convenient
way for Daisy to publish its own small changes into images for
upgrading.
Change-Id: I9d283e1ffa452ac3e04046ab6c96d018d42e0bf9
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
|
|
1.add some test case in test_post_execute.py.
2.rename test_execute.py to test_prepare_execute.py and
add clearup handle in test function.
Change-Id: I1ed27ce6f0a5ba8bbd56544ae8d53e14f7daa9ea
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
Change-Id: I0acd39671ea8b7e574719acb96b8c5df93b66443
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
Change-Id: I971cc23d47b90cbf03b194d3e6918262b5e3f8a5
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
Change-Id: I023a637e793bae845feabed0d7b80072d3f9f0b7
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
In case of deploy failed with deploy.sh file without reinstall
daisy node, we need to resetup DHCP in tempest.py script
Change-Id: Ia7b4de7933bf4957226a2bf0965858a555f0ed54
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
|
|
|
|
|
|
This can be seen as a code clean up before we implementing
running deploy.sh without recreate daisy vm and networks.
Change-Id: I9bb67fdc7220cc70e2e876cc05750c22630d5ac8
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
1.add the test_keystoneauth.py and test_post_execute.py
2.modify the test-requirements.txt to update the dependent
python package.
Change-Id: I0957c723bd82faa9060c7d5ae021d46feaed05ae
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
By testing we found that all-in-one VM needs more CPUs, otherwise
, we encountered high probability failure during kolla deployment.
Change-Id: I4ee798c9427c61a696bc8ec33ba4bc72fafcebba
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
|
|
After deployment, we can manually use this script to
simply test basic FIP connectivity.
Change-Id: Iccc3edd71ea4c3d38dbed09411093a96a9679ae7
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
|
|
|
|
There is only one node in all-in-one env,so do not need to
configure the HEARTBEAT plane, without this ps,we may get the
globals.yml file an extra wrong value of
keepalived_interface: '{{ network_interface }}' which is unnecessary
for all-in-one env, and will result in keepalive not work, VIP lose,
and since we still use VIP in all-in-one env, the whole deployment may fail.
Change-Id: Ic1efabb533fd63e95254ad19ccf98adb5da6ae78
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
|
|
Change-Id: I0a3dddb1356a8f50f9d0a35d69c39b7a483b7a20
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
|
|
Change-Id: Ief4cdd41324bd1957b581937ad19f4779575c35a
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
|
|
|
|
Please see https://review.openstack.org/#/c/494347/ in
openstack/daisycloud-core.
Change-Id: I9f8ed06b8d2baef6b27562920722c76f4d01f5b1
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
1.Add pytest file test_execute.py for prepare/execute.py.
2.Change the makedirs mode from 0600 to 0700 for test env.
Change-Id: Ie29e9e4b4210b170f448faf4df907e55bff1435f
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
|
|
1. add schemas for elements added recently in deploy.yml
2. remove daisy_ip from required list, prepare for generate it auto
3. add main() function to make this file useful in bash
Change-Id: Ic7a3a87305f96b064260967862f976e33cdea294
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
we use the interface of daisyclient to build the pxe server
in tempest.py,but we can use the daisy.conf to build the pxe
server instead,this is just the optimization of code
Change-Id: I7a75d33aa8f80326750d304fa0a881201e956c57
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
|
|
JIRA: DAISY-42
Change-Id: I0fd709bb0dbee42cdc73076773cb635be6ba02cd
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
Add more unit test cases by pytest parametrize fixture.
Change-Id: I208bcff9af79b73556638e20df96235c4ac60ee2
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
|
|
Change-Id: I782c4d732ee8774526b21abd3e8636e65916ce3b
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
|
|
This reverts commit e5a787046aff97a9925a35874d2b6535a9a41c0c.
Trying to solve [1]
Deploy failed!!!.Traceback (most recent call last):
File "/home/daisy/deploy/tempest.py", line 94, in prepare_install
host_interface_map, vip, isbare)
File "/home/daisy/deploy/tempest.py", line 216, in add_hosts_interface
add_host_role(cluster_id, host['id'], host_name, host['name'], vip)
File "/home/daisy/deploy/tempest.py", line 225, in add_host_role
role.name == "COMPUTER"][0]
IndexError: list index out of range
[1] https://build.opnfv.org/ci/job/daisy-deploy-daily-master/626/consoleFull
Change-Id: I4017b4b38fa350a28d9e9dd5b157caab885a80d0
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
Rename to prevent naming confilct
Change-Id: I4f2f9cbb0ccf119901c3f450b3220cd4436de4ec
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
Since the result contains a list, so ignore_order should be True
in the comparison.
Change-Id: Iff4c655312015a55a69b91692ab6f9696715a143
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
|
|
Because the list/dict parse can not ensure the element sequence in
python, using == method to compare the dict content may cause the
fault. we replace it with DeepDiff function.
Change-Id: I1db52347e24a0b3968bcf645fd47c4fc5b768dc7
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
|
|
Rename all scenarios with "odl_l3" in their name in Euphrates to
just "odl".
Daisy will keep "odl_l3" and "odl_l2" (in code, not for user)
for further reference.
Change-Id: Ib762dd808d4f9467b0e6827b8bbed6d9df7e0e0e
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
|
|
|
|
optimize list express to list generator in tempest.py
Change-Id: I8ba12d33a1fc8b33e29fa0a08d7be40a1361bb65
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
Add the unit test cases by pytest way for get_conf.py,
other python files will be added unit test cases gradually
in the future.
Change-Id: I2495645defcf7ee1b6014b27810ac956eec9f7de
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
JIRA: DAISY-42
JIRA: DAISY-56
In bare metal deployment, we can use PDF to get MAC addresses of nodes
https://gerrit.opnfv.org/gerrit/#/c/38387/.
Then we can use the MACs to help to distinguish the discovered nodes
and assign roles to them, like virtual deployment in the link
https://gerrit.opnfv.org/gerrit/#/c/38381/.
Change-Id: Ib0f1a60b8935f528a828f716ccc916b767cfa6f9
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|