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

exception when running state.high over salt-ssh #34796

Closed
Ch3LL opened this issue Jul 19, 2016 · 0 comments
Closed

exception when running state.high over salt-ssh #34796

Ch3LL opened this issue Jul 19, 2016 · 0 comments
Labels
Bug broken, incorrect, or confusing behavior Core relates to code central or existential to Salt Execution-Module P4 Priority 4 Salt-SSH severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone

Comments

@Ch3LL
Copy link
Contributor

Ch3LL commented Jul 19, 2016

Description of Issue/Question

When running state.high over salt-ssh I receive the following error: An Exception occurred while executing state.high: 'function' object has no attribute 'iteritems'

Setup

  1. (1) salt-ssh master (1) host without salt setup in roster

Steps to Reproduce Issue

  1. run state.high command which was copied directly from the docs:
root@ubuntu:~# salt-ssh '*' state.high '{"vim": {"pkg": ["installed"]}}'
ch3ll-ssh-test:
    An Exception occurred while executing state.high: 'function' object has no attribute 'iteritems'
ch3ll-ssh-test2:
    An Exception occurred while executing state.high: 'function' object has no attribute 'iteritems'

This command works when not run over salt-ssh:

root@ubuntu:~# salt '*' state.high '{"vim": {"pkg": ["installed"]}}'

ubuntu.members.linode.com:
    ----------
    pkg_|-vim_|-vim_|-installed:
        ----------
        __run_num__:
            0
        changes:
            ----------
            vim:
                ----------
                new:
                    2:7.4.052-1ubuntu3
                old:
        comment:
            The following packages were installed/updated: vim
        duration:
            247468.891
        name:
            vim
        result:
            True
        start_time:
            22:50:47.379741

Versions Report

root@ubuntu:~# salt-ssh --versions-report
Salt Version:
           Salt: 2015.8.11

Dependency Versions:
         Jinja2: 2.7.2
       M2Crypto: 0.21.1
           Mako: Not Installed
         PyYAML: 3.10
          PyZMQ: 14.0.1
         Python: 2.7.6 (default, Jun 22 2015, 17:58:13)
           RAET: Not Installed
        Tornado: 4.4
            ZMQ: 4.0.4
           cffi: Not Installed
       cherrypy: Not Installed
       dateutil: Not Installed
          gitdb: Not Installed
      gitpython: Not Installed
          ioflo: Not Installed
        libgit2: Not Installed
        libnacl: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 0.3.0
   mysql-python: Not Installed
      pycparser: Not Installed
       pycrypto: 2.6.1
         pygit2: Not Installed
   python-gnupg: Not Installed
          smmap: Not Installed
        timelib: Not Installed

System Versions:
           dist: Ubuntu 14.04 trusty
        machine: x86_64
        release: 4.5.5-x86_64-linode69
         system: Ubuntu 14.04 trusty

@Ch3LL Ch3LL added Bug broken, incorrect, or confusing behavior P4 Priority 4 severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around Salt-SSH Execution-Module labels Jul 19, 2016
@Ch3LL Ch3LL added this to the Approved milestone Jul 19, 2016
@Ch3LL Ch3LL added the Core relates to code central or existential to Salt label Jul 19, 2016
thatch45 added a commit to thatch45/salt that referenced this issue Jul 20, 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 Core relates to code central or existential to Salt Execution-Module P4 Priority 4 Salt-SSH severity-medium 3rd level, incorrect or bad functionality, confusing and lacks a work around
Projects
None yet
Development

No branches or pull requests

2 participants