Skip to content

[BUG] with empy wanted_pkgs and 2019.2 fails on pkg.installed #64

@arthurzenika

Description

@arthurzenika

Your setup

Formula commit hash / release tag

7d63859

Versions reports (master & minion)

salt-call --versions-report
Salt Version:
           Salt: 2019.2.2
 
Dependency Versions:
           cffi: Not Installed
       cherrypy: Not Installed
       dateutil: 2.5.3
      docker-py: Not Installed
          gitdb: Not Installed
      gitpython: Not Installed
          ioflo: Not Installed
         Jinja2: 2.9.4
        libgit2: Not Installed
        libnacl: Not Installed
       M2Crypto: Not Installed
           Mako: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 0.4.8
   mysql-python: Not Installed
      pycparser: Not Installed
       pycrypto: 2.6.1
   pycryptodome: Not Installed
         pygit2: Not Installed
         Python: 2.7.13 (default, Sep 26 2018, 18:42:22)
   python-gnupg: Not Installed
         PyYAML: 3.12
          PyZMQ: 16.0.2
           RAET: Not Installed
          smmap: Not Installed
        timelib: Not Installed
        Tornado: 4.4.3
            ZMQ: 4.2.1
 
System Versions:
           dist: debian 9.11 
         locale: UTF-8
        machine: x86_64
        release: 4.9.0-11-amd64
         system: Linux
        version: debian 9.11 

Pillar / config used

packages:
  pkgs:
    wanted:

Bug details

Describe the bug

----------
          ID: wanted_pkgs
    Function: pkg.installed
      Result: False
     Comment: Attempt 1: Returned a result of "False", with the following comment: "Problem encountered installing package(s). Additional info follows:
              
              errors:
                  - Running scope as unit: run-r277f85bc77b94f668eefedd7cedd7a54.scope
                    E: Unable to locate package wanted_pkgs"
              Attempt 2: Returned a result of "False", with the following comment: "Problem encountered installing package(s). Additional info follows:
              
              errors:
                  - Running scope as unit: run-red3c26eba2cf440487d115a396506e48.scope
                    E: Unable to locate package wanted_pkgs"
              Problem encountered installing package(s). Additional info follows:
              
              errors:
                  - Running scope as unit: run-rec8c9a5c750d4ce9882b5ec09b725ccc.scope
                    E: Unable to locate package wanted_pkgs
     Started: 13:17:32.463431
    Duration: 131452.439 ms
     Changes:   

Steps to reproduce the bug

Expected behaviour

Attempts to fix the bug

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions