Commit Graph

12531 Commits

Author SHA1 Message Date
Zuul 1c3fc43c9d Merge "Deprecate import_image" 2024-04-24 16:10:44 +00:00
Zuul 790b8c82f6 Merge "Deprecate os_glance_reserved" 2024-04-24 09:10:09 +00:00
Martin Kopec ba5cb852b8 Fix str to str comparison in live migration test
The str to str comparison in the
test_server_connectivity_live_migration_compute uses a "<"
operation that does not work as intended. Let's fix that by using
the tempest module created for comparing string microversions.

Change-Id: Id6d18c93e8637d797404a62a23d3fcc61208fd4c
2024-04-18 13:23:29 +02:00
Takashi Kajinami 8512946216 Deprecate import_image
This option was added because of a known issue in WSGI mode[1] which
was fixed during Vicotria release. Now the latest tempest supports Zed
and later we can start removing the option.

[1] https://bugs.launchpad.net/glance/+bug/1888713

Change-Id: Id75c7f5846575fba7e2494bc3182ce65b0892c47
2024-04-13 00:17:39 +09:00
Takashi Kajinami 9fcc4a3ffb Deprecate os_glance_reserved
The os_glance_reserved option was added to support old releases without
namespace reservation. The feature was added in Wallaby[1] and all of
the current supported versions (Zed and later) all support the feature.

[1] https://docs.openstack.org/releasenotes/glance/wallaby.html#upgrade-notes

Change-Id: I626ac99cd8f206b202bce3e743e419af40248638
2024-04-13 00:07:11 +09:00
Zuul c0da6e843a Merge "[codespell] fix typos" 2024-04-08 19:40:11 +00:00
Zuul aeb9b13e93 Merge "Add scenario test: test instances with cinder volumes" 2024-04-05 21:16:02 +00:00
Rajesh Tailor a85bdb47ef [codespell] fix typos
This change fixes typos in tempest code, doc, zuul yaml
and tox.ini file, which are found by codespell.

Change-Id: I8051d979e28f7dbf532181f339cbef9cd7220c76
2024-04-02 12:12:32 +05:30
Zuul 8794025588 Merge "Allow tempest cleanup delete resources based on prefix" 2024-03-31 23:41:12 +00:00
Zuul 1e0f5649ee Merge "Replace deprecated os_adm" 2024-03-30 07:00:01 +00:00
Luigi Dino Tamagnone 9052dfcc85 Allow tempest cleanup delete resources based on prefix
A warning in command description of run cleanup first with dry-run
is added. The cleanup behavior is extended to allow users to delete
only resources if their name starts with a certain prefix.

Closes-Bug: #1945082
Change-Id: I65dfe051c891b3679538acec713e8616746c47f6
2024-03-29 20:14:15 +01:00
Zuul 1dfa07524d Merge "Remove deprecated alias of test decorators (1/2)" 2024-03-28 20:33:59 +00:00
Takashi Kajinami bd09940602 Replace deprecated os_adm
It was deprecated in tempest 16.1.0[1] in favor of os_admin.

[1] 8160d31e58

Change-Id: Ia5fab50e683c3c414401b635c30ce64b2ede5f6d
2024-03-28 11:58:34 +09:00
Takashi Kajinami 23fa0d2de2 Remove deprecated alias of test decorators (1/2)
These were deprecated during Pike cycle[1] and multiple cycles have
passed since then.

[1] cd36841ca2

Change-Id: I15929c6f2cd472ad96a6b7086ccb8ac81ccbe7c5
2024-03-28 11:40:47 +09:00
Zuul 06552014ea Merge "Remove deprecated [network] dns_server options" 2024-03-17 21:03:34 +00:00
jskunda d744598179 Add scenario test: test instances with cinder volumes
This patch adds a scenario test instances with cinder volumes launches
on all available compute nodes, up to CONF.compute.min_compute_nodes.
Also 1 additional configuration is added: volume_types_for_data_volume.

Also function for create and add security group to server is moved
to tempest/scenario/manager.py to avoid code duplication.

Change-Id: I346a9505bc942e66aedad2029215617d0918a885
2024-03-15 18:29:36 +01:00
lkuchlan dcbf502ba0 Test create a backup when latest incremental backup is deleted
This patch is uploaded, since there is a bug report, while
creating a volume backup when the latest incremental backup
is deleted.

Change-Id: I2f766c1e516ce0e1c490bfc1f9d4660ad51cff86
Related-Bug: #1703011
2024-03-10 06:46:44 +00:00
Zuul fa5e69d455 Merge "Add prefix to images created in *ImagesNegativeTest tests" 2024-03-06 03:46:00 +00:00
Abhishek Kekane 5636402787 Add coverage for caching image on remote node
Added test coverage to verify image is cached on remote glance
node as well.

Note: Removed potential race condtion logic where earlier we were
checking for image stays in queued state.

Depends-On: https://review.opendev.org/c/openstack/glance/+/900419
Change-Id: I866abe25e9c8204bcfb452dd2fac6181b6dfd7e0
2024-03-04 15:04:53 +00:00
Zuul 1b548f951f Merge "Add option to specify source and destination host" 2024-02-28 21:03:16 +00:00
Zuul 4b2c551687 Merge "cli auth: only inject project name if provided" 2024-02-28 19:30:06 +00:00
Zuul 89c86299c8 Merge "Change the parameter passed to the API call" 2024-02-26 22:13:21 +00:00
jskunda 5a7ed97b7f Add option to specify source and destination host
This patch adds new class of tests, in which it is possible to
specify source and destination host to migration.

Closes-Bug: #2028540
Change-Id: If07355464d1567c18bedbf07c479e61874ec2031
2024-02-24 22:34:55 +01:00
Yosi Ben Shimon bce267e799 Change the parameter passed to the API call
The args should be passed instead of kwargs
Reason:
args contains all the parameter computed in the method

Change-Id: I80fbc5a157f7e34d3b9ba6f05b54b38d65b143be
Signed-off-by: Yosi Ben Shimon <ybenshim@redhat.com>
2024-02-14 11:03:09 +02:00
Julia Kreger 41a06110b2 cli auth: only inject project name if provided
One can create and need to execute execute functional
tests which may operate with a different scope, i.e. without
a project name. This was not previously functional as the
tempest method would always inject a project name when
none was provided, which would then result in commands
being executed with "--os-project-name None" which would
result in the command failing.

Change-Id: Ieeed191addb277f0c39c7a11f1f77034915be7fc
2024-02-10 15:51:07 -08:00
Zuul 16131abab5 Merge "Add '--slowest' option to 'tempest run'" 2024-02-08 20:28:08 +00:00
Zuul b3bd274950 Merge "Use URIOpt for options taking URI/URL" 2024-02-08 13:36:44 +00:00
Zuul 6982a5cc82 Merge "Extend retry sleep after server fault" 2024-02-08 13:22:33 +00:00
Tianqi Xiao bb929fffe0 Add prefix to images created in *ImagesNegativeTest tests
Currently images created in *ImagesNegativeTest classes doesn't
use tempest prefix, just "test". This makes it hard to identify
tempest-created resources when performing cleanup. Adding prefix
to resolve the above mentioned issue.

Change-Id: Ied08c62b02e273edd5aa8a10e037eebb1f84ef85
2024-02-07 21:28:58 +00:00
Zuul 60a374b4fc Merge "General doc updates" 2024-01-31 19:45:30 +00:00
Martin Kopec d76178e682 General doc updates
Added missing doc, for example for serial tests, fixed 404 links,
spellings, formatting and etc

Change-Id: I07a8cf9508d3cba33bd04afdc301bb7145153d59
2024-01-31 09:00:16 +01:00
Zuul a605aff46d Merge "Clean up [identity-feature-enable] options for old releases" 2024-01-26 11:18:22 +00:00
Takashi Kajinami 0ed15dcc68 Use URIOpt for options taking URI/URL
... so that tempest can detect malformed values and give early feedback
to users.

note:
URIOpt was added in oslo.config 3.12, and the schemes argument was
added in oslo.config 3.18, so we don't have to bump the minimum version
of oslo.config from 5.2.0.

Change-Id: Ic6bddb061957bef8726a7c21e4eaa66ac471f01b
2024-01-24 19:20:21 +09:00
Zuul 566ac3faa3 Merge "Remove nova_cert option" 2024-01-24 08:01:23 +00:00
Takashi Kajinami 1ae8b1db41 Remove deprecated [network] dns_server options
This option was deprecated some years ago[1] because it was unused.
It hasn't been used since then, too, so we can remove it now.

[1] e027ea931c

Change-Id: Id965f4b141d6ba83d4f6280f8da1475e73860cb2
2024-01-24 02:04:46 +00:00
Zuul 10ec447fd7 Merge "Remove rdp_console option" 2024-01-23 22:22:42 +00:00
Takashi Kajinami 73005a1452 Clean up [identity-feature-enable] options for old releases
Project tags API and application credentials API are default features
since Queens and we can now assume these features are available when
identity v3 API is available. Becuase queens and older releases are no
longer supported by tempest, we can drop the options to enable tests
for these features.

Also, access rules for application credentials has been a default
feature since train so we can also assume this feature is available,
because train and older releases are no longer supported.

Change-Id: I138ac02f61c5a0a22ce0d5ad2d600a09166a4764
2024-01-23 03:39:36 +00:00
Takashi Kajinami 304f7d7134 Remove rdp_console option
This option was deprecated some years ago[1] because of lack of actual
implementation. RDP console is used by Hyper-V which is being retired
because WinStackers project has been retired, so no one may implement
the test cases.

[1] d5bda71259

Change-Id: I8effa01766e63645b7afb8a11dca061b3cce0334
2024-01-23 10:08:54 +09:00
Takashi Kajinami 74c19b3a57 Remove nova_cert option
The nova-cert service was removed from nova during Pike cycle[1] and is
no longer available since 16.0.0 release. Because Pike and older
releases are no longer supported, the option can be removed now.

[1] https://review.opendev.org/c/openstack/nova/+/459460

Change-Id: If520dc802bced4acfddd75a05a31dd83bc8c6354
2024-01-23 10:03:10 +09:00
Zuul f3a2437423 Merge "Document choices using oslo.config interface" 2024-01-22 21:39:06 +00:00
Zuul 1da7a33099 Merge "Remove [compute-feature-enabled] vnc_server_header" 2024-01-20 06:57:52 +00:00
Takashi Kajinami b9f775d6d0 Document choices using oslo.config interface
... instead of documenting these in descriptions, for better rendering
by oslo-config-generator.

Change-Id: If28db26eee59b9f7f62492d9df44c9bebbd34c28
2024-01-20 11:19:02 +09:00
Zuul 2921b3d3f4 Merge "Remove [compute-feature-enabled] block_migrate_cinder_iscsi" 2024-01-20 01:24:25 +00:00
Takashi Kajinami 4c73e54f94 Remove [compute-feature-enabled] vnc_server_header
This option was deprecated some years back[1], and has had no effect
since the 22.0.0 release.

[1] fd01d15d14

Change-Id: Ib2ac35eec958153e139f2fcfee05c2d6aeb56e81
2024-01-19 22:09:22 +00:00
Takashi Kajinami 019e04c6e1 Remove [compute-feature-enabled] block_migrate_cinder_iscsi
This option was removed a few years ago[1], and is no longer needed
after queens EOL, according to the commit message.

[1] 48fe99faf2

Change-Id: Ia3985fcdda570c5e0cd32bdd87abfabb0ff516ac
2024-01-20 00:53:43 +09:00
Zuul 01c2e2ff7e Merge "Add delete image from specific store API" 2024-01-09 21:34:38 +00:00
Zuul fb7af24895 Merge "Verify that instance can boot after volume retype with migration" 2024-01-07 17:01:59 +00:00
Dr. Jens Harbott 3101be67f1 Use lowercase names for swift/S3 containers
The cinder backup tests are currently failing with the swift s3api
backend because it is invalid for S3 to have uppercase letters in a
bucket name. Use all lowercase instead.

Change-Id: Ifa2f9779af102dc1faf6488332e14aadb8d29bc0
2024-01-04 12:20:34 +01:00
Maxim Sava bd9cbd35cc Add delete image from specific store API
This patch add delete image from specific store API as in doc [1] and
move create_stage function to image base class
[1] https://docs.openstack.org/api-ref/image/v2/#delete-image-from-store

Change-Id: Ifd07423b5ec3f10e7c21125f52b1ab9e5ed35467
2023-12-13 09:42:28 +02:00
Zuul ab3686d28d Merge "Pass resource_name_prefix from tests" 2023-12-11 12:40:47 +00:00