[Bug 1700781] Re: ubuntu-support-status fails with exception if using libvirt from the ocata cloud-archive
Corey Bryant
corey.bryant at canonical.com
Thu Aug 31 18:54:10 UTC 2017
Michael,
Thanks for reporting this. I'm seeing the same behavior. It looks like
the ubuntu-support-status command from the update-manager package will
need some updates to better handle cloud-archive packages.
Corey
** Also affects: update-manager (Ubuntu)
Importance: Undecided
Status: New
** Changed in: update-manager (Ubuntu)
Status: New => Triaged
** Changed in: update-manager (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
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:
New
Status in update-manager package in Ubuntu:
Triaged
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 Ubuntu-openstack-bugs
mailing list