mojo project-new (from the snap) defaults to an unsupported container

Bug #1954345 reported by Brian Murray
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mojo: Continuous Delivery for Juju
Confirmed
Medium
Unassigned

Bug Description

 $ mojo project-new archive-reports --series focal
2021-12-09 14:58:20 [ERROR] Only LXD containers and containerless projects are supported with a snap install.

 $ mojo project-new --help
usage: mojo project-new [-h] [-s SERIES] [-c {lxc,lxd,containerless}] [name]

Create a new Mojo project and container

positional arguments:
  name Base name of the project ([a-zA-Z0-9._]*)

optional arguments:
  -h, --help show this help message and exit
  -s SERIES, --series SERIES
                        Distro series. Overrides the MOJO_SERIES environment
                        variable.
  -c {lxc,lxd,containerless}, --container {lxc,lxd,containerless}
                        Container. Options 'lxc', 'lxd' or 'containerless'.
                        Defaults to 'lxc'

I'd think the default would be something that is supported.

Revision history for this message
Brian Murray (brian-murray) wrote :

 $ snap info mojo
name: mojo
summary: Mojo - Continuous Delivery for Juju
publisher: Stuart Bishop (stub)
store-url: https://snapcraft.io/mojo
contact: https://launchpad.net/mojo
license: unset
description: |
  Mojo is a system of configuration and tools for verifying the success of Juju environment
  deployments. It's available as an open source project under the GPLv3 license on Launchpad.
commands:
  - mojo.juju-check
  - mojo.juju-parse-status
  - mojo
snap-id: 8GZ3t2c3Ah0N6Ht1luBY351TLORtUL3d
tracking: latest/stable
refresh-date: 2021-02-05
channels:
  latest/stable: 1.0.0+580 2021-02-05 (135) 162MB classic
  latest/candidate: 1.0.0+580 2021-02-05 (135) 162MB classic
  latest/beta: 1.0.0+580 2021-02-05 (135) 162MB classic
  latest/edge: 1.0.0+580 2021-02-05 (135) 162MB classic
installed: 1.0.0+580 (135) 162MB classic

Loïc Gomez (kotodama)
Changed in mojo:
status: New → Confirmed
importance: Undecided → Medium
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.