{"action":"created","issue":{"url":"https://api.github.com/repos/kimchi-project/kimchi/issues/792","labels_url":"https://api.github.com/repos/kimchi-project/kimchi/issues/792/labels{/name}","comments_url":"https://api.github.com/repos/kimchi-project/kimchi/issues/792/comments","events_url":"https://api.github.com/repos/kimchi-project/kimchi/issues/792/events","html_url":"https://github.com/kimchi-project/kimchi/issues/792","id":120830409,"number":792,"title":"Unable to list, add and edit templates","user":{"login":"samhenri","id":326107,"avatar_url":"https://avatars.githubusercontent.com/u/326107?v=3","gravatar_id":"","url":"https://api.github.com/users/samhenri","html_url":"https://github.com/samhenri","followers_url":"https://api.github.com/users/samhenri/followers","following_url":"https://api.github.com/users/samhenri/following{/other_user}","gists_url":"https://api.github.com/users/samhenri/gists{/gist_id}","starred_url":"https://api.github.com/users/samhenri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samhenri/subscriptions","organizations_url":"https://api.github.com/users/samhenri/orgs","repos_url":"https://api.github.com/users/samhenri/repos","events_url":"https://api.github.com/users/samhenri/events{/privacy}","received_events_url":"https://api.github.com/users/samhenri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-07T17:50:48Z","updated_at":"2015-12-07T18:07:10Z","closed_at":null,"body":"I'm unable to view any template in Templates tab. This is the current output in Google Chrome:\r\n\r\n```GET https://10.10.71.85:8001/plugins/kimchi/templates 500 (Internal Server Error)```\r\n\r\nHTTP/1.1 500 Internal Server Error\r\nServer: nginx/1.4.7\r\nDate: Mon, 07 Dec 2015 17:46:15 GMT\r\nContent-Type: application/json;charset=utf-8\r\nContent-Length: 1724\r\nConnection: keep-alive\r\nContent-Security-Policy: default-src 'self'\r\nSet-Cookie: wok=b6679e53c8298d5f1a886fa89f6f115f7841eba6; expires=Mon, 07 Dec 2015 17:56:14 GMT; httponly; Path=/; secure\r\n\r\nThis is the response:\r\n\r\n{\r\n  \"reason\":\"The server encountered an unexpected condition which prevented it from fulfilling the request.\",\r\n  \"code\":\"500 Internal Server Error\",\r\n  \"call_stack\":\"Traceback (most recent call last):\\n  File \\\"/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py\\\", line 670, in respond\\n    response.body = self.handler()\\n  File \\\"/usr/lib/python2.7/site-packages/cherrypy/lib/encoding.py\\\", line 217, in __call__\\n    self.body = self.oldhandler(*args, **kwargs)\\n  File \\\"/usr/lib/python2.7/site-packages/cherrypy/_cpdispatch.py\\\", line 61, in __call__\\n    return self.callable(*self.args, **self.kwargs)\\n  File \\\"/home/kimchi_master/wok/src/wok/control/base.py\\\", line 350, in index\\n    return self.get(filter_params)\\n  File \\\"/home/kimchi_master/wok/src/wok/control/base.py\\\", line 337, in get\\n    resources = self._get_resources(flag_filter)\\n  File \\\"/home/kimchi_master/wok/src/wok/control/base.py\\\", line 300, in _get_resources\\n    res.lookup()\\n  File \\\"/home/kimchi_master/wok/src/wok/control/base.py\\\", line 145, in lookup\\n    self.info = lookup(*self.model_args)\\n  File \\\"/home/kimchi_master/wok/src/wok/plugins/kimchi/model/templates.py\\\", line 145, in lookup\\n    t = self.get_template(name, self.objstore, self.conn)\\n  File \\\"/home/kimchi_master/wok/src/wok/plugins/kimchi/model/templates.py\\\", line 142, in get_template\\n    return LibvirtVMTemplate(params, False, conn)\\n  File \\\"/home/kimchi_master/wok/src/wok/plugins/kimchi/model/templates.py\\\", line 212, in __init__\\n    VMTemplate.__init__(self, args, scan)\\n  File \\\"/home/kimchi_master/wok/src/wok/plugins/kimchi/vmtemplate.py\\\", line 91, in __init__\\n    pool_type = self._get_storage_type(disk['pool']['name'])\\nKeyError: 'pool'\\n\"\r\n}"},"comment":{"url":"https://api.github.com/repos/kimchi-project/kimchi/issues/comments/162610439","html_url":"https://github.com/kimchi-project/kimchi/issues/792#issuecomment-162610439","issue_url":"https://api.github.com/repos/kimchi-project/kimchi/issues/792","id":162610439,"user":{"login":"Truja","id":5686167,"avatar_url":"https://avatars.githubusercontent.com/u/5686167?v=3","gravatar_id":"","url":"https://api.github.com/users/Truja","html_url":"https://github.com/Truja","followers_url":"https://api.github.com/users/Truja/followers","following_url":"https://api.github.com/users/Truja/following{/other_user}","gists_url":"https://api.github.com/users/Truja/gists{/gist_id}","starred_url":"https://api.github.com/users/Truja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Truja/subscriptions","organizations_url":"https://api.github.com/users/Truja/orgs","repos_url":"https://api.github.com/users/Truja/repos","events_url":"https://api.github.com/users/Truja/events{/privacy}","received_events_url":"https://api.github.com/users/Truja/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T18:07:10Z","updated_at":"2015-12-07T18:07:10Z","body":"Working on this"}}