commit | ae364f466210c809e80da911279f71699151fc75 | [log] [tgz] |
---|---|---|
author | Wenqing Gu <wenqing.gu@gmail.com> | Thu Apr 18 08:56:44 2019 +0200 |
committer | Wenqing Gu <wenqing.gu@gmail.com> | Thu Apr 18 14:44:19 2019 +0200 |
tree | 727d320aa13431312238b29daab6465bdc1ae8ee | |
parent | fb107ff39ee16ea72eca09b62720ad84eb0bb4da [diff] |
Replace reboot module with waiting for connection Reboot module is always causing issue, we would try to replace it with wait_for_connection. To prevent the ssh stuck issue, we put retrial=3 and 300 seconds each. Change-Id: Ia900a6692f0207b55c5f035010000db0c1f17215
The Cloud Infra Engine is created based on OPNFV Cross Community CI (XCI) project in order to automate deployment of various cloud infra scenarios. [1]
Cloud Infra Engine lets users to deploy the scenario of their choosing on to their workstations. Minimum requirements for the host where the Cloud Infra Engine is executed are
Recommended requirements are
The engine currently only supports Ubuntu16.04.
Apart from having sufficient performance and capacity on the host, few packages need to be installed on the host before executing the engine
The user that is executing the engine should also have passwordless sudo enabled.
Cloud Infra Engine is version controlled on Nordix Gerrit so its repository needs to be cloned.
git clone https://gerrit.nordix.org/infra/engine.git
Cloud Infra Engine expects the ssh keys to be created in advance. If you don't have ssh keypair already, you can do that by executing below command.
ssh-keygen -t rsa
Once the keypair is generated, the main script deploy.sh can be executed in order to start deployment of the default scenario on virtual machines that are created by the engine.
cd engine/engine ./deploy.sh -h # get help ./deploy.sh -c
Once the script execution starts, it will prepare the environment, create libvirt resources, provision libvirt vms and install the selected scenario on them. The overall process takes about 40 minutes to complete if ramdisk and deployment images are created in advance.
Please note, in the default / embeded pdf / idf files, we have specified two disks for each vms we are going to create. If you are going to provide pdf / idf files yourself with mulitple disks, please note the current deployment script will not work when the disks have the same size as we specify the bootable disk based on size.