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

Bad error report when the lxd instance is already running #370

Open
tigarmo opened this issue Jul 3, 2024 · 1 comment
Open

Bad error report when the lxd instance is already running #370

tigarmo opened this issue Jul 3, 2024 · 1 comment
Labels
Bug Something isn't working triaged

Comments

@tigarmo
Copy link
Contributor

tigarmo commented Jul 3, 2024

Bug Description

I had a pack command crash for unrelated reasons, which left the lxd instance running. When running craftapp pack again I got the following error:

Launching managed ubuntu 22.04 instance...                                                                                                                                                   
Starting instance                                                                                                                                                                            
Failed to start 'craftapp-hello-on-amd64-for-amd64-1'.                                                                                                                                    
Full execution log: '/home/ubuntu/.local/state/craftapp/log/craftapp-20240703-093523.724743.log'   

To Reproduce

Run craftapp pack, and in another terminal run craftapp pack in the same directory again

part yaml

n/a

Relevant log output

2024-07-03 09:35:29.737 craft_providers.lxd.errors.LXDError: Failed to start 'craftapp-hello-on-amd64-for-amd64-1'.
2024-07-03 09:35:29.737 * Command that failed: 'lxc --project craftapp start local:craftapp-hello-on-amd64-for-amd64-1'
2024-07-03 09:35:29.737 * Command exit code: 1
2024-07-03 09:35:29.737 * Command standard error output: b'Error: The instance is already running\n'
@tigarmo tigarmo added Bug Something isn't working triaged labels Jul 3, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3093.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working triaged
Projects
None yet
Development

No branches or pull requests

1 participant