charm-nova-cloud-controller:stable/2023.1

Last commit made on 2024-02-21
Get this branch:
git clone -b stable/2023.1 https://git.launchpad.net/charm-nova-cloud-controller

Branch merges

Branch information

Name:
stable/2023.1
Repository:
lp:charm-nova-cloud-controller

Recent commits

61a7dd0... by Edward Hope-Morley

Ensure mgmt network hostname and fqdn in known_hosts

The cloud-compute relation uses the private-address setting to
reflect the hostname/address to be used for vm migrations. This
can be the default management network or an alternate one. When
this charm populates ssh known_hosts entries for compute hosts
it needs to ensure hostname, address and fqdn for the mgmt network
is included so that Nova resize operations can work if they use
the hostname from the db (which will always be from the mgmt
network).

Also adds requirements.txt to default tox [testenv] to get
netaddr constraints applied to others that were removed as
part of https://review.opendev.org/q/topic:%22batch-update%22.
This is needed for -epy38 which is only run by gate.

Change-Id: Ic9e4657453d8f53d1ecbee23475c7b11549ebc14
Closes-Bug: #1969971
(cherry picked from commit 05b081bf5ffa24045a1fef3b18d2e28fec52d604)
(cherry picked from commit b6809e75e181a49c2209aa2c1be9e4d11442cbb3)

7a17487... by Zuul <email address hidden>

Merge "Use wss protocol when SSL enabled" into stable/2023.1

2270b09... by Felipe Reyes

Use wss protocol when SSL enabled

This patch checks if HTTPS configuration is enabled in Apache to
determine if the websocket protocol should switch from 'ws' to 'wss' or
not.

Change-Id: I738652373604966b6df079e45a0ad26c83e21688
Closes-Bug: #2039490
(cherry picked from commit b915f8e6f81df6a776fc1ad6725207a199440a3b)

aca10cc... 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.

Change-Id: Ib89f6124b81ffb2579f9bd6c4bf25337ad2d4d19
Closes-Bug: #2021550

bf1a0ef... by Felipe Reyes

Add new interface 'dashboard'

This new interface consumes information exposed by openstack-dashboard
to correctly configure nova-serialproxy and allow requests coming from
the web browser that tries to load the serial console.

Change-Id: I2d82abffb9649f16a792f180806cea36cc5e25df
Closes-Bug: #2030094
(cherry picked from commit 816ee80cd0e83dd3b5d9e49187caf9e6d420cf1b)

30b86d3... by Alex Kavanagh

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

Change-Id: I80b83b2a329de0e373c4444f89a55cf93528cdba

ee7deb2... by Corey Bryant

Use service_domain in [service_user] section

Sync from charm-helpers to update [service_user] config to use the
service domain.

The keystone charm currently creates two service users, one for the
service domain (for v3 authentication), and the other for the default
domain (for v2 authentication). The [service_user] config needs to
use the service domain.

Closes-Bug: #2026202
Change-Id: I3d1e0c14bfe91261f53675fb8afdbff294400904

4fab1eb... by Felipe Reyes

Charm-helpers sync

Sync to the latest revision available in the stable/antelope branch, among the
most relevant patches are:

837a8b58 Support legacy cert requests (#799)
580c7764 Update Makefile to be consistent with CI (#777) (#795)
a2468260 Run CI on stable branches (#786) (#787)
ed014373 Update method for checking endpoint protocol (#769) (#775)

Change-Id: I6529394238b09224de9b70901b3ea238c2b998cb

6dee49e... by Felipe Reyes

Add support for using service tokens

This patch configures nova-cloud-controller to send a service token
along with the received user token on requests sent to other services.
This allows those other services to accept the request even if the user
token has been invalidated since received by the nova services running
in nova-cloud-controller units, the same applies for incoming requests
from other services. Service tokens exist since Openstack Queens.

Change-Id: I95021600da8af12cb75ef5681fb5af8780ade4f8
Closes-Bug: #1992840
(cherry picked from commit fd810f9afd92904cd66544c00610f830fd337299)

a4252d8... by Felipe Reyes

Sync with charm-helpers

This sync includes these patches to charm helpers:

https://github.com/juju/charm-helpers/pull/740
https://github.com/juju/charm-helpers/pull/757

Both are meant to include templates to configure service tokens
in juju charms as shown in LP: #1992840

Change-Id: Ib9f0d6a70eb42e6cb441665511fc425cf96a1d1c
Related-Bug: #1992840