Commit Graph

4511 Commits

Author SHA1 Message Date
Zuul c5cb9ba25b Merge "refectoring: Eliminate repetitive code" 2024-03-27 21:40:53 +00:00
Youngjun 371b48d45c refectoring: Eliminate repetitive code
- Removed to avoid repeatedly specifying dictionaries.

Change-Id: Ia0bcae7934646e01eea8e866b92b9b2b7d79f542
Signed-off-by: Youngjun <yj.yoo@okestro.com>
2024-03-13 14:23:43 +09:00
Youngjun 748cfbe997 refectoring: remove duplicated key
- Removed duplicate keys and values from the dictionary.

Change-Id: I1027ec33f18dd504ada9939a80e49c6984680548
Signed-off-by: Youngjun <yj.yoo@okestro.com>
2024-03-13 12:23:14 +09:00
do-gyun 2c05430515 Fix heat template validation when multi users
Fix that after the first user-related f.read(), the next user will attempt to f.read() at the end of the file, correcting the sending of blank content.

Closes-bug: #2054790
Change-Id: I95d73d3459087c8c18c1ecd5e7d1833268e7ed75
2024-02-26 14:13:28 +09:00
Andrey Kurilin 275e639388 Update u-c file
Change-Id: Idb1515ba381f3c0efa917c877c6722af58f63515
2024-01-18 14:25:04 +01:00
Andrey Kurilin a5909fc8b0 Add nova_servers_list_page_size config option
New option should help to limit the size of pages while listening
nova servers

Change-Id: I5e6d6394bfc324d9e5b89988584d7c1bce598e5f
2024-01-16 16:18:57 +00:00
Andrey Kurilin 72bfcc6e27 use-rally-4-0-0
Change-Id: I462f9d28ba7f8280a50bf533c3c1105a9bd76bb2
2024-01-16 15:05:14 +01:00
Zuul 24981967fc Merge "Test python 3.11" 2024-01-11 18:48:25 +00:00
Ghanshyam Mann eca93d05cb Test python 3.11
As per the current release tested runtime, we
need to test python 3.8 to python 3.11 so using the
generic python testing template which run the python
versions jobs as per the current release runtime.

Also, updating the same in python classifier in setup.cfg

Change-Id: I647dad04f5b457f396508361d68c88880d1258ca
2024-01-11 11:52:04 +00:00
Andrey Kurilin e73a897642 [ci] Include pytest html reports for functional job
Change-Id: I35c68ab5ad3ff9ac2f12f383489a18d55d2d0bf1
2024-01-09 17:19:05 +01:00
Andrey Kurilin 615961558d Fix pep8 failures due to new hacking rules
Change-Id: Ie6cb4e8d6ab0ce5036566dd6900c45b734f1eb3d
2024-01-03 16:14:39 +01:00
Andrey Kurilin 9511371f73 Add support for cinder api microversions
Change-Id: I72ee9ac9a67f76176d516be16cafe6d769147818
2023-12-05 13:28:49 +01:00
Andrey Kurilin 89646a6cb4 Small improvements for Neutron Port and Nova Server cleanup
Change-Id: Ife293f744488ab8805b4da3187f342592eb5a54c
2023-12-05 09:34:40 +01:00
Zuul 682aeae21a Merge "Fix processing 'confirm' argument of NovaServers.resize_server scenario" 2023-12-04 22:54:33 +00:00
Andrey Kurilin a8ac8cae28 Fix processing 'confirm' argument of NovaServers.resize_server scenario
In addition, the rally-task-nova zuul job is re-enabled with skipping
one workload to check all the others.

Change-Id: I0f0c838569ea2d5666fb17f415ca7fd4a384492f
2023-12-04 20:15:20 +01:00
Andrey Kurilin c6ad72dce9 Turn on mistral ci job
Change-Id: Ie83a9ead4310743f435890287d5f116f65785f0c
2023-12-04 20:06:19 +01:00
Andrey Kurilin b8bc9ebb26 Use proper cover job config
Change-Id: I18afb6d71432b553f22ac19b672223cec44176d6
2023-11-29 15:15:16 +01:00
Andrey Kurilin d142db453a Re-enable rally-verify-tempest job
+ Add temporary hack for subunit parser that should work before the
  proper fix is merged to rally project
+ Temporary turns off coverage job, so we can do not write unittests for
  fix that should land to rally lib projectg

Change-Id: I1149fa83bba28d96bece26c9f978e192cf723de0
2023-11-29 15:14:39 +01:00
kimtaeseop 78e8190986 Set "existing_users" context for manila rally test
When the manila rally tests work, they can't use "share_networks" context.
Nowhere "existing_users" is set, the function as follows can't be called.
https://github.com/openstack/rally-openstack/blob/master/rally_openstack/task/contexts/manila/manila_share_networks.py#L185
If rally use existing_users, set "existing_users" context as well.

Closes-Bug: #2040486
Change-Id: I9af9198d7202f7f674790d2b88ab3c8067d6cb35
2023-11-22 11:21:51 +00:00
Andrey Kurilin 0868e5cc55 Drop support of py36 and py37
Change-Id: I16e4c61c8b166d5e128907d79ab6f857f98bd82b
2023-11-21 11:53:51 +00:00
Andrey Kurilin 8dbd9b426b [ci] Temporary turn off rally-verify-tempest job
Change-Id: Ia4f0dd637ac6b9e0f07ac0d1c1e66f5f718c4aa9
2023-11-21 12:35:09 +01:00
Andrey Kurilin 9ff67887bf Fix and re-enable function tox job
Change-Id: Ie6735bbc9a974af1ac44c9777a1d63e513f36469
2023-08-20 18:11:57 +02:00
Andrey Kurilin 5827d34499 Re-enable rally-verify-tempest
Change-Id: Icbe31fc82eb7b7731b43c1346201b642be76ea4e
2023-08-20 13:07:24 +02:00
Brian Haley a2bad02968 Change to use openstack instead of nova command
One of the playbooks was using 'nova flavor-create',
which was causing failures in the neutron gate. Change
to use 'openstack flavor create' instead as nova has
been deprecated for a while.

Change-Id: I193396ecdff50748c8253287d3e9a273be843db4
Closes-bug: #2031971
2023-08-20 11:34:08 +02:00
Andrey Kurilin eecf463d63 Temporary skip checking task cleanup at CI
DevStack started to install projects into a venv, so it is no longer
available via ansible run for ansible modules.
The fix will require to rework this logic, but we need to unblock CI.

Change-Id: Ic5e296c62b6ee85a9d105569f1007508d9cd1575
2023-08-20 09:03:55 +00:00
Andrey Kurilin 9e367ea2e9 Tempory turn off all failing jobs
We are temporary turn them off to fix multiple issues separetely

Change-Id: I22ec5d05e25db332bca2ac9ec481eec129d65d99
2023-08-20 10:50:29 +02:00
Andrey Kurilin 1bd13edb94 Update release date for 2.3.0
Change-Id: I711e96833719d4e7fbbbf1e4e468952283690bca
2023-08-01 14:49:24 +02:00
Zuul 19b1f934dc Merge "Release 2.3.0" 2023-07-27 22:28:42 +00:00
Zuul bd6e50e8e3 Merge "Bring back tempita to u-c" 2023-07-27 13:52:57 +00:00
Andrey Kurilin 712e2c8fa9 Release 2.3.0
Change-Id: I8c23c3f9862577365de8a19c0f4c897624955567
2023-07-27 16:46:27 +03:00
Damian Dabrowski 8e8f6b2390 Bring back tempita to u-c
Tempita pip package is broken and not maintained since 2013[1].
Because it uses 'use_2to3' command in all versions[2] which is
deprecated since setuptools>58[3], it is not impossible to build this
package from source.
The only installation method that still works is wheel, but PyPI
does not store wheels for development versions(0.5.3dev in our case).

So if user runs `pip install` with '--pre' attribute and tempita is not
constrained to 0.5.2, then pip attempts to install 0.5.3dev that does
not have wheel stored in PyPI and the install command fails because
building this package from source does not work.

Openstack-Ansbile project is affected by this issue.

[1] https://pypi.org/project/Tempita/#history
[2] https://github.com/agramfort/tempita/blob/master/setup.py#L53
[3] https://setuptools.pypa.io/en/latest/history.html#v58-0-0

Change-Id: Id01c10796bb307c2696214dc9b3217242a9199dc
2023-07-03 19:25:56 +02:00
hwang 8ba3955f5a Correct some cases' description
In some OpenStack rally cases, there are some wrong descriptions.
So this patch is to fix them.

Change-Id: Ib07d1907747912ff4ad3514fd67cf41c32d3878a
2023-06-30 15:27:46 -07:00
Zuul 95aea5e50c Merge "Update uc file" 2023-06-22 21:04:39 +00:00
Andrey Kurilin f680f8fdd7 Update uc file
Change-Id: Ie51d6935177654e2919cd2b6309431fc227b7503
2023-06-21 15:39:33 +02:00
Zuul 15d1963083 Merge "Fix rally test can't update device_id" 2023-06-18 21:59:17 +00:00
Zuul 58c331c8fb Merge "Require Rally>=3.4.0" 2023-06-18 20:02:01 +00:00
Pierre Libeau 72f4e27e2d Fix rally test can't update device_id
In neutron-lib new default policy disallowed create_port and update_port
with device_id parameter. This parameter is only for admin.

Bug #1986969

Change-Id: Ie2b42192b0233c3c30f08d2ef79de754922f012d
2023-06-18 18:31:33 +00:00
Andrey Kurilin 4ef9de1628 Require Rally>=3.4.0
Change-Id: I14185e3e013a3e80f05f87060cdea116da102abd
2023-06-18 19:17:18 +02:00
Zuul e5805305e6 Merge "Designate DNS - fix quota names according to U/S Doc" 2023-05-24 20:43:15 +00:00
chenhb d5631b9ff5 Fix the issue of unshelving vm fail failure
it would change the vm_state firstly and then change task_state
while shelving the vm is done, so we need to wait to change the
task state.

Change-Id: I38446b178bae871488d7672e67cbd4e6690a6b52
2023-05-24 09:26:05 +00:00
Arkady Shtempler 6ec9348bb5 Designate DNS - fix quota names according to U/S Doc
1) zones_recordsets --> zones_recordsets
2) zones_records --> zones_records

https: //docs.openstack.org/designate/latest/admin/quotas.html#available-quotas
Change-Id: Id6401bf1c922ae4874f7203f01340c7e6ba471cb
2023-05-24 09:25:19 +00:00
Andrey Kurilin d66486874d Keep CI up-to-date
Rally prior change - I77eba97596df4448065982956c3b6fb08c8e45db

* Fix pep8 issues. For unknown reasons, previous flake8 version did not
  argue on some too long lines and some other issues.

* Temporary disable run of VMTask scenarios in CI. It raises
  TimeoutError and blocks several jobs to be executed. Let's fix this
  issue separately.
* Re-enable rally-tox-pep8, rally-tox-cover, rally-dsvm-tox-functional,
  rally-task-basic-with-existing-users, rally-task-simple-job,
  rally-task-neutron, rally-task-nova and rally-verify-tempest jobs
* Add rally-tox-py310

Change-Id: I6a167793f1b900ff459519b593cac7c2c3e9724b
2023-05-23 15:03:41 +02:00
Andrey Kurilin 48ae844a70 Ignore pytest-cover warning
Coverage job fails due to to unrelated to our code deprecation warning.
We can not put this warning into ignore list and enable coverage job at
the same commit as our coverage script runs coverage on the prior commit
(i.e. commit that does not have a fix), so we need to merge this change
first and than re-enable coverage job (there is already follow-up change).

Unfortunately, we need to disable rally-tox-pep8 temporary since it is
broken :( The follow-up fix for it is also on the way.

Change-Id: I1ff709a78f7b545823606da2d2b20729e9eeee40
2023-05-23 10:49:46 +02:00
Zuul d4ba5f31c9 Merge "Fix creating of Rally DB" 2023-05-19 10:40:49 +00:00
Arnaud Morin ca00440bab Update tox.ini to work with tox 4
Tox 4 deprecated whitelist_externals.
Replace whitelist_externals with allowlist_externals
Tox 4 Fail on pass_env/passenv entries containing whitespace.
Updated passenv with comma separated values

Also, we need to temporary turn off coverage job, since it compares
stats of current change with a previous one. It is impossible to collect
stats for previous commit, since it does not include tox fixes.

Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
Change-Id: I821d846543f1dd55564358550fa074333f8b741b
2023-03-11 13:45:20 +00:00
Mitya_Eremeev 7ec93aef2e Fix creating of Rally DB
Rally-openstack requires Rally.
Creation of Rally database was fixed in commit:
14d449b2f1
But the fix is not included yet in new Rally release,
so we make some workaround untill then.

Related-Bug: #2004022
Change-Id: I62adcb49822c24d17167a63f94be5256fd5a697d
2023-02-09 20:18:09 +03:00
yatinkarel b8591ec366 Use absolute path for rally plugin dir check
These tasks failing when running on jammy nodes,
Fix by using absolute path as while checking stat
zuul user is used and while using these path stack
user is used.

Change-Id: Ie181478ff4979aaf5ef889b26ee6025cd801dc7b
2022-10-21 11:11:42 +05:30
Tobias Urdin ba45f16ef1 Add new boot_server_attach_created_volume_and_extend test
This adds a new job to the nova scenarios that creates a server
and volume, attaches the volume and then extends the volume
while it's attached to the server as introduced in Pike [1].

[1] https://specs.openstack.org/openstack/nova-specs/specs/pike/implemented/nova-support-attached-volume-extend.html

Change-Id: Ia30f6fb65d3d60f02816125f47b545465f36f148
2022-08-24 11:34:15 +02:00
Piotr Parczewski a73e803e7c Bump default Cirros version
Replace heavily outdated Cirros version with a current one. Also,
slightly increase RAM allocation in default flavors for newer
version to work.

Change-Id: Ie80340b3382cd3bed9edb14f9b9aa40eed6ab476
2022-08-05 13:40:51 +00:00
elajkat 6d53058c39 Update rally-task-neutron to have only ovs as mech driver
Neutron recently introduced the experimental feature concept and moved
linuxbridge driver under it as it lacks maintainers and has more and
more issues with its testing.
To use experimental feature the experimental cfg group must be filled
with linuxbridge = True, but rally-task-neutron don't need linuxbridge
driver.
The patch that introduce experimental framework check [1].

[1]: https://review.opendev.org/c/openstack/neutron/+/845181
Related-Bug: #1980948

Change-Id: If2016c6b2cf03c064e2903549e0e991995275024
2022-07-12 10:23:39 +00:00