Commit Graph

1144 Commits

Author SHA1 Message Date
tikitavi 32740781f6 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
2023-06-23 14:09:56 +03:00
Elod Illes 27c479ab0c 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
2023-03-01 12:26:46 +01:00
Zuul 45ea70abd9 Merge "Add some automatic steps & Fix SQL in install scripts" 2022-11-09 17:52:21 +00:00
Zuul e213c49cfc Merge "Add some automatic steps & Fix SQL in install scripts" 2022-11-09 17:52:20 +00:00
Zuul 29d107057c Merge "Correct queue declaration in Zuul config" 2022-11-09 17:52:18 +00:00
tikitavi 5971b2a3f7 increase default timeout
Signed-off-by: tikitavi <rtikitavi@gmail.com>
Change-Id: I286c209a38e4271c12f47e2f3ec44da4724efbb3
2022-11-09 12:37:41 +03:00
Xingjian Zhang 0ae0b9ab47 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
2022-09-27 19:42:24 +08:00
Xingjian Zhang a17f4bdcfa Add some automatic steps & Fix SQL in install scripts
Change-Id: I7e9bd8b308ddc84e95e694abe806eb7630b9919c
2022-09-27 19:41:49 +08:00
Jeremy Stanley 16b27e67ea 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
2022-09-26 12:25:51 +00:00
Zuul a5ead5073c Merge "doc: Fix docs about installation" 2022-09-26 09:24:18 +00:00
Xingjian Zhang 24a9c69551 doc: Fix docs about installation
Change-Id: I0179c718926b3b2100859d7f66dcc6603594abf0
2022-09-26 16:21:38 +08:00
Zuul c49923fdda Merge "Switch to 2023.1 Python3 unit tests and generic template name" 2022-09-26 08:02:55 +00:00
Zuul 1e88786c6c Merge "Remove logic for Python <= 2.6" 2022-09-26 07:54:16 +00:00
Zuul 09b548f35d Merge "Drop Babel from reqs" 2022-09-26 07:54:14 +00:00
zhoulinhui 750bc48c88 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
2022-09-25 21:28:46 +00:00
niuke 6dbe766062 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
2022-09-25 21:28:24 +00:00
Takashi Kajinami d64176660f Remove logic for Python <= 2.6
Change-Id: I8e9ca27e276ae3ecabfd0b1967281deadd3a5bea
2022-09-25 21:28:10 +00:00
OpenStack Release Bot e2de35f90f 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
2022-09-25 21:23:44 +00:00
Stephen Finucane af83b08216 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/+/857880
https://review.opendev.org/c/openstack/ec2-api/+/859192

Change-Id: I0032de8cd779beafbd6848a2aecbcb6455e8eada
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2022-09-25 12:57:33 +03:00
Zuul 299c898cf4 Merge "Remove redundant override of logging_context_format_string" 2022-08-05 21:04:28 +00:00
Zuul f3828311f8 Merge "Remove six" 2022-08-04 20:30:16 +00:00
nik.kaluzhin 77d6b2fc8e fixed customer_gateway
Signed-off-by: nik.kaluzhin <doupfish@gmail.com>
Change-Id: I1c9b790eb6ce3f9d4281d6b1306eed49043078f3
2022-08-03 11:35:16 +03:00
xuanyandong 44f22cf2a5 Remove six
Replace the following items with Python 3 style code.

- six.PY2
- six.text_type
- six.string_type
- six.binary_type
- six.iterkeys
- six.moves
- six.itervalues

Implements: blueprint six-removal

Change-Id: I6195ceeeed2ebe1586973eaeef7fa9f29698fec2
2022-07-05 17:37:44 +08:00
Takashi Kajinami ebb12611ca Remove TripleO job
... because TripleO deprecated support for EC2 API during Train cycle
and removed it during Ussuri cycle.

Change-Id: I9c9f09b339f46855a8ed4465f11db8c15e0ef5e9
2022-05-26 11:06:50 +09:00
Ghanshyam Mann a4a603a8ca 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
2022-04-30 15:46:49 -05:00
Andrey Pavlov 1599007dce fix devstack params
Depends-On: I64026c36fc47b860d1ee0b6deb1bfbc91522148c
Change-Id: I0f70c9cea633f0b40dd2b2aee21f0a51b05b9948
2022-04-23 14:31:28 +00:00
Andrey Pavlov 108e41f335 try to use neutron-vpnaas from plugin definition
Change-Id: I3511788ff6d59ace14086fc3265a16808c1c2d77
2022-04-16 22:09:26 +03:00
Takashi Kajinami 3a96fcc53f 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
2022-04-16 00:39:58 +09:00
Takashi Kajinami ed85f5924c Remove ineffective codes from the FaultWrapper middleware
These three variables are initialized but unused.

Closes-Bug: #1967683
Change-Id: I5bab310fef66faa3291e7651106010761f636bc5
2022-04-04 08:07:41 +09:00
OpenStack Release Bot d42220cdc8 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
2022-03-08 18:27:28 +00:00
Ghanshyam Mann c1eaa49507 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
2021-12-13 19:19:56 -06:00
Ghanshyam Mann dee854fec9 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
2021-11-24 19:16:18 -06:00
Zuul afa63858a0 Merge "Changed minversion in tox to 3.18.0" 2021-11-21 16:09:24 +00:00
Takashi Kajinami 65aa61662f 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
2021-11-15 22:37:24 +09:00
wu.shiming 994d02b0dc 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
2021-11-08 15:01:25 +08:00
Zuul 8b8d4bdda3 Merge "Use TOX_CONSTRAINTS_FILE" 2021-09-29 13:17:33 +00:00
Zuul 079eb51799 Merge "Use py3 as the default runtime for tox" 2021-09-29 12:34:12 +00:00
Zuul 8661a52685 Merge "Dep's should be restricted by upper-constraints" 2021-09-29 11:49:53 +00:00
Zuul c2c70fa39f Merge "Run TripleO jobs on CentOS8 instead of CentOS7" 2021-09-29 11:49:51 +00:00
Zuul acf91fcd4c Merge "Add Python3 yoga unit tests" 2021-09-29 11:46:24 +00:00
liyou01 aa0256783f 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
2021-09-29 09:41:52 +00:00
zhangboye 38464931ac 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
2021-09-29 09:41:36 +00:00
Andrey Pavlov f9e75281b4 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
2021-09-28 19:24:15 +00:00
OpenStack Release Bot ab73c935e6 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
2021-09-15 01:32:58 +00:00
Bhagyashri Shewale 722b7b0791 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
2021-09-14 13:20:31 +00:00
Andrey Pavlov 2a5a97344d doc: Update our IRC server to OFTC
Change-Id: I720a97be223cb03d9722b1b92990534d8ee0fdba
2021-06-08 11:50:24 +03:00
Ghanshyam Mann 084d252809 [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
2021-05-13 18:12:21 -05:00
Yandong Xuan c0f612e5f1 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
2021-05-01 15:55:11 +08:00
Zuul 111bbafe97 Merge "Add Python3 xena unit tests" 2021-03-27 17:10:09 +00:00
OpenStack Release Bot 87757095c2 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
2021-03-27 15:20:20 +00:00