charm-nova-compute:stable/victoria

Last commit made on 2024-04-01
Get this branch:
git clone -b stable/victoria https://git.launchpad.net/charm-nova-compute

Branch merges

Branch information

Name:
stable/victoria
Repository:
lp:charm-nova-compute

Recent commits

c7014ad... by DUFOUR Olivier

Update apparmor profile for nova-compute

Nova-compute uses ssh and scp commands extensively and this
patch allows the process to read the configuration too in
/etc/ssh/ssh_config.d/ directory.

Closes-Bug: #2044983
Change-Id: I336ce64d493c549096d0b8706996e0f17a2728fb
(cherry picked from commit 4d6f4c07c9b634e22d5445a702be3d3ee9730ab3)
(cherry picked from commit 20c9776e8836abbe13a2eab2efe1d8c9a8cff851)
(cherry picked from commit 552a84925c9c1f7adc810e338a61944b6a53dbd0)
(cherry picked from commit decbbd95330864a18dfd6d68b84860a9a671cf2b)

94ce933... by Rodrigo Barbieri

Fix Victoria CI py36

platformdirs needed to be pinned due to py36 job

Change-Id: Ice11d841091b352f5b6c1bb2e40514d5e4b74428

f1ff0d5... by Rodrigo Barbieri

Set nova config for rbd instance folder cleanup after evacuations

After evacuations and revert resizes when using rbd storage backend,
the instance folder is usually left behind and causes issues when
migrating the instance back to the host.
With the config option set, the nova-compute service will cleanup
those folders as part of the periodic checks that run for instances
that have been evacuated/migrated.

Closes-bug: #2019141
Change-Id: I846ccb0a95d04139b41fdad6cbf465d303d6cc09
(cherry picked from commit e61d89aa47cba71bb4dda12d836fde8a8fa7092c)
(cherry picked from commit 003f6b6d70fe7998c57095abb6ac97d97cd2dff1)
(cherry picked from commit cfafa8cf5f2d880635e66e9620ca9d0334375942)
(cherry picked from commit 1ddfe5e6c212804ac3623dc4782fa7e51da840a0)
(cherry picked from commit d3e4cc31c63e157efdc3e548a44c3f4c8f2bcdcd)
(cherry picked from commit be845826f95f812370b33fbdd22b6fd70ebb217f)

59e5c57... by Aurelien Lourot

Restart failed subordinate services

Resolved Conflicts:
 hooks/nova_compute_hooks.py
 unit_tests/test_nova_compute_hooks.py

Change-Id: Id34e9c6f85886dbf880df0b7002110a40ef41ad6
Closes-Bug: #1947585
(cherry picked from commit 140be9d0a99f65769899a710ea9d378a29a29e80)
(cherry picked from commit 5465fe74b4e49e2a94e6db98cf00d6f7be2eaff6)

282830d... by Aurelien Lourot

Process subordinate releases packages map

For principal - subordinate plugin type relations where the
principal Python payload imports code from packages managed by a
subordinate, upgrades can be problematic.

This change will allow a subordinate charm that have opted into the
feature to inform its principal about all implemented release -
packages combinations ahead of time. With this information in place
the principal can do the upgrade in one operation without risk of
charm relation RPC type processing at a critical moment.

This makes use of
https://github.com/juju/charm-helpers/pull/643

This is similar to
https://review.opendev.org/c/openstack/charm-keystone/+/781822

Also fixed broken link to charm-guide.

Change-Id: Iaf5b44be70ee108cbe88b4a26f0f15f915d507fe
Closes-Bug: #1927277
(cherry picked from commit 8fb37dc0c1f76754f9b94863317af03b770516cd)

59a7973... by Felipe Reyes

Charm-helpers sync

Change-Id: Ie5afedc6b88ee8d1067baeea88bd0f566d7fc286
Related-Bug: #1947585

e555a6f... by Zuul <email address hidden>

Merge "Render correct driver in nova-compute.conf" into stable/victoria

bd0edbb... 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: I428bc061acdfb8205972b54e8c39eb1b20dc9c59

0a5bc68... by Jorge Merlino

Add support for using service tokens

This patch configures Nova to send a service token along with the
received user token on requests to other services. This can allow those
other services to accept the request even if the user token has been
invalidated since received by Nova. Also with this patch Nova will
accept request from other services with invalid user tokens but valid
service tokens. Service tokens exist since Openstack Queens.

Closes-Bug: #1992840
Change-Id: I78b43ef77dc1d7b5976ec81ecddf63c9e6c8b6c1
(cherry picked from commit 3c53110282b97c42a00cee9ee344f32dc8cf29c5)
(cherry picked from commit b54f6701d6cc408990add5fdb81bac1c74aa20db)

b8c31d1... by Corey Bryant

charm-helpers sync

Synchronize charm-helpers to get service token related patches.

Related-Bug: #1992840
Change-Id: Iae9b23ffccac41cb4c801e06edff27c8284523b1