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

salt-ssh does not use custom utils #53666

Open
clinta opened this issue Jun 30, 2019 · 3 comments
Open

salt-ssh does not use custom utils #53666

clinta opened this issue Jun 30, 2019 · 3 comments

Comments

@clinta
Copy link
Contributor

@clinta clinta commented Jun 30, 2019

Description of Issue

Custom utils in _utils do not work with salt-ssh

Setup

_modules/foo.py:

import salt.utils.foo

def foo():
    return salt.utils.foo.foo()

_utils/foo.py:

def foo():
    return "foo"

Steps to Reproduce Issue

$ salt-ssh --regen-thin minion foo.foo          

minion:
    ----------
    retcode:
        255
    stderr:
        'foo' __virtual__ returned False: No module named foo
    stdout:

Versions Report

$ salt-ssh --versions-report
Salt Version:
           Salt: 2019.2.0
 
Dependency Versions:
           cffi: Not Installed
       cherrypy: Not Installed
       dateutil: Not Installed
      docker-py: Not Installed
          gitdb: Not Installed
      gitpython: Not Installed
          ioflo: Not Installed
         Jinja2: 2.10.1
        libgit2: Not Installed
        libnacl: Not Installed
       M2Crypto: 0.34.0
           Mako: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 0.6.1
   mysql-python: Not Installed
      pycparser: Not Installed
       pycrypto: 3.8.2
   pycryptodome: Not Installed
         pygit2: Not Installed
         Python: 2.7.16 (default, Mar 11 2019, 18:59:25)
   python-gnupg: Not Installed
         PyYAML: 5.1
          PyZMQ: 18.0.1
           RAET: Not Installed
          smmap: Not Installed
        timelib: Not Installed
        Tornado: 5.1.1
            ZMQ: 4.3.1
 
System Versions:
           dist:   
         locale: UTF-8
        machine: x86_64
        release: 5.1.15-arch1-1-ARCH
         system: Linux
        version: Not Installed
@max-arnold

This comment has been minimized.

Copy link
Contributor

@max-arnold max-arnold commented Jul 4, 2019

Related: #46841, #32500

@stale

This comment has been minimized.

Copy link

@stale stale bot commented Jan 8, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

@stale stale bot added the stale label Jan 8, 2020
@stale

This comment has been minimized.

Copy link

@stale stale bot commented Jan 9, 2020

Thank you for updating this issue. It is no longer marked as stale.

@stale stale bot removed the stale label Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.