Commit Graph

16570 Commits

Author SHA1 Message Date
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
Zuul 32acd8371d Merge "pytest-based UI tests add help page and theme tests" 2024-03-26 12:03:21 +00: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
Zuul be825dfda8 Merge "pytest-based selenium tests add images tests" 2024-03-11 15:53:18 +00:00
Zuul 6867ae7df4 Merge "reno: Update master for unmaintained/wallaby" 2024-03-11 04:23:10 +00:00
Zuul a9d0d0777f Merge "reno: Update master for unmaintained/victoria" 2024-03-11 04:06:59 +00:00
Zuul 82a514948c Merge "reno: Update master for unmaintained/xena" 2024-03-11 04:04:57 +00:00
Zuul e7d8005321 Merge "Add a setting for disabling dhcp agents column in the admin network view" 2024-03-08 17:44:21 +00:00
OpenStack Release Bot 33ba5c8cb1 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Ic73481b0b283f6976dfebcbcafc617622417eb10
2024-03-07 15:52:44 +00:00
OpenStack Release Bot 572bbf728c reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: Ia5e285cfa58fbf8be4db828e24eba7616dcacd51
2024-03-07 15:52:22 +00:00
OpenStack Release Bot 3e1af674f1 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I655c1cc8751d53b9d49a64337c2d487a3bfd0e56
2024-03-07 15:51:57 +00:00
Zuul 061380cba7 Merge "fix: ignore errors when flavors are deleted" 2024-03-04 07:20:21 +00:00
Radomir Dopieralski 1ea4f4d76f Add a setting for disabling dhcp agents column in the admin network view
Retrieving that information for every network can take considerable time
on large deployments with large number of networks, and for some kinds
of network drivers (ovn binary) this will be always zero anyways.

This setting lets us disable that column to speed up the networks view.

Change-Id: I1f1561916067d3f4a02f10ec9f62e8ba777a1501
2024-02-22 17:36:12 +01:00
Zuul 2b03b44f3a Merge "Properly set session value for services_region" 2024-02-20 13:07:34 +00:00
Zuul e8719ca29e Merge "Add user login mocking to the pytest UI tests" 2024-02-20 07:12:32 +00:00
Zuul ba9a318359 Merge "Fixing Incorrect URL when browsing Swift containers" 2024-02-19 14:36:16 +00:00
Gabriel Adrian Samfira 66b5713296 Properly set session value for services_region
Currently, the value stored in the services_region cookie is ignored
when logging into horizon. This causes confusion for users that have
previously selected one region, to find themselves in a different
region after their token expires and are forced to log in again.

This change sets the services_region session value to the value present
in the cookie, with a fallback to the login region.

Closes-bug: #2040455

Change-Id: I051648844bf8dffce792ff553e9949285b1be6d4
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2024-02-19 12:52:01 +00:00
Zuul 590632cf5c Merge "Extend configurable skippability of neutron calls to project instance detail" 2024-02-13 14:46:03 +00:00
Radomir Dopieralski d2af1e6e1a Add user login mocking to the pytest UI tests
This way we can run the tests in any order.

Change-Id: Ifdc89b650540cc632f7c6ec2005a429b89a5b9f0
2024-02-13 15:04:26 +01:00
Zuul fec8da0c44 Merge "reno: Update master for unmaintained/yoga" 2024-02-12 04:29:31 +00:00
OpenStack Proposal Bot 36dfe1f156 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I120b9d824ebf57faff5e37ca47c6cf008ce98e43
2024-02-10 04:24:16 +00:00
OpenStack Proposal Bot b83691224b Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I6525a7b82e9e8a59e8dffac1a9c1f43a95ec2e9f
2024-02-09 04:44:16 +00:00
OpenStack Release Bot bf7f6f5549 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I05996201a0b513b348c81b7facb52126367426a9
2024-02-08 15:06:14 +00:00
Zuul 7af2dc32d8 Merge "Drop logic for django < 4.0" 2024-02-07 17:21:41 +00:00
Zuul 8a3006756d Merge "Remove workaround for old django-pyscss" 2024-02-07 17:21:38 +00:00
Zuul 4e8faebebf Merge "Drop import for old horizon versions" 2024-02-07 16:50:19 +00:00
Zuul ba2b5fe784 Merge "pytest-based selenium tests add volume manage attachments test" 2024-02-06 16:58:44 +00:00
Zuul 2445c54ad4 Merge "pytest-based selenium tests add router set, clear gateway tests" 2024-02-06 16:58:41 +00:00
Jan Jasek 485724209c pytest-based selenium tests add volume manage attachments test
test_manage_volume_attachments

Increase wait_for_steady_state_of_volume. Attach/detach can
take quite a long time.

Add wait_for_steady_state_of_volume into the extend_volume
test to wait until extending is done before checking size via SDK.

Change-Id: Ie3b9cf74e7c0a2ffcc3c9bbed1b4d45a84545e8f
2024-02-06 11:01:56 +01:00
Zuul 1966d5ce82 Merge "Remove quota checks from admin network dashboards" 2024-02-06 09:13:12 +00:00
Takashi Kajinami c8417cc8e6 Drop import for old horizon versions
These imports were kept to keep compatibility between separate
django-openstack-auth and horizon, but is no longer necessary since
horizon adopted to the new path and also django-openstack-auth was
merged into horizon very long ago.

Change-Id: I12dc4d585352477fded1aa96e8f712242849f843
2024-02-05 16:11:05 +09:00
Takashi Kajinami 05eaa7de4c Drop logic for django < 4.0
... because django 3.2 support has been removed.

Change-Id: Ifc25a2018ad956f4db6f21a7918878ca9eea850a
2024-02-02 03:24:04 +09:00
Takashi Kajinami bced896d37 Remove workaround for old django-pyscss
This reverts the change[1] made earlier to workaround the issue caused
by usage of vendored version of six library in the django-pyscss
library.

The django-pyscss library no longer imports the vendored version of
six, since 2.0.3[2].

[1] 39f28ad5ed
[2] 1499332e1d

Change-Id: I22802b75d6a8d8f35930709e89d64dd65982cef0
2024-02-02 03:23:43 +09:00
Zuul d42e40ab30 Merge "Drop Django 3.2 support" 2024-02-01 17:36:37 +00:00
OpenStack Proposal Bot 358038f607 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I7720d4e3aaf42d46cd9f8fee57003abb62886332
2024-02-01 05:10:27 +00:00
manchandavishal 605a515ebc Drop Django 3.2 support
Django 3.2 support was dropped. Django 3.2 ends its extended support
in April 2024[1]. Considering this, horizon dropped Django 3.2 support
and used Django 4.2 as the default version of Django. It also updates
some references to Django 4.2 from Django 3.2 in the documentation.

[1] https://www.djangoproject.com/download/

Change-Id: I9fff310c5433cf96cdf0a2cd81d11a96c2a4a55b
2024-01-30 17:01:51 +05:30
Zuul 9395b8da1e Merge "Make "horizon-tox-python3-django42" job voting" 2024-01-30 07:39:03 +00:00
Zuul 53a73714ff Merge "Add allocation ratios to Placement stats" 2024-01-29 20:48:37 +00:00
Rodrigo Barbieri 95089025fd Extend configurable skippability of neutron calls to project instance detail
The OPENSTACK_INSTANCE_RETRIEVE_IP_ADDRESSES config aids
in envs struggling to load the instance list due to having
too many ports or bad neutron plugin performance. However,
the config does not apply its effect to the instance detail
page, which cannot be loaded due to the neutron calls
taking too long.

This patch extends the config option to the instance
detail page, allowing the same benefit (and side-effects)
of the instance list page.

Related-bug: #2045168
Change-Id: I3e71a208a1c7212e168d63a259f2adddf27dbabf
2024-01-29 15:11:33 +00:00
Takashi Kajinami 1ea7c827f6 bandit: Install baseline extra
Since bandit 1.7.7[1] we have to install the baseline extra to use
bandit-baseline.

[1] 22c75a8306

Change-Id: I3eda10d6dd5244c1075c576f24a5a024f7e50afd
2024-01-29 22:46:33 +09:00
Zuul 3d1a8bff20 Merge "pytest-based selenium tests add metadata definitions namespace tests" 2024-01-23 21:51:10 +00:00