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
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
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
Without this change, Project -> Network -> Security Groups -> Create Security Group - form without cancel button
Change-Id: Ied841539d2b5af4e53dcc558756c27b61dfec55c
Fix the usage which was overlooked in the previous attempt to fix
the error[1].
[1] 3ab66494ba56afb912de9586ad36533140837ec6
Related-Bug: #2089557
Change-Id: Ia3747d7033adfa065b1737ff73d0d0e37fc60ea5
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
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
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
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
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
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
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
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
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
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
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
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
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
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