Skip to content

salt will respond with an empty list of minions if minions are connected to a syndic master #106

@austinpapp

Description

@austinpapp

If minion1-3 are connect directly to a master where the API is running, globbing isn't a problem.

pepper --fail-if-incomplete minion* test.version
{u'return': [{u'jid': u'20170727125430772351', u'minions': [u'minion1', u'minion2', u'minion3']}]}

or

pepper --fail-if-incomplete minion1 test.version
{u'return': [{u'jid': u'20170727125430772351', u'minions': [u'minion1']}]}

however, if minions are connected to a syndic master, globbing does not work and therefore using the polling option always fails because the poller is waiting if set(ret_nodes) == set(nodes) which never happens. you end up hitting the timeout every time

pepper --fail-if-incomplete minion1 test.version
{u'return': [{u'jid': u'20170727125430772351', u'minions': []}]}

output:

return: {u'minion1': u'2016.11.1'}
exit: None
return: {u'Failed': [u'minion1']}
exit: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions