This change:
1. Adds credmanager service which handles credentials for AWS drivers.
2. Adds support for managing multiple AWS accounts through use of credmanager. Each account is mapped to a single project in keystone.
3. Adds support for multiple AZs by running one nova-compute and cinder-volume process per AZ.
4. Improves support for AWS networking in neutron.
5. Also, made few stability fixes in GCP and Azure drivers.
Change-Id: I0f87005a924423397db659ab754caaa6cde90274
Consolidating all python requirements required to run unit tests
in test-requirements.txt. Removed rest of all files.
Change-Id: Ifed7288e2b1d92fb180cb8c722578e9887f6f844
Description:
- Changes in 'glance/glance_store/_drivers/aws.py' are required because
when glanceclient tries to retrieve image details, it expects 2 values.
But in the current case, it was yielding a tuple which was throwing
exception as it was getting only 1 value when 'get()' was called
- Added a function "clone_image()" which takes volume details, image
metadata, object of glance service, image location as arguments.
- Steps:
1. get image details from AWS using image id provided in image metadata
and get snapshot id from response. If snapshot id is None, then raise an
exception
2. create a dict object which contains size, zone and snapshot id as
fields
3. call create_volume() with dict created as argument
4. create tags for volume created
Closes-Bug: #1710046
Change-Id: I241e55f45d27e14b7328ae276ec544e5360e1ebd
Replaced "," with "%" in logs statement for files:
- cinder/volume/drivers/aws/ebs.py
- cinder/volume/drivers/gce/gceutils.py
- glance/glance_store/_drivers/aws.py
- neutron/neutron/common/gceutils.py
- neutron/neutron/plugins/ml2/drivers/gce/mech_gce.py
- neutron/neutron/plugins/ml2/managers.py
- neutron/neutron/services/l3_router/gce_router_plugin.py
- nova/virt/ec2/ec2driver.py
- nova/virt/gce/driver.py
- nova/virt/gce/gceutils.py
Added import fix in nova/tests/unit/virt/ec2/test_ec2.py
Modified run_tests.sh to get total number of passed and failed tests
Closes-Bug: #1704147
Change-Id: I4b144b8095cf9ff4807c4b9f4ca21577a43de27f
- Removed AWS tests temporarily from run_tests.sh as they are failing
with credential error.
- Removed check from run_tests.sh which was used to run tests on
devstack setup.
- Fixed LOG statement bug for Cinder driver
- Fixed Nova braces bug for Nova tests
Closes-Bug: #1704124
Change-Id: Id94e44e848555bf6a96b9ef0b0c276579169987c
The i18n team has decided not to translate the logs because it
seems like it not very useful; operators prefer to have them in
English so that they can search for those strings on the internet.
cinder, nova, neutron and glance are removing i18n log translation
functions, once it release, it will cause omni build failed.
Related-Bug: #1701139
Change-Id: I090fde16602945035cbda66f0633371d3dfebd3c
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
Additional data files in gce/data:
1. Fake service key file(omni.json)
2. Data required to generate Gce Service(service_data.json)
3. Fake snapshot data for get_snapshot API(get_snapshot.json)
Change-Id: Ib286337218f0168e3817bd13387edc349de97afa
Signed-off-by: Sanket <sanket@infracloud.io>
Supported operations:
1. Create/delete a volume
2. Snapshot a volume
3. Create a volume from snapshot
4. Attach/detach volume to an instance
Change-Id: I5b2a9ee964fc239153d6de9886cc5e4a8e743c17
Signed-off-by: Sanket <sanket@infracloud.io>