* Update horizon from branch 'master'
to a09823080cd93880da7549a11b880a7eae055a4e
- Merge "Don't pass the auth_key for volume transfer in the URL"
- 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
* Update horizon from branch 'master'
to dcb4fbc023b01149fb98122c102e701492325b50
- Merge "pytest-based UI tests fix auth and user data"
- pytest-based UI tests fix auth and user data
Change-Id: Ie550184c3b1d74146ad685507cf1a220e9074ded
* Update horizon from branch 'master'
to 04d6edb38a5382e90b6f3071492ea1b1f6387f3f
- 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
* Update horizon from branch 'master'
to 80d7af9783910eee38f666db27e0f8121f3bcb56
- Merge "Imported Translations from Zanata"
- 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
* Update horizon from branch 'master'
to 58c987dbc895a36d70b484aadff05cee48a55186
- 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
* Update horizon from branch 'master'
to da8e959298575127434e6e15aae5d1f0638a6e22
- 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
* Update horizon from branch 'master'
to 3d9855eebb5fc7d88dda34ac97be2b85155bb38e
- Merge "Sync default policy rules"
- 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
* Update horizon from branch 'master'
to 1f73912ecccb8b58523473575a4d61e7188d8107
- 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
* Update horizon from branch 'master'
to 6867ae7df46d7d6c8f6d40f6a507957101fae8d4
- Merge "reno: Update master for unmaintained/wallaby"
- reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.
Change-Id: Ia5e285cfa58fbf8be4db828e24eba7616dcacd51
* Update horizon from branch 'master'
to a9d0d0777f8b9e6c5428c6d1c6f820b7d405e593
- Merge "reno: Update master for unmaintained/victoria"
- reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.
Change-Id: I655c1cc8751d53b9d49a64337c2d487a3bfd0e56
* Update horizon from branch 'master'
to 82a514948c32cdd75555e2d8df76b88fb4966eb5
- Merge "reno: Update master for unmaintained/xena"
- reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.
Change-Id: Ic73481b0b283f6976dfebcbcafc617622417eb10
* Update horizon from branch 'master'
to e7d800532125b5b8a5b1b4a3a2dace6033ee4575
- Merge "Add a setting for disabling dhcp agents column in the admin network view"
- 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
* Update horizon from branch 'master'
to 061380cba716cd9183cc708be074280a43914231
- Merge "fix: ignore errors when flavors are deleted"
- fix: ignore errors when flavors are deleted
The code used to list flavors when in the admin
or project side was not consistent and raised
alerts if viewing in the admin side but not in the
project side.
This patch moves their behaviour to be consistent
and refactors the code to use the same code-base.
Closes-Bug: #2042362
Change-Id: I37cc02102285b1e83ec1343b710a57fb5ac4ba15
* Update horizon from branch 'master'
to 2b03b44f3adeea7e7a8aaab7777cccfa00614301
- Merge "Properly set session value for services_region"
- 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>
* Update horizon from branch 'master'
to e8719ca29ebc019d87fee629fc05bd8e8c807f01
- Merge "Add user login mocking to the pytest UI tests"
- Add user login mocking to the pytest UI tests
This way we can run the tests in any order.
Change-Id: Ifdc89b650540cc632f7c6ec2005a429b89a5b9f0
* Update horizon from branch 'master'
to ba9a3183594dc0556f3bf04ca4e913dac67863bb
- Merge "Fixing Incorrect URL when browsing Swift containers"
- Fixing Incorrect URL when browsing Swift containers
This patch fixes a bug identified in the code that generates the URL for
the Swift container object. The bug caused the forward slashes (/) in the
folder parameter to be encoded as %2F instead of being included as '/' in the
resulting URL.
To resolve this issue, the code has been updated by adding a replace() method
to replace the %2F sequences with forward slashes. The updated code ensures
that the URL generated for the folder parameter contains the correct forward
slash (/) representation.
Closes-Bug: #2009724
Signed-off-by: jeremy-boyle <jeremyboylet@gmail.com>
Change-Id: I5837e74ddcc71cda6b4686e586dbb8b1386a9cd3
* Update horizon from branch 'master'
to 590632cf5cd44e929f9e809b75bfa1813397d61c
- Merge "Extend configurable skippability of neutron calls to project instance detail"
- 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
* Update horizon from branch 'master'
to fec8da0c44b53a5e57738ed3f5a0c26f0091ef94
- Merge "reno: Update master for unmaintained/yoga"
- reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: I05996201a0b513b348c81b7facb52126367426a9
* Update horizon from branch 'master'
to 36dfe1f1563a49d3893497f6481e981a28238a61
- 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
* Update horizon from branch 'master'
to b83691224b5e070a42547e90749a41ee8ec0b6db
- 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
* Update horizon from branch 'master'
to 7af2dc32d8cfa88c1ded05ba7105a032f1a66c0b
- Merge "Drop logic for django < 4.0"
- Drop logic for django < 4.0
... because django 3.2 support has been removed.
Change-Id: Ifc25a2018ad956f4db6f21a7918878ca9eea850a
* Update horizon from branch 'master'
to 8a3006756d09a39d9588336b0067cbbdca76bc38
- Merge "Remove workaround for old django-pyscss"
- 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
* Update horizon from branch 'master'
to 4e8faebebf359fb8327a3f704f062435edb6923f
- Merge "Drop import for old horizon versions"
- 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
* Update horizon from branch 'master'
to ba2b5fe7845a09f7544044db1cdefafe83a1a106
- Merge "pytest-based selenium tests add volume manage attachments test"
- 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
* Update horizon from branch 'master'
to 1966d5ce82cd154ed984c4bcbdf1c119ffba47a0
- Merge "Remove quota checks from admin network dashboards"
- Remove quota checks from admin network dashboards
Remove the checks for quota for network, subnetwork, and port create
actions in the admin dashboards. While the checks are a nice feature
in the project daashboard, where they result in only one call, because
only one tenant needs to be checked, on the admin dashboard those
checks are too expensive — there is one for every tenant that has a
network. This is unacceptable on clouds that have hundreds of tenants,
and in addition it exhausts the default limit for memoization (25),
resulting in many other extra calls.
The effect of this is that the create action will no longer be grayed
out when the given user runs out of quota. This doesn't matter for the
admin user. If they try to perform the action, they will get a quota
error anyways.
This patch should significantly speed up the admin dashboards on large
clouds with a lot of tenants.
Change-Id: I67447bad868f29022c5247c2193ec804dc2a0518
* Update horizon from branch 'master'
to d42e40ab30ee10b37272e329f1251c29b4312228
- Merge "Drop Django 3.2 support"
- 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
* Update horizon from branch 'master'
to 358038f60712e738d3eff80a924432e9ddf90ecd
- 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
* Update horizon from branch 'master'
to 9395b8da1e15dd537ce58f2fd6aa1216067a0aae
- Merge "Make "horizon-tox-python3-django42" job voting"
- 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
* Update horizon from branch 'master'
to 53a73714ffd669b322705b20e078bb2609329187
- Merge "Add allocation ratios to Placement stats"
- 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
* Update horizon from branch 'master'
to 1ea7c827f625719b0fb0e3d2ea9b847beab58844
- 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
* Update horizon from branch 'master'
to 28dd7e3310693cf3e6a0a638bc0f76730d51c6b0
- 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
* Update horizon from branch 'master'
to 8f1b19599b07cb80175556979a13ef745441b791
- Merge "pytest-based selenium tests add fix recording issue"
- 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
* Update horizon from branch 'master'
to f735f146a401bc0dd818cb71798b27f242c85632
- Merge " Allow both Django 3.2 and 4.2 for smooth transition"
- Allow both Django 3.2 and 4.2 for smooth transition
This patch update django upper bound in the ``requirements.txt``
file. Once this patch got merged only then I can update upper
bound in ``upper-constraints.txt`` file in openstack/requirements
repo [1].
[1] https://review.opendev.org/c/openstack/requirements/+/904202
Change-Id: I186fd4e1cdcb7b16f6e4ec7de08bb1277aca34e3
* Update horizon from branch 'master'
to 10ed30ebd86448744bbc22d224499fdd190f9de7
- Drop Nodejs v18 job
As nodejs v20 job is passing in horizon and all horizon
plugins [1]. So we didn't require the nodejs v18 job.
This patch removes the nodejs v18 job definition from
``.zuul.d/nodejs-jobs.yaml`` and other nodejs v18 job
references.
[1] https://review.opendev.org/c/openstack/horizon/+/904934
Change-Id: I3a27799b4864c572a2ef7bf7477ea2b21eb8f395
* Update horizon from branch 'master'
to 108c8c204390dbf2d11cc1390123d1a46cb1964c
- Merge "Use Placement API along with the hypervisor stats"
- Use Placement API along with the hypervisor stats
Hypervisor stats do not reflect accurate VCPUs and PCPUs usage, so
to have a correct picture we need to use Placement API along with
hypervisors.
We add VCPUs and PCPUs usage diagrams and Resource Provider tab
to display correct stats.
Since there is no python client for the Placement API, and the
OpenStack SDK doesn't support the endpoints we need, we call the
endpoints directly.
Related-Bug: #1974470
Related-Bug: #1397917
Change-Id: If41cea0edeec8c95717229eb017e32898417a891