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

[BUG] state.apply php.cli, php.fpm and php.xcache fail to compile. #202

Open
gj02ib65 opened this issue Oct 4, 2019 · 1 comment
Open
Labels

Comments

@gj02ib65
Copy link

gj02ib65 commented Oct 4, 2019

I have found that I am not able to run state.apply "php.cli', 'php.fpm' and 'php.xcache'

Following is a screenshot from the salt master and the response.

I am able to run the commands that they are supposed to run such as php.cli.install and php.cli.ini.

I will include debug log in additional message.

gjohnson@prd-ssm:~$ sudo salt '*work*' state.apply php.xcache
ussc-tst-worker-vm1:
    Data failed to compile:
----------
    Rendering SLS 'base:php.xcache.ini' failed: Jinja variable 'dict object' has no attribute 'defaults'
ERROR: Minions returned with non-zero exit code
gjohnson@prd-ssm:~$ sudo salt '*work*' state.apply php.fpm
ussc-tst-worker-vm1:
    Data failed to compile:
----------
    Rendering SLS 'base:php.fpm' failed: Jinja variable 'dict object' has no attribute 'fpm_pkg'
ERROR: Minions returned with non-zero exit code
gjohnson@prd-ssm:~$ sudo salt '*work*' state.apply php.cli
ussc-tst-worker-vm1:
    Data failed to compile:
----------
    Rendering SLS 'base:php.cli' failed: Jinja variable 'dict object' has no attribute 'cli_pkg'
ERROR: Minions returned with non-zero exit code 

Describe the bug

Setup

Steps to reproduce the bug

Expected behaviour

Versions report

Salt Version:
          Salt: 2019.2.0

Dependency Versions:
          cffi: Not Installed
      cherrypy: Not Installed
      dateutil: 2.6.1
     docker-py: Not Installed
         gitdb: 2.0.3
     gitpython: 2.1.8
         ioflo: Not Installed
        Jinja2: 2.10
       libgit2: 0.26.0
       libnacl: Not Installed
      M2Crypto: Not Installed
          Mako: 1.0.7
  msgpack-pure: Not Installed
msgpack-python: 0.5.6
  mysql-python: Not Installed
     pycparser: Not Installed
      pycrypto: 2.6.1
  pycryptodome: Not Installed
        pygit2: 0.26.2
        Python: 2.7.15+ (default, Jul  9 2019, 16:51:35)
  python-gnupg: 0.4.1
        PyYAML: 3.12
         PyZMQ: 16.0.2
          RAET: Not Installed
         smmap: 2.0.3
       timelib: Not Installed
       Tornado: 4.5.3
           ZMQ: 4.2.5System Versions:
          dist: Ubuntu 18.04 bionic
        locale: UTF-8
       machine: x86_64
       release: 5.0.0-1020-azure
        system: Linux
       version: Ubuntu 18.04 bionic

Additional context

Optional: How can this template be improved?

@gj02ib65 gj02ib65 added the bug label Oct 4, 2019
@gj02ib65
Copy link
Author

gj02ib65 commented Oct 4, 2019

Debug log

minion3.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant