Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
|
|
To check whether the script runs successful
Change-Id: I0ae4e01d845690cb6c19f95f0950cd98ebd1338c
Signed-off-by: zhuzeyu <zhu.zeyu@zte.com.cn>
|
|
|
|
every time before deploy,we need new centos7.qcow2.
Change-Id: I295ed192674a31290b25042c0843875b93831ebc
Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
|
|
Change-Id: Ifc160b5ae884c2ea7be481b31457752b0be44a71
Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
|
|
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>
|
|
Change-Id: Ic7432bd78225ba4d598eef0f283957a34e6401de
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
|
|
|
|
1. Use the build image in releng;
2. Pull down the newest image and run;
3. Delete unused codes;
wait from docker image build(26449) and upload in the dockerhub
Change-Id: I72b072aff6cd905b426451768dc51d17eee6c0a3
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
|
|
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>
|
|
build-arg requires a ARG define in Dockerfile.
Change-Id: Id895449f1d9d73ab70bd9958b8cc8cf2d92c5a3c
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
|
|
|
|
|
|
|
|
|
|
|
|
1. "unexpected unclosed action in range" occurs in "docker inspect -f $ops ..."
2. "No such image" occurs in "docker rmi ..."
Change-Id: I1a1ae9441beb3739585c8f2dcb63029b16c0c2fe
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
to kill '[0]' in get_conf.py file
Change-Id: I82282ff8431bf3eb93746e505e18547929f20ed9
Signed-off-by: Zhou Ya <zhou.ya@zte.com.cn>
|
|
we have got MANAGEMENT ip from network.yml
section networks ip ranges part,so here is duplicated
Change-Id: I144a4c5b7e59a1ec1cb1b83a944752a3a1f4d65a
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
|
|
we could have many types of os version,such as centos7 and
centos6,we should not fix this into a hard way name,for we
can change the os_version
Change-Id: I3d0f12fbcd7d25369c782a8f4dd5008b702cecdd
Signed-off-by: Zhou Ya <zhou.ya@zte.com.cn>
|
|
|
|
Change-Id: If70e8765709d49a22a4f6c17ab4e2c4589fbf05a
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
|
|
The space of the /root directory in the docker image is only 10G.
"No space" occurs in docker building. So the tmp directory should be changed.
Change-Id: Idfa831bac88e2b8ea8e4312247611dc9a1dcda65
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
Change-Id: I860bcb9d08a9590ed7902e33a925ec1412e67408
Signed-off-by: Zhijiang <hu.zhijiang@zte.com.cn>
|
|
The url http://ftp.osuosl.org/pub/centos/7/isos/x86_64/
CentOS-7-x86_64-Minimal-1511.iso is invalid now.
Only 1611 version can be downloaded from that website.
So the url should be modified.
Change-Id: I1208ddabf940fb711d871fb884b8b2a1d7213c27
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
|
|
|
|
|
|
Change-Id: I600e21f0d36f37c75cac4ace5f7225e32ab93d56
Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
|
|
Change-Id: I542630e0eb26e6a0630683186a645642411009e1
Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
|
|
|
|
|
|
JIRA: DAISY-17
Change-Id: I91a2e27be3eec1e6edc1b5ed2c9b2b91f15f7705
Signed-off-by: Zhijiang <hu.zhijiang@zte.com.cn>
|
|
1. use list for physic nics;
2. add physic and logic nic parameter in deploy.yml;
3. merge network plane in file deploy.yml and network.yml using the
keywork *network plane name* for better usage;
*network_map* will be deleted from the return result list in the future.
Change-Id: Ia5f3277ec0fe864b7a523162d3b53d650e04e2a3
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
|
|
Issue: "One or more build-args [BRANCH] were not consumed, failing build."
refer in:
https://build.opnfv.org/ci/view/daisy/job/daisy-docker-build-push-monitor-master/1/console
Change-Id: Ib26809b1bd23b9410a869a17157d45c852a89496
Signed-off-by: Julien-zte <zhang.jun3g@zte.com.cn>
|
|
According to other projects(releng/jjb/releng/opnfv-docker.yml), all the
Dockerfiles are put in ./docker path.
The daisy docker build procedure will be seperated from daisy bin file
build procedure. The daisy docker will be directly used during the bin
build procedure. It will help to safe the build time.
A seperate job will be created in Jenkins to monitor the Docker changes
and will build the docker image.
Change-Id: Ib68ec3657d7296041aa9dc99f8e578cb0466679f
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
|
|
1. The function 'cleanup_docker_image' is not called by mistake.
2. Use 'docker run --rm' means: docker will automatically delete the
containers. It's not necessary to call it in the end of bash file.
according to the log: 'No containers to cleanup.'
Change-Id: I67b9ff3ed193467669b80d5a19e36fd077af537d
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
|
|
|
|
|
|
|
|
Change-Id: I1934fb75d5d7f4a50f44c06080fbcec4f6c81f02
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
1. delete 'decorator' function, replaced by hostdecorator;
2. reduce unused parameters for functions and wrapters;
3. add a decorator maker for hosts and networks;
Change-Id: I77cdc19316e0b11f7853f31fa397da98350789c2
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
|
|
|
|
|
|
|
|
Change-Id: Ib8e0626519d25faff8bffd8f37ba37d5c4eb5015
Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
|
|
1. use list to define interfaces
2. no necessary to fetch [0]
Change-Id: If17605b27c00d4e7fca8bced9c0bb4f7c724a4f2
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
|
|
1. use 4 header spaces instead of 8
2. keep max line width less than 80
3. don't mix use header tab and header space according pep8
4. for we use -x debug switch, no necessary to echo debug info
Change-Id: I1cb4adf0fcfdad3bc015213ae4ad9b822748dd82
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
|