Files
omni/cinder
Pratik Shah 699caafaa0 Added tox integration to run unit tests for Omni project.
Description:

1. Fixed file paths in Nova, Neutron according to actual Openstack repository.
2. tox.ini: init file to run to tox command
3. run_tests.sh: actual script to run unit tests
4. omni-requirements.txt: Contains Python packages from Nova, Glance, Neutron and Cinder

Usage:
To run unit tests, execute 'tox -epy27' command in Omni project directory.

Change-Id: Ife3a5d4c009198fb46faff7a21525dd739a87e9c
2017-06-19 16:17:03 +05:30
..

Setup

Prerequesites

  1. Working green field OpenStack deployment.
  2. No prior cinder nodes. This service does not work if cinder backends are already configured.
  3. The virtualenv used by cinder should have Amazon boto package installed

Instructions

  1. Copy source directory (cinder/volume/drivers/aws) to cinder-volume module directory {cinder-volume-root}/cinder/volume/drivers
  2. Update configuration file (cinder.conf) used by cinder-volume service. Set it to volume_driver=cinder.volume.drivers.aws.ebs.EBSDriver
  3. Restart cinder-volume service.