Skip to content

Jinja variable 'salt.utils.odict.OrderedDict object' has no attribute 'maxretry' #3

@kartnico

Description

@kartnico

Hi,

When I try to use nut-formula, I have this error :

      ID: ups_conf
Function: file.managed
    Name: /etc/ups/ups.conf
  Result: False
 Comment: Unable to manage file: Jinja variable 'salt.utils.odict.OrderedDict object' has no attribute 'maxretry'
 Started: 12:00:41.313716
Duration: 118.689 ms
 Changes:   

My salt-minion version :

salt-call --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.7.2
    libgit2: Not Installed
    libnacl: Not Installed
   M2Crypto: Not Installed
       Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.6
 mysql-python: Not Installed
  pycparser: Not Installed
   pycrypto: 2.6.1
 pycryptodome: Not Installed
     pygit2: Not Installed
     Python: 2.7.5 (default, Apr  9 2019, 14:30:50)
 python-gnupg: Not Installed
     PyYAML: 3.10
      PyZMQ: 15.3.0
       RAET: Not Installed
      smmap: Not Installed
    timelib: Not Installed
    Tornado: 4.2.1
        ZMQ: 4.1.4

System Versions:
       dist: centos 7.6.1810 Core
     locale: UTF-8
    machine: x86_64
    release: 3.10.0-957.12.2.el7.x86_64
     system: Linux
    version: CentOS Linux 7.6.1810 Core

I have the error only for "ups_conf" state. All other states are "ok".

I tried also with "pillars" to change "maxretry" parameter, but I always have the error.
I also have the error for every parameters in "ups_config" dict.

Regards,

Nicolas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions