This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: I77ef82065c0ae1f6250f46f41840372b01adf541
- Moved common functions for clouds in separate file
- Added boto3 dependency in requirements file
Change-Id: I9c93692eed47078c56eb91a247af5729cf56c84c
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
- Issue: When trying to delete network immediately after deleting VM,
throws "DependencyViolation" error. This is due to security group was
not getting deleted before deleting VPC
Change-Id: I8f1e642819188c56fddcfbb1337b2459c939e7f4
Description:
- Added unit test cases
- Fixed a bug which was throwing exception while creating resource group
in mech_azure.py
Change-Id: I4c96d96f96a0ac640407df5ff0d49937f2690fa3
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
Description:
- In ec2 driver, driver was trying to connect to regions using
ec2.cloudwatch. It was throwing an AttributeError exception as ec2
don't have cloudwatch module
Change-Id: I9a47d4c63c167a85c57cedbcec59dcb4ebf10f23
Currently we use nova.test.TestCase which causes db access and
test failure sometimes. Since we don't require database access
in gce nova testcases we can use NoDBTestCase instead.
Change-Id: I47546695ba8a69e494c677d9e542768f34e51250
1. Currently we use GCE id for instance mapping from GCE to Openstack.
Since we use GCE name as primary identifier in all GCE operations,
we should use GCE name for mapping.
2. Add Openstack Project ID and User ID in GCE instance metadata
3. Some pep8 fixes in nova code
Change-Id: Id26a674be0f96e2ff5bf89c5ffcca120bd52e0fa
Closes-Bug: #1717889
Patch 1:
[General] Removed unused parameters from InstanceInfo
Many of unused parameters were removed from nova.virt.hardware.InstanceInfo in Pike.
Same was notified to OOT(Out of tree) drivers.
References:
[1] https://review.openstack.org/#/c/471146/6/nova/virt/hardware.py
[2] http://lists.openstack.org/pipermail/openstack-dev/2017-June/117962.html
Closes-Bug: #1717907
Patch 2:
[General] Remove l3_db.subscribe calls from router plugins
l3_db.subscribe has been deprecated from newton. Removing it
was recently disabled from pike release.
Refer bug description for more details.
Closes-Bug: #1718180
Change-Id: Ied1868736c4edb9da839d6d4b49aa1d98cbef251
Deletion of keypairs from OpenStack does not trigger a key pair deletion
from AWS. Listen to the keypair deletion notifications and delete the
key from AWS when one is received.
Also pulling in some of the local changes.
Change-Id: Iea466533a8a12c0acccf5b6bf08d99b4e7a1b622
Closes-Bug: #1716454
Consolidating all python requirements required to run unit tests
in test-requirements.txt. Removed rest of all files.
Change-Id: Ifed7288e2b1d92fb180cb8c722578e9887f6f844
Operations Supported:
1. Operations of network, subnetworks, router
2. Fixed IP allocation to VM from tenant network
3. Assign, delete, remove floating ip
4. Security groups and security group rules
Change-Id: Ia38f37356852c50da5b65cb5c55d1e73ef4a8041
Implements: blueprint azure-support
Files modified:
- gce_mock.py: Changed line endings to 'unix'
- test_gce_router.py: Changed line endings to 'unix'
- test_ec2.py: Updated mocking for deleting and updating router
- aws_router_plugin.py: Added a fix when trying to remove router interface
Closes-Bug: #1715814
Change-Id: I8981e2e2207370d40bf786c7077ffc512755cc69
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
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links
Change-Id: I19e3336cbfffa90071d11a14ffe42c28bb27e78a
Files modified:
- aws_router_plugin.py: Fixed bugs encountered while running test cases
- run_tests.sh: Added support for running AWS test cases for Neutron
- omni-requirements.txt: Changed version of moto and added boto3 package
- test_ec2.py in Cinder and Nova: With latest moto version, '@mock_ec2'
is deprecated. Hence Cinder and Nova test cases were unable to mock
EC2 credentials. Hence used '@mock_ec2_deprecated' instead of '@mock_ec2'
Closes-Bug: #1708585
Change-Id: I51d2bb99ef7d13b75940df6bbb33475de4a4630d
The router plugin failed to create a valid nova
client and failed the floating IP associate API.
Change-Id: I8333deb06fc8d0358c0ddc41e768f390ea6be656
Closes-Bug: #1713820
Issue:
- When setting up devstack, Nova didn't find devstack service for
conductor. Hence set up was failing.
Fix:
- Removed unnecessary services from being restarted.
Change-Id: Ibdf16f50364ee53849b0a12726b9d9a17c9b0480
GCE instance delete operation fails sometimes as it may take
more than 60 sec. Default timeout for wait_for_operation is 60 sec,
which is not sufficient for instance delete operation.
Change-Id: I06f8172a2f87ea5f7972b7624265a3fd0ad576e4
Closes-bug: #1709891