{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/22269","labels_url":"https://api.github.com/repos/saltstack/salt/issues/22269/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/22269/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/22269/events","html_url":"https://github.com/saltstack/salt/issues/22269","id":65810608,"number":22269,"title":"\"State 'archive.extracted' is unavailable\" on 2014.7.2 on Windows","user":{"login":"dogrover","id":1081299,"avatar_url":"https://avatars.githubusercontent.com/u/1081299?v=3","gravatar_id":"","url":"https://api.github.com/users/dogrover","html_url":"https://github.com/dogrover","followers_url":"https://api.github.com/users/dogrover/followers","following_url":"https://api.github.com/users/dogrover/following{/other_user}","gists_url":"https://api.github.com/users/dogrover/gists{/gist_id}","starred_url":"https://api.github.com/users/dogrover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dogrover/subscriptions","organizations_url":"https://api.github.com/users/dogrover/orgs","repos_url":"https://api.github.com/users/dogrover/repos","events_url":"https://api.github.com/users/dogrover/events{/privacy}","received_events_url":"https://api.github.com/users/dogrover/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Pending%20Discussion","name":"Pending Discussion","color":"c7def8"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Windows","name":"Windows","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/37","html_url":"https://github.com/saltstack/salt/milestones/Blocked","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/37/labels","id":343741,"number":37,"title":"Blocked","description":"Issues which are blocked in some way, whether they need further discussion, clarification, justification, or are blocked for some other reason.","creator":{"login":"basepi","id":702318,"avatar_url":"https://avatars.githubusercontent.com/u/702318?v=3","gravatar_id":"","url":"https://api.github.com/users/basepi","html_url":"https://github.com/basepi","followers_url":"https://api.github.com/users/basepi/followers","following_url":"https://api.github.com/users/basepi/following{/other_user}","gists_url":"https://api.github.com/users/basepi/gists{/gist_id}","starred_url":"https://api.github.com/users/basepi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basepi/subscriptions","organizations_url":"https://api.github.com/users/basepi/orgs","repos_url":"https://api.github.com/users/basepi/repos","events_url":"https://api.github.com/users/basepi/events{/privacy}","received_events_url":"https://api.github.com/users/basepi/received_events","type":"User","site_admin":false},"open_issues":247,"closed_issues":476,"state":"open","created_at":"2013-05-28T22:24:12Z","updated_at":"2015-04-02T16:33:12Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-04-02T01:15:57Z","updated_at":"2015-04-02T16:33:15Z","closed_at":null,"body":"I've seen several issues about the state `archive.extracted` not working in 2014.7.1 and earlier:\r\n\r\n- #13077 archive state not working\r\n- #20852 Not able to extract archive in 2014.7.1\r\n- #21341 2014.7.1 regression. archive.extracted does not work\r\n\r\nThose issues all seem to have been resolved, but I'm seeing something similar on 2014.7.2, on Windows:\r\n\r\n```\r\nC:\\>salt-call --local --log-level=debug state.single archive.extracted name=C:\\Temp source=C:\\Temp\\Archive.zip\r\n[DEBUG   ] Reading configuration from c:\\salt\\conf\\minion\r\n[DEBUG   ] Configuration file path: c:\\salt\\conf\\minion\r\n[DEBUG   ] Reading configuration from c:\\salt\\conf\\minion\r\n[DEBUG   ] Mako not available\r\n[DEBUG   ] Reading configuration from c:\\salt\\conf\\minion\r\n[INFO    ] Loading fresh modules for state activity\r\n[DEBUG   ] Failed to import returner :\r\nTraceback (most recent call last):\r\n  File \"salt/loader.py\", line 624, in gen_module\r\nImportError: No module named\r\nlocal:\r\n    Data failed to compile:\r\n----------\r\n    Specified state 'archive.extracted' is unavailable.\r\n\r\nC:\\>salt-minion --versions-report\r\n           Salt: 2014.7.2\r\n         Python: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]\r\n         Jinja2: 2.7.1\r\n       M2Crypto: 0.21.1\r\n msgpack-python: 0.4.2\r\n   msgpack-pure: Not Installed\r\n       pycrypto: 2.6\r\n        libnacl: Not Installed\r\n         PyYAML: 3.11\r\n          ioflo: Not Installed\r\n          PyZMQ: 14.1.1\r\n           RAET: Not Installed\r\n            ZMQ: 4.0.4\r\n           Mako: Not Installed\r\n```\r\n\r\nPerhaps unrelated: is that \"Failed to import returner\" message expected?"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/88967745","html_url":"https://github.com/saltstack/salt/issues/22269#issuecomment-88967745","issue_url":"https://api.github.com/repos/saltstack/salt/issues/22269","id":88967745,"user":{"login":"rallytime","id":6547906,"avatar_url":"https://avatars.githubusercontent.com/u/6547906?v=3","gravatar_id":"","url":"https://api.github.com/users/rallytime","html_url":"https://github.com/rallytime","followers_url":"https://api.github.com/users/rallytime/followers","following_url":"https://api.github.com/users/rallytime/following{/other_user}","gists_url":"https://api.github.com/users/rallytime/gists{/gist_id}","starred_url":"https://api.github.com/users/rallytime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rallytime/subscriptions","organizations_url":"https://api.github.com/users/rallytime/orgs","repos_url":"https://api.github.com/users/rallytime/repos","events_url":"https://api.github.com/users/rallytime/events{/privacy}","received_events_url":"https://api.github.com/users/rallytime/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T16:33:15Z","updated_at":"2015-04-02T16:33:15Z","body":"@dogrover Do you know if this function was working in an earlier release on windows? I have a suspicion that the root cause here is perhaps the fact that the module function `archive.unzip` is not available in windows and perhaps archive.extracted also wasn't written with windows in mind. See issue #12992.\r\n\r\nIf it was working in windows, then let's get this bug fixed. If it's the case that this hasn't ever worked for windows, I'd be happy to approve this as a feature request. "}}