{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/28477","labels_url":"https://api.github.com/repos/saltstack/salt/issues/28477/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/28477/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/28477/events","html_url":"https://github.com/saltstack/salt/issues/28477","id":114546102,"number":28477,"title":"KeyError with file.managed HTTPS source","user":{"login":"anlutro","id":163093,"avatar_url":"https://avatars.githubusercontent.com/u/163093?v=3","gravatar_id":"","url":"https://api.github.com/users/anlutro","html_url":"https://github.com/anlutro","followers_url":"https://api.github.com/users/anlutro/followers","following_url":"https://api.github.com/users/anlutro/following{/other_user}","gists_url":"https://api.github.com/users/anlutro/gists{/gist_id}","starred_url":"https://api.github.com/users/anlutro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anlutro/subscriptions","organizations_url":"https://api.github.com/users/anlutro/orgs","repos_url":"https://api.github.com/users/anlutro/repos","events_url":"https://api.github.com/users/anlutro/events{/privacy}","received_events_url":"https://api.github.com/users/anlutro/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/Fixed%20Pending%20Verification","name":"Fixed Pending Verification","color":"d4c5f9"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Medium%20Severity","name":"Medium Severity","color":"fad8c7"}],"state":"open","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":2652,"closed_issues":2852,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-11-03T15:37:27Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-11-02T08:16:15Z","updated_at":"2015-11-03T15:41:28Z","closed_at":null,"body":"State:\r\n\r\n```\r\nphpmyadmin-archive:\r\n  file.managed:\r\n    - name: /usr/share/phpmyadmin-{{ cfg.version }}.tar.xz\r\n    - source: https://files.phpmyadmin.net/phpMyAdmin/{{ cfg.version }}/phpMyAdmin-{{ cfg.version }}-english.tar.xz\r\n    - source_hash: https://files.phpmyadmin.net/phpMyAdmin/{{ cfg.version }}/phpMyAdmin-{{ cfg.version }}-english.tar.xz.sha1\r\n```\r\n\r\nRelevant part from the log:\r\n\r\n```\r\n[DEBUG   ] Requesting URL https://files.phpmyadmin.net/phpMyAdmin/4.4.11/phpMyAdmin-4.4.11-english.tar.xz.sha1 using GET method\r\n[DEBUG   ] Traceback (most recent call last):\r\n  File \"/tmp/.vagrant_740f1b_salt/salt/states/file.py\", line 1486, in managed\r\n    **kwargs\r\n  File \"/tmp/.vagrant_740f1b_salt/salt/modules/file.py\", line 3329, in get_managed\r\n    hash_fn = __salt__['cp.cache_file'](source_hash, saltenv)\r\n  File \"/tmp/.vagrant_740f1b_salt/salt/modules/cp.py\", line 365, in cache_file\r\n    result = __context__['cp.fileclient'].cache_file(path, saltenv)\r\n  File \"/tmp/.vagrant_740f1b_salt/salt/fileclient.py\", line 157, in cache_file\r\n    return self.get_url(path, '', True, saltenv)\r\n  File \"/tmp/.vagrant_740f1b_salt/salt/fileclient.py\", line 625, in get_url\r\n    destfp.write(query['text'])\r\nKeyError: 'text'\r\n\r\n[ERROR   ] Unable to manage file: 'text'\r\n```\r\n\r\nVersionreport:\r\n\r\n```\r\n$ salt-ssh --versions-report\r\nSalt Version:\r\n           Salt: 2015.8.1-183-gcfe39df\r\n \r\nDependency Versions:\r\n         Jinja2: 2.8\r\n       M2Crypto: Not Installed\r\n           Mako: Not Installed\r\n         PyYAML: 3.11\r\n          PyZMQ: 14.7.0\r\n         Python: 2.7.10 (default, Sep 13 2015, 20:30:50)\r\n           RAET: Not Installed\r\n        Tornado: 4.2.1\r\n            ZMQ: 4.1.2\r\n           cffi: Not Installed\r\n       cherrypy: Not Installed\r\n       dateutil: Not Installed\r\n          gitdb: Not Installed\r\n      gitpython: Not Installed\r\n          ioflo: Not Installed\r\n        libnacl: Not Installed\r\n   msgpack-pure: Not Installed\r\n msgpack-python: 0.4.6\r\n   mysql-python: Not Installed\r\n      pycparser: Not Installed\r\n       pycrypto: 2.6.1\r\n         pygit2: Not Installed\r\n   python-gnupg: Not Installed\r\n          smmap: Not Installed\r\n        timelib: Not Installed\r\n \r\nSystem Versions:\r\n           dist: debian stretch/sid \r\n        machine: x86_64\r\n        release: 4.2.0-1-amd64\r\n         system: debian stretch/sid\r\n```"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/153392883","html_url":"https://github.com/saltstack/salt/issues/28477#issuecomment-153392883","issue_url":"https://api.github.com/repos/saltstack/salt/issues/28477","id":153392883,"user":{"login":"anlutro","id":163093,"avatar_url":"https://avatars.githubusercontent.com/u/163093?v=3","gravatar_id":"","url":"https://api.github.com/users/anlutro","html_url":"https://github.com/anlutro","followers_url":"https://api.github.com/users/anlutro/followers","following_url":"https://api.github.com/users/anlutro/following{/other_user}","gists_url":"https://api.github.com/users/anlutro/gists{/gist_id}","starred_url":"https://api.github.com/users/anlutro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anlutro/subscriptions","organizations_url":"https://api.github.com/users/anlutro/orgs","repos_url":"https://api.github.com/users/anlutro/repos","events_url":"https://api.github.com/users/anlutro/events{/privacy}","received_events_url":"https://api.github.com/users/anlutro/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T15:41:28Z","updated_at":"2015-11-03T15:41:28Z","body":"Sure, no problem.\n\nOn Tue, 3 Nov 2015 16:39 Mike Place <notifications@github.com> wrote:\n\n> @anlutro <https://github.com/anlutro> I'm just holding that PR for\n> another day to see if @jacksontj <https://github.com/jacksontj> pops by\n> to offer any insight. If not, I'll merge it and we can close this. Thanks\n> for your patience.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/saltstack/salt/issues/28477#issuecomment-153391130>.\n>\n"}}