FAQ
Good Afternoon!

I have custom-modules that I created on MOM. I have no issues with MOM
synching these with other minions, but when it comes to syncing with a
syndic, I have issues

What am I missing.

From MOM, I can ping the syndic and it's children:

./salt.sh -G "datacenter:QIDC" test.ping


MOM does pass –G datacenter:QIDC commands down to underlings. But why does
the syndic not sync? It’s kind of its main purpose.

I created the folder on MOM called _modules under <salt-home>/srv/salt

The minions pick this up, but the syndic does not.

I even tried running the synch command using the grain option, but that has
no +ve effect.


Any assistance is appreciated


Thanks!
Chris

--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Crispee M at Feb 18, 2015 at 7:45 pm
    Good Afternoon!

    Update on this...

    What is the pre-step from the syndic (ie. it have to copy the srv folder
    from mom to lower-master)
    Add debugging on syndic to see what is happening when we run the
    sync_modules command - I only see this:
    [DEBUG ] Sending event - data = {'_stamp': '2015-02-18T14:12:28.896874',
    'tag': 'salt/job/20150218141222107265/new', 'data': {'tgt_type': 'glob',
    'jid':
    '20150218141222107265', 'tgt': '*', '_stamp': '2015-02-18T14:12:26.417847',
    'user': 'infra', 'arg': [], 'fun': 'saltutil.sync_modules', 'minions':
    ['btln00
    0065.corp.ads', 'btln001255.corp.ads.pub', 'btln001254.corp.ads']}}
    [DEBUG ] Sending event - data = {'id': 'btln002034.corp.ads', '_stamp':
    '2015-02-18T14:12:28.897997', 'result': True, 'pub': '-----BEGIN PUBLIC
    KEY-----\
    nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAqUdQwhucodLHceqTKhEu\nrBrem/kGf5LNe875I8j00Rm90iI0ugm4DthjcyRcNd77MT6HmEojuh4NqeOOWBsp\nzerL3LuMSdoq0lj0amvuZq
    jS2lAYS9GQZ2fKi6/Pb82QSyNaKWTew/iQPA+f0jhD\n/INdpcJRYpzpDxUGbWJQrDtPSRjUO80D/QUjRTPeApGp0aKebaMt+hfLQ7Rm66PT\nptzZoKgDZ1Ppby1IndBLTV7kHSeSCgmvhwecfmsHIVpiv
    vjf2QJyaJUvqcBAN6vW\nNGlJTjKegSSW7uTFeeM6nnUfcEdOuqSw/M8U5ptgA32MDwtMh9ZWMFRINJfQ4PPr\n2j+WdMJVbkqgOHqZZlYAuL4hcpNJbYlkj94yAz9rVeLB0vjZKemmeCW0nsAnmbtr\nYb
    bhJXozsumnzx9MUKPJRZ+nhNzKCj0USHt8ejue2CM2SjDY6s0niQG9e8KluvUu\nXHn44YZWhI82b0k1tSoRmrmL570n8SnG+uj1rxpVA2h7jVh6wugl8D6x7VrCjU8d\nuaW1MTHsp3fzHrJ0sHTefcw9b
    nQLYNF/Z5YWSDhEY7XPzrsqEGRN5kLol3wdvGx7\nYzqLdAJgL0owmoexvvpCzWxpzwCf/bsqVM7dYAeRzGnTi786pNtDxtzq7fQKlMdJ\nqOYIcpPlie5SvPXsSoAzEtsCAwEAAQ==\n-----END
    PUBLI
    C KEY-----\n', 'act': 'accept'}
    Not actually seeing the files (like foo.py - an eg. custom-module)


    is the sub-master getting the modules? No.

    Has anyone used a syndic implementation? I understand it to be a command
    forwarder (like ping, or any other cli), but does it have a means to
    transfer files between mom and it's minions?
    Chris
    On Monday, February 16, 2015 at 1:05:07 PM UTC-5, Crispee M wrote:

    Good Afternoon!

    I have custom-modules that I created on MOM. I have no issues with MOM
    synching these with other minions, but when it comes to syncing with a
    syndic, I have issues

    What am I missing.

    From MOM, I can ping the syndic and it's children:

    ./salt.sh -G "datacenter:QIDC" test.ping


    MOM does pass –G datacenter:QIDC commands down to underlings. But why
    does the syndic not sync? It’s kind of its main purpose.

    I created the folder on MOM called _modules under <salt-home>/srv/salt

    The minions pick this up, but the syndic does not.

    I even tried running the synch command using the grain option, but that
    has no +ve effect.


    Any assistance is appreciated


    Thanks!
    Chris
    --
    You received this message because you are subscribed to the Google Groups "Salt-users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupsalt-users @
postedFeb 16, '15 at 6:05p
activeFeb 18, '15 at 7:45p
posts2
users1

1 user in discussion

Crispee M: 2 posts

People

Translate

site design / logo © 2022 Grokbase