charm-nova-cloud-controller:stable/zed

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

Branch merges

Branch information

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

Recent commits

e71b620... 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)
(cherry picked from commit 61a7dd0bbd62af3cf73635199cc1090154a5ebb9)

266d58a... by Zuul <email address hidden>

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

89ed445... 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)

ade42e6... 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: I4e2ffb1d1883d039899c7b1db3e713a54d20ba5e
Closes-Bug: #2021550

a80d717... 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)

2b7d193... by Alex Kavanagh

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

Change-Id: I1ef803d54c7f00e3293891fd3f0b9348c9246ba1

0985cf0... 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: If54928aca61a400dbb864d02e3807f28123b8517

54e27a1... 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)

8359987... by Felipe Reyes

charm-helpers sync

Synchronize charm-helpers to get service token related patches.

Change-Id: I999900d6e68ceef901b8d34e54d32fa06e849f72
Related-Bug: #1992840

323923e... by Felipe Reyes

Update nova relations data on ha-relation-changed

When taking the nova-cloud-controller from single unit to full HA by
increasing the number of units from 1 to 3 and relating it to hacluster,
the data set on the cloud-compute relation is not updated, because the
update_nova_relation() function is only called on
cloud-compute-relation-joined and config-changed, none of these hooks
are executed when scaling out the application.

This patch introduces a call to update_nova_relation() on
ha-relation-changed.

Test case on an environment deployed with a single unit of
nova-cloud-controller:

    export NOVA_CC_VIP=10.0.0.11
    juju config nova-cloud-controller vip=$NOVA_CC_VIP
    juju deploy --series jammy --channel 2.4/stable hacluster \
        nova-cloud-controller-hacluster
    juju add-unit -n 2 nova-cloud-controller
    juju deploy --series jammy memcached
    juju add-relation memcached nova-cloud-controller
    juju add-relation nova-cloud-controller nova-cloud-controller-hacluster

Change-Id: Ib08bf9b6e1ce2b69be4d99ffe0726b59d81f4bc9
Closes-Bug: #2002154