aboutsummaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2018-04-24bugfix: pip 10 can't workzhihui wu2-2/+2
Docker image build failed on upgrading pip to 10.0.0 . Solution: https://github.com/pypa/pip/issues/5240#issuecomment-383115342 Change-Id: I330dedf9dbc32d8bdac5b8cb87b5123187007e2e Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-01-08Fix "qtip command not found" in Docker containerYujun Zhang1-0/+63
- updated dependency lock - allow buidling docker image from local repository - use pip to install local package Change-Id: I9eecae54f278e57ec0ba4840b2d64abb0134d9b6 JIRA: QTIP-289 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-12-04Use pipenv instead of pipYujun Zhang1-3/+6
pipenv[1] is the officially recommended Python packaging tool from Python.org[2] [1]: https://docs.pipenv.org/ [2]: https://packaging.python.org/new-tutorials/installing-and-using-packages/ It integrates pip with virtualenv and handles version management better than pip. Change-Id: I4ec6436e29d76a866b56caa609e2bcd22489ae9f Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-14bugfix: install the missing package openssh-clientzhihui wu1-0/+1
Change-Id: Ie0889a8e3cd5ae30765353329320aed938749e46 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-08-10Optimize Dockerfilezhihui wu1-20/+17
- Add new packages what storperf scripts need : curl and wget - Minimize the number of layers - ansible is already in requirements.txt, delete the apt-get commands Change-Id: Ie04d6618737146674396a7c005a247829f06c1d9 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-08-08install setuptools's latest version in containerzhihui wu1-2/+1
See https://build.opnfv.org/ci/view/qtip/job/qtip-docker-build-push-master/398/console Change-Id: I4e975e77e3361cfb468cba0c10cecc21c14c2517 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-11The script for CIzhihui wu1-0/+1
- The script includes all steps to trigger QTIP test On CI. - Add a dependency iputils-ping for command "ping" Change-Id: Ia7712cc9eedf227686896e2a38f3b8baf03d7397 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-10Merge "update Dockerfile"zhihui wu1-21/+8
2017-05-10update Dockerfilezhihui wu1-21/+8
- remove dependencies which is not in use - remove unuse envrioment variables HOME and QTIP_DIR - set envrioment variable USER to root - pip install qtip with parameter -e - automatically startup ssh-agent Change-Id: I16999db53745b03c00260b2b5d73c5e89c0005f3 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-09remove ansible.cfg.default which is no longer in usezhihui wu1-2/+0
Change-Id: I3d2888962edc8506a702d53225b082680b0f9060 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-03-29Configure docker to enable api autorunakhilbatra8982-2/+5
- modify path to api - expose api port Change-Id: I080bd1e82f29120db9acee8f3bd3a3908dc87bc4 Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
2017-03-24add qtip installation in Dockerfilewu.zhihui1-1/+1
Docker build successfully on local. And QTIP cli works well. Change-Id: I0916c73e67808ae170ff7b290b8e03b605be8e69 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-22correct the path of .ansible.cfgwu.zhihui1-1/+1
In qtip container, /home/opnfv/ is HOME path. So the customized .ansible.cfg should be put under this directory. Change-Id: Ie0cddab9dac72fc45c14d7d3652b6863c5748260 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-13Add aarch64 patchCristina Pauna1-0/+33
This commit adds a patch that can be applied to the Dockerfile to adapt it for aarch64. When applied from releng, a new Dockerfile.aarch64 is created and an aarch64 qtip image is created. The aarch64 qtip image will be build with the releng fix https://gerrit.opnfv.org/gerrit/30181 JIRA: ARMBAND-219 Change-Id: I551ae7fa1d7fc23c6e5f6381d605b0b22dbec695 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-03-11Miss \ in Dockerfilewu.zhihui1-1/+1
https://build.opnfv.org/ci/view/qtip/job/qtip-docker-build-push-master/250/console Change-Id: If6d76c6a27cc61a1b3d468751932e21d32dff277 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-10Add missing softwareswu.zhihui1-0/+2
Install iputils-ping for ping and rsync for synchronizing files and directories. Change-Id: I93ba44bcb04948bbe846fb179dc673aa86a6a92a Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-01Install latest requirment packageswu.zhihui1-1/+4
When I debug code in qtip container, I found the version of paramiko(1.16.0) is outdated. There is a bug based on this version.[1] Solution: 1. Pip install qtip requirment packages with -U. 2. Update dependent packages.[2][3] And docker image is built successfully on local. [1] http://stackoverflow.com/questions/42029415/ paramiko-futurewarning-ctr-mode-needs-counter-parameter [2] http://www.paramiko.org/installing.html [3] https://cryptography.io/en/latest/installation/ Change-Id: I9d90c49f7cf3048f4717a76ffcb19dab68a687d4 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-01-16Update Dockerfilewu.zhihui3-0/+82
- update OS version to 16.04 - update pip version JIRA: QTIP-202 Change-Id: Iba90e4b354f2ddb9e1cbc1da191be6b1b6f6a042 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-01-11Reorganize the project foldersYujun Zhang8-211/+0
Code from Brahmaputra is no longer maintained, including: - docker - playbooks - scripts - utils They are moved to legacy folder to avoid unnecessary confusion to new developers. Change-Id: Ia50383ca5c3bd82571eb7b2184e7f83e264ff8a7 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-14bugfix: solve upgrade setuptools failed problemSerenaFeng1-1/+1
Change-Id: Id699224c35992a9f203b2ca5ad57300211e1b1eb Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-13bugfix: qtip install failed in docker modeSerenaFeng1-0/+2
error message: ImportError: <module 'setuptools.dist' from '/usr/lib/python2.7/dist-packages/setuptools/dist.pyc'> has no 'check_specifier' attribute Change-Id: I3dea0ea87b20556e286bc52315148d7376911803 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-07correct the path in push_db.shwu.zhihui1-1/+1
See link https://build.opnfv.org/ci/view/qtip/job/qtip-fuel-zte-pod3-daily-master/52/console for details. Change-Id: If8ab7763e669e5f9184455a0e65173fd95428d27 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-12-05[QTIP-157]fix docker build jobwu.zhihui1-9/+4
Bugfix task QTIP-157. Add agrument BRANCH in Dockerfile. JIRA: QTIP-157 Change-Id: I5558c23dde948e28f9c989bee7f4a42dc886f5a1 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-12-05bugfix in run_qtip.shwu.zhihui1-1/+1
Forgot to set ${QTIP} to qtip/run.py Change-Id: If57e58cc21d2ecfb32070bbeedab9aa3cc76551d Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-11-26bugfix: recovery qtip CIwu.zhihui1-1/+1
https://build.opnfv.org/ci/job/qtip-fuel-zte-pod3-daily-master/40/console - move qtip.py to qtip/ - modifity docker/run_qtip.sh Change-Id: I9ec155c125f4be41e794142d0545d5cc54a1c6b3 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-11-24Use `pbr` for setup configurationYujun Zhang1-6/+8
- `pbr` does a bunch of things[1] and is used widely in OpenStack - moved legacy `qtip.py` to scripts in order to keep the project folder clean [1]: http://docs.openstack.org/developer/pbr/#what-it-does Change-Id: I6a9b83883283eaa527e2c3d4cd8d221ee6efca41 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-16Bugfix: Correct the path in supervisord.confzhifeng.jiang1-1/+1
JIRA:QTIP-157 Change-Id: I640204d05df9df3cdcae1f43668ad292935869ce Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-11-05Remove results directory out of reposwu.zhihui1-0/+2
Delete results directory from qtip repos. And the results files will be stored under /home/opnfv/qtip/results. Change-Id: Ie1091e60eb77068c20a9095f0f85454f18173872 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-10-26Merge "Update docker information"Yujun Zhang2-1/+12
2016-10-26Update docker informationYujun Zhang2-1/+12
- Original maintainer retires from the team - Add README.md[1] from which docker hub will pull the full description [1] https://docs.docker.com/docker-hub/builds/#/understand-the-build-process Change-Id: Ib3aa926bf7a46430d09c72493f8cf73cac73b843 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-10-26Merge "Remove Qtip private key files in repos"zhifeng jiang1-0/+9
2016-10-25Remove Qtip private key files in reposwu.zhihui1-0/+9
1. Automaticly genegrate private key files. 2. remove the key files in repo at last. 3. remove public key from authorized_keys of compute hosts. JIRA: QTIP-110 Change-Id: Ie22f3f195edf650e690a2ed69df1af191953068f Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-10-22Use supervisor to start qtip_server in docker.zhifeng.jiang2-1/+22
JIRA:QTIP-99 Change-Id: I447973e17613c5b9dcbbaefef9d67a8dc01c838c Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-20Bugfix: Problems meet when following the step of introduction.rstzhifeng.jiang1-0/+1
modification: Delete the fetch_os_creds.sh Call the fetch_os_creds.sh which in releng Include the curl in docker Change-Id: I5a92f671ce4183cf0d7dabc8faf69018b9b54e0b Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-14Adjust directory structurewu.zhihui1-6/+6
qtip ! +---- scripts ! ! ! +----ref_result # python scripts to generate results report ! +----fetch_compute_ips.sh ! +----fetch_os_creds.sh ! +----file_permission.sh ! +----get_env_info.sh ! +----qtip_creds.sh ! +----ssh_exch.exp ! +---- config ! ! ! +---- Qtip_key ! +---- Qtip_key.pub ! +---- SampleHeat.yaml ! +---- utils ! ! ! +---- logger_utils.py ! +---- report # generate pdf report file Change-Id: Ia908ff31494369c1a13fb88b1ff9b0e5681f8e29 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-10-13Refactor pushing suite result to test dbzhifeng.jiang1-7/+7
modification: remove compute_suite.py,network_suite.py,storage_suite.py handler all suite result in suite_result.py refactor pushtoDB.py so that it can be called by qtip_server JIRA:QTIP-99 Change-Id: I1630a512c22cba7be038f5301f1454b8ef4f762f Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-12solve log path cannot be found issueSerenaFeng1-2/+3
JIRA: QTIP-124 Change-Id: I2ff94d01085ee8f057b9792988fe5ee9792fe740 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-11change log placeSerenaFeng1-1/+1
because /var/log cannot be accessed by unittest. so change the log place from /var/log to ~/opnfv/qtip/logs JIRA: QTIP-119 Change-Id: I14ba8317c94630fb8db46f532f7995c0c10595bd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-30Merge "Start restful server auto in docker"zhifeng.jiang1-1/+2
2016-09-28Start restful server auto in dockerzhifeng.jiang1-1/+2
modification: Add start restful server in dockerfile Add result and detail_result in server job status Add job result assert in unit test JIRA:QTIP-99 Change-Id: I27108eb930eba1bb72c04216f468a81202179ee0 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-27code refactor: run_qtip.shwu.zhihui3-39/+100
1. Add prepare_qtip_image.sh to prepare qtip image before qtip test. 2. Add cleanup_qtip_image.sh to clean up qtip image after finishing qtip test. Both of them are invoked in run_qtip.sh Change-Id: Iba892a2e02e31820ed0525f80a4e2885899557e0 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-09-21add unified logger process for qtipSerenaFeng1-0/+1
log the output information to both file and console, and unify the log file path and level JIRA: QTIP-108 Change-Id: I3a881e9da1f74c6959250a94f05cf90a231c34e6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-10Install the requirement packages in dockerzhifeng.jiang2-9/+1
modification: remove the packages.pip which duplicate with requirement.txt pip install requirement.txt in docker JIRA:QTIP-97 Change-Id: I6b9ac316cb7401b69c71fc5b1807b8d8a7ccd1bb Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-06Add ansible.cfg so that we can get ansible running timezhifeng.jiang2-0/+5
JIRA:QTIP-99 Change-Id: If42ddfd4337533b63dff3909c880a7e7b8e0fc58 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-24Use test_case/default instead of the directory named with a pod's name.wu.zhihui1-6/+6
1. For qtip ci job, use test_cases/default for all pods. 2. It needn't to specify ip in test case files. 3. Remove customized configurations in test case files. Change-Id: I4fb6210c024aacc4d1ed915939c0aabcfa60bb57 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-02-12QTIP report generation docker dependencies resolvedNauman_Ahad2-0/+5
Needed dependencies for report within QTIP docker image were resolved. Additionally, added an error check in case no results are available for the report. Change-Id: Ifd4ccd406555faf156e4274ca312e1ef55ed64b3 Signed-off-by: Nauman_Ahad <nauman_ahad@xflowresearch.com>
2016-01-26Pip requirements package changedNauman_Ahad1-1/+0
reportlab removed from pip requirements file for Docker installation Change-Id: Ife64de0041d9e549d02fa41cb8d4dca7296d6d80 Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
2016-01-26Modified Dockerfile for Report Generation dependenciesNauman_Ahad2-0/+2
Dependencies for matplotlib and reportlib were added in the dockerfile Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com> Change-Id: Icda969573447d328a221daacfcd7049ea51dedd2
2016-01-21bug-fix: fix bug in docker run file, replace $$ with &&MofassirArif1-6/+6
Change-Id: Ic48483ae97aab2f844ee753cecf5fc3714a13cdb Signed-off-by: MofassirArif <Mofassir_Arif@dellteam.com>
2016-01-15Push to DB script for Jenkins JobsNauman_Ahad1-0/+3
Added a script that could be called inside the docker container to push results to DB. Change-Id: I6b6496f5d670f415606afc605fc3bdc1c4e88fbb Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>