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

virtualization/verify_lxd_vm requires lxd versions only available as snaps (BugFix) #686

Closed
wants to merge 1 commit into from

Conversation

dannf
Copy link
Contributor

@dannf dannf commented Aug 25, 2023

…snaps

lxd virtual machine support was added in 4.0, but there are no debs for lxd >= 4 in the Ubuntu ecosystem. bionic systems deploy with an old 3.x lxd deb, so testing with that installed results in a false alarm.

DEBUG:root:Attempting to initialize LXD
DEBUG:root:Command lxd init --auto:
DEBUG:root: Command returned no output
DEBUG:root:Launching Virtual Machine
DEBUG:root:No local image available, attempting to import from default remote. ERROR:root:Command lxc init ubuntu:18.04 testbed --vm returned a code of 1 ERROR:root: STDOUT:
ERROR:root: STDERR: Error: unknown flag: --vm

Fixes #684

…snaps

lxd virtual machine support was added in 4.0, but there are no debs for
lxd >= 4 in the Ubuntu ecosystem. bionic systems deploy with an old
3.x lxd deb, so testing with that installed results in a false alarm.

DEBUG:root:Attempting to initialize LXD
DEBUG:root:Command lxd init --auto:
DEBUG:root: Command returned no output
DEBUG:root:Launching Virtual Machine
DEBUG:root:No local image available, attempting to import from default remote.
ERROR:root:Command lxc init ubuntu:18.04 testbed --vm  returned a code of 1
ERROR:root: STDOUT:
ERROR:root: STDERR: Error: unknown flag: --vm

Fixes canonical#684
Copy link
Collaborator

@bladernr bladernr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fine, since the last deb version is bionic, and no longer works as it doesn't support the --vm flag, this will at least skip the VM test on Bionic.

@pieqq pieqq changed the title virtualization/verify_lxd_vm requires lxd versions only available as … virtualization/verify_lxd_vm requires lxd versions only available as snaps (BugFix) Nov 8, 2023
@pieqq
Copy link
Collaborator

pieqq commented Nov 8, 2023

/canonical/self-hosted-runners/run-workflows b202fb4

Copy link
Collaborator

@pieqq pieqq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, thanks!

@pieqq
Copy link
Collaborator

pieqq commented Nov 8, 2023

@dannf can you sign your commits and resubmit? Please see our contrib doc about this: https://github.com/canonical/checkbox/blob/main/CONTRIBUTING.md#signed-commits-required

@kissiel
Copy link
Contributor

kissiel commented Jan 6, 2024

To enable landing I signed the commit and pushed the branch to the originating repo. It's available here:
#915

Closing this one.

@kissiel kissiel closed this Jan 6, 2024
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.

virtualization/verify_lxd_vm fails with "Error: unknown flag: --vm" on bionic
4 participants