Commit Graph

16561 Commits

Author SHA1 Message Date
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
Ashish Gupta 6462d93ea3 pytest-based selenium tests add images tests
Added test_image_filtration_admin
      test_remove_protected_image_admin
      test_edit_image_description_admin

Change-Id: I375d2adcbc3d4e8af86519897a87c3b965228b65
2024-01-24 01:26:31 +05:30
Jan Jasek c505e30f2e pytest-based selenium tests add router set, clear gateway tests
test_router_set_gateway_demo
test_router_clear_gateway_demo

Change order of tests to reduce the number of logins

Change-Id: I6a1e53795a95938c877bb783fc4d0edb74445128
2024-01-19 18:10:03 +01:00
Zuul a77818d745 Merge "pytest-based selenium tests add volume actions tests" 2024-01-18 15:43:24 +00:00
Zuul 9df32b0d5f Merge "pytest-based selenium tests add project group, roles tests" 2024-01-18 12:07:12 +00:00
Tatiana Ovchinnikova 3acbf227a4 Add allocation ratios to Placement stats
All the Placement API stats "total" show the actual amount of the
resource that the provider can accommodate. Using allocation ratio
it is possible to exceed physical constraints.

This patch uses allocation ratios to display the diagrams properly
and adds the data to the stats table.

Closes-Bug: #1974470
Closes-Bug: #1397917

Change-Id: Iab0ce21ae63f4cc26d3ec5684615189b8ab35231
2024-01-17 21:00:32 +00:00
manchandavishal f36b95db4f Make "horizon-tox-python3-django42" job voting
horizon now supports Django 4.2 version. So
this patch make ""horizon-tox-python3-django42" job
as voting.

Change-Id: I09e50fdede1003fe9a94d129dffe03d224e52e50
2024-01-17 19:28:25 +05:30
OpenStack Proposal Bot 28dd7e3310 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I2aee7f3751eb1553793578c8762439571406e42b
2024-01-14 05:38:23 +00:00
Zuul 8f1b19599b Merge "pytest-based selenium tests add fix recording issue" 2024-01-11 12:04:13 +00:00
Jan Jasek df857b7f69 pytest-based selenium tests add fix recording issue
When tests are very short and passed (they do not wait for any element).
Specifically: test_user_login, test_admin_login.
The action in UI (login and check the homepage) is super quick (0.5s-1s).
So the video is not even created - we do not need to clean it up.

Change-Id: Id8433842247258f472fa3951fcdfa2b0e78ae781
2024-01-11 09:06:20 +01:00