We are pumped to announce the release of: ec2-api 7.0.0: OpenStack Ec2api Service This release is part of the rocky release series. Download the package from: https://pypi.org/project/ec2-api For more details, please see below. Changes in ec2-api 3.0.0..7.0.0 ------------------------------- c65cb66 Fix usage of isotime faa6d7f Add py36 testenv e95cd8c Port rally plugins to use proper modules c2f3da8 fix error url 8a3358e Replace deprecated "auth_uri" by "www_authenticate_uri" 6de1ac4 uncap eventlet fa2e009 Updated from global requirements 38b882d synchronize default vpc creation across threads f3adc74 add lower-constraints job f5983d7 Remove intree ec2-api tempest tests 30ae9db Updated from global requirements 66a5333 skip addresses tests due to novaclient changes bd23bed Update links in README 7d57211 up version for master branch due to queens release 257e2a3 Fix the incorrect reference links fe3a2f5 Updated from global requirements 2adaf7d Updated from global requirements ec59a03 update documentation 9ed1c1f Switch ec2 neutron-full job to use ec2api tempest plugin ecd577e Switch ec2-api gate job to use ec2api tempest plugin 6dcaa64 Move zuulv3 jobs to project repo 78c8a3a Updated from global requirements 1a43b6a add ssl_ca_cert option to check client cert 5fc752c remove deprecated options 85b1b6b Updated from global requirements 417b02d fix DB migration for MySQL fce377c handle new volume's status "reserved" 5c213e1 Updated from global requirements e490186 Updated from global requirements eaa323b zuul: create zuul.yaml and run tripleo scenario002 2a56ed4 Updated from global requirements cb91b2c Updated from global requirements 67f2142 Updated from global requirements 22af51c remove unused configuration options 0445156 rework tox.ini 62786f9 rally: rework plugin 41309f5 update of Installation Guide 80aaf95 Updated from global requirements 6badd68 fix for awscli in create_config 88f094a Remove SCREEN_LOGDIR from devstack aaf1fc9 Move install guides from install-guide/ to doc/source/install Update documentation index page 9e91db1 Add configuration reference to doc/source/configuration 5ee64e4 Updated from global requirements aa11c71 Updated from global requirements 1dad720 fix ec2-api-metadata memcached overlap with nova-api e81e55a Add test_cert.pem to .gitignore 17f137a Add rm to whitelist_externals in tox.ini 6e99a75 Correct import of keystoneauth1 session cb0fd78 Updated from global requirements 1c2a14e Fix add_role section in install.sh script 5269742 Updated from global requirements 35e93e1 up version in master for next Q-cycle 951e24c Updated from global requirements 7b406c0 Updated from global requirements 5061c00 Updated from global requirements 41823a5 Fix test_check_simple_image_attributes to pass with AMI images 7af4160 Use botocore in API instead of boto 775ac72 Updated from global requirements a9dd2c3 fix comparision of security group rules dff735e Updated from global requirements 49f5546 Updated from global requirements c2faadc Updated from global requirements 8104481 Remove code that used nova-cert 11b76a8 fix register_image function 90ed02d Delete log translation functions and add hacking rule be20e8f Enable some off-by-default checks e867fab Updated from global requirements 907de91 turn on disable_ec2_classic in devstack installation 89cda71 Updated from global requirements b0107f1 Updated from global requirements 6555245 Updated from global requirements 7939ce1 add using cache to metadata 169db23 minor fix to https://review.openstack.org/#/c/466115/ 4d519b5 Updated from global requirements 5f1377b Fix html_last_updated_fmt for Python3 762b9d6 Updated from global requirements 1755447 Updated from global requirements 50c3647 Updated from global requirements d221181 Updated from global requirements b25915f Updated from global requirements 20f65fa fix ec2-api after deprecation of nova-network functions in novaclient a6d29f0 Updated from global requirements 7e28af2 Remove the deprecated tempest.test.attr 478a189 Updated from global requirements 335a0eb Remove log translations fc08551 Updated from global requirements e019fc8 Updated from global requirements 64187ae fix keystone_ec2_tokens_url 6fe6723 fix rally scenarios a7faec0 Add 'rm -f .testrepository/times.dbm' command in testenv 659a6e6 fix documentation errors 05c9ba2 change manual in install-guide 1cde1a7 Replace six.iteritems() with .items() 29febb2 change the command to obtain credentials in README 6b3c283 Using neutron engine in security groups describe. 6d30c69 use glanceclient version '2'. fix keystone error message. 74f4c66 Updated from global requirements a1de2d8 Add .idea pattern to .gitignore 61d3ef9 Removing py34 from tox 476c1a9 Switch to use stable remote_client 824db94 Switch to use stable data_utils b734297 switch on vpnaas for ec2-api 7a43735 Updated from global requirements 277c3d9 Updated from global requirements 420d4b6 turn on disable_ec2_classic 0ee47eb small fixes to default vpc implementation 439adcf Changes in address in default VPC mode 4e7b513 Use hacking 0.12.x 0d4f7ed add unit tests for create, delete security group and authorize security group ingress in case of default vpc 61daf6a describe-security-groups by name in default VPC mode describes security groups in default vpc only d2c146e increase version for master branch b8b79c3 Updated from global requirements 6078fdc Changes in security groups in default VPC mode 31fbc6c Updated from global requirements 3787be9 Updated from global requirements df67b88 add instance in default-vpc by security-group-name or private-ip-address 3454a21 Typo-fix: occured => occurred ead3537 Create new instance by default in default vpc ec3a778 Create default vpc during describe security groups 458393b Updated from global requirements 75c70d6 Updated from global requirements 24f477e Updated from global requirements 441c19f add account attributes to disabled ec2-classic mode 8fc0ad7 config option for default VPC 5cb1921 rework test for _create_vpc ceefcd8 add default route to route table of default vpc 79f85e8 reworked unit tests 40a71dd Create internet gateway for default VPC f245fbc Create default VPC during describe route tables 9fd28fb add unit test for check and create default vpc function 2c0fe86 Create a subnet for default VPC 49c9e4d Updated from global requirements 449f7c7 create default vpc 480dc02 Switch to Nova v2.32 API 239464a Honor Nova's restriction for bdm fields ea53c13 Updated from global requirements 5284e02 Add Constraints support fffbff5 add CONTRIBUTING.rst 879dc4c H803 hacking have been deprecated 4bbd243 add API reference documentation f7e2ec7 fix format errors in README file remove Legacy OpenStack release notice 0e1877c Updated from global requirements b9a8696 modified README.rst ea9a9d5 added install-guide documentation 9523fd7 Updated from global requirements 35b5f89 use 'strongswan' package for vpnaas 69fcc7d try to fix stages problem of devstack 1838923 Remove unnecessary file 242623e Show team and repo badges on README 61d2995 fix tests for network_interface 7916fa1 Updated from global requirements 2752e44 Add tempest test UUID to all functional tests. ca9af00 Updated from global requirements 8912739 Don't pass argument sqlite_db in method set_defaults 259629f Updated from global requirements f8dbd1c Don't attempt to escalate ec2-api-manage privileges 897e498 Drop MANIFEST.in - it's not needed by pbr a8123a5 Updated from global requirements 17a9b61 skip vpn tests if vpnaas is not in network features list fc10779 up version in master Diffstat (except docs and test files) ------------------------------------- .gitignore | 4 + .zuul.yaml | 63 ++ CONTRIBUTING.rst | 16 + HACKING.rst | 4 +- MANIFEST.in | 20 - README.rst | 676 ++++++++++++---- api-ref/source/conf.py | 231 ++++++ api-ref/source/index.rst | 13 + api-ref/source/supported_features.inc | 503 ++++++++++++ devstack/create_config | 70 +- devstack/override-defaults | 4 + devstack/plugin.sh | 38 +- devstack/settings | 6 +- .../_flagmappings/ec2api.flagmappings | 143 ++++ .../configuration/_flagmappings/ec2api.headers | 7 + .../configuration/tables/ec2api-database.inc | 25 + .../configuration/tables/ec2api-metadata.inc | 76 ++ ec2api/api/__init__.py | 26 +- ec2api/api/address.py | 207 +++-- ec2api/api/apirequest.py | 9 +- ec2api/api/auth.py | 6 - ec2api/api/availability_zone.py | 33 +- ec2api/api/common.py | 21 +- ec2api/api/ec2utils.py | 75 +- ec2api/api/image.py | 241 +++--- ec2api/api/instance.py | 175 +++-- ec2api/api/internet_gateway.py | 1 + ec2api/api/network_interface.py | 3 +- ec2api/api/route_table.py | 1 + ec2api/api/security_group.py | 198 ++--- ec2api/api/subnet.py | 5 +- ec2api/api/volume.py | 10 +- ec2api/api/vpc.py | 100 ++- ec2api/api/vpn_connection.py | 15 +- ec2api/api/vpn_gateway.py | 4 +- ec2api/clients.py | 150 +--- ec2api/cmd/manage.py | 19 +- ec2api/config.py | 5 +- ec2api/context.py | 3 +- .../sqlalchemy/migrate_repo/versions/001_juno.py | 5 +- ec2api/exception.py | 20 +- ec2api/hacking/__init__.py | 0 ec2api/hacking/checks.py | 52 ++ ec2api/i18n.py | 10 - ec2api/metadata/__init__.py | 54 +- ec2api/metadata/api.py | 72 +- ec2api/opts.py | 1 - ec2api/paths.py | 35 +- ec2api/s3/s3server.py | 2 +- ec2api/service.py | 3 - .../functional/api/test_instance_attributes.py | 357 --------- .../functional/api/test_network_interfaces.py | 554 ------------- .../thirdparty/scenario/aws_compat/base.py | 361 --------- .../scenario/aws_compat/test_ec2_instance_mysql.py | 225 ------ .../scenario/aws_compat/test_ec2_unixbench.py | 110 --- .../aws_compat/test_ec2_volume_benchmark.py | 250 ------ .../scenario/aws_compat/test_vpc_behavior.py | 297 ------- .../scenario/aws_compat/test_vpc_benchmark.py | 188 ----- .../scenario/aws_compat/test_vpc_nat_scenario.py | 451 ----------- .../scenario/aws_compat/test_vpc_scenario.py | 379 --------- .../functional/scenario/test_ebs_instances.py | 447 ----------- .../functional/scenario/test_instance_restart.py | 92 --- .../functional/scenario/test_instances_in_vpc.py | 166 ---- .../functional/scenario/test_vpc_addresses.py | 155 ---- ec2api/utils.py | 27 - ec2api/wsgi.py | 48 +- etc/ec2api/ec2api-config-generator.conf | 1 - install.sh | 84 +- lower-constraints.txt | 124 +++ .../ec2-api-functional-neutron-full/post.yaml | 15 + .../ec2-api-functional-neutron-full/run.yaml | 63 ++ .../legacy/ec2-api-functional-neutron/post.yaml | 15 + .../legacy/ec2-api-functional-neutron/run.yaml | 68 ++ playbooks/legacy/ec2-api-rally-fakevirt/post.yaml | 41 + playbooks/legacy/ec2-api-rally-fakevirt/run.yaml | 66 ++ rally-scenarios/README.rst | 4 +- .../plugins/context_plugin_ec2_creds.py | 8 +- .../plugins/context_plugin_ec2_objects.py | 6 +- rally-scenarios/plugins/context_plugin_images.py | 10 +- rally-scenarios/plugins/ec2api_plugin.py | 111 +-- requirements.txt | 61 +- setup.cfg | 5 +- setup.py | 2 +- test-requirements.txt | 22 +- tools/config/analyze_opts.py | 81 -- tools/enable-pre-commit-hook.sh | 42 - tools/install_venv.py | 72 -- tools/install_venv_common.py | 211 ----- tools/patch_tox_venv.py | 48 -- tools/regression_tester.py | 108 --- tools/with_venv.sh | 7 - tox.ini | 77 +- 171 files changed, 5327 insertions(+), 13368 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 89262d5..89757c3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,16 +4,16 @@ -Babel>=2.3.4 # BSD -boto>=2.32.1 # MIT -botocore>=1.0.0 # Apache-2.0 -eventlet!=0.18.3,>=0.18.2 # MIT -greenlet>=0.3.2 # MIT -httplib2>=0.7.5 # MIT -lxml>=2.3 # BSD -oslo.config>=3.14.0 # Apache-2.0 -oslo.concurrency>=3.8.0 # Apache-2.0 -oslo.context>=2.9.0 # Apache-2.0 -oslo.db!=4.13.1,!=4.13.2,>=4.10.0 # Apache-2.0 -oslo.log>=3.11.0 # Apache-2.0 -oslo.messaging>=5.2.0 # Apache-2.0 -oslo.serialization>=1.10.0 # Apache-2.0 -oslo.service>=1.10.0 # Apache-2.0 -oslo.utils>=3.16.0 # Apache-2.0 +Babel!=2.4.0 # BSD +botocore # Apache-2.0 +cryptography!=2.0 # BSD/Apache-2.0 +eventlet!=0.18.3,!=0.20.1,!=0.21.0 # MIT +greenlet # MIT +httplib2 # MIT +lxml!=3.7.0 # BSD +oslo.cache # Apache-2.0 +oslo.config!=4.3.0,!=4.4.0 # Apache-2.0 +oslo.concurrency # Apache-2.0 +oslo.context # Apache-2.0 +oslo.db # Apache-2.0 +oslo.log # Apache-2.0 +oslo.serialization!=2.19.1 # Apache-2.0 +oslo.service!=1.28.1 # Apache-2.0 +oslo.utils # Apache-2.0 @@ -21,15 +21,14 @@ Paste # MIT -PasteDeploy>=1.5.0 # MIT -pbr>=1.6 # Apache-2.0 -keystoneauth1>=2.10.0 # Apache-2.0 -python-cinderclient!=1.7.0,!=1.7.1,>=1.6.0 # Apache-2.0 -python-glanceclient>=2.5.0 # Apache-2.0 -python-keystoneclient!=2.1.0,>=2.0.0 # Apache-2.0 -python-neutronclient>=5.1.0 # Apache-2.0 -python-novaclient!=2.33.0,>=2.29.0 # Apache-2.0 -python-openstackclient>=2.1.0 # Apache-2.0 -Routes!=2.0,!=2.1,!=2.3.0,>=1.12.3;python_version=='2.7' # MIT -Routes!=2.0,!=2.3.0,>=1.12.3;python_version!='2.7' # MIT -six>=1.9.0 # MIT -SQLAlchemy<1.1.0,>=1.0.10 # MIT -sqlalchemy-migrate>=0.9.6 # Apache-2.0 -WebOb>=1.2.3 # MIT +PasteDeploy # MIT +pbr!=2.1.0 # Apache-2.0 +keystoneauth1 # Apache-2.0 +python-cinderclient # Apache-2.0 +python-glanceclient # Apache-2.0 +python-keystoneclient!=2.1.0 # Apache-2.0 +python-neutronclient # Apache-2.0 +python-novaclient # Apache-2.0 +python-openstackclient # Apache-2.0 +Routes # MIT +six # MIT +SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8 # MIT +sqlalchemy-migrate # Apache-2.0 +WebOb # MIT diff --git a/test-requirements.txt b/test-requirements.txt index 9e2cc99..202fa7f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4,4 +4,5 @@ -coverage>=3.6 # Apache-2.0 -fixtures>=3.0.0 # Apache-2.0/BSD -hacking<0.12,>=0.11.0 # Apache-2.0 -mock>=2.0 # BSD +hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 + +coverage!=4.4 # Apache-2.0 +fixtures # Apache-2.0/BSD +mock # BSD @@ -9 +10,2 @@ nose # LGPL -oslotest>=1.10.0 # Apache-2.0 +oslotest # Apache-2.0 +os-testr # Apache-2.0 @@ -11,4 +13,6 @@ pylint==1.4.5 # GPLv2 -python-subunit>=0.0.18 # Apache-2.0/BSD -sphinx!=1.3b1,<1.4,>=1.2.1 # BSD -testrepository>=0.0.18 # Apache-2.0/BSD -testtools>=1.4.0 # MIT +python-subunit # Apache-2.0/BSD +sphinx!=1.6.6,!=1.6.7 # BSD +testrepository # Apache-2.0/BSD +testtools # MIT +openstackdocstheme # Apache-2.0 +os-api-ref # Apache-2.0
participants (1)
-
no-reply@openstack.org