{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/26621","labels_url":"https://api.github.com/repos/saltstack/salt/issues/26621/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/26621/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/26621/events","html_url":"https://github.com/saltstack/salt/issues/26621","id":102901959,"number":26621,"title":"compound match consisting of only nodegroup fails.","user":{"login":"ahammond","id":445764,"avatar_url":"https://avatars.githubusercontent.com/u/445764?v=3","gravatar_id":"","url":"https://api.github.com/users/ahammond","html_url":"https://github.com/ahammond","followers_url":"https://api.github.com/users/ahammond/followers","following_url":"https://api.github.com/users/ahammond/following{/other_user}","gists_url":"https://api.github.com/users/ahammond/gists{/gist_id}","starred_url":"https://api.github.com/users/ahammond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahammond/subscriptions","organizations_url":"https://api.github.com/users/ahammond/orgs","repos_url":"https://api.github.com/users/ahammond/repos","events_url":"https://api.github.com/users/ahammond/events{/privacy}","received_events_url":"https://api.github.com/users/ahammond/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Core","name":"Core","color":"fef2c0"},{"url":"https://api.github.com/repos/saltstack/salt/labels/High%20Severity","name":"High Severity","color":"ff9143"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Needs%20Testcase","name":"Needs Testcase","color":"fbca04"},{"url":"https://api.github.com/repos/saltstack/salt/labels/P2","name":"P2","color":"155fb5"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":2518,"closed_issues":2581,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-09-09T21:28:24Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-08-24T22:08:16Z","updated_at":"2015-09-09T21:55:12Z","closed_at":"2015-09-04T21:47:49Z","body":"I'd expect all 3 of the salt commands below to reach the same minions, however the one consisting of a compound matcher with only a nodegroup fails to reach any minions. Master and all minions are on 2015.5.3.\r\n\r\n```\r\nahammond@saltm.anchorfree.net[salt]:~ $ sudo salt --out=yaml -C 'N@sto' test.ping \r\nNo minions matched the target. No command was sent, no jid was assigned.\r\n{}\r\n\r\nahammond@saltm.anchorfree.net[salt]:~ $ sudo salt --out=yaml -N sto test.ping \r\nshss7: true\r\nshss365: true\r\nshss91: true\r\nshss90: true\r\nshss362: true\r\nshss144: true\r\nshss135: true\r\nshss323: true\r\nshss325: true\r\nshss98: true\r\nshss132: true\r\nshss131: true\r\n\r\nahammond@saltm.anchorfree.net[salt]:~ $ grep sto: /etc/salt/master.d/nodegroups.conf \r\n  sto: L@shss7,shss31,shss69,shss90,shss91,shss98,shss99,shss131,shss132,shss135,shss144,shss145,shss213,shss293,shss323,shss324,shss325,shss327,shss362,shss363,shss365\r\n\r\nahammond@saltm.anchorfree.net[salt]:~ $ sudo salt --out=yaml -C 'L@shss7,shss31,shss69,shss90,shss91,shss98,shss99,shss131,shss132,shss135,shss144,shss145,shss213,shss293,shss323,shss324,shss325,shss327,shss362,shss363,shss365' test.ping\r\nshss7: true\r\nshss365: true\r\nshss362: true\r\nshss90: true\r\nshss91: true\r\nshss144: true\r\nshss135: true\r\nshss323: true\r\nshss325: true\r\nshss98: true\r\nshss132: true\r\nshss131: true\r\n\r\n\r\nahammond@saltm.anchorfree.net[salt]:~ $ sudo salt --versions-report\r\n           Salt: 2015.5.3\r\n         Python: 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)\r\n         Jinja2: 2.2.1\r\n       M2Crypto: 0.20.2\r\n msgpack-python: 0.1.13\r\n   msgpack-pure: Not Installed\r\n       pycrypto: 2.0.1\r\n        libnacl: Not Installed\r\n         PyYAML: 3.10\r\n          ioflo: Not Installed\r\n          PyZMQ: 14.3.1\r\n           RAET: Not Installed\r\n            ZMQ: 4.0.4\r\n           Mako: Not Installed\r\n        Tornado: Not Installed\r\n```"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/139056926","html_url":"https://github.com/saltstack/salt/issues/26621#issuecomment-139056926","issue_url":"https://api.github.com/repos/saltstack/salt/issues/26621","id":139056926,"user":{"login":"jfindlay","id":702905,"avatar_url":"https://avatars.githubusercontent.com/u/702905?v=3","gravatar_id":"","url":"https://api.github.com/users/jfindlay","html_url":"https://github.com/jfindlay","followers_url":"https://api.github.com/users/jfindlay/followers","following_url":"https://api.github.com/users/jfindlay/following{/other_user}","gists_url":"https://api.github.com/users/jfindlay/gists{/gist_id}","starred_url":"https://api.github.com/users/jfindlay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfindlay/subscriptions","organizations_url":"https://api.github.com/users/jfindlay/orgs","repos_url":"https://api.github.com/users/jfindlay/repos","events_url":"https://api.github.com/users/jfindlay/events{/privacy}","received_events_url":"https://api.github.com/users/jfindlay/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T21:55:12Z","updated_at":"2015-09-09T21:55:12Z","body":"@ahammond, testing for something like this would be complex to insert into our test runner, although it could be done.  I added the label thinking that we should look at it to also possibly add to our manual tests."}}