Issue with sending event to master

13 views
Skip to first unread message

Mohamed Lrhazi

unread,
May 30, 2015, 7:07:42 PM5/30/15
to salt-...@googlegroups.com
I had this working on one minion.... I see my event on the master event bus correctly... like:

# salt-run state.event pretty=True

provision/host/phase1:
 ...


But from some other minions, the event does not appear, instead I see "a job" like bellow... what does this mean?

On minion:

# salt-call event.fire_master '{foo: Foo, bar: Bar}' 'provision/host/phase1'
local:
    True

also tried:
# salt-call event.send 'provision/host/phase1' '{foo: Foo, bar: Bar}'


On master:

salt/job/20150530185042646365/ret/provisioner   {
    "_stamp": "2015-05-30T22:50:42.667332", 
    "arg": [
        "{foo: Foo, bar: Bar}", 
        "provision/host/phase1"
    ], 
    "cmd": "_return", 
    "fun": "event.fire_master", 
    "fun_args": [
        "{foo: Foo, bar: Bar}", 
        "provision/host/phase1"
    ], 
    "id": "provisioner", 
    "jid": "20150530185042646365", 
    "retcode": 0, 
    "return": true, 
    "tgt": "provisioner", 
    "tgt_type": "glob"
}

Colton Myers

unread,
Jun 4, 2015, 6:07:38 PM6/4/15
to salt-...@googlegroups.com
I would expect to see the job return event for any event.fire_master or event.send job. You don't see that event for the first minion?

Do you see any patterns among the other minions?

What version are you running?

This is probably going to be one where we should open an issue on Github. so perhaps you should do so an add all the information above to that issue.

--
Colton Myers
Platform Engineer, SaltStack
@basepi on Twitter/Github/IRC

--
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+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Colton Myers

unread,
Jun 4, 2015, 6:46:59 PM6/4/15
to salt-...@googlegroups.com

--
Colton Myers
Platform Engineer, SaltStack
@basepi on Twitter/Github/IRC
Reply all
Reply to author
Forward
0 new messages