{"action":"opened","issue":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/4540","repository_url":"https://api.github.com/repos/QubesOS/qubes-issues","labels_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/4540/labels{/name}","comments_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/4540/comments","events_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/4540/events","html_url":"https://github.com/QubesOS/qubes-issues/issues/4540","id":383856735,"node_id":"MDU6SXNzdWUzODM4NTY3MzU=","number":4540,"title":"Cannot target using nodegroups in salt","user":{"login":"unman","id":13558340,"node_id":"MDQ6VXNlcjEzNTU4MzQw","avatar_url":"https://avatars3.githubusercontent.com/u/13558340?v=4","gravatar_id":"","url":"https://api.github.com/users/unman","html_url":"https://github.com/unman","followers_url":"https://api.github.com/users/unman/followers","following_url":"https://api.github.com/users/unman/following{/other_user}","gists_url":"https://api.github.com/users/unman/gists{/gist_id}","starred_url":"https://api.github.com/users/unman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unman/subscriptions","organizations_url":"https://api.github.com/users/unman/orgs","repos_url":"https://api.github.com/users/unman/repos","events_url":"https://api.github.com/users/unman/events{/privacy}","received_events_url":"https://api.github.com/users/unman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-23T15:10:03Z","updated_at":"2018-11-23T15:10:03Z","closed_at":null,"author_association":"MEMBER","body":"### Qubes OS version:\r\n<!-- (e.g., `R3.2`)\r\n     You can get it from the dom0 terminal with the command\r\n         `cat /etc/qubes-release`\r\n     Type below this line. -->\r\n\r\nR4.0\r\n\r\n<!-- Type above this line. -->\r\n### Affected component(s): \r\n<!-- Type below this line. -->\r\n\r\nSalt management\r\n\r\n\r\n\r\n\r\n<!-- Type above this line. -->\r\n---\r\n<!--------------------------->\r\n### Steps to reproduce the behavior:\r\n<!-- Use single backticks (`) for in-line code snippets and\r\n     triple backticks (```) for code blocks.\r\n     Type below this line. -->\r\n\r\nDefine new nodegroup.\r\nUse `match: nodegroup` in top file.\r\nAttempt to use qubesctl to apply state\r\n\r\n\r\n\r\n<!-- Type above this line. -->\r\n### Expected behavior:\r\n<!-- Type below this line. -->\r\n\r\nnodegroups are used for targeting.\r\nSalt call succeeds.\r\n\r\n\r\n\r\n\r\n\r\n\r\n<!-- Type above this line. -->\r\n### Actual behavior:\r\n<!-- Type below this line. -->\r\n\r\nnodegroups ***are*** used for targeting.\r\n\r\nSalt call fails with ERROR.\r\nLog shows nothing:\r\n\r\n> Succeeded: 0\r\n> Failed:  0\r\n> Total States run: 0\r\n\r\n\r\n\r\n\r\n\r\n<!-- Type above this line. -->\r\n### General notes:\r\n<!-- Type below this line. -->\r\n\r\nTargeting in dom0 can be verified as working, since one can use `qubesctl --app state.apply`\r\nOnly qubes matching nodegroup in top file will have disp-mgmt qube opened.\r\n\r\nI assume the new nodegroup should also be passed in to the disp-mgmt qube.\r\nWhy doesn't this happen now?\r\n\r\n\r\n<!-- Type above this line. -->\r\n---\r\n<!--------------------------->\r\n### Related issues:\r\n<!-- Type below this line. -->\r\n\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"unman"}}