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
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
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>
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
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
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
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
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
Since bandit 1.7.7[1] we have to install the baseline extra to use
bandit-baseline.
[1] 22c75a8306
Change-Id: I3eda10d6dd5244c1075c576f24a5a024f7e50afd
test_router_set_gateway_demo
test_router_clear_gateway_demo
Change order of tests to reduce the number of logins
Change-Id: I6a1e53795a95938c877bb783fc4d0edb74445128
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
horizon now supports Django 4.2 version. So
this patch make ""horizon-tox-python3-django42" job
as voting.
Change-Id: I09e50fdede1003fe9a94d129dffe03d224e52e50
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