* Update ec2-api from branch 'master'
to 32740781f6050cbb08847066fc2fef996d93f2a1
- kernel_id and ramdisk_id parameters are not supported in novaclient create
remove them from ec2api
Signed-off-by: tikitavi <rtikitavi@gmail.com>
Change-Id: I0e647be2d3f1500b14deed72a64728a42a33db34
* Update ec2-api from branch 'master'
to 27c479ab0cc6ce14d93d9aca9155209625f4a8c8
- Update tox.ini for tox4
basepython as python3 is not needed anymore since py27 support was
dropped since many OpenStack cycles ago.
py38 and py310 jobs are failing because the requirements are not
installed. This patch adds explicit install of the requirements.
Change-Id: I095f10b97529fb794db135621d74a16e6554dd5f
* Update ec2-api from branch 'master'
to 45ea70abd91fc5bac6b28cc2a807729553357cc5
- Merge "Add some automatic steps & Fix SQL in install scripts"
- Add some automatic steps & Fix SQL in install scripts
This commit adds
- select package manager in install.sh
- retry of MySQL password
fixes
- MySQL 8 support
- pip install MYSQL-python failure
Change-Id: I7e9bd8b308ddc84e95e694abe806eb7630b9919c
Change-Id: I7c46a3e86f7e2fd20054e6f8ff152640f7a253ab
* Update ec2-api from branch 'master'
to 29d107057cbeaef92dbbbaedd357a92bc5696da5
- Merge "Correct queue declaration in Zuul config"
- Correct queue declaration in Zuul config
Move the ec2-api queue declaration from the pipeline level (where it
is no longer valid) to the project level.
https: //lists.openstack.org/pipermail/openstack-discuss/2022-May/028603.html
Change-Id: I3103c4ecb803e784c87ed4cff5124d303620d4a5
* Update ec2-api from branch 'master'
to c49923fdda348cc32e658c072cb0abafa31965b0
- Merge "Switch to 2023.1 Python3 unit tests and generic template name"
- Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: Ie2649c5006fad5395ec6e754d31b6f1ba6b24845
* Update ec2-api from branch 'master'
to 09b548f35d236b9f3eea8da57975ed7e3ef22eca
- Merge "Drop Babel from reqs"
- Drop Babel from reqs
Not needed per [1].
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014227.html
Co-Authored-By: Linhui Zhou <df.some@foxmail.com>
Change-Id: Id727819692bb0a3d3ac61f18f421d5430231fb51
* Update ec2-api from branch 'master'
to 6dbe7660625b097053b8ad4250d632e61f04308e
- Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
Change-Id: Ifd4f593b87f877160bf3422cea104e766327684e
* Update ec2-api from branch 'master'
to af83b082163ea340219a11b65068708b58430d3c
- Start generating our own key pairs
Nova API microversion 2.92 removed the ability to generate a private
key. The user or client is now responsible for generating the key pair.
Start doing that using cryptography, which is in our requirements
(unlike paramiko, which nova uses).
included:
https://review.opendev.org/c/openstack/ec2-api/+/857880https://review.opendev.org/c/openstack/ec2-api/+/859192
Change-Id: I0032de8cd779beafbd6848a2aecbcb6455e8eada
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* Update ec2-api from branch 'master'
to 299c898cf4af1d96a4c683305d3c262285eccdaf
- Merge "Remove redundant override of logging_context_format_string"
- Remove redundant override of logging_context_format_string
The target value is exactly same as the default defined in oslo.log,
thus this override is just redundant.
Change-Id: Ib386df2d8abf561c5b1c266f4c64d544e93c5d62
* Update ec2-api from branch 'master'
to ebb12611cadca3e6e817f1d7f5badce014fab2c3
- Remove TripleO job
... because TripleO deprecated support for EC2 API during Train cycle
and removed it during Ussuri cycle.
Change-Id: I9c9f09b339f46855a8ed4465f11db8c15e0ef5e9
* Update ec2-api from branch 'master'
to a4a603a8cab9152fbc77d6741f043807f29e815a
- Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.
[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal
Change-Id: Id32dd2ffe030ce58c9f0861310b5f08f7a02eb94
* Update ec2-api from branch 'master'
to 108e41f33543ccb91ea838111d67a86d8b6abd30
- try to use neutron-vpnaas from plugin definition
Change-Id: I3511788ff6d59ace14086fc3265a16808c1c2d77
* Update ec2-api from branch 'master'
to ed85f5924cc0687a42032dcf363081a8c224032b
- Remove ineffective codes from the FaultWrapper middleware
These three variables are initialized but unused.
Closes-Bug: #1967683
Change-Id: I5bab310fef66faa3291e7651106010761f636bc5
* Update ec2-api from branch 'master'
to d42220cdc8136d59a58a70805064834c1601b13b
- Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I21c553d594eaf856e6b2d74ec6174394618a3156
* Update ec2-api from branch 'master'
to c1eaa49507e1ee7977940cdf14e01fd4f070e9a5
- Re-add python 3.6/3.7 in classifier
We have updated the yoga testing runtime to keep the
py36 testing.
- https://review.opendev.org/c/openstack/governance/+/820195
Unit tests job template is also updated to keep python
3.6 as a voting job. So with the py3.6 and py3.9 testing as voting
job template, we are keeping python 3.6, 3.7, 3.8, and 3.8 as
tested versions in the Yoga cycle.
- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286
This commit re-add the python 3.6/3.7 versions in setup.cfg classifier.
Change-Id: Id96b27fe24e0f6ea0c57030de2443514dbdcb467
* Update ec2-api from branch 'master'
to dee854fec937cbfe04ed9434e9717f27c4ec6abf
- Updating python testing as per Yoga testing runtime
Yoga testing runtime has been updated with py38 and py39
as voting and removed the py36 testing. Unit tests update are
handled by the job template change in openstack-zuul-job and you
can see the updated template job in gate.
- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/818609
this commit makes other required changes in setup.cfg metadata.
[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html
Change-Id: I9ff535283597237c0847d7df51a3100aa4f7dfea
* Update ec2-api from branch 'master'
to afa63858a055d6945141b214eda75c8d08c7ff49
- Merge "Changed minversion in tox to 3.18.0"
- Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23
Change-Id: Ied7fec3d6bbb37b42be353f5e4b9aad8c5921d0a
* Update ec2-api from branch 'master'
to 65aa61662f2200eb3b9189a88c7942b458ab2e5f
- Include oslo.cache options to the generated configuration file
The oslo.cache library was introduced to support metadata caching[1],
but its parameters have been missing from the configuration file
generated by oslo-config-generator.
This change adds the missing oslo.config.opts endpoint so that
the parameters of the oslo.cache library are automatically rendered.
Change-Id: Iede57b7c86012951ee934ee9f56694e108f1b51a
* Update ec2-api from branch 'master'
to 8b8d4bdda3392798f6e82e75dfab52f013d87334
- Merge "Use TOX_CONSTRAINTS_FILE"
- Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
Change-Id: If49cb308a440a4cd18cc1688845b480f54dc6abd
* Update ec2-api from branch 'master'
to 079eb517996d73f21864f408bd74c6cd094329f0
- Merge "Use py3 as the default runtime for tox"
- Use py3 as the default runtime for tox
Moving on py3 as the default runtime for tox to avoid to update this at each new cycle.
Wallaby support officially the following runtimes [1]:
- Python 3.8
During Victoria Python 3.7 was used as the default runtime [2] however this version isn't longer officially supported.
Change-Id: I71bd094393176225e81df13dd4ed7e35c559f355
* Update ec2-api from branch 'master'
to 8661a52685dc36a23956b4d51357dc3fdfde7523
- Merge "Dep's should be restricted by upper-constraints"
- Dep's should be restricted by upper-constraints
Tox trying to install latest versions for building docs which may
not be supported by stable and lower branches, so should be
restricted by respective version's upper-constraints.txt
Change-Id: I2cb297069e203bb6f4bc49576e86ae5e12cae33a
* Update ec2-api from branch 'master'
to c2c70fa39fa71933df5e1b194d1f5a643a86429e
- Merge "Run TripleO jobs on CentOS8 instead of CentOS7"
- Run TripleO jobs on CentOS8 instead of CentOS7
As we are cleaning up the c7 jobs and obselete featuresets [1].
This change replaces usage of CentOS7 in TripleO jobs by CentOS8.
[1]: https://review.opendev.org/q/topic:%22cleanup_featuresets%22+(status:open%20OR%20status:merged)
Change-Id: I0c5b95d84dfed68fac59b0dc305dec39ecf5fa8a
* Update ec2-api from branch 'master'
to acf91fcd4c8f9f8bb0045a64224367cc70b104a6
- Merge "Add Python3 yoga unit tests"
- Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I8c14b9fdc14345148f9ea6cd67245f139a9aa3f8
* Update ec2-api from branch 'master'
to f9e75281b42cd5c9dbe72a0b467859fefb1c1017
- fix UT for cinderclient
- bump version from 2 to 3 for cinderclient
- update aws ec2 interface for create_colume and
create_network_interface. add cilent_token param
- fix describe network interface - something was
changed in neutron ports output
- set metadata port for OVN conf file also
Change-Id: Ie3e5a5930d5a8159050ecc0900239935558dddd7
* Update ec2-api from branch 'master'
to 2a5a97344d4fbaaccf96164bcf942d08f1046fac
- doc: Update our IRC server to OFTC
Change-Id: I720a97be223cb03d9722b1b92990534d8ee0fdba
* Update ec2-api from branch 'master'
to 084d252809ebccb4c00b9b802a90f68ee906a155
- [ussuri][goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].
[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html
Story: #2007236
Task: #38521
Change-Id: I7f2fc02c036d71d76e1b6f69879641fef3271207
* Update ec2-api from branch 'master'
to c0f612e5f1ab9765d725eec38ae039aaec9cbfc0
- setup.cfg: Replace dashes with underscores
Resolves warnings like the following:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
Change-Id: I7e93878229258afee7eb67cc652f30f63702ab41
* Update ec2-api from branch 'master'
to 111bbafe97194976e5099350087ec340fb5bb4ca
- Merge "Add Python3 xena unit tests"
- Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I0781cc489024f81a3cb3ec12ba66244a084843b2
Depends-On: I43dd37f975b49de21cd34bbc8ce9378e09e88420
* Update ec2-api from branch 'master'
to cdb6eefc25d6a65c7e04156ad38bb0d58b54e2f8
- fix using of SQLAlchemy.in_ operator in UT
the in_() operator accepts a list or other non-string sequence.
the error message indicates that a plain string is being passed
which is invalid. 1.3 erroneously allows this to silently pass,
producing a useless expression:
>>> print(column('q').in_('fake-string'))
q IN (:q_1, :q_2, :q_3, :q_4, :q_5, :q_6, :q_7, :q_8, :q_9, :q_10, :q_11)
1.4 correctly detects this error.
Change-Id: I43dd37f975b49de21cd34bbc8ce9378e09e88420
* Update ec2-api from branch 'master'
to eb3b4851a95a4d6a7d14dd55940a54864431f89e
- Use volume v3 API by default
Currently ec2api uses the volume v2 API by default, but v2 API was
deprecated a while ago and will be removed fron cinder shortly.
This patch ensures that ec2api uses the volume v3 API instead by
default.
Closes-Bug: #1908993
Change-Id: I280d3c009893c67d215b0c7106eec7fe2435c335
* Update ec2-api from branch 'master'
to 87bf8222831625ffb3aff7a36240338ea6afe84b
- Bump mccabe in lower-constraints.txt
... to solve the following conflict detected in lower-constraints job.
ERROR: Cannot install hacking because these package versions have conflicting dependencies.
The conflict is caused by:
flake8 3.7.9 depends on mccabe<0.7.0 and >=0.6.0
flake8 3.7.8 depends on mccabe<0.7.0 and >=0.6.0
flake8 3.7.7 depends on mccabe<0.7.0 and >=0.6.0
flake8 3.7.6 depends on mccabe<0.7.0 and >=0.6.0
flake8 3.7.5 depends on mccabe<0.7.0 and >=0.6.0
flake8 3.7.4 depends on mccabe<0.7.0 and >=0.6.0
flake8 3.7.3 depends on mccabe<0.7.0 and >=0.6.0
flake8 3.7.2 depends on mccabe<0.7.0 and >=0.6.0
flake8 3.7.1 depends on mccabe<0.7.0 and >=0.6.0
flake8 3.7.0 depends on mccabe<0.7.0 and >=0.6.0
flake8 3.6.0 depends on mccabe<0.7.0 and >=0.6.0
Change-Id: I757ef4591d4ae386cfe71f268008efe251f05e86
* Update ec2-api from branch 'master'
- Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I6ad121c984f72d3c7f9afd1343da13c715c7c1b7
* Update ec2-api from branch 'master'
- Use importlib to take place of imp module
The imp module is deprecated[1] since version 3.4, use importlib to
instead
[1]: https://docs.python.org/3/library/imp.html#imp.reload
Change-Id: I7da97be7403617e1460ae179f7e62dcfa47cdf09
* Update ec2-api from branch 'master'
- Migrate zuul config v2 to native v3
1) Move main tempest job to ec2api-tempest-plugin.
2) Remove temporarily full tempest job (will be moved to ec2api-tempest)
3) Remove completely rally job. It is not working for years.
Change-Id: I44f609f1ff08acc770943108c3ec99c887561654
* Update ec2-api from branch 'master'
- migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
Fixing:
- bug#1886298
Bump the lower constraints for required deps which added python3.8 support
in their later version.
Story: #2007865
Task: #40183
Closes-Bug: #1886298
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.h>
Change-Id: I5c7bbd9bd43f507a5e45901be10110f2a96f5433
* Update ec2-api from branch 'master'
- requirements: Drop references to os-testr
We now use stestr, which was only being included because it's a
requirement of os-testr.
Change-Id: I4c7cd309fb23b60f6a7458547647e081d7755a1c
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* Update ec2-api from branch 'master'
- drop mock from lower-constraints
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints.
These changes will help us to drop `mock` from openstack/requirements
Change-Id: Iea74614fd8b93325bfa0da0da3ab1063ba799762
* Update ec2-api from branch 'master'
- Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I10e31a8883739e8844b9d974cf4da62cfc28efe0
* Update ec2-api from branch 'master'
- Remove .testr.conf
This commit removes .testr.conf since this repo already has
.stestr.conf. We just need .stestr.conf instead of .testr.conf.
Change-Id: I8f151b1796729aea37de5e641da01578b1f4392c
* Update ec2-api from branch 'master'
- Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: I28ce4b973e5e9e251dd8cccad632201b3a951266