collect-logs should attempt to capture cloud-init version using more than dpkg

Bug #1820609 reported by Dan Watkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Expired
Low
Unassigned

Bug Description

dpkg is only present on Debian derivatives; we should attempt to use other package management tools during `cloud-init collect-logs` to improve our chances of getting a useful version number in the collected tarball.

Dan Watkins (oddbloke)
description: updated
Revision history for this message
Scott Moser (smoser) wrote :

+1. we used dpkg because at one point at least, the "packaged version" meant more than the upstream version. Now in Ubuntu and in rpm packages built from packages/redhat/cloud-init.spec.in a simple 'cloud-init --version' will include the package information as well.

That will not be the case with other packaging systems though.

Revision history for this message
James Falcon (falcojr) wrote :
Changed in cloud-init:
status: Triaged → Expired
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.