Commit Graph

16608 Commits

Author SHA1 Message Date
Zuul 93d8476528 Merge "Fix the display of 'None' in the Volumes table" 2024-06-07 20:28:35 +00:00
Zuul 08e99a2057 Merge "pytest-based UI tests add basic browse test" 2024-06-07 19:38:03 +00:00
Zuul 4d1dc1cffc Merge "pytest-based selenium tests add tests stability improvements" 2024-06-07 19:33:21 +00:00
Zuul c0d558c65f Merge "pytest-based selenium tests add clarification of RC file naming" 2024-06-06 00:55:49 +00:00
Zuul cf7e0a62c8 Merge "Allow port_get to fail when listing all floating ips" 2024-06-05 18:25:42 +00:00
AgnesNM 13722c202b Fix the display of 'None' in the Volumes table
The 'Attached To' column in the Volumes table was inconsistent with
    the rest of the columns in that it did not display anything when a
    particular volume was not attached to any instances.

    This change results in displaying the status of 'None' on the
    'Attached To' column as a dash[-].

    The status is 'None' when a particular volume is not attached to any
    instance.

    Closes-Bug: #1743226

Change-Id: Ife6221351c02b222b326b06cb45c685bd3cffbdf
2024-06-05 15:08:59 +03:00
Jan Jasek 73ac7b161e pytest-based selenium tests add fix instance deleted assertion
During deleting, instance have interphases like task=deleting
or status=deleted. During the test assertion can happen that
instance is still correctly in the deleting process but the
test fail because of expectation is that instance from sdk is
None

Change-Id: Ic11b6d23aac2cfb309f4ca23b137bb3458154935
2024-05-31 14:37:01 +02:00
Jan Jasek 3804e8e21f pytest-based selenium tests add clarification of RC file naming
Change-Id: I22be4b7cda5795effc698ee8853e466324a579d5
2024-05-16 11:42:39 +02:00
Jan Jasek 0d6cad000a pytest-based selenium tests add tests stability improvements
Change-Id: I326048c7b952c34e65c398904ff3d2a94a81ac4a
2024-05-14 10:59:23 +02:00
Takashi Kajinami 47823cce7c Remove deprecated exceptions.check_message
It was deprecated 5 years ago[1] and has been kept for enough long
time.

[1] 31f7fc6bb2

Change-Id: Ie80b418c3eee3212006124be1eb4ee9f831f3d1d
2024-05-08 19:27:42 +09:00
Zuul 116bd8ccdf Merge "reno: Update master for unmaintained/zed" 2024-05-06 18:29:38 +00:00
Zuul bda406a86c Merge "Drop pymongo from requirements" 2024-05-02 05:32:33 +00:00
Zuul 058815d1f5 Merge "Sanitize data for CSV generation" 2024-05-01 16:15:17 +00:00
Zuul 64eddcd3f5 Merge "Remove old excludes" 2024-05-01 05:43:47 +00:00
OpenStack Release Bot 20e7a04696 reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: I294b6c809f2e9e1d874fd2b3813f135a9caf24a4
2024-04-30 17:56:20 +00:00
Takashi Kajinami 1332c62779 Drop pymongo from requirements
The pymongo library is required only when profiler middleware is
enabled. The middleware is meant for development (The module path
contains developer) and is not for production.

Also it's not directly imported but used via osprofiler. In case
a different backend is used in osprofiler then the library is not at
all used. Users should install the appropriate library according to
the backend actually used, based on the extra dependencies of
osprofiler.

Change-Id: I1258a3e3c86c98a3b35ee413ae113f1eb7dcf00b
2024-04-30 21:14:17 +09:00
Takashi Kajinami a4e31aa9e4 Remove old excludes
These are detected as errors since the clean up was done[1] in
the requirements repository.

[1] 314734e938f107cbd5ebcc7af4d9167c11347406

Also remove the note about old pip's behavior because resolver in
recent pip does not require specific order.

Change-Id: Ic8a34616a5723517cad880da3d9b75d03808c265
2024-04-30 18:04:43 +09:00
Zuul ab99d768ff Merge "Respect SSL settings in placement API" 2024-04-30 06:52:54 +00:00
Zuul 35cbc79da5 Merge "pytest-based selenium tests switch zuul job to voting" 2024-04-23 22:23:06 +00:00
Zuul df14d4e997 Merge "Imported Translations from Zanata" 2024-04-19 13:52:07 +00:00
Radomir Dopieralski 14212342cf Respect SSL settings in placement API
Make the placement API client respect the OPENSTACK_SSL_NO_VERIFY and
OPENSTACK_SSL_CACERT configuration options, so that it can work properly
in TLS-everywhere deployments.

Change-Id: Id0bb085bdf411eef240c3d50da56016c0a1d075c
2024-04-19 15:36:08 +02:00
Jan Jasek 250ef34135 pytest-based selenium tests switch zuul job to voting
Change-Id: Idcb18f53301e9cd7e0bb47540a749f38c1d9f626
2024-04-19 09:58:04 +02:00
OpenStack Proposal Bot fb4f41e256 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I72e2ceafef660101a1f3d158ea72ca9440cca980
2024-04-19 04:51:10 +00:00
Zuul 793b8af149 Merge "Fix Users/Groups tab list when a domain context is set" 2024-04-19 04:08:45 +00:00
Zuul 3f1f1d46e6 Merge "pytest-based integration tests:add instances tests" 2024-04-09 17:33:32 +00:00
Jan Jasek dd025dbc38 pytest-based UI tests add basic browse test
test_browse_left_panel

Change-Id: If61c988523f56e6cec1248cae7dba6c705784e97
2024-04-09 12:16:39 +02:00
Zuul 3092faf720 Merge "pytest-based selenium tests : Add non-voting pytest-ui job" 2024-04-08 22:58:11 +00:00
David Hill f20d18637e Allow port_get to fail when listing all floating ips
Allow port_get to fail when listing all floating ips as not all users
are allowed to get ports from all other users such as admin.

Change-Id: Ieeddc2451adb79405fe3ac72fdf5900ca7c5f628
2024-04-08 11:27:04 +02:00
Ashish Gupta 1cf5168926 pytest-based integration tests:add instances tests
Added following test cases :
- test_instances_pagination_and_filtration_demo
- test_instances_pagination_and_filtration_admin
- test_filter_instances_demo
- test_filter_instances_admin

Change-Id: I66a2ba7b9a0841818c8b2676625d18cb3b290451
2024-04-08 09:17:23 +00:00
Ashish Gupta 88c6fd0dfb pytest-based selenium tests : Add non-voting pytest-ui job
This patch adds a non-voting zuul job for pytest-based UI tests

Change-Id: Iaea9604e99df0db520c8a4358fcefb91e9ab7064
2024-04-08 06:48:55 +00:00
Zuul 7b0bea46f9 Merge "pytest-based UI tests add vCPU pCPU test" 2024-04-05 02:33:23 +00:00
Zuul a09823080c Merge "Don't pass the auth_key for volume transfer in the URL" 2024-04-04 23:08:50 +00:00
Zuul dcb4fbc023 Merge "pytest-based UI tests fix auth and user data" 2024-04-04 22:00:32 +00:00
Jan Jasek d0c8167413 pytest-based UI tests add vCPU pCPU test
test_vcpu_pcpu_data_display

Change-Id: Ic0310e6a2721aeef4d6cfcb1a06abf8f6e781ca7
2024-04-04 14:47:53 +02:00
Zuul f90a202e2a Merge "pytest-based integration tests:add images tests" 2024-03-28 20:02:58 +00:00
AgnesNM 04d6edb38a Include compound sorting information in docs
Compound sorting is an existing feature on the Horizon dashboard.
    It is not obvious, however.
    This change should bring this feature to the attention of users.
    It should also guide users into how to use the feature when sorting.
    Horizon DataTables.

    DocImpact
    Closes-Bug: #1287418
    Implements: compound sorting

Change-Id: I810e863e01ca54f6751e1608e99ce97833597aff
2024-03-28 19:45:25 +03:00
Ashish Gupta b5a160a1cc pytest-based integration tests:add images tests
Added the following tests:
- test_update_image_metadata_admin
- test_launch_instance_from_image_admin
- test_create_volume_from_image_admin

Change-Id: I5dd18e97593c1b2cb9634d4e448403d3f895ee5d
2024-03-27 15:37:48 +05:30
Jan Jasek 54e4f83e75 pytest-based UI tests fix auth and user data
Change-Id: Ie550184c3b1d74146ad685507cf1a220e9074ded
2024-03-26 13:58:00 +01:00
Zuul 32acd8371d Merge "pytest-based UI tests add help page and theme tests" 2024-03-26 12:03:21 +00:00
Radomir Dopieralski ccef197e03 Don't pass the auth_key for volume transfer in the URL
Instead we pass it as data in the POST request.

Closes-Bug: #2048493

Change-Id: I9085eb146b8f013909f6369b731c076aba3216ab
2024-03-26 10:52:33 +01:00
Tatiana Ovchinnikova c6bba842af Sanitize data for CSV generation
CSV generation is not fully sanitized to prevent CSV injection.
According to https://owasp.org/www-community/attacks/CSV_Injection,
we have to use the following sanitization:
 - Wrap each cell field in double quotes
 - Prepend each cell field with a single quote
 - Escape every double quote using an additional double quote

The patch https://review.opendev.org/c/openstack/horizon/+/679161
takes care of the double quotes. This patch adds a single quote to
the cell fields beginning with specific characters, so their content
will be read by a spreadsheet editor as text, not a formula.

Closes-Bug: #2048106

Change-Id: I882fe376613ff1dc13a61f38b59d2a2567dbba7d
2024-03-25 12:08:00 -05:00
Zuul 80d7af9783 Merge "Imported Translations from Zanata" 2024-03-25 15:34:44 +00:00
OpenStack Proposal Bot 10e45042f4 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I127d33c4df59da7dac2b22f2dce132cfc32b9a3a
2024-03-22 03:54:17 +00:00
OpenStack Release Bot 58c987dbc8 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.

Sem-Ver: feature
Change-Id: Ifef27c7828301a8d726442dd759c7e867e172724
2024-03-21 10:08:39 +00:00
Jan Jasek cf51415b0f pytest-based UI tests add help page and theme tests
test_dashboard_help_redirection
test_switch_to_material_theme

Change-Id: Ia6611ff1aae26234c56921e9e70d7ff4c0bacfa8
2024-03-19 14:40:11 +01:00
Rodrigo Barbieri da8e959298 Fix error on changing user password by admin
Previous change I8438bedaf7cead452fc499e484d23690b48894d9
attempted to address bug LP#1728031 by improving upon
patch https://review.opendev.org/854005 but missed the
line that allows the keystone client to properly
authenticate a cloud admin user that IS NOT in the
default domain.

Without this 1-line fix, a cloud admin that is not
in the default domain will face an "incorrect admin
password" error in the UI (despite the admin password
being correct) and an authentication error in the logs,
regardless of the endpoint type used (adminURL,
internalURL or publicURL).

Closes-bug: #1728031
Change-Id: I018e7d9cb84fd6ce8635c9054e15052ded7e9368
2024-03-14 15:58:43 -03:00
Zuul 3d9855eebb Merge "Sync default policy rules" 2024-03-13 17:18:28 +00:00
Takashi Kajinami 1f73912ecc Update regex to detect closed branch
... based on the change made in reno recently[1].

[1] https://review.opendev.org/c/openstack/reno/+/910547

Change-Id: Ia718d8e92ed75c368d2f2da3aa0b5b865098b7ce
2024-03-13 19:25:18 +09:00
manchandavishal 712dbd26d1 Sync default policy rules
This patch updates default policy-in-code rules in horizon based on
nova/neutron/cinder/keystone RC deliverables. It doesn't update policy
rules for glance as I have found no changes in their policy rules.
Horizon needs to update default policy-in-code rules for all backend
services before releasing the horizon[1].

[1] https://docs.openstack.org/horizon/latest/contributor/policies/releasing.html#things-to-do-before-releasing

Change-Id: I7437b3a46377c18f026db103237b4d107dc787cb
2024-03-12 04:43:48 +00:00
Zhang Hua ed768ab507 Fix Users/Groups tab list when a domain context is set
The list of users assigned to a project becomes invisible when a domain context
is set in Horizon. If a domain context is set, the user list call should
provide a list of users within the specified domain context, rather than users
within the user's own domain.

Groups tab of project also has the same problem.

Change-Id: Ia778317acc41fe589765e6cd04c7fe8cad2360ab
Closes-Bug: #2054799
2024-03-12 12:02:45 +08:00