incorrect message "lxc info --show-log local:...` for more info"

Bug #1995193 reported by Heinrich Schuchardt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapcraft (Ubuntu)
New
Undecided
Unassigned

Bug Description

Running snapcraft on https://git.launchpad.net/ppa-dev-tools on Ubuntu Lunar failed for me.

$ snapcraft

Starting snapcraft-ppa-dev-tools-on-amd64-for-amd64-682
Remapping container filesystem
* Command standard error output: b'Error: Failed pre-start check for device "eth0": Network "lxdbr0" unavailable on this server\nTry `lxc info --show-log local:snapcraft-ppa-dev-tools-on-amd64-for-amd64-682` for more info\n

The command
lxc info --show-log local:snapcraft-ppa-dev-tools-on-amd64-for-amd64-682
fails. The command requires a --project parameter:

$ lxc info --show-log --project snapcraft local:snapcraft-ppa-dev-tools-on-amd64-for-amd64-682
Name: snapcraft-ppa-dev-tools-on-amd64-for-amd64-682
Status: STOPPED
Type: container
Architecture: x86_64
Created: 2022/10/30 04:46 CET

Log:

Could you, please, update the the error message to include "--project snapcraft".

summary: - Network "lxdbr0" unavailable on this server
+ incorrect message "lxc info --show-log local:...` for more info"
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.