[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Tags removed: patch ** Tags added: verification-needed verification-needed-artful verification-needed-trusty verification-needed-xenial ** Tags removed: verification-needed-artful verification-needed-trusty verification-needed-xenial ** Tags added: verification-done-artful verification-done-trusty verification-done-xenial ** Tags removed: verification-needed ** Tags added: verification-done ** Changed in: sosreport (Ubuntu Zesty) Status: Fix Committed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
I tested the packages in trusty, xenial, zesty and artful. The Docker plugin runs well and gathers the expected information for Docker: === Trusty root@trustysosreport:/tmp/sosreport-trustysosreport-20180115193757# ls sos_commands/docker/ docker_images docker_inspect_c800e07175bf docker_network_ls docker_ps_-a docker_stats_--no-stream journalctl_--no-pager_--unit_docker docker_infodocker_inspect_efc145e48b1e docker_ps docker_ps_-as docker_versionls_-alhR_.etc.docker root@trustysosreport:/tmp/sosreport-trustysosreport-20180115193757# dpkg -l | grep -i sosreport ii sosreport 3.5-1~ubuntu14.04.1 amd64Set of tools to gather troubleshooting data from a system root@trustysosreport:/tmp/sosreport-trustysosreport-20180115193757# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 14.04.5 LTS Release:14.04 Codename: trusty === Xenial root@xenialsosreport:/tmp/sosreport-xenialsosreport-20180115193800# ls sos_commands/docker/ docker_images docker_inspect_3f8a4339aadd docker_network_inspect_bridge docker_network_inspect_none docker_ps docker_ps_-as docker_version ls_-alhR_.etc.docker docker_infodocker_inspect_60b785b1981b docker_network_inspect_host docker_network_lsdocker_ps_-a docker_stats_--no-stream journalctl_--no-pager_--unit_docker root@xenialsosreport:/tmp/sosreport-xenialsosreport-20180115193800# dpkg -l | grep -i sosreport ii sosreport 3.5-1~ubuntu16.04.1 amd64Set of tools to gather troubleshooting data from a system root@xenialsosreport:/tmp/sosreport-xenialsosreport-20180115193800# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 16.04.3 LTS Release:16.04 Codename: xenial === Zesty root@zestysosreport:/tmp/sosreport-zestysosreport-20180115193803# ls sos_commands/docker/ docker_images docker_inspect_3f8a4339aadd docker_network_inspect_bridge docker_network_inspect_none docker_ps docker_ps_-as docker_version ls_-alhR_.etc.docker docker_infodocker_inspect_f35ad9f7545c docker_network_inspect_host docker_network_lsdocker_ps_-a docker_stats_--no-stream journalctl_--no-pager_--unit_docker root@zestysosreport:/tmp/sosreport-zestysosreport-20180115193803# dpkg -l | grep -i sosreport ii sosreport 3.5-1~ubuntu17.04.1 amd64 Set of tools to gather troubleshooting data from a system root@zestysosreport:/tmp/sosreport-zestysosreport-20180115193803# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 17.04 Release:17.04 Codename: zesty === Artful root@artfulsosreport:/tmp/sosreport-artfulsosreport-20180115193802# ls sos_commands/docker/ docker_images docker_inspect_3f8a4339aadd docker_network_inspect_bridge docker_network_inspect_none docker_ps docker_ps_-as docker_version ls_-alhR_.etc.docker docker_infodocker_inspect_f98581a186af docker_network_inspect_host docker_network_lsdocker_ps_-a docker_stats_--no-stream journalctl_--no-pager_--unit_docker root@artfulsosreport:/tmp/sosreport-artfulsosreport-20180115193802# dpkg -l | grep -i sosreport ii sosreport 3.5-1~ubuntu17.10.1 amd64 Set of tools to gather troubleshooting data from a system root@artfulsosreport:/tmp/sosreport-artfulsosreport-20180115193802# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 17.10 Release:17.10 Codename: artful -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
There was a problem with my initial test case. The test case originally said : === # Look in "/path_to_sosreport/sos_commands/docker/" and note that all files are empty with "0" size. === This is incorrect and was caused by installing the docker package which has nothing to do with Docker instead of docker.io. The sosreport docker module uses /usr/bin/docker.io which is a symlink to docker in the same directory. This means this bugfix was probably not necessary but is still valid since the real command is /usr/bin/docker. I will proceed with the testing for trusty, xenial, zesty and artful. ** Description changed: [Impact] The docker plugin in sosreport doesn't collect informations for Ubuntu. In docker.py for the Ubuntu Plugin, the docker command is set to 'docker.io'[1] which seems to be a old workaround that has been removed[2], thus the docker plugin is no longer calling an existing docker binary which as a result doesn't collect docker informations in Ubuntu. [1]- Plugin : docker.py # Name collision with another package requires docker binary rename docker_cmd = 'docker.io' [2]- docker.io package : debian/changelog docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon GraviFri, 07 Nov 2014 13:11:34 -0700 [Test Case] # Install sosreport from the Ubuntu archive $ apt-get update $ apt-get install sosreport # Install Docker from the Ubuntu archive $ apt-get install docker.io # Run sosreport with docker plugin only or all loaded plugins (for the sake of testing docker plugin the "-o" is more appropriate Docker plugin only : $ sosreport -o docker All loaded plugins: $ sosreport -a # Extract the sosreport*.tar.xz file generated by the above command - found in /tmp - - # Look in "/path_to_sosreport/sos_commands/docker/" and note that all - files are empty with "0" size. + found in /tmp and verify that information is gathered properly [Regression Potential] No regression, this is a trivial fix that will allow sosreport to start collecting the docker informations again. If for some reasons, a regression is found, it would be 100% limited to docker plugin of sosreport and not affecting the functionality the core functionality nor other plugins. [Other Info] Additional informations about the context can be found here : https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1338768 * Upstream Bug https://github.com/sosreport/sos/issues/930 * Pull Request https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1009/commits/f8a939d792d8ac683f341458b8cf77a35c4db929 * Debian Bug : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863374 (Patch submitted to Debian on June 2 2017) * Ubuntu Bug : Working on a backport into stable release (SRU) which will include this change via (LP: #1734983). [Original Description] This Launchpad bug is based on an existing GitHub bug[1]. The docker plugin is currently broken in sosreport. In docker.py[2] for Ubuntu the docker command is set to 'docker.io'. docker_cmd = 'docker.io' The docker.io package used to have a docker.io binary but this was reverted in this debian/changelog from Ubuntu Xenial/16.04 (LTS): docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon Gravi Fri, 07 Nov 2014 13:11:34 -0700 The Docker Community and Enterprise Editions (docker-ce and docker-ee packages) also use the plain docker binary and this change is necessary to make the sosreport docker module work again. There are currently two different pull requests that fix this issue: https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1012 We should SRU this fix once one of them is accepted. [1] https://github.com/sosreport/sos/issues/930 [2] https://github.com/sosreport/sos/blob/master/sos/plugins/docker.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Description changed: [Impact] The docker plugin in sosreport doesn't collect informations for Ubuntu. In docker.py for the Ubuntu Plugin, the docker command is set to 'docker.io'[1] which seems to be a old workaround that has been removed[2], thus the docker plugin is no longer calling an existing docker binary which as a result doesn't collect docker informations in Ubuntu. [1]- Plugin : docker.py # Name collision with another package requires docker binary rename docker_cmd = 'docker.io' [2]- docker.io package : debian/changelog docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon GraviFri, 07 Nov 2014 13:11:34 -0700 [Test Case] # Install sosreport from the Ubuntu archive $ apt-get update $ apt-get install sosreport # Install Docker from the Ubuntu archive - $ apt-get install docker + $ apt-get install docker.io # Run sosreport with docker plugin only or all loaded plugins (for the sake of testing docker plugin the "-o" is more appropriate Docker plugin only : $ sosreport -o docker All loaded plugins: $ sosreport -a # Extract the sosreport*.tar.xz file generated by the above command found in /tmp # Look in "/path_to_sosreport/sos_commands/docker/" and note that all files are empty with "0" size. [Regression Potential] No regression, this is a trivial fix that will allow sosreport to start collecting the docker informations again. If for some reasons, a regression is found, it would be 100% limited to docker plugin of sosreport and not affecting the functionality the core functionality nor other plugins. [Other Info] Additional informations about the context can be found here : https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1338768 * Upstream Bug https://github.com/sosreport/sos/issues/930 * Pull Request https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1009/commits/f8a939d792d8ac683f341458b8cf77a35c4db929 * Debian Bug : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863374 (Patch submitted to Debian on June 2 2017) * Ubuntu Bug : Working on a backport into stable release (SRU) which will include this change via (LP: #1734983). [Original Description] This Launchpad bug is based on an existing GitHub bug[1]. The docker plugin is currently broken in sosreport. In docker.py[2] for Ubuntu the docker command is set to 'docker.io'. docker_cmd = 'docker.io' The docker.io package used to have a docker.io binary but this was reverted in this debian/changelog from Ubuntu Xenial/16.04 (LTS): docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon Gravi Fri, 07 Nov 2014 13:11:34 -0700 The Docker Community and Enterprise Editions (docker-ce and docker-ee packages) also use the plain docker binary and this change is necessary to make the sosreport docker module work again. There are currently two different pull requests that fix this issue: https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1012 We should SRU this fix once one of them is accepted. [1] https://github.com/sosreport/sos/issues/930 [2] https://github.com/sosreport/sos/blob/master/sos/plugins/docker.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
This bug is fixed with packages: sosreport/3.5-1~ubuntu17.10.1 sosreport/3.5-1~ubuntu17.04.1 sosreport/3.5-1~ubuntu16.04.1 sosreport/3.5-1~ubuntu14.04.1 The above packages should land in -proposed in few hours (once the build farm and autopkgtest infra maintenance is done) via: - LP: #1734983 Request to backport sosreport v3.5 - @davecore, can you perform the verification during the testing phase ? - Eric ** Changed in: sosreport (Ubuntu Artful) Status: In Progress => Fix Committed ** Changed in: sosreport (Ubuntu Xenial) Status: In Progress => Fix Committed ** Changed in: sosreport (Ubuntu Zesty) Status: In Progress => Fix Committed ** Changed in: sosreport (Ubuntu Trusty) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
The bugfix for this particular bug will be included in the sosreport v3.5 backport effort in progress via : - LP: #1734983 Request to backport sosreport v3.5 - - Eric -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Description changed: [Impact] The docker plugin in sosreport doesn't collect informations for Ubuntu. In docker.py for the Ubuntu Plugin, the docker command is set to 'docker.io'[1] which seems to be a old workaround that has been removed[2], thus the docker plugin is no longer calling an existing docker binary which as a result doesn't collect docker informations in Ubuntu. [1]- Plugin : docker.py # Name collision with another package requires docker binary rename docker_cmd = 'docker.io' [2]- docker.io package : debian/changelog docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon GraviFri, 07 Nov 2014 13:11:34 -0700 [Test Case] # Install sosreport from the Ubuntu archive $ sudo apt-get update $ sudo apt-get install sosreport + + # Install Docker from the Ubuntu archive + $ sudo apt-get install docker # Run sosreport with docker plugin only or all loaded plugins (for the sake of testing docker plugin the "-o" is more appropriate Docker plugin only : $ sosreport -o docker All loaded plugins: $ sosreport -a # Extract the sosreport*.tar.xz file generated by the above command found in /tmp # Look in "/path_to_sosreport/sos_commands/docker/" and note that all files are empty with "0" size. [Regression Potential] No regression, this is a trivial fix that will allow sosreport to start collecting the docker informations again. If for some reasons, a regression is found, it would be 100% limited to docker plugin of sosreport and not affecting the functionality the core functionality nor other plugins. [Other Info] Additional informations about the context can be found here : https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1338768 * Upstream Bug https://github.com/sosreport/sos/issues/930 * Pull Request https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1009/commits/f8a939d792d8ac683f341458b8cf77a35c4db929 * Debian Bug : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863374 (Patch submitted to Debian on June 2 2017) * Ubuntu Bug : Working on a backport into stable release (SRU) which will include this change via (LP: #1734983). [Original Description] This Launchpad bug is based on an existing GitHub bug[1]. The docker plugin is currently broken in sosreport. In docker.py[2] for Ubuntu the docker command is set to 'docker.io'. docker_cmd = 'docker.io' The docker.io package used to have a docker.io binary but this was reverted in this debian/changelog from Ubuntu Xenial/16.04 (LTS): docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon Gravi Fri, 07 Nov 2014 13:11:34 -0700 The Docker Community and Enterprise Editions (docker-ce and docker-ee packages) also use the plain docker binary and this change is necessary to make the sosreport docker module work again. There are currently two different pull requests that fix this issue: https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1012 We should SRU this fix once one of them is accepted. [1] https://github.com/sosreport/sos/issues/930 [2] https://github.com/sosreport/sos/blob/master/sos/plugins/docker.py ** Description changed: [Impact] The docker plugin in sosreport doesn't collect informations for Ubuntu. In docker.py for the Ubuntu Plugin, the docker command is set to 'docker.io'[1] which seems to be a old workaround that has been removed[2], thus the docker plugin is no longer calling an existing docker binary which as a result doesn't collect docker informations in Ubuntu. [1]- Plugin : docker.py # Name collision with another package requires docker binary rename docker_cmd = 'docker.io' [2]- docker.io package : debian/changelog docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon Gravi Fri, 07 Nov 2014 13:11:34 -0700 [Test Case] # Install sosreport from the Ubuntu archive - $ sudo apt-get update - $ sudo apt-get install sosreport + $ apt-get update + $ apt-get install sosreport # Install Docker from the Ubuntu archive - $ sudo apt-get install docker + $ apt-get install docker # Run sosreport with docker plugin only or all loaded plugins (for the sake of
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Description changed: [Impact] The docker plugin in sosreport doesn't collect informations for Ubuntu. In docker.py for the Ubuntu Plugin, the docker command is set to 'docker.io'[1] which seems to be a old workaround that has been removed[2], thus the docker plugin is no longer calling an existing docker binary which as a result doesn't collect docker informations in Ubuntu. [1]- Plugin : docker.py # Name collision with another package requires docker binary rename docker_cmd = 'docker.io' [2]- docker.io package : debian/changelog docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon GraviFri, 07 Nov 2014 13:11:34 -0700 [Test Case] # Install sosreport from the Ubuntu archive $ sudo apt-get update $ sudo apt-get install sosreport # Run sosreport with docker plugin only or all loaded plugins (for the sake of testing docker plugin the "-o" is more appropriate Docker plugin only : $ sosreport -o docker All loaded plugins: $ sosreport -a # Extract the sosreport*.tar.xz file generated by the above command found in /tmp # Look in "/path_to_sosreport/sos_commands/docker/" and note that all files are empty with "0" size. [Regression Potential] No regression, this is a trivial fix that will allow sosreport to start collecting the docker informations again. If for some reasons, a regression is found, it would be 100% limited to docker plugin of sosreport and not affecting the functionality the core functionality nor other plugins. [Other Info] Additional informations about the context can be found here : https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1338768 * Upstream Bug https://github.com/sosreport/sos/issues/930 * Pull Request https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1009/commits/f8a939d792d8ac683f341458b8cf77a35c4db929 * Debian Bug : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863374 (Patch submitted to Debian on June 2 2017) + * Ubuntu Bug : + Working on a backport into stable release (SRU) which will include this change via (LP: #1734983). + [Original Description] This Launchpad bug is based on an existing GitHub bug[1]. The docker plugin is currently broken in sosreport. In docker.py[2] for Ubuntu the docker command is set to 'docker.io'. docker_cmd = 'docker.io' The docker.io package used to have a docker.io binary but this was reverted in this debian/changelog from Ubuntu Xenial/16.04 (LTS): docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon Gravi Fri, 07 Nov 2014 13:11:34 -0700 The Docker Community and Enterprise Editions (docker-ce and docker-ee packages) also use the plain docker binary and this change is necessary to make the sosreport docker module work again. There are currently two different pull requests that fix this issue: https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1012 We should SRU this fix once one of them is accepted. [1] https://github.com/sosreport/sos/issues/930 [2] https://github.com/sosreport/sos/blob/master/sos/plugins/docker.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Changed in: sosreport (Debian) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Changed in: sosreport (Ubuntu Trusty) Assignee: David Coronel (davecore) => Eric Desrochers (slashd) ** Changed in: sosreport (Ubuntu Xenial) Assignee: David Coronel (davecore) => Eric Desrochers (slashd) ** Changed in: sosreport (Ubuntu Zesty) Assignee: David Coronel (davecore) => Eric Desrochers (slashd) ** Changed in: sosreport (Ubuntu Artful) Assignee: David Coronel (davecore) => Eric Desrochers (slashd) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
The fix for this particular bug is now found in Debian and bionic- proposed (devel release) with version 3.5-1 (until the autopkgtest finishes) # https://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html sosreport (3.4-1 to 3.5-1) Maintainer: Louis Bouchard 0 days old autopkgtest for sosreport/3.5-1: amd64: Pass, arm64: Test in progress, armhf: Pass, i386: Pass, ppc64el: Pass, s390x: Pass Not considered # rmadison sosreport | 3.4-1| bionic | source, amd64, arm64, armhf, i386, ppc64el, s390x sosreport | 3.5-1| bionic-proposed| source, amd64, arm64, armhf, i386, ppc64el, s390x ** Changed in: sosreport (Ubuntu) Assignee: David Coronel (davecore) => (unassigned) ** Changed in: sosreport (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Changed in: sosreport (Ubuntu Artful) Assignee: Eric Desrochers (slashd) => David Coronel (davecore) ** Changed in: sosreport (Ubuntu Zesty) Assignee: Eric Desrochers (slashd) => David Coronel (davecore) ** Changed in: sosreport (Ubuntu Xenial) Assignee: Eric Desrochers (slashd) => David Coronel (davecore) ** Changed in: sosreport (Ubuntu) Assignee: Eric Desrochers (slashd) => David Coronel (davecore) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
Debdiff for Artful (Devel release) ** Patch added: "lp1693574_artful.debdiff" https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1693574/+attachment/4938672/+files/lp1693574_artful.debdiff ** No longer affects: sosreport (Ubuntu Yakkety) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Changed in: sosreport (Ubuntu Artful) Status: Confirmed => In Progress ** Changed in: sosreport (Ubuntu Zesty) Status: Confirmed => In Progress ** Changed in: sosreport (Ubuntu Yakkety) Status: Confirmed => In Progress ** Changed in: sosreport (Ubuntu Xenial) Status: Confirmed => In Progress ** Changed in: sosreport (Ubuntu Trusty) Status: Confirmed => In Progress ** Changed in: sosreport (Ubuntu Yakkety) Status: In Progress => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Changed in: sosreport Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Tags removed: sts-sru-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Changed in: sosreport (Ubuntu Xenial) Status: New => Confirmed ** Changed in: sosreport (Ubuntu Yakkety) Status: New => Confirmed ** Changed in: sosreport (Ubuntu Zesty) Status: New => Confirmed ** Changed in: sosreport (Ubuntu Artful) Status: New => Confirmed ** Changed in: sosreport (Ubuntu Trusty) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Description changed: [Impact] The docker plugin in sosreport doesn't collect informations for Ubuntu. In docker.py for the Ubuntu Plugin, the docker command is set to 'docker.io'[1] which seems to be a old workaround that has been removed[2], thus the docker plugin is no longer calling an existing docker binary which as a result doesn't collect docker informations in Ubuntu. [1]- Plugin : docker.py # Name collision with another package requires docker binary rename docker_cmd = 'docker.io' [2]- docker.io package : debian/changelog docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon GraviFri, 07 Nov 2014 13:11:34 -0700 [Test Case] # Install sosreport from the Ubuntu archive $ sudo apt-get update $ sudo apt-get install sosreport # Run sosreport with docker plugin only or all loaded plugins (for the sake of testing docker plugin the "-o" is more appropriate Docker plugin only : $ sosreport -o docker All loaded plugins: $ sosreport -a # Extract the sosreport*.tar.xz file generated by the above command found in /tmp # Look in "/path_to_sosreport/sos_commands/docker/" and note that all files are empty with "0" size. [Regression Potential] No regression, this is a trivial fix that will allow sosreport to start collecting the docker informations again. If for some reasons, a regression is found, it would be 100% limited to docker plugin of sosreport and not affecting the functionality the core functionality nor other plugins. [Other Info] Additional informations about the context can be found here : https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1338768 * Upstream Bug https://github.com/sosreport/sos/issues/930 * Pull Request https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1009/commits/f8a939d792d8ac683f341458b8cf77a35c4db929 + * Debian Bug : + https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863374 + (Patch submitted to Debian on June 2 2017) + [Original Description] This Launchpad bug is based on an existing GitHub bug[1]. The docker plugin is currently broken in sosreport. In docker.py[2] for Ubuntu the docker command is set to 'docker.io'. docker_cmd = 'docker.io' The docker.io package used to have a docker.io binary but this was reverted in this debian/changelog from Ubuntu Xenial/16.04 (LTS): docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon Gravi Fri, 07 Nov 2014 13:11:34 -0700 The Docker Community and Enterprise Editions (docker-ce and docker-ee packages) also use the plain docker binary and this change is necessary to make the sosreport docker module work again. There are currently two different pull requests that fix this issue: https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1012 We should SRU this fix once one of them is accepted. [1] https://github.com/sosreport/sos/issues/930 [2] https://github.com/sosreport/sos/blob/master/sos/plugins/docker.py ** Tags added: sts sts-sru-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
Debdiff for Zesty ** Patch added: "lp1693574_zesty.debdiff" https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1693574/+attachment/4887924/+files/lp1693574_zesty.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
Debdiff for Yakkety ** Patch added: "lp1693574_yakkety.debdiff" https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1693574/+attachment/4887923/+files/lp1693574_yakkety.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
Debdiff for Xenial ** Patch added: "lp1693574_xenial.debdiff" https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1693574/+attachment/4887922/+files/lp1693574_xenial.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Changed in: sosreport (Ubuntu Xenial) Assignee: David Coronel (davecore) => Eric Desrochers (slashd) ** Changed in: sosreport (Ubuntu Yakkety) Assignee: David Coronel (davecore) => Eric Desrochers (slashd) ** Changed in: sosreport (Ubuntu Artful) Assignee: David Coronel (davecore) => Eric Desrochers (slashd) ** Changed in: sosreport (Ubuntu Zesty) Assignee: David Coronel (davecore) => Eric Desrochers (slashd) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Changed in: sosreport Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Bug watch added: github.com/sosreport/sos/issues #930 https://github.com/sosreport/sos/issues/930 ** Also affects: sosreport via https://github.com/sosreport/sos/issues/930 Importance: Unknown Status: Unknown ** Description changed: [Impact] The docker plugin in sosreport doesn't collect informations for Ubuntu. In docker.py for the Ubuntu Plugin, the docker command is set to 'docker.io'[1] which seems to be a old workaround that has been removed[2], thus the docker plugin is no longer calling an existing docker binary which as a result doesn't collect docker informations in Ubuntu. [1]- Plugin : docker.py # Name collision with another package requires docker binary rename docker_cmd = 'docker.io' [2]- docker.io package : debian/changelog docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon GraviFri, 07 Nov 2014 13:11:34 -0700 [Test Case] # Install sosreport from the Ubuntu archive $ sudo apt-get update $ sudo apt-get install sosreport # Run sosreport with docker plugin only or all loaded plugins (for the sake of testing docker plugin the "-o" is more appropriate Docker plugin only : $ sosreport -o docker All loaded plugins: $ sosreport -a # Extract the sosreport*.tar.xz file generated by the above command found in /tmp # Look in "/path_to_sosreport/sos_commands/docker/" and note that all files are empty with "0" size. [Regression Potential] - No regression, this is a trivial fix that will allow sosreport to start collecting the docker informations again. - If for some reasons, a regression is found, it would be 100% limited to docker plugin of sosreport and not affecting the functionality of sosreport nor other plugin. + No regression, this is a trivial fix that will allow sosreport to start + collecting the docker informations again. + + If for some reasons, a regression is found, it would be 100% limited to + docker plugin of sosreport and not affecting the functionality the core + functionality nor other plugins. [Other Info] Additional informations about the context can be found here : https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1338768 * Upstream Bug https://github.com/sosreport/sos/issues/930 - * Pull Request(s) + * Pull Request https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1009/commits/f8a939d792d8ac683f341458b8cf77a35c4db929 [Original Description] This Launchpad bug is based on an existing GitHub bug[1]. The docker plugin is currently broken in sosreport. In docker.py[2] for Ubuntu the docker command is set to 'docker.io'. docker_cmd = 'docker.io' The docker.io package used to have a docker.io binary but this was reverted in this debian/changelog from Ubuntu Xenial/16.04 (LTS): docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon Gravi Fri, 07 Nov 2014 13:11:34 -0700 The Docker Community and Enterprise Editions (docker-ce and docker-ee packages) also use the plain docker binary and this change is necessary to make the sosreport docker module work again. There are currently two different pull requests that fix this issue: https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1012 We should SRU this fix once one of them is accepted. [1] https://github.com/sosreport/sos/issues/930 [2] https://github.com/sosreport/sos/blob/master/sos/plugins/docker.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Changed in: sosreport (Debian) Status: Unknown => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Description changed: [Impact] The docker plugin in sosreport doesn't collect informations for Ubuntu. In docker.py for the Ubuntu Plugin, the docker command is set to 'docker.io'[1] which seems to be a old workaround that has been removed[2], thus the docker plugin is no longer calling an existing docker binary which as a result doesn't collect docker informations in Ubuntu. [1]- Plugin : docker.py # Name collision with another package requires docker binary rename docker_cmd = 'docker.io' [2]- docker.io package : debian/changelog docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon GraviFri, 07 Nov 2014 13:11:34 -0700 [Test Case] # Install sosreport from the Ubuntu archive $ sudo apt-get update $ sudo apt-get install sosreport # Run sosreport with docker plugin only or all loaded plugins (for the sake of testing docker plugin the "-o" is more appropriate Docker plugin only : $ sosreport -o docker All loaded plugins: $ sosreport -a # Extract the sosreport*.tar.xz file generated by the above command found in /tmp # Look in "/path_to_sosreport/sos_commands/docker/" and note that all files are empty with "0" size. [Regression Potential] No regression, this is a trivial fix that will allow sosreport to start collecting the docker informations again. If for some reasons, a regression is found, it would be 100% limited to docker plugin of sosreport and not affecting the functionality of sosreport nor other plugin. [Other Info] Additional information about the context can be found here : https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1338768 The bug has been reported upstream already[3] and two similar patches has been proposed[4]. Let's see which one will be accepted/merged. [3] - Upstream Bug https://github.com/sosreport/sos/issues/930 [4] - Pull Request(s) - PR #1 https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1009/commits/f8a939d792d8ac683f341458b8cf77a35c4db929 - - PR #2 - https://github.com/sosreport/sos/pull/1012 - https://github.com/davecore82/sos/commit/7d063cf0a5949a9819b80f68e1862d95b8c3fa35 [Original Description] This Launchpad bug is based on an existing GitHub bug[1]. The docker plugin is currently broken in sosreport. In docker.py[2] for Ubuntu the docker command is set to 'docker.io'. docker_cmd = 'docker.io' The docker.io package used to have a docker.io binary but this was reverted in this debian/changelog from Ubuntu Xenial/16.04 (LTS): docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon Gravi Fri, 07 Nov 2014 13:11:34 -0700 The Docker Community and Enterprise Editions (docker-ce and docker-ee packages) also use the plain docker binary and this change is necessary to make the sosreport docker module work again. There are currently two different pull requests that fix this issue: https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1012 We should SRU this fix once one of them is accepted. [1] https://github.com/sosreport/sos/issues/930 [2] https://github.com/sosreport/sos/blob/master/sos/plugins/docker.py ** Description changed: [Impact] The docker plugin in sosreport doesn't collect informations for Ubuntu. In docker.py for the Ubuntu Plugin, the docker command is set to 'docker.io'[1] which seems to be a old workaround that has been removed[2], thus the docker plugin is no longer calling an existing docker binary which as a result doesn't collect docker informations in Ubuntu. [1]- Plugin : docker.py # Name collision with another package requires docker binary rename docker_cmd = 'docker.io' [2]- docker.io package : debian/changelog docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon Gravi Fri, 07 Nov 2014 13:11:34 -0700 [Test Case] # Install sosreport from the Ubuntu archive $ sudo apt-get update $ sudo apt-get install sosreport # Run sosreport with docker plugin only or all loaded plugins (for the sake of testing docker plugin the "-o" is more appropriate Docker plugin only : $ sosreport -o docker All loaded plugins: $ sosreport -a # Extract the sosreport*.tar.xz file generated
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Description changed: [Impact] The docker plugin in sosreport doesn't collect informations for Ubuntu. In docker.py for the Ubuntu Plugin, the docker command is set to 'docker.io'[1] which seems to be a old workaround that has been removed[2], thus the docker plugin is no longer calling an existing docker binary which as a result doesn't collect docker informations in Ubuntu. [1]- Plugin : docker.py # Name collision with another package requires docker binary rename docker_cmd = 'docker.io' [2]- docker.io package : debian/changelog docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon GraviFri, 07 Nov 2014 13:11:34 -0700 [Test Case] - # Install sosreport from the Ubuntu archivee + # Install sosreport from the Ubuntu archive $ sudo apt-get update $ sudo apt-get install sosreport - # Run sosreport + # Run sosreport with docker plugin only or all loaded plugins (for the + sake of testing docker plugin the "-o" is more appropriate + + Docker plugin only : $ sosreport -o docker + + All loaded plugins: + $ sosreport -a # Extract the sosreport*.tar.xz file generated by the above command found in /tmp # Look in "/path_to_sosreport/sos_commands/docker/" and note that all files are empty with "0" size. [Regression Potential] No regression, this is a trivial fix that will allow sosreport to start collecting the docker informations again. If for some reasons, a regression is found, it would be 100% limited to docker plugin of sosreport and not affecting the functionality of sosreport nor other plugin. [Other Info] Additional information about the context can be found here : https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1338768 The bug has been reported upstream already[3] and two similar patches has been proposed[4]. Let's see which one will be accepted/merged. [3] - Upstream Bug https://github.com/sosreport/sos/issues/930 [4] - Pull Request(s) PR #1 https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1009/commits/f8a939d792d8ac683f341458b8cf77a35c4db929 PR #2 https://github.com/sosreport/sos/pull/1012 https://github.com/davecore82/sos/commit/7d063cf0a5949a9819b80f68e1862d95b8c3fa35 [Original Description] This Launchpad bug is based on an existing GitHub bug[1]. The docker plugin is currently broken in sosreport. In docker.py[2] for Ubuntu the docker command is set to 'docker.io'. docker_cmd = 'docker.io' The docker.io package used to have a docker.io binary but this was reverted in this debian/changelog from Ubuntu Xenial/16.04 (LTS): docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon Gravi Fri, 07 Nov 2014 13:11:34 -0700 The Docker Community and Enterprise Editions (docker-ce and docker-ee packages) also use the plain docker binary and this change is necessary to make the sosreport docker module work again. There are currently two different pull requests that fix this issue: https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1012 We should SRU this fix once one of them is accepted. [1] https://github.com/sosreport/sos/issues/930 [2] https://github.com/sosreport/sos/blob/master/sos/plugins/docker.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Changed in: sosreport (Ubuntu Trusty) Importance: Undecided => Medium ** Changed in: sosreport (Ubuntu Xenial) Importance: Undecided => Medium ** Changed in: sosreport (Ubuntu Yakkety) Importance: Undecided => Medium ** Changed in: sosreport (Ubuntu Zesty) Importance: Undecided => Medium ** Changed in: sosreport (Ubuntu Artful) Importance: Undecided => Medium ** Description changed: - - [Impact] + [Impact] The docker plugin in sosreport doesn't collect informations for Ubuntu. In docker.py for the Ubuntu Plugin, the docker command is set to 'docker.io'[1] which seems to be a old workaround that has been removed[2], thus the docker plugin is no longer calling an existing docker binary which as a result doesn't collect docker informations in Ubuntu. [1]- Plugin : docker.py # Name collision with another package requires docker binary rename docker_cmd = 'docker.io' [2]- docker.io package : debian/changelog docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon GraviFri, 07 Nov 2014 13:11:34 -0700 [Test Case] # Install sosreport from the Ubuntu archivee $ sudo apt-get update $ sudo apt-get install sosreport # Run sosreport $ sosreport -o docker # Extract the sosreport*.tar.xz file generated by the above command found in /tmp # Look in "/path_to_sosreport/sos_commands/docker/" and note that all files are empty with "0" size. [Regression Potential] No regression, this is a trivial fix that will allow sosreport to start collecting the docker informations again. - If for some reasons, a regression is found, it would strictly 100% limited to docker plugin of sosreport. + If for some reasons, a regression is found, it would be 100% limited to docker plugin of sosreport and not affecting the functionality of sosreport nor other plugin. [Other Info] - Additionnal information about the context can be found here : + Additional information about the context can be found here : https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1338768 The bug has been reported upstream already[3] and two similar patches has been proposed[4]. Let's see which one will be accepted/merged. [3] - Upstream Bug https://github.com/sosreport/sos/issues/930 [4] - Pull Request(s) PR #1 https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1009/commits/f8a939d792d8ac683f341458b8cf77a35c4db929 PR #2 https://github.com/sosreport/sos/pull/1012 https://github.com/davecore82/sos/commit/7d063cf0a5949a9819b80f68e1862d95b8c3fa35 [Original Description] This Launchpad bug is based on an existing GitHub bug[1]. The docker plugin is currently broken in sosreport. In docker.py[2] for Ubuntu the docker command is set to 'docker.io'. docker_cmd = 'docker.io' The docker.io package used to have a docker.io binary but this was reverted in this debian/changelog from Ubuntu Xenial/16.04 (LTS): docker.io (1.3.1~dfsg1-2) unstable; urgency=medium * Remove deprecated /usr/bin/docker.io symlink - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) -- Tianon Gravi Fri, 07 Nov 2014 13:11:34 -0700 The Docker Community and Enterprise Editions (docker-ce and docker-ee packages) also use the plain docker binary and this change is necessary to make the sosreport docker module work again. There are currently two different pull requests that fix this issue: https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1012 We should SRU this fix once one of them is accepted. [1] https://github.com/sosreport/sos/issues/930 [2] https://github.com/sosreport/sos/blob/master/sos/plugins/docker.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Changed in: sosreport (Ubuntu Trusty) Assignee: (unassigned) => David Coronel (davecore) ** Changed in: sosreport (Ubuntu Xenial) Assignee: (unassigned) => David Coronel (davecore) ** Changed in: sosreport (Ubuntu Yakkety) Assignee: (unassigned) => David Coronel (davecore) ** Changed in: sosreport (Ubuntu Zesty) Assignee: (unassigned) => David Coronel (davecore) ** Changed in: sosreport (Ubuntu Artful) Assignee: (unassigned) => David Coronel (davecore) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Also affects: sosreport (Ubuntu Artful) Importance: Undecided Status: New ** Also affects: sosreport (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: sosreport (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: sosreport (Ubuntu Zesty) Importance: Undecided Status: New ** Also affects: sosreport (Ubuntu Yakkety) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1693574] Re: Docker plugin uses the wrong command for Ubuntu
** Description changed: + + [Impact] + + The docker plugin in sosreport doesn't collect informations for Ubuntu. + + In docker.py for the Ubuntu Plugin, the docker command is set to + 'docker.io'[1] which seems to be a old workaround that has been + removed[2], thus the docker plugin is no longer calling an existing + docker binary which as a result doesn't collect docker informations in + Ubuntu. + + [1]- Plugin : docker.py + + # Name collision with another package requires docker binary rename + docker_cmd = 'docker.io' + + [2]- docker.io package : debian/changelog + + docker.io (1.3.1~dfsg1-2) unstable; urgency=medium + * Remove deprecated /usr/bin/docker.io symlink + - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) + - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) + -- Tianon GraviFri, 07 Nov 2014 13:11:34 -0700 + + [Test Case] + + # Install sosreport from the Ubuntu archivee + $ sudo apt-get update + $ sudo apt-get install sosreport + + # Run sosreport + $ sosreport -o docker + + # Extract the sosreport*.tar.xz file generated by the above command + found in /tmp + + # Look in "/path_to_sosreport/sos_commands/docker/" and note that all + files are empty with "0" size. + + [Regression Potential] + + No regression, this is a trivial fix that will allow sosreport to start collecting the docker informations again. + If for some reasons, a regression is found, it would strictly 100% limited to docker plugin of sosreport. + + [Other Info] + + Additionnal information about the context can be found here : + https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1338768 + + The bug has been reported upstream already[3] and two similar patches has been proposed[4]. + Let's see which one will be accepted/merged. + + [3] - Upstream Bug + https://github.com/sosreport/sos/issues/930 + + [4] - Pull Request(s) + PR #1 + https://github.com/sosreport/sos/pull/1009 + https://github.com/sosreport/sos/pull/1009/commits/f8a939d792d8ac683f341458b8cf77a35c4db929 + + PR #2 + https://github.com/sosreport/sos/pull/1012 + https://github.com/davecore82/sos/commit/7d063cf0a5949a9819b80f68e1862d95b8c3fa35 + + [Original Description] + This Launchpad bug is based on an existing GitHub bug[1]. The docker plugin is currently broken in sosreport. In docker.py[2] for Ubuntu the docker command is set to 'docker.io'. - docker_cmd = 'docker.io' + docker_cmd = 'docker.io' The docker.io package used to have a docker.io binary but this was reverted in this debian/changelog from Ubuntu Xenial/16.04 (LTS): - docker.io (1.3.1~dfsg1-2) unstable; urgency=medium - * Remove deprecated /usr/bin/docker.io symlink - - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) - - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) --- Tianon Gravi Fri, 07 Nov 2014 13:11:34 -0700 + docker.io (1.3.1~dfsg1-2) unstable; urgency=medium + * Remove deprecated /usr/bin/docker.io symlink + - added as a temporary shim in 1.0.0~dfsg1-1 (13 Jun 2014) + - unused by package-installed files in 1.2.0~dfsg1-1 (13 Sep 2014) + -- Tianon Gravi Fri, 07 Nov 2014 13:11:34 -0700 The Docker Community and Enterprise Editions (docker-ce and docker-ee packages) also use the plain docker binary and this change is necessary to make the sosreport docker module work again. There are currently two different pull requests that fix this issue: https://github.com/sosreport/sos/pull/1009 https://github.com/sosreport/sos/pull/1012 We should SRU this fix once one of them is accepted. - [1] https://github.com/sosreport/sos/issues/930 [2] https://github.com/sosreport/sos/blob/master/sos/plugins/docker.py -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1693574 Title: Docker plugin uses the wrong command for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1693574/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs