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] PillarCache does not pass extra_minion_data #63208

Closed
5 of 9 tasks
lkubb opened this issue Dec 5, 2022 · 0 comments · Fixed by #63209
Closed
5 of 9 tasks

[BUG] PillarCache does not pass extra_minion_data #63208

lkubb opened this issue Dec 5, 2022 · 0 comments · Fixed by #63209
Labels
Bug broken, incorrect, or confusing behavior needs-triage Pillar

Comments

@lkubb
Copy link
Contributor

lkubb commented Dec 5, 2022

Description
When pillar cache is enabled, extra_minion_data for external pillars is dysfunctional. [Was it a deliberate decision?]

Setup

  • on-prem machine
  • VM (Virtualbox, KVM, etc. please specify)
  • VM running on a cloud service, please be explicit and add details
  • container (Kubernetes, Docker, containerd, etc. please specify)
  • or a combination, please be explicit
  • jails if it is FreeBSD
  • classic packaging
  • onedir packaging
  • used bootstrap to install

Steps to Reproduce the behavior

# /etc/salt/master
pillar_cache: true
ext_pillar:
  - extra_minion_data_in_pillar: "*"
# /etc/salt/minion
# [...]
hi: there
pass_to_ext_pillars: ["hi"]
$ salt-call pillar.items
{}

Expected behavior

$ salt-call pillar.items
{"hi": "there"}

Screenshots
If applicable, add screenshots to help explain your problem.

Versions Report

salt --versions-report (Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)
Salt Version:
          Salt: 3005.1

Dependency Versions:
          cffi: 1.14.6
      cherrypy: unknown
      dateutil: 2.8.1
     docker-py: Not Installed
         gitdb: 4.0.9
     gitpython: 3.1.29
        Jinja2: 3.1.0
       libgit2: Not Installed
      M2Crypto: Not Installed
          Mako: Not Installed
       msgpack: 1.0.2
  msgpack-pure: Not Installed
  mysql-python: Not Installed
     pycparser: 2.21
      pycrypto: Not Installed
  pycryptodome: 3.9.8
        pygit2: Not Installed
        Python: 3.9.14 (main, Sep 27 2022, 00:00:00)
  python-gnupg: 0.4.8
        PyYAML: 5.4.1
         PyZMQ: 23.2.0
         smmap: 5.0.0
       timelib: 0.2.4
       Tornado: 4.5.3
           ZMQ: 4.3.4

System Versions:
          dist: rocky 9.0 Blue Onyx
        locale: utf-8
       machine: x86_64
       release: 5.14.0-70.26.1.el9_0.x86_64
        system: Linux
       version: Rocky Linux 9.0 Blue Onyx
@lkubb lkubb added Bug broken, incorrect, or confusing behavior needs-triage labels Dec 5, 2022
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 needs-triage Pillar
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants