{"action":"reopened","issue":{"url":"https://api.github.com/repos/hvac/hvac/issues/473","repository_url":"https://api.github.com/repos/hvac/hvac","labels_url":"https://api.github.com/repos/hvac/hvac/issues/473/labels{/name}","comments_url":"https://api.github.com/repos/hvac/hvac/issues/473/comments","events_url":"https://api.github.com/repos/hvac/hvac/issues/473/events","html_url":"https://github.com/hvac/hvac/issues/473","id":454786516,"node_id":"MDU6SXNzdWU0NTQ3ODY1MTY=","number":473,"title":"KV version 2 no handler for route 'secret/data/kv'","user":{"login":"thefossgeek","id":8296757,"node_id":"MDQ6VXNlcjgyOTY3NTc=","avatar_url":"https://avatars2.githubusercontent.com/u/8296757?v=4","gravatar_id":"","url":"https://api.github.com/users/thefossgeek","html_url":"https://github.com/thefossgeek","followers_url":"https://api.github.com/users/thefossgeek/followers","following_url":"https://api.github.com/users/thefossgeek/following{/other_user}","gists_url":"https://api.github.com/users/thefossgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/thefossgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefossgeek/subscriptions","organizations_url":"https://api.github.com/users/thefossgeek/orgs","repos_url":"https://api.github.com/users/thefossgeek/repos","events_url":"https://api.github.com/users/thefossgeek/events{/privacy}","received_events_url":"https://api.github.com/users/thefossgeek/received_events","type":"User","site_admin":false},"labels":[{"id":240254114,"node_id":"MDU6TGFiZWwyNDAyNTQxMTQ=","url":"https://api.github.com/repos/hvac/hvac/labels/waiting-reply","name":"waiting-reply","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-06-11T16:22:51Z","updated_at":"2019-06-18T21:49:10Z","closed_at":null,"author_association":"NONE","body":"\r\nI am getting hvac.exceptions.InvalidPath: no handler for route 'secret/data/kv' error while trying to read KV 2 via hvac.\r\n\r\ndoes anyone run into the same problem?\r\n\r\nhvac==0.9.2\r\n\r\nvault 1.1.2\r\n\r\n CentOS 7.6\r\n\r\n# cat /etc/vault.d/vault_main.hcl\r\ncluster_name = \"dc1\"\r\nmax_lease_ttl = \"768h\"\r\ndefault_lease_ttl = \"768h\"\r\n\r\ndisable_clustering = \"False\"\r\ncluster_addr = \"http://127.0.0.1:8201\"\r\napi_addr = \"http://127.0.0.1:8200\"\r\n\r\nplugin_directory = \"/usr/local/lib/vault/plugins\"\r\n\r\nlistener \"tcp\" {\r\n  address = \"127.0.0.1:8200\"\r\n  cluster_address = \"127.0.0.1:8201\"\r\n  tls_disable = \"true\"\r\n}\r\n\r\nstorage \"file\" {\r\n  path = \"/var/vault\"\r\n}ui = true\r\n\r\n\r\n#!/usr/bin/python\r\n\r\nimport hvac\r\n\r\nclient = hvac.Client(url='http://127.0.0.1:8200', token='<mykey>')\r\n\r\nprint client.is_authenticated()\r\n\r\nsecret_version_response = client.secrets.kv.v2.read_secret_version(\r\n    path='kv',\r\n)\r\n\r\n\r\nTrue\r\nTraceback (most recent call last):\r\n  File \"./p1.py\", line 10, in <module>\r\n    path='kv',\r\n  File \"/usr/lib/python2.7/site-packages/hvac/api/secrets_engines/kv_v2.py\", line 85, in read_secret_version\r\n    params=params,\r\n  File \"/usr/lib/python2.7/site-packages/hvac/adapters.py\", line 90, in get\r\n    return self.request('get', url, **kwargs)\r\n  File \"/usr/lib/python2.7/site-packages/hvac/adapters.py\", line 272, in request\r\n    utils.raise_for_error(response.status_code, text, errors=errors)\r\n  File \"/usr/lib/python2.7/site-packages/hvac/utils.py\", line 36, in raise_for_error\r\n    raise exceptions.InvalidPath(message, errors=errors)\r\nhvac.exceptions.InvalidPath: no handler for route 'secret/data/kv'\r\n\r\n"}}
{"actor":{"display_login":"jeffwecan"}}