commit | b5d742444f135c3e003b1f866e7522935a0853d1 | [log] [tgz] |
---|---|---|
author | Dennis Dmitriev <ddmitriev@mirantis.com> | Tue Oct 18 14:05:29 2016 +0300 |
committer | Dennis Dmitriev <ddmitriev@mirantis.com> | Tue Oct 18 14:05:29 2016 +0300 |
tree | 74fc5e84b8a3c9f68b9702a94fd0c1f5004ae0e6 | |
parent | 7b4ed116ab9f6d2bcb17447cc4746a4a6796069c [diff] |
fix the install case
Default template used here requires 20 vCPU and 52Gb host RAM.
git clone https://github.com/Mirantis/tcp-qa
cd ./tcp-qa
pip install -r ./tcp_tests/requirements.txt
dos-manage.py migrate
wget https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img -O ./trusty-server-cloudimg-amd64.qcow2
export ENV_NAME=tcpcloud-mk20 # Optional
export IMAGE_PATH=./trusty-server-cloudimg-amd64.qcow2
export WORKSPACE=$(pwd)
export SUSPEND_ENV_ON_TEARDOWN=false # Optional
py.test -vvv -s -k test_tcp_install_default
dos.py create-env ./tcpcloud-wk20.yaml
dos.py start "${ENV_NAME}"
Then, wait until cloud-init is finished and port 22 is open (~3-4 minutes), and login with ' vagrant / vagrant '.