[Bug 1700781] Re: ubuntu-support-status fails with exception if using libvirt from the ocata cloud-archive

Chris MacNaughton 1700781 at bugs.launchpad.net
Tue Jun 9 09:50:15 UTC 2020


It looks like that has been fixed sometime in the last two and a half
years as I cannot reproduce this error:

root at test:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.6 LTS
Release:	16.04
Codename:	xenial
root at test:~# apt-cache policy libvirt-clients
libvirt-clients:
  Installed: 2.5.0-3ubuntu5.6~cloud3
  Candidate: 2.5.0-3ubuntu5.6~cloud3
  Version table:
 *** 2.5.0-3ubuntu5.6~cloud3 500
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata/main amd64 Packages
        100 /var/lib/dpkg/status
root at test:~# ubuntu-support-status
Support status summary of 'test':

You have 435 packages (97.3%) supported until April 2021 (Canonical -
5y)

You have 0 packages (0.0%) that can not/no-longer be downloaded
You have 12 packages (2.7%) that are unsupported

Run with --show-unsupported, --show-supported or --show-all to see more details
root at test:~# ubuntu-support-status --list | grep libvirt
libvirt-clients                   Unsupported
libvirt0                          Unsupported

** Changed in: cloud-archive
       Status: Triaged => Won't Fix

** Changed in: update-manager (Ubuntu)
       Status: Triaged => Fix Released

** Changed in: cloud-archive
       Status: Won't Fix => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1700781

Title:
  ubuntu-support-status fails with exception if using libvirt from the
  ocata cloud-archive

Status in Ubuntu Cloud Archive:
  Fix Released
Status in update-manager package in Ubuntu:
  Fix Released

Bug description:
  Setps to reproduce:
  1. Use Ubuntu 16.04.2 LTS
  2. Add Cloud-Archive for Ocata: sudo add-apt-repository cloud-archive:ocata
  3. Install libvirt-clients: sudo apt-get install libvirt-clients
  4. Run ubuntu-support-status

  Expected result:
  List of support durations for the installed packages

  Actual result:
  Traceback (most recent call last):
    File "/usr/bin/ubuntu-support-status", line 135, in <module>
      pkg.name, support_tag)
    File "/usr/bin/ubuntu-support-status", line 45, in get_maintenance_status
      raise Exception("No Release file found for %s" % pkgname)
  Exception: No Release file found for libvirt-clients

  
  By Digging through the source code I've found out that the cloud-archive packages have a "Supported: 48m" field and are therefore considered by the release check but the package list is ignored as its origin and label are != "Ubuntu". Packages which have an equivalent in the standard ubuntu package sources silently fallback to the standard package. However, there is no equivalent for libvirt-clients and therefore ubuntu-support-status breaks.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: libvirt-clients 2.5.0-3ubuntu5~cloud0 [origin: Canonical]
  ProcVersionSignature: Ubuntu 4.4.0-81.104-generic 4.4.67
  Uname: Linux 4.4.0-81-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.6
  Architecture: amd64
  CrashDB:
   {
                  "impl": "launchpad",
                  "project": "cloud-archive",
                  "bug_pattern_url": "http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml",
               }
  Date: Tue Jun 27 17:46:50 2017
  JournalErrors:
   Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] failed with exit code 1: Hint: You are currently not seeing messages from other users and the system.
         Users in the 'systemd-journal' group can see all messages. Pass -q to
         turn off this notice.
   No journal files were opened due to insufficient permissions.
  SourcePackage: libvirt
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1700781/+subscriptions



More information about the foundations-bugs mailing list