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
Some of tests use different method of assertTrue(isinstance(A, B))
or assertEqual(type(A), B). The correct way is to use
assertIsInstance(A, B) provided by test tools.
And add some relevant hacking files.
Change-Id: I4b154a2e2898e316c61decf856547d57b1dcc2f8
Currently we have different scripts to create images or flavors.
Moving all scripts at one place, in future we need to find better way
to manage and package them.
Change-Id: I23ed6218175c9c851547142c8d81eb7a1a32e925
Consolidating all python requirements required to run unit tests
in test-requirements.txt. Removed rest of all files.
Change-Id: Ifed7288e2b1d92fb180cb8c722578e9887f6f844
This drivers defines Glance location format for Azure images
and support for adding info of Azure images inside glance.
Change-Id: I68954be5b926b7f390b275c459484051618d8ebd
Implements: blueprint azure-support
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
Some tests used incorrect order of arguments in
assertEqual(observed, expected). The correct order expected
by testtool is assertEqual(expected, observed).
Change-Id: I707f67d3239b7a250ef3bcbf8923fb0575a1d7f1
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
Additional data files in gce/data:
1. Fake service key file(omni.json)
2. Data required to generate Gce Service(service/service_data.json)
3. Fake image data(get_image.json)
Change-Id: I7d6c4dab92480ef60e6a7b1aa2489139b24ab6d6
1. Consists of Glance store Driver and mechanism to discover GCE images
and them to Glance catalog as Glance images
2. Pick up correct Glance flavor in instance spawn
3. Mechanism to populate nova flavors from GCE machine info
Implements: blueprint gce-support
Change-Id: Iab71206b760ed6f516484690030d9ecb6c891e68
Signed-off-by: Sanket <sanket@infracloud.io>