Repository navigation
Conversation
Enable encrypted ephemeral storage in the noble-caracal nova-compute bundle and relate nova-compute directly to Vault through its secrets-storage endpoint. Add a NovaCompute functional test that verifies the instance storage fstab entry is vaultlocker-managed and contains an x-systemd.device-timeout value matching the deployed charm configuration. Depends-On: https://review.opendev.org/c/openstack/charm-nova-compute/+/987606 Related-Bug: https://launchpad.net/bugs/2086718 Signed-off-by: Zhang Hua <joshua.zhang@canonical.com>
openstackadmin
pushed a commit
to openstack/charm-nova-compute
that referenced
this pull request
Oct 27, 2026
Add x-systemd.device-timeout for existing vaultlocker-managed ephemeral storage when configure_local_ephemeral_storage() runs on units that already have storage-configured=True. Detect existing encrypted mounts from their fstab metadata: either the legacy comment=vaultlocker marker or the vaultlocker-decrypt systemd dependency. This covers existing vaultlocker deployments even when encrypt is now false, without treating a secrets-storage relation as an instruction to encrypt a newly configured ephemeral device. Also avoid modifying non-vaultlocker fstab entries and restore the original entry if updating fstab fails. Change-Id: I08ba0c1a3a13d72e4bb36a4463b8d2848d8c8d2a Func-Test-Pr: openstack-charmers/zaza-openstack-tests#1439 Closes-Bug: #2086718 Signed-off-by: Zhang Hua <joshua.zhang@canonical.com>
openstackadmin
pushed a commit
to openstack/openstack
that referenced
this pull request
Oct 27, 2026
* Update charm-nova-compute from branch 'master'
to a6eafe3eb6b0d1a149b8308bb7ec68e3421336b6
- Merge "Update encrypted ephemeral fstab timeout on upgrade"
- Update encrypted ephemeral fstab timeout on upgrade
Add x-systemd.device-timeout for existing vaultlocker-managed
ephemeral storage when configure_local_ephemeral_storage() runs on
units that already have storage-configured=True.
Detect existing encrypted mounts from their fstab metadata: either the
legacy comment=vaultlocker marker or the vaultlocker-decrypt systemd
dependency. This covers existing vaultlocker deployments even when
encrypt is now false, without treating a secrets-storage relation as
an instruction to encrypt a newly configured ephemeral device.
Also avoid modifying non-vaultlocker fstab entries and restore the
original entry if updating fstab fails.
Change-Id: I08ba0c1a3a13d72e4bb36a4463b8d2848d8c8d2a
Func-Test-Pr: openstack-charmers/zaza-openstack-tests#1439
Closes-Bug: #2086718
Signed-off-by: Zhang Hua <joshua.zhang@canonical.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enable encrypted ephemeral storage in the noble-caracal nova-compute bundle and relate nova-compute directly to Vault through its secrets-storage endpoint.
Add a NovaCompute functional test that verifies the instance storage fstab entry is vaultlocker-managed and contains an x-systemd.device-timeout value matching the deployed charm configuration.
Depends-On: https://review.opendev.org/c/openstack/charm-nova-compute/+/987606
Related-Bug: https://launchpad.net/bugs/2086718