Skip to content

Mine Data not getting updated in 0.17.1 #8144

@naemono

Description

@naemono

(Please excuse me if this relates to another of the issues I've recently reported. Seems to be a bit different)

New OS and minion install, ubuntu 12.04 LTS,

root@newminion:/var# salt-minion --versions-report
           Salt: 0.17.1
         Python: 2.7.3 (default, Sep 26 2013, 20:03:06)
         Jinja2: 2.6
       M2Crypto: 0.21.1
 msgpack-python: 0.1.10
   msgpack-pure: Not Installed
       pycrypto: 2.4.1
         PyYAML: 3.10
          PyZMQ: 13.0.0
            ZMQ: 3.2.2

Existing master 0.17.1

root@saltmaster01:~# salt --versions-report
           Salt: 0.17.1
         Python: 2.7.3 (default, Aug  1 2012, 05:14:39)
         Jinja2: 2.6
       M2Crypto: 0.21.1
 msgpack-python: 0.1.10
   msgpack-pure: Not Installed
       pycrypto: 2.4.1
         PyYAML: 3.10
          PyZMQ: 13.0.0
            ZMQ: 3.2.2
root@newminion:/var# cat /etc/salt/minion
master: saltmaster01.mydomain.com
grains:
  roles:
    - pgpool
  env:
    - stg
mine_functions:
  network.interfaces: []
  test.ping: []
  grains.item:
    - app
    - roles
    - env
    - fqdn
log_level: debug
root@saltmaster01:~# salt 'newminion' mine.update
newminion:
    True
root@saltmaster01:~# salt 'newminion' mine.get 'newminion' grains.item
newminion:
    ----------

Nothing is returned.

If I go to cache dir on master, I should see a 'mine.p' file, but nothing is there:

root@saltmaster01:/var/cache/salt/master/minions/newminion# ls -la
total 16
drwxr-xr-x  2 root root 4096 Oct 28 16:47 .
drwxr-xr-x 88 root root 4096 Oct 28 17:18 ..
-rw-r--r--  1 root root 5583 Oct 28 18:37 data.p

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions