summaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2018-01-22Mount xfs image with -o nouuidAlex Yang1-1/+7
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>
2017-12-26Merge "Generate .ssh/known_hosts when making VM image"Alex Yang1-0/+6
2017-12-22Generate .ssh/known_hosts when making VM imageAlex Yang1-0/+6
Change-Id: I3f72239d6c4db27f67d5586c45e46ed01fad281d Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-12-14Use deployserver's timezone in daisy VMAlex Yang2-0/+11
Change-Id: Ie58af69f444924494d1a2949ba894ae55da7efc9 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-08-21Add tools for testing FIPZhijiang Hu1-0/+63
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>
2017-04-19Solve "Buffer I/O error on dev loop0p1" error messageZhijiang Hu1-2/+2
This add "losetup" before "kpartx -l" command, otherwise, we encountered many "Buffer I/O error on dev loop0p1, logical block 104854018, async page read" in dmesg. But they are seems no harm. No need to do "losetup -d" after "losetup", because "kpartx -dv" will do that for us. Change-Id: I326ef35a241d8b09f0f3f3fc90ef749df3f4768f Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-04-16The image file is deleted mistakenlyAlex Yang1-3/+3
There's an mistake in patch 33327. See https://gerrit.opnfv.org/gerrit/#/c/33327/ The cleanup function was called twice, so the image file was deleted. Change-Id: I5fe6a90b46739d1c6d8b66365d2c8e55350cde00 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-04-14add the argument WORKDIR in daisy-img-modify.shzhongjun1-2/+10
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-03-09Eliminate the exception in image-modifyAlex Yang1-2/+12
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>
2016-12-09download and modify centos imageAlex Yang2-0/+307
Change-Id: I1934fb75d5d7f4a50f44c06080fbcec4f6c81f02 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>