charm-openstack-dashboard:stable/2023.2

Last commit made on 2024-03-25
Get this branch:
git clone -b stable/2023.2 https://git.launchpad.net/charm-openstack-dashboard

Branch merges

Branch information

Name:
stable/2023.2
Repository:
lp:charm-openstack-dashboard

Recent commits

2f430d1... by Rodrigo Barbieri

Adjust haproxy timeout to intended values

Many years ago change Ida7949113594b9b859ab7b4ba8b2bb440bab6e7d
attempted to change the timeouts of haproxy but did not succeed,
as deployments were still using the values from the charm's
templates/haproxy.cfg file, being effectively set to 30 seconds
and causing timeouts (see bug). Additionally, the description
of the config options became inaccurate, stating the default to
be a value that they were really not.

This patch addresses the timeout value discrepancy, adjusting
to the original change's intended values.

Closes-bug: #2045168
Change-Id: I83405727b4a116ec6f47b61211bf8ef3d2d9fbd6
(cherry picked from commit 09c587116059319305b2a09cb393a084a52d1fc9)

45a86be... by Rodrigo Barbieri

Allow configure of OPENSTACK_INSTANCE_RETRIEVE_IP_ADDRESSES

If network calls to retrieve ports and floating IPs take too long,
then the project > instances page cannot be loaded. This config
allows disabling the network calls when loading the page with
minor side-effects, as a workaround to avoid downtime while other
performance optimizations can be done on the side to allow
the page the load so the workaround is no longer needed.

Closes-bug: #2051003
Related-bug: #2045168
Change-Id: Iedad6ef48cbe0b776594f4ad8276d3d713cd360c
(cherry picked from commit 6b93e9dd8713f41fd50242499cc5413c26780714)

a6c1b87... by Felipe Reyes

Run relation_set() in dashboard_relation_changed() on leader

The commit 484b7d8260 introduced a new relation that relies on an
application databag to exchange data, although only the leader can write
to it, and the original patch didn't guard the relation_set() call with
a is_leader(), this patch addresses that problem wich produces a hook
failure on follower units when openstack-dashboard is deployed in HA.

Closes-Bug: #2046257
Related-Bug: #2030094
Change-Id: I1930b0b96f65cb627f896db67dddc6370cf6a413
(cherry picked from commit 4d5581438ad216a0de69c0959e05e0b8a76bc9aa)

dec3e01... by Corey Bryant

Add local_settings.py template for Bobcat

This fixes issues found in testing with Django 4 in mantic.

ugettext_lazy was deprecated in Django 3.0 and removed in
Django 4.0. Switch to gettext_lazy.

Switch to PyMemcacheCache backend as the Django MemcachedCache
backend was removed in Django 4.1 in favor of the PyMemcacheCache
or PyLibMCCache backend. This depends on a new openstack-dashboard
package version that will be provided in an SRU for bug #2039225.

Closes-Bug: #2039226
Closes-Bug: #2039225
Change-Id: Ia8e4f6f5f50d58268e4c6fa80c9f9c65a56a26ea
(cherry picked from commit 16c5a026419e5c23ab4e7777cec8deb15c25ee6f)

f52af37... by Alex Kavanagh

Updates for testing period for 23.10 release

* charm-helpers sync for classic charms
* build.lock file for reactive charms
* ensure tox.ini is from release-tools
* Locked requirements using pip-compile:
  * existing (test-)requirements.txt ->
    (test-)requirements.in
  * pip-compile to *-py3[8|10].txt using python3.8
    and python3.10.
  * Updated tox.ini to use the appropriate merged
    requirements-*.txt files.
* Removal of lunar from metadata, charmcraft.yaml
  osci.yaml, tests.yaml and associated bundles.
* Locked libs and tests to stable/bobcat branches for:
  * charm-helpers
  * charms.openstack
  * zaza
  * zaza-openstack-tests

Change-Id: I089204348364a222ad2439a3f3f853ad591b0d87

c2efb42... by Zuul <email address hidden>

Merge "Add new interface 'dashboard'"

b9b4808... by Zuul <email address hidden>

Merge "Ensure get_requests_for_local_unit doesn't fail on incomplete relation"

484b7d8... by Felipe Reyes

Add new interface 'dashboard'

openstack-dashboard exposes the hostnames (and IP addresses) that can be
used by users to load Horizon. There are 3 possible sources, they are
juju units ingress-address, os-public-hostname and vip config options

Closes-Bug: #2030094
Change-Id: I5eb524c6258f72980ef43175f2bed21d7ca078be

5c34112... by Hua Zhang

Support disabling apache wsgi socket rotation

Bug LP 1863232 introduced a new Apache configuration option called
WSGISocketRotation which allows users to disable wsgi socket
rotation. This patch makes this configurable with a new
wsgi-socket-rotation config option that defaults to the Apache
default and can optionally be set to False.

Closes-Bug: #2021550
Change-Id: I671f4b7f655f12cc558fc64116e31f16560dd2e7

02710c1... by Alex Kavanagh

Ensure get_requests_for_local_unit doesn't fail on incomplete relation

This is a rebuild/make sync for charms to pickup the fix in charmhelpers to fix
any inadvertant accesses of ['ca'] in the relation data before it is available
from vault in the certificates relation. Fix in charmhelpers is in [1].

[1] https://github.com/juju/charm-helpers/pull/824
Closes-Bug: #2028683

Change-Id: Iea8afd1720bac55321fbcc45aa21bb33f026b68e