charm-nova-compute:stable/2023.2

Last commit made on 2024-02-14
Get this branch:
git clone -b stable/2023.2 https://git.launchpad.net/charm-nova-compute

Branch merges

Branch information

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

Recent commits

557c47f... by Felipe Reyes

AppArmor policy update for NVMeoF

When using NVMeoF feature with nova-compute apparmor in enforce
mode, nova-compute is denied from running /usr/sbin/nvme and
/usr/sbin/blkid, and reading /etc/nvme/hostnqn.

Change-Id: Ia23fbf341d5b7ad469337d8a0c65c18ec519a891
Closes-Bug: #2039161
(cherry picked from commit 0f9c730817b4f175e617ab5ce362bf9ff5157092)

cb1cdec... by Zuul <email address hidden>

Merge "Update apparmor profile for nova-compute" into stable/2023.2

28233f9... by Rodrigo Barbieri

[v2] Fix migration across nova-compute apps using ceph

This change reworks previous changes [1] and [2] that had
been respectively reverted and abandoned.

When using the config libvirt-image-backend=rbd, VMs
created from image have their disk data stored in ceph
instead of the compute node itself.

When performing live-migrations, both nodes need to
access the same ceph credentials to access the VM's
disk in ceph, but this is currently not possible
if the nodes involved pertain to different
nova-compute charm apps.

This patch changes app name sent to ceph to
'nova-compute-ceph-auth-c91ce26f', a unique name common to
all nova-compute apps, allowing all nova-compute apps to
use the same ceph auth.

This change also ensures newly deployed nodes install
the old credentials first on ceph-joined hook,
and then supercedes it with the new credentials
on ceph-changed hook, therefore also retaining
the old credentials.

[1] https://review.opendev.org/889642
[2] https://review.opendev.org/896155

Closes-bug: #2028559
Related-bug: #2037003

Func-Test-Pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/1183

Change-Id: I1ae12d787a1f8e7761ca06b5a80049c1c62e9e90
(cherry picked from commit 650f3a5d511690ec27648b30f3b24532378a33a1)

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

e2daae6... 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: Ifaabafe641e50bd8ad172a6088042331741d49c8

e70f228... by Zuul <email address hidden>

Merge "Revert "Fix migration across apps when using VMs created from image""

11845c7... by Rodrigo Barbieri

Revert "Fix migration across apps when using VMs created from image"

This reverts commit c3c2cf0349c086dad7f23b180c3ee9ea0f865e8f.

Reason for revert: This introduces an undesired behavior when scaling-out that needs to be addressed in a complementary patch.

Change-Id: I21c127aa565e489ba4d93a1efc8ddba63ef32e87

ccea3ee... by Zuul <email address hidden>

Merge "Fix migration across apps when using VMs created from image"

c3c2cf0... by Rodrigo Barbieri

Fix migration across apps when using VMs created from image

When using the config libvirt-image-backend=rbd, VMs
created from image have their disk data stored in ceph
instead of the compute node itself.

When performing live-migrations, both nodes need to
access the same ceph credentials to access the VM's
disk in ceph, but this is currently not possible
if the nodes involved pertain to different
nova-compute charm apps.

This patch changes app name sent to ceph to 'nova-compute',
allowing all nova-compute apps to use the same ceph auth.

This patch also includes the charmhelpers sync
from PR: #840

Closes-bug: #2028559
Change-Id: I7222661017655fd7225db0c677f1a8f5ebb7984d

f6892d2... by Zuul <email address hidden>

Merge "Do not manage subordinate service restarts"