charm-openstack-dashboard:stable/ussuri

Last commit made on 2024-04-17
Get this branch:
git clone -b stable/ussuri https://git.launchpad.net/charm-openstack-dashboard

Branch merges

Branch information

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

Recent commits

f268e2c... 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)
(cherry picked from commit 2f430d15e64766fce4dc398ee23703a395693027)
(cherry picked from commit f013b18c7680174dcbc4217030081a451347c8ef)
(cherry picked from commit f6f60a37ba99fd56fd02ac1a4c518703e9d9efca)
(cherry picked from commit 62777b150b1753a5a33e16c6dbfce24bc828a9dd)
(cherry picked from commit fb63730e63fb09919d8b24c4ce34c77c85bb1317)
(cherry picked from commit 9885182a9316c3ff9e73578989fb790ce4677416)
(cherry picked from commit a7a427ad6a11fe5ac3952d072a79fa11b9cda083)

46895da... 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)
(cherry picked from commit 45a86be78ab883fd40d1936c26876b734f0e263f)
(cherry picked from commit 1ec179bb9d3faeac5d01660399671095ec452e69)
(cherry picked from commit 9e2ae8e65b63185dbd579f957dcf14f5d3ee91cf)
(cherry picked from commit b2af81e75d681142f31265fa6e457a7e19fc6717)
(cherry picked from commit 7eb985778c9973581440214b05442baea1714d2f)
(cherry picked from commit 560adf4ac34cded5eda456b43b35bfebb3311868)
(cherry picked from commit 5d4080d351106d7bc33d10300eb0bf5c27e2cc08)

0ffd740... by Rodrigo Barbieri

Fix Ussuri gate

Include binary packages required to build wheel for
various libraries, like cffi and lxml.

Also had to set an upper-limit for jsonschema.

Change-Id: I145b2c8343a0d6aaa38bc93de2bf2c7053709338

f7049fa... 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)
(cherry picked from commit 3905f0a6ae35257257b1dd5ccc275f4c26678b16)

4adb8a6... by Felipe Reyes

Pin macaroonbakery<1.3.3

The pep8 target is pulling a newer version of macaroonbakery since
charm-tools depends on it, this pinning allows the installation of
charm-tools on py36

Change-Id: Ic9f862e26c4101536fea1b0fb79205c45e97e820

39ec13f... 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: Ic2d8cd94713161e79e907de3b3031191fa8d1c31

3d2d3ea... 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
(cherry picked from commit 484b7d82601bf4f493df7f564b5b74575819436d)
(cherry picked from commit 83ffa9eb3a2418897bf2707d14efce725d775090)

6d6dfa0... by Alex Kavanagh

[ussuri] 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/831
Closes-Bug: #2028683

Change-Id: I817957f4cf9175542478d0274b07f7136de97d98

d0a1679... by Alex Kavanagh

Make LocalSettingsContext more robust to priority

The relation data for for the LocalSettings context could cause the
priority sorting to break if the priority key wasn't cmpable (e.g. using
<, > or ==). This patch fixes the associated bug, by making the sorting
extra robust and ensuring that un-cmp-able values are 'greater' (e.g.
further down the list) that cmp-able values, and equal to each other.
E.g. a partially ordered set.

Change-Id: I6bbf7e5f81a772ffc6ea859c9ab7c05f2eb9fdc5
Closes-bug: #2023404
(cherry picked from commit e8d0ca39a1e02abb075e283e4438464b90223b91)

d1f3101... by Liam Young

Handle JSON data from dashboard plugins

The dashboard-plugin interface sends relation data json encoded but
the charm does not decode the local-settings key. This change decodes
the data. I have not been able to find any classic plugins that
rely on sending raw data but to maintain backwards compatability
just incase the charm will fallback to the old behaviour if the
relation data is not json encoded.

Change-Id: I3f956ae811cb6c46b5e2ab31f1353678a35e623a
Closes-Bug: #1986538
(cherry picked from commit 123b8447ed40a9c5339bd181ce707d726d09a565)