Skip to content
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

"'drac' __virtual__ returned False" from salt-run drac.version host #35825

Closed
tjyang opened this issue Aug 26, 2016 · 3 comments
Closed

"'drac' __virtual__ returned False" from salt-run drac.version host #35825

tjyang opened this issue Aug 26, 2016 · 3 comments
Assignees
Labels
Bug broken, incorrect, or confusing behavior fixed-pls-verify fix is linked, bug author to confirm fix P4 Priority 4 RIoT Relates to integration with cloud providers, hypervisors, API-based services, etc. Runners severity-low 4th level, cosemtic problems, work around exists
Milestone

Comments

@tjyang
Copy link
Contributor

tjyang commented Aug 26, 2016

Description of Issue/Question

Please add detail reason why the command failed
Ref: #31900

Setup

/etc/salt/master
drac:
  username: account
  password: mypass

Steps to Reproduce Issue

/usr/bin/salt-run   drac.version idrac01.test.com

Versions Report

Salt Version:
           Salt: 2016.3.2

Dependency Versions:
           cffi: 0.8.6
       cherrypy: 3.2.2
       dateutil: 1.5
          gitdb: 0.6.4
      gitpython: 1.0.1
          ioflo: Not Installed
         Jinja2: 2.7.2
        libgit2: 0.21.0
        libnacl: Not Installed
       M2Crypto: 0.21.1
           Mako: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 0.4.7
   mysql-python: Not Installed
      pycparser: 2.14
       pycrypto: 2.6.1
         pygit2: 0.21.4
         Python: 2.7.5 (default, Aug 18 2016, 15:58:25)
   python-gnupg: Not Installed
         PyYAML: 3.11
          PyZMQ: 15.3.0
           RAET: Not Installed
          smmap: 0.9.0
        timelib: Not Installed
        Tornado: 4.2.1
            ZMQ: 4.1.4

System Versions:
           dist: centos 7.2.1511 Core
        machine: x86_64
        release: 3.10.0-327.28.2.el7.x86_64
         system: Linux
        version: CentOS Linux 7.2.1511 Core
@Ch3LL
Copy link
Contributor

Ch3LL commented Aug 26, 2016

@tjyang agreed we need to add reasoning behind why this is failing. Thanks

@Ch3LL Ch3LL added Bug broken, incorrect, or confusing behavior severity-low 4th level, cosemtic problems, work around exists P4 Priority 4 Runners RIoT Relates to integration with cloud providers, hypervisors, API-based services, etc. labels Aug 26, 2016
@Ch3LL Ch3LL added this to the Approved milestone Aug 26, 2016
@rallytime
Copy link
Contributor

rallytime commented Aug 29, 2016

First we need to expand the handy "why didn't this module load" error reporting to runners like we do for states and modules. After that, these should be easy to clean up.

@rallytime
Copy link
Contributor

Oh, we actually do already handle that for runners. I was mistaken when I tested it at first. I've added a more helpful error message and cleaned up some potential stacktraces/KeyErrors in #35868.

@rallytime rallytime added fixed-pls-verify fix is linked, bug author to confirm fix TEAM Core labels Aug 29, 2016
@rallytime rallytime modified the milestones: C 4, Approved Aug 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug broken, incorrect, or confusing behavior fixed-pls-verify fix is linked, bug author to confirm fix P4 Priority 4 RIoT Relates to integration with cloud providers, hypervisors, API-based services, etc. Runners severity-low 4th level, cosemtic problems, work around exists
Projects
None yet
Development

No branches or pull requests

3 participants