16568 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
5e6b36f736 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Idf9900174a7f95d2f95183ffc80a3c1a802a7338
2024-08-28 02:56:30 +00:00
Radomir Dopieralski
dcaf0cc51f 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
(cherry picked from commit 14212342cf8f7eb987e50de112958af31063e02e)
2024-04-30 10:16:28 +00:00
Zuul
3fce540179 Merge "Fix Users/Groups tab list when a domain context is set" into stable/2024.1 2024-04-24 12:51:31 +00:00
Zhang Hua
4936fec3a7 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
(cherry picked from commit ed768ab5071307ee15f95636ea548050cb894f9e)
2024-04-19 08:19:56 +00:00
OpenStack Proposal Bot
597b37c624 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I11df151e39052d900337fd54b219db3a74dd9a58
2024-04-19 04:14:06 +00:00
e415e8dad6 Update TOX_CONSTRAINTS_FILE for stable/2024.1
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.

Until the requirements repository has as stable/2024.1 branch, tests will
continue to use the upper-constraints list on master.

Change-Id: I15437e50e1bbb27d5890da677f76a80442b6ae5a
2024-03-21 10:08:36 +00:00
5968e7d8ec Update .gitreview for stable/2024.1
Change-Id: I33085718ffb6f4483f8f3995bf45387ec23c2846
2024-03-21 10:08:32 +00:00
Zuul
3d9855eebb Merge "Sync default policy rules" 24.0.0 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
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
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
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
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] 39f28ad5edacc31575d1de4971de56d765567b58
[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