3997 Commits

Author SHA1 Message Date
Zuul
7dcf84aa10 Merge "Fix Bindings renderring for admin" 2025-04-23 17:28:22 +00:00
Zuul
e059c521c3 Merge "VCPU, PCPU replaced to vCPU, pCPU" 2025-04-07 14:48:11 +00:00
Zuul
94042a5499 Merge "Enabling Provider Network Tab" 2025-04-07 13:53:10 +00:00
David Hill
1221d35a56 Fix internal server error if all volumes are in other projects
This addresses the situation where all volumes are in another project
and details can't be fetched.   Before this patch, horizon would return
an internal server error but with this patch, an error will be returned
instead .

Change-Id: Id0522c884700dc2d005a4a665256a8c5e63da741
Closes-bug: #1971143
2025-03-26 15:15:23 -04:00
Ivan Anfimov
be43e6c503 VCPU, PCPU replaced to vCPU, pCPU
Writing style of units of measurement has been updated to be more correct.

Change-Id: I3d438239c2cf775f1fafd08f4a3052c9b7daac27
2025-03-25 17:45:56 +00:00
Zuul
adad6d69e7 Merge "Fix for Cancel button in Create Security Group form" 2025-03-20 00:05:14 +00:00
Dmitriy Rabotyagov
da38df12ff Fix Bindings renderring for admin
With new neutronclient objects are immutable to changes, thus writing
down properties like binding__* does not work like expected.

In the meanwhile regular binding_* are available for ports and
populated properly by the client.

This patch switching to usage of such properties for the template only
to make the patch backportable. Further rehauwling and renaming
of properties is expected to be done in follow-up patches.

Closes-Bug: #2095150
Change-Id: I57cba985d427507a4177e9b919cfae0a8188395a
2025-03-19 22:43:48 +01:00
Dmitriy Chubinidze
e9cae2275e Enabling Provider Network Tab
Enabling back Provider Network Tab with network details
(Network Type, Physical Network, and Segmentation ID) which was missing
since 2024.1 version.

Change-Id: Ib3e288a0c2f0baa80db5bdcfe9bcd342de4e8657
Closes-Bug: #2102267
2025-03-18 13:40:52 +00:00
Ivan Anfimov
37e425c34c Fix for Cancel button in Create Security Group form
Without this change, Project -> Network -> Security Groups -> Create Security Group - form without cancel button

Change-Id: Ied841539d2b5af4e53dcc558756c27b61dfec55c
2025-03-16 10:14:55 +00:00
Ivan Anfimov
96c404010a Scheduler Hints - add missing phrases
Change-Id: If5941560c2ce07ea8df219736768a03f28b47835
Closes-Bug: #2100631
2025-02-28 20:20:23 +00:00
Zuul
1252f1c099 Merge "Size(GiB) - fix for forgotten space" 2025-02-27 23:15:16 +00:00
Ivan Anfimov
63780f4b76 Size(GiB) - fix for forgotten space
and fix few small mistakes

Change-Id: Ic8271dd179178bdf00478c0ce4949d653d8e75a4
2025-02-25 21:46:29 +00:00
Ivan Anfimov
923a37e913 Small fix with tags
closing tag got into translations

Change-Id: I3656f0c7cd25190188e276898169d7def5506658
2025-01-23 08:27:48 +00:00
Zuul
0d6da3e19c Merge "Fix the attribute to look up security group ids of a port (3)" 2025-01-10 19:42:42 +00:00
Takashi Kajinami
53bba73b5c Fix the attribute to look up security group ids of a port (3)
... to fix the "Edit Port" functionality.

Closes-Bug: #2092276
Change-Id: I815a558e87fef2474eed42cfb175b753ad61713a
2025-01-09 14:09:32 +00:00
Zuul
7baca03931 Merge "Fix the attribute to look up security group ids of a port (2)" 2025-01-08 11:59:49 +00:00
Zuul
21eceecbfb Merge "SDK for Neutron Routers" 2025-01-07 22:49:30 +00:00
Takashi Kajinami
c2cce40257 Fix the attribute to look up security group ids of a port (2)
Fix the usage which was overlooked in the previous attempt to fix
the error[1].

[1] 3ab66494ba56afb912de9586ad36533140837ec6

Related-Bug: #2089557
Change-Id: Ia3747d7033adfa065b1737ff73d0d0e37fc60ea5
2024-12-25 12:01:35 +09:00
Dmitriy Rabotyagov
2ec0177edc Use Python 3.12 for python3-django job
With migration from ubuntu jammy to noble, python3.11 is not available
anymore. This makes the job to fail on pre-install step.

So let's use Python 3.12 which is available out of the box on Noble
after switch.

This also bumps pylint version, as older one does not work
anymore with Python 3.12. New pylint brings quite some new
rules with it. Some were disabled, some were fixed within this
patch.

Change-Id: I4ba288966c582910e8a822d4531e29c9c005e48f
2024-12-01 21:48:52 +01:00
elajkat
1d00997f50 SDK for Neutron Routers
Related-Bug: #1999774
Change-Id: Ibf62d0a0305e27d0dbff375051fb31daf04fe549
2024-11-26 13:00:51 +01:00
Takashi Kajinami
179c2e3771 cinder: Use 'block-storage' service type to detect cinder
The official service type name for cinder is not volume (or volumevN)
but block-storage. Use the block-storage type to detect availability
of cinder, in addition to legacy volume/volumev3 service type.

'block-store' is also a valid alias and should be added as well.

Closes-Bug: #2084794
Change-Id: Ifbeaba033c6dae0fa704a2be568b2f4e2cb7426a
2024-10-17 14:55:22 -05:00
Zuul
b1fc4cb27c Merge "[TRIVIAL] Add comment about policy override for images>launch button" 2024-08-30 19:35:50 +00:00
elajkat
c7a6407330 SDK for Neutron ports
Related-Bug: #1999774
Change-Id: I4f7ab64ad5b6131fd868f2dd5de2410a6015918d
2024-08-28 17:09:46 +00:00
Tobias Urdin
c18f9d90ae Sort image source choices by name for volume
When creating a volume and selecting to use image as a
source we get a dropdown of the images that we can select
but this list is not sorted based on image name.

This changes so that it's sorted by the image name
ascending to match the instance launch dialog that
already lists images in ascending order by name.

Change-Id: I17212e460e307e08b2b6c2a8a68a14ffde8cc04b
2024-08-20 12:42:15 +00:00
Zuul
f713010976 Merge "Show Created At column for backups table" 2024-08-15 21:48:17 +00:00
Zuul
78d33c213f Merge "Fix allowed address pair row unique ID" 2024-08-15 09:13:43 +00:00
Zuul
64e10e1893 Merge "Fix floating IP associated to unbound port" 2024-08-14 23:13:42 +00:00
Zuul
f586090b92 Merge "Show availability zone for volume backups" 2024-08-14 22:10:30 +00:00
Zuul
83f8468c98 Merge "Add help text for edit instance form" 2024-08-12 18:35:32 +00:00
Zuul
d171cee383 Merge "Prevent KeyError when getting value of optional key" 2024-07-31 20:59:18 +00:00
Zuul
e3f83c0ef6 Merge "Test for displayed volumes without attachments" 2024-07-25 12:27:15 +00:00
MinhNLH2
fcce68a914 Prevent KeyError when getting value of optional key
Closes-Bug: #2066115
Change-Id: Ica10eb749b48410583cb34bfa2fda0433a26c664
Signed-off-by: MinhNLH2 <minh.nlh.work@gmail.com>
2024-07-23 01:58:02 +07:00
AgnesNM
4a4155d96c Test for displayed volumes without attachments
A test to check that the 'Attached To' column in the Volumes table
displays a dash [-] when a particular volume is not attached
to any instances.

Closes-Bug: #1743226

Change-Id: If1d8fe5102c4924a8fedbb265083dff00197f22e
2024-07-11 12:56:07 +03:00
Francesco Di Nucci
a70ba5525b feat: add floating IP address field under Project Dashboard
Add "Floating Ip Address (optional)" field to allow users to optionally
specify a floating IP address while Allocating Floating IP from Floating
Panel under Project Dashboard

Change-Id: I004e8ffebc464a9e1ef6858885a13fb2b1e8050e
2024-07-09 08:24:54 +02:00
Zuul
56f0e2685e Merge "SDK for Neutron networks and subnets" 2024-06-20 12:50:19 +00:00
elajkat
a2d84f10e0 SDK for Neutron networks and subnets
Depends-On: https://review.opendev.org/c/909656
Related-Bug: #1999774
Change-Id: Ic454dcb06b9efe2a4735637bd804d8a337c394cd
2024-06-14 15:51:05 +00:00
AgnesNM
13722c202b Fix the display of 'None' in the Volumes table
The 'Attached To' column in the Volumes table was inconsistent with
    the rest of the columns in that it did not display anything when a
    particular volume was not attached to any instances.

    This change results in displaying the status of 'None' on the
    'Attached To' column as a dash[-].

    The status is 'None' when a particular volume is not attached to any
    instance.

    Closes-Bug: #1743226

Change-Id: Ife6221351c02b222b326b06cb45c685bd3cffbdf
2024-06-05 15:08:59 +03:00
Tobias Urdin
0ffd5c7ae1 Show Created At column for backups table
The backups tables does not show the created_at
field today and to find the one you need by
date you need to open all backup to figure out
what date you want, this is not optimal since
the whole point of backups is to jump back to
a date as quick as possible.

Change-Id: Ie68e54d41b0ad919ecc468e162b4939eac3ae4b3
2024-04-26 21:03:38 +02:00
Tobias Urdin
dbdd376462 Show availability zone for volume backups
This adds availability zone fields to volume
backup tables.

Change-Id: I6bf7c3ef4f6d6b73a6fafcc9b7038ccc4782037f
2024-04-24 10:33:25 +02:00
flokots
55e9db6528 Add help text for edit instance form
This commit adds help text to the Edit Instance form to describe the
limitations of the text allowed in the name and description. The help text guides the maximum length for the instance name and description
and advises against using special characters or leading or trailing spaces. By providing this information, users will be better informed when modifying instance details, reducing the likelihood of
encountering errors.

Closes-Bug: #1981165
Change-Id: If8879c20b2842c3dd769e4cdef80834219c637cd
2024-04-02 22:30:25 +00:00
Radomir Dopieralski
ccef197e03 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
2024-03-26 10:52:33 +01:00
Zuul
061380cba7 Merge "fix: ignore errors when flavors are deleted" 2024-03-04 07:20:21 +00:00
Rodrigo Barbieri
3c0557d698 [TRIVIAL] Add comment about policy override for images>launch button
For some reason the policy rule name changes as it is processed and
becomes non-obvious what to set in the override file to alter the
policy for the images>launch button.

Change-Id: I1e843784a53801da98a9d384be0190fbb5bdfee2
2024-02-27 10:50:13 -03:00
Zuul
ba9a318359 Merge "Fixing Incorrect URL when browsing Swift containers" 2024-02-19 14:36:16 +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
jeremy-boyle
4aa347fe19 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
2024-01-05 10:09:13 +00:00
Tobias Urdin
53c82bbff7 Fix floating IP associated to unbound port
This fixes a bug where a floating IP associated to a
unbound port would now show the fixed IP of that port.

Closes-Bug: 2047132
Change-Id: I4fbbcc4c0509e74ce3c46fa55e006c5bc3837be3
2023-12-21 11:37:34 +01:00
okozachenko
aa21f4baa3 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
2023-11-02 01:27:40 +11:00
Akihiro Motoki
5c61331ff2 Django 4.2: Adjust instance detail template
The template for the instance detail overview uses Django template
filters to define a default value for metadata with an empty value.
This usage looks magic and does not work with Django 4.2.
It looks like this is an undocumented/unspecified behavior.
This commit changes it to use {% if %} template syntax instead of
depending on the unspcified behavior.

Closes-Bug: #2040129
Change-Id: Ida5b2a721f2657347c174e386d2e023dffd64b1b
2023-10-23 15:36:49 +09:00
Thomas Goirand
8770753fcc Specify transform=repr in assertQuerysetEqual()
Previously "repr" was automatically applied to "qs" argument of
assertQuerysetEqual() and most horizon unittest behaviors assume it.
It was deprecated in Django 3.2 and removed in Django 4.1. We need to
specify transform=repr explicitly to use the existing behavior.

[1] https://docs.djangoproject.com/en/3.2/topics/testing/tools/#django.test.TransactionTestCase.assertQuerysetEqual

Closes-Bug: #2038474
Change-Id: Ie7c7e9a1efc492889639e25509c8e614268c1d26
2023-10-23 14:24:49 +09:00