4499 Commits

Author SHA1 Message Date
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
2.3.0
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
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
Andrey Kurilin
09d2bb61c5 [ci] Fix list-os-resources role
Plus restore dsvm CI jobs

Change-Id: I42e956f9765b9d030e6a74348c94f792a01fcff1
2022-07-12 13:20:31 +03:00
Andrey Kurilin
c1d9cf911b Suppress 2 warnings from Docutils
The following 2 warnings do not require any modification of our code, so
we can silently hide them and wait for new release of docutils:

- The frontend.OptionParser class will be replaced by a subclass of
  argparse.ArgumentParser in Docutils 0.21 or later.
- The frontend.Option class will be removed in Docutils 0.21 or later.

Also, this commit temporary disables all dsvm job. They require a fix
for list-resources ansible role, but it would be nice to do that in a
separate change.

Change-Id: I82e794c3d12222db9380701e6923b6e065b596ac
Closes-Bug: 1981194
2022-07-12 12:29:49 +03:00
3984f97c1c Update gnocchiclient requirement
With [1] gnocchiclient upper constraint updated to 7.0.7,
and that broke neutron rally jobs as 7.0.7 is blacklisted
in requirements, in order to fix it let's update the
requirement.

+ temporary turn off several ci jobs to unblock merging and fix ci issues
  one by one

[1] https://review.opendev.org/q/If661968a583555ef061e58be8538b12b141e7359

Closes-Bug: #1980055
Change-Id: I853795f4d19b8a6800c77a06ec90d707923ac655
2022-07-01 10:32:59 +00:00
Zuul
1c470d56f4 Merge "fix use cinder "update_volume_type() got an unexpected keyword argument 'name' "" 2022-01-26 13:03:45 +00:00
alexv
38ab09ccbe fix use cinder "update_volume_type() got an unexpected keyword argument 'name' "
Change-Id: Ie11b428e69c7a4208652d90addbc33b9792e9250
2022-01-26 07:05:55 +00:00
Zuul
49bac4bbc3 Merge "Fix exec of cloud-init at CreateShareAndAccessFromVM" 2022-01-25 19:01:56 +00:00
Asma Syed Hameed
ac4df967f9 Fix exec of cloud-init at CreateShareAndAccessFromVM
This patch fixes the permission for running the cloud-init status -w command in
ManilaShares.create_share_and_access_from_vm scenario

Closes-Bug: #1957763
Change-Id: I1ee65073031558b4c6f3b989e8e8c99f5df2c096
2022-01-25 15:34:53 +00:00
Thomas Goirand
e05e3dd0b0 Use resolvectl, not systemd-resolve
As per:
https://bugs.debian.org/990495

systemd-resolve is deprecated and replaced by resolvectl. Let's
fix this, as no modern distribution should be using the old version.

Change-Id: I3852da0866d988a571a88d070d5410eb158d2688
2022-01-20 16:58:49 +00:00
Andrey Kurilin
6c48e16724 [ci] run unittests at py3.9 env
+ temporary turn off task-simple-job to unblock gates

Change-Id: If840fdd707ecc3dc3bc877a90cbbe8e91f3c9a80
2022-01-20 14:10:10 +02:00
Zuul
d7b091728b Merge "Multiple fixes for CI" 2021-12-15 14:46:57 +00:00
Andrey Kurilin
db87d7f218 Multiple fixes for CI
Change-Id: I7e64ae2bf955cb2b9c66b7466b155f07b402bd24
2021-12-15 14:18:24 +02:00
Tadas
26d4b94dd8 Add sg rules with ipv6 ethertype.
This allows test Rally vm scenario with dual-stack or IPv6 address only. 

Change-Id: I38b8ee71ff5bb054fef2c48031ab7a0de475f5ab
2021-11-30 18:46:29 +00:00