Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage: Don't use nvme CLI to retrieve subsystems #13647

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

roosterfish
Copy link
Contributor

@roosterfish roosterfish commented Jun 21, 2024

The output format of nvme list-subsys -o json has changed as part of moving the LXD snap from core22 to core24 (See canonical/lxd-pkg-snap#471). By using sysfs directly we are independent from future output changes.

The output format of 'nvme list-subsys -o json' has changed between jammy and noble.
By using sysfs directly we are independent from future output changes

Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
@tomponline tomponline changed the title lxd/storage/drivers/powerflex: Don't use nvme CLI to retrieve subsystems Storage: Don't use nvme CLI to retrieve subsystems Jun 21, 2024
@tomponline
Copy link
Member

@roosterfish happy to merge this?

@roosterfish
Copy link
Contributor Author

@roosterfish happy to merge this?

Jup, still wanted to run through the entire lxd-ci/tests/storage-vm suite with it but it all went fine until the current blocker https://github.com/canonical/lxd-ci/actions/runs/9640802118/job/26585242366#step:7:870.

But there is an abundance of volume actions happening before that so it feels safe to say that this change doesn't break anything.

@roosterfish roosterfish marked this pull request as ready for review June 24, 2024 08:12
@tomponline tomponline merged commit 6a81fa3 into canonical:main Jun 24, 2024
29 checks passed
@roosterfish roosterfish deleted the powerflex_use_sys branch July 1, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants