← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2069283] Re: autopkgtest-build-lxd: check for existing image early

 

This is implemented already since autopkgtest 5.30 [1], but broken as a
side effect of LP: #2069274.

[1] https://salsa.debian.org/ci-
team/autopkgtest/-/commit/9d2ae95ba54d4db0e5e6d39ed7ca967152df5c1d

** Changed in: autopkgtest (Ubuntu)
       Status: Triaged => Fix Committed

-- 
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/2069283

Title:
  autopkgtest-build-lxd: check for existing image early

Status in autopkgtest package in Ubuntu:
  Fix Committed

Bug description:
  autopkgtest-build-lxd fails if an image already exists with an error
  like

      Error: Aliases already exists: autopkgtest/ubuntu/noble/amd64

  *after* creating the new image which takes a considerable amount of
  time.

  This is wasting user time. It would be preferable to have an early
  check and recommend to the user to use 'lxc image delete' if he wishes
  to recreate the image.

  We might additionally consider adding a --force parameter allowing to
  overwrite images.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/2069283/+subscriptions



References