juju / juju-crashdump

Script to assist in gathering logs and other debugging info from a Juju model
MIT License
10 stars 23 forks source link

Crashdump upload broken #64

Open sabaini opened 4 years ago

sabaini commented 4 years ago

Getting:

juju-crashdump -b 1838964 -l DEBUG
2020-10-23 12:38:02,977 - juju-crashdump started.
2020-10-23 12:38:02,977 - Apport not available in this environment.
You must 'apt install' apport to use the 'bug' option.
Aborting run.

The snapcraft.yaml includes python-apport but also specifices python3:

parts:
  juju-crashdump:
    plugin: python
    python-version: python3
    build-packages: [lsb-release]
    stage-packages:
      - python-apport
      - jq

Afaict the motivation to not switch to python3-apport is https://bugs.launchpad.net/ubuntu/+source/python-launchpadlib/+bug/1425575