{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/cf-vault-service-broker/issues/4","repository_url":"https://api.github.com/repos/hashicorp/cf-vault-service-broker","labels_url":"https://api.github.com/repos/hashicorp/cf-vault-service-broker/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/cf-vault-service-broker/issues/4/comments","events_url":"https://api.github.com/repos/hashicorp/cf-vault-service-broker/issues/4/events","html_url":"https://github.com/hashicorp/cf-vault-service-broker/issues/4","id":216123507,"number":4,"title":"Broker crashes after starting","user":{"login":"jgeorge300","id":513514,"avatar_url":"https://avatars2.githubusercontent.com/u/513514?v=3","gravatar_id":"","url":"https://api.github.com/users/jgeorge300","html_url":"https://github.com/jgeorge300","followers_url":"https://api.github.com/users/jgeorge300/followers","following_url":"https://api.github.com/users/jgeorge300/following{/other_user}","gists_url":"https://api.github.com/users/jgeorge300/gists{/gist_id}","starred_url":"https://api.github.com/users/jgeorge300/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgeorge300/subscriptions","organizations_url":"https://api.github.com/users/jgeorge300/orgs","repos_url":"https://api.github.com/users/jgeorge300/repos","events_url":"https://api.github.com/users/jgeorge300/events{/privacy}","received_events_url":"https://api.github.com/users/jgeorge300/received_events","type":"User","site_admin":false},"labels":[{"id":497212842,"url":"https://api.github.com/repos/hashicorp/cf-vault-service-broker/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-03-22T16:16:52Z","updated_at":"2017-03-27T13:22:58Z","closed_at":null,"body":"Successfully installed and configured vault-service-broker. I was able to create a service and bind it to an application. The application was able to successfully authenticate and retrieve secrets from its space. At some point the service broker went down. When I tried to restart the broker, the broker's token had expired. Created a new token and restaged. The broker now crashes shortly startup after it fails to renew a token. I haven't been able to locate the token via the token's accessor. How do I remove the bad token or correct the permission? \r\n \r\nThe broker's log:\r\n```\r\n2017-03-22T11:35:41.54-0400 [CELL/0]     OUT Creating container\r\n2017-03-22T11:35:41.90-0400 [CELL/0]     OUT Successfully created container\r\n2017-03-22T11:35:42.61-0400 [CELL/0]     OUT Starting health monitoring of container\r\n2017-03-22T11:35:42.67-0400 [APP/0]      OUT [INFO] starting broker\r\n2017-03-22T11:35:42.67-0400 [APP/0]      OUT [DEBUG] creating mounts map[string]string{\"cf/broker\":\"generic\"}\r\n2017-03-22T11:35:42.79-0400 [APP/0]      OUT [DEBUG] restoring bindings\r\n2017-03-22T11:35:42.79-0400 [APP/0]      OUT [DEBUG] listing directory \"cf/broker/\"\r\n2017-03-22T11:35:42.79-0400 [APP/0]      OUT [INFO] sleeping for 9m31s\r\n2017-03-22T11:35:42.81-0400 [APP/0]      OUT [INFO] restoring info for instance 06431075-2718-449b-9186-3cf06e3d5c12\r\n2017-03-22T11:35:42.83-0400 [APP/0]      OUT [DEBUG] decoding bind data from cf/broker/06431075-2718-449b-9186-3cf06e3d5c12\r\n2017-03-22T11:35:42.83-0400 [APP/0]      OUT [DEBUG] listing directory \"cf/broker/06431075-2718-449b-9186-3cf06e3d5c12/\"\r\n2017-03-22T11:35:42.84-0400 [APP/0]      OUT [INFO] restoring bind for instance 06431075-2718-449b-9186-3cf06e3d5c12 for binding dc9cd23b-0b83-4ad4-960f-3f3bf2d0d573\r\n2017-03-22T11:35:42.84-0400 [APP/0]      OUT [DEBUG] reading bind from cf/broker/06431075-2718-449b-9186-3cf06e3d5c12/dc9cd23b-0b83-4ad4-960f-3f3bf2d0d573\r\n2017-03-22T11:35:42.86-0400 [APP/0]      OUT [DEBUG] decoding bind data from cf/broker/06431075-2718-449b-9186-3cf06e3d5c12/dc9cd23b-0b83-4ad4-960f-3f3bf2d0d573\r\n.\r\n.\r\n.\r\n2017-03-22T11:35:43.27-0400 [APP/0]      OUT [INFO] restored 6 binds and 8 instances\r\n2017-03-22T11:35:43.28-0400 [APP/0]      OUT [INFO] starting server on :8080\r\n2017-03-22T11:35:44.66-0400 [CELL/0]     OUT Container became healthy\r\n2017-03-22T11:35:47.86-0400 [APP/0]      OUT [DEBUG] renewing token with accessor 81199bc3-22b6-0337-3c56-b66fd8c3a03b\r\n2017-03-22T11:35:47.90-0400 [APP/0]      OUT [ERR] token renewal failed: Error making API request.\r\n2017-03-22T11:35:47.90-0400 [APP/0]      OUT URL: PUT https://vault.dev:443/v1/auth/token/renew\r\n2017-03-22T11:35:47.90-0400 [APP/0]      OUT Code: 403. Errors:\r\n2017-03-22T11:35:47.90-0400 [APP/0]      OUT * permission denied\r\n2017-03-22T11:35:47.90-0400 [APP/0]      OUT Exit status 1\r\n2017-03-22T11:35:47.91-0400 [CELL/0]     OUT Exit status 0\r\n2017-03-22T11:35:47.94-0400 [CELL/0]     OUT Destroying container\r\n2017-03-22T11:35:47.95-0400 [API/1]      OUT App instance exited with guid f1e936a3-194e-4002-95d0-796045e4f101 payload: {\"instance\"=>\"\", \"index\"=>0, \"reason\"=>\"CRASHED\", \"exit_description\"=>\"2 error(s) occurred:\\n\\n* 2 error(s) occurred:\\n\\n* Exited with status 1\\n* cancelled\\n* cancelled\", \"crash_count\"=>7, \"crash_timestamp\"=>1490196947934464113, \"version\"=>\"9ef948c3-b7b6-4d46-b273-ff95054d64ba\"}\r\n2017-03-22T11:35:48.37-0400 [CELL/0]     OUT Successfully destroyed container\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/hashicorp/cf-vault-service-broker/issues/comments/289451618","html_url":"https://github.com/hashicorp/cf-vault-service-broker/issues/4#issuecomment-289451618","issue_url":"https://api.github.com/repos/hashicorp/cf-vault-service-broker/issues/4","id":289451618,"user":{"login":"jgeorge300","id":513514,"avatar_url":"https://avatars2.githubusercontent.com/u/513514?v=3","gravatar_id":"","url":"https://api.github.com/users/jgeorge300","html_url":"https://github.com/jgeorge300","followers_url":"https://api.github.com/users/jgeorge300/followers","following_url":"https://api.github.com/users/jgeorge300/following{/other_user}","gists_url":"https://api.github.com/users/jgeorge300/gists{/gist_id}","starred_url":"https://api.github.com/users/jgeorge300/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgeorge300/subscriptions","organizations_url":"https://api.github.com/users/jgeorge300/orgs","repos_url":"https://api.github.com/users/jgeorge300/repos","events_url":"https://api.github.com/users/jgeorge300/events{/privacy}","received_events_url":"https://api.github.com/users/jgeorge300/received_events","type":"User","site_admin":false},"created_at":"2017-03-27T13:22:57Z","updated_at":"2017-03-27T13:22:57Z","body":"Our vault-broker crashed again over the weekend. Getting the same issue as above. Trying to determine the cause of the initial crash of the broker but the logs have already cycled out of CF. Checking our central logging system."}}
{"actor":{"display_login":"jgeorge300"}}