New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid output of pkg.list_upgrades on Fedora 27 Server #47717

Closed
server-monitoring opened this Issue May 18, 2018 · 2 comments

Comments

@server-monitoring

server-monitoring commented May 18, 2018

Description of Issue/Question

When issuing the command

salt-call pkg.list_upgrades

on a masterless configured “Fedora 27 Server” machine, SaltStack does not output the package name of available packages, instead only the upgradable version and the string “update” is displayed. Also, the last entry’s package name is “Available” and the version says “Upgrades”.

The output looks like this:

local:
    ----------
    0.1.1-36.fc27:
        updates
    0.1.5-36.fc27:
        updates
    0.11.1-1.fc27:
        updates
    0.12.1-5.fc27:
        updates
    0.17.0-4.fc27:
        updates
    0.170-10.fc27:
        updates
    0.18.0-2.fc27:
        updates
    0.19.8.1-12.fc27:
        updates
    0.2.1-36.fc27:
        updates
    0.2.4-8.rc3.fc27:
        updates
    0.23-8.fc27:
        updates
    0.23.10-1.fc27:
        updates
    0.25-2.fc27:
        updates
    0.312-1.fc27:
        updates
    0.4.4.5-4.fc27:
        updates
    0.5-2.fc27:
        updates
    0.5.0-36.fc27:
        updates
    0.6.34-1.fc27:
        updates
    0.7-11.fc27:
        updates
    0.7.0-29.fc27:
        updates
    0.7.0-36.fc27:
        updates
    0.7.1-9.git847cc43.fc27:
        updates
    0.7.5-1.fc27:
        updates
    0.7.8-1.fc27:
        updates
    0.8.0-1.fc27:
        updates
    0.80-2.fc27:
        updates
    0.9.36-1.fc27:
        updates
    0.9.9-1.fc27:
        updates
    0.99.8-1.fc27:
        updates
    009-1.fc27:
        updates
    046-8.git20180105.fc27:
        updates
    1.0.3-2.fc27:
        updates
    1.0.3-6.fc27:
        updates
    1.02.144-1.fc27:
        updates
    1.1-1.fc27:
        updates
    1.1-2.fc27:
        updates
    1.1.10-1.fc27:
        updates
    1.1.2-4.fc27:
        updates
    1.10.0-4.fc27.1:
        updates
    1.10.1-1.fc27:
        updates
    1.112-1.fc27:
        updates
    1.15.10-1.fc27:
        updates
    1.15.2-9.fc27:
        updates
    1.16.1-4.fc27:
        updates
    1.19.5-1.fc27:
        updates
    1.2-1.fc27:
        updates
    1.22.3-14.fc27:
        updates
    1.3.1-36.fc27:
        updates
    1.3.12-2.fc27:
        updates
    1.3.15-2.fc27:
        updates
    1.3.2-1.fc27:
        updates
    1.3.4-1.fc27:
        updates
    1.31.1-1.fc27:
        updates
    1.34-1.fc27:
        updates
    1.4.29-1.fc27:
        updates
    1.6-1.fc27:
        updates
    1.6.10-1.fc27:
        updates
    1.6.2-3.fc27:
        updates
    1.74-4.fc27:
        updates
    1.8.2-1.fc27:
        updates
    1.9-2.fc27:
        updates
    10.2.5-2.fc27:
        updates
    10.31-4.fc27:
        updates
    12:4.3.6-10.fc27:
        updates
    15.32.2.9-82.fc27:
        updates
    166-1.fc27:
        updates
    18.168.6.1-82.fc27:
        updates
    1:1.0.2o-1.fc27:
        updates
    1:1.1.0h-3.fc27:
        updates
    1:1.12.0-1.fc27:
        updates
    1:1.13-6.fc27:
        updates
    1:1.8.6-1.fc27:
        updates
    1:12.2.5-1.fc27:
        updates
    1:2.02-22.fc27:
        updates
    1:2.2.1-4.rc2.fc27:
        updates
    1:2.2.4-10.fc27:
        updates
    1:2.6-13.fc27:
        updates
    1:25.30.13.0-82.fc27:
        updates
    1:39.31.5.1-82.fc27:
        updates
    1:4.6.0-19.fc27:
        updates
    2.0-0.47.20160912git.fc27:
        updates
    2.0.15-12.fc27.1:
        updates
    2.0.4-4.fc27:
        updates
    2.02.175-1.fc27:
        updates
    2.1.13-1.fc27:
        updates
    2.10.7-1.fc27:
        updates
    2.11-1.fc27:
        updates
    2.12.6-4.fc27:
        updates
    2.16-1.fc27:
        updates
    2.2.5-1.fc27:
        updates
    2.2.6-1.fc27:
        updates
    2.26-27.fc27:
        updates
    2.3.3-1.fc27:
        updates
    2.30.2-3.fc27:
        updates
    2.4.45-4.fc27:
        updates
    2.4.91-1.fc27:
        updates
    2.5.1-1.fc27:
        updates
    2.54.1-1.fc27:
        updates
    2.54.3-2.fc27:
        updates
    2.60.3-1.fc27:
        updates
    2.7-2.fc27:
        updates
    2.7-3.fc27:
        updates
    2.7-6.fc27:
        updates
    2.7.15-1.fc27:
        updates
    2.7.5-2.fc27:
        updates
    2.7.6-1.fc27:
        updates
    2.7.6.1-12.fc27:
        updates
    2.79-1.fc27:
        updates
    2.8-8.fc27:
        updates
    2.8.3-1.fc27:
        updates
    2.9.3-3.fc27:
        updates
    2.9.7-1.fc27:
        updates
    20170816-2.gite0a4066.fc27:
        updates
    20171215-82.git2451bb22.fc27:
        updates
    2018.04-1.fc27:
        updates
    2018.2.22-1.0.fc27:
        updates
    20180419-1.fc27:
        updates
    2018d-1.fc27:
        updates
    228.61.2.24-82.fc27:
        updates
    234-11.git5f8984e.fc27:
        updates
    25-1.fc27:
        updates
    27-2:
        updates
    2:2.1-22.fc27:
        updates
    2:2017.3.23-4.fc27:
        updates
    2:20171215-82.git2451bb22.fc27:
        updates
    2:4.16-1.fc27:
        updates
    2:4.7.7-0.fc27:
        updates
    2:7.60-8.fc27:
        updates
    2:8.0.1806-1.fc27:
        updates
    3.1.3-2.fc27:
        updates
    3.1.6-1.fc27:
        updates
    3.12.3-4.fc27:
        updates
    3.13.1-283.34.fc27:
        updates
    3.20.1-2.fc27:
        updates
    3.26.1-1.fc27:
        updates
    3.3-1.fc27:
        updates
    3.36.1-1.0.fc27:
        updates
    3.4-1.fc27:
        updates
    3.4.0-1.fc27:
        updates
    3.5-1.fc27:
        updates
    3.5.18-2.fc27:
        updates
    3.6.5-1.fc27:
        updates
    32:9.11.3-4.fc27:
        updates
    37.0.0-1.fc27:
        updates
    39.31.5.1-82.fc27:
        updates
    4.1.4-8.fc27:
        updates
    4.13-1.fc27:
        updates
    4.14.1-1.fc27:
        updates
    4.15.0-1.fc27:
        updates
    4.16.7-200.fc27:
        updates
    4.19.0-1.fc27:
        updates
    4.4-4.fc27:
        updates
    4.4.19-1.fc27:
        updates
    41.28.5.1-82.fc27:
        updates
    5.3.28-27.fc27:
        updates
    5.3.4-7.fc27:
        updates
    5.31-11.fc27:
        updates
    5.49-3.fc27:
        updates
    57.1-9.fc27:
        updates
    6.0-37.fc27:
        updates
    6.4-6.fc27:
        updates
    6.8-1.fc27:
        updates
    7.3.1-5.fc27:
        updates
    7.55.1-10.fc27:
        updates
    7.6p1-5.fc27:
        updates
    8.0.1-36.fc27:
        updates
    8.24.2.2-82.fc27:
        updates
    8.27-21.fc27:
        updates
    8.34.0-1.fc27:
        updates
    8.40-8.fc27:
        updates
    8.42-1.fc27:
        updates
    8.83.5.1_1-82.fc27:
        updates
    9.0.3-2.fc27:
        updates
    9.221.4.1-82.fc27:
        updates
    9.79-1.fc27:
        updates
    9.9.11-3.fc27:
        updates
    Available:
        Upgrades

Versions Report

salt --versions-report

Salt Version:
           Salt: 2017.7.3

Dependency Versions:
           cffi: 1.10.0
       cherrypy: Not Installed
       dateutil: Not Installed
      docker-py: Not Installed
          gitdb: Not Installed
      gitpython: Not Installed
          ioflo: Not Installed
         Jinja2: 2.9.6
        libgit2: Not Installed
        libnacl: Not Installed
       M2Crypto: 0.28.2
           Mako: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 0.5.1
   mysql-python: Not Installed
      pycparser: 2.14
       pycrypto: 2.6.1
   pycryptodome: Not Installed
         pygit2: Not Installed
         Python: 2.7.13 (default, Aug 16 2017, 12:56:26)
   python-gnupg: Not Installed
         PyYAML: 3.12
          PyZMQ: 16.0.2
           RAET: Not Installed
          smmap: Not Installed
        timelib: Not Installed
        Tornado: 4.5.2
            ZMQ: 4.1.6

System Versions:
           dist: fedora 27 Twenty Seven
         locale: UTF-8
        machine: x86_64
        release: 4.13.9-300.fc27.x86_64
         system: Linux
        version: Fedora 27 Twenty Seven
@Ch3LL

This comment has been minimized.

Contributor

Ch3LL commented May 18, 2018

looks like i'm able to replicate this. ping @terminalmage any ideas here?

@terminalmage

This comment has been minimized.

Member

terminalmage commented May 21, 2018

Fixed in #47749

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment