{"action":"created","issue":{"url":"https://api.github.com/repos/MatthiasScholz/cos/issues/9","repository_url":"https://api.github.com/repos/MatthiasScholz/cos","labels_url":"https://api.github.com/repos/MatthiasScholz/cos/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/MatthiasScholz/cos/issues/9/comments","events_url":"https://api.github.com/repos/MatthiasScholz/cos/issues/9/events","html_url":"https://github.com/MatthiasScholz/cos/issues/9","id":314407770,"number":9,"title":"Access to logs does not work","user":{"login":"ThomasObenaus","id":1695514,"avatar_url":"https://avatars1.githubusercontent.com/u/1695514?v=4","gravatar_id":"","url":"https://api.github.com/users/ThomasObenaus","html_url":"https://github.com/ThomasObenaus","followers_url":"https://api.github.com/users/ThomasObenaus/followers","following_url":"https://api.github.com/users/ThomasObenaus/following{/other_user}","gists_url":"https://api.github.com/users/ThomasObenaus/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasObenaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasObenaus/subscriptions","organizations_url":"https://api.github.com/users/ThomasObenaus/orgs","repos_url":"https://api.github.com/users/ThomasObenaus/repos","events_url":"https://api.github.com/users/ThomasObenaus/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasObenaus/received_events","type":"User","site_admin":false},"labels":[{"id":873363505,"url":"https://api.github.com/repos/MatthiasScholz/cos/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":{"login":"ThomasObenaus","id":1695514,"avatar_url":"https://avatars1.githubusercontent.com/u/1695514?v=4","gravatar_id":"","url":"https://api.github.com/users/ThomasObenaus","html_url":"https://github.com/ThomasObenaus","followers_url":"https://api.github.com/users/ThomasObenaus/followers","following_url":"https://api.github.com/users/ThomasObenaus/following{/other_user}","gists_url":"https://api.github.com/users/ThomasObenaus/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasObenaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasObenaus/subscriptions","organizations_url":"https://api.github.com/users/ThomasObenaus/orgs","repos_url":"https://api.github.com/users/ThomasObenaus/repos","events_url":"https://api.github.com/users/ThomasObenaus/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasObenaus/received_events","type":"User","site_admin":false},"assignees":[{"login":"ThomasObenaus","id":1695514,"avatar_url":"https://avatars1.githubusercontent.com/u/1695514?v=4","gravatar_id":"","url":"https://api.github.com/users/ThomasObenaus","html_url":"https://github.com/ThomasObenaus","followers_url":"https://api.github.com/users/ThomasObenaus/followers","following_url":"https://api.github.com/users/ThomasObenaus/following{/other_user}","gists_url":"https://api.github.com/users/ThomasObenaus/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasObenaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasObenaus/subscriptions","organizations_url":"https://api.github.com/users/ThomasObenaus/orgs","repos_url":"https://api.github.com/users/ThomasObenaus/repos","events_url":"https://api.github.com/users/ThomasObenaus/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasObenaus/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-04-15T11:35:01Z","updated_at":"2018-04-15T15:27:09Z","closed_at":null,"author_association":"COLLABORATOR","body":"### Problem\r\ncalling ```nomad logs -stderr -f -job ping_service``` locally (even with active sshuttle)\r\nDoes not show any logs.\r\nWhen the command is executed directly on the server, it works. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/MatthiasScholz/cos/issues/comments/381414809","html_url":"https://github.com/MatthiasScholz/cos/issues/9#issuecomment-381414809","issue_url":"https://api.github.com/repos/MatthiasScholz/cos/issues/9","id":381414809,"user":{"login":"ThomasObenaus","id":1695514,"avatar_url":"https://avatars1.githubusercontent.com/u/1695514?v=4","gravatar_id":"","url":"https://api.github.com/users/ThomasObenaus","html_url":"https://github.com/ThomasObenaus","followers_url":"https://api.github.com/users/ThomasObenaus/followers","following_url":"https://api.github.com/users/ThomasObenaus/following{/other_user}","gists_url":"https://api.github.com/users/ThomasObenaus/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasObenaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasObenaus/subscriptions","organizations_url":"https://api.github.com/users/ThomasObenaus/orgs","repos_url":"https://api.github.com/users/ThomasObenaus/repos","events_url":"https://api.github.com/users/ThomasObenaus/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasObenaus/received_events","type":"User","site_admin":false},"created_at":"2018-04-15T15:27:09Z","updated_at":"2018-04-15T15:27:09Z","author_association":"COLLABORATOR","body":"#### Solution 1 - Bastion + Open the needed ports for the nomad-clients as well.\r\nThis would be the hacky solution.\r\n\r\n#### Solution 2 - Upgrade nomad to 0.8.0 and go over the ALB\r\nWith Nomad 0.8.0 it is possible to use the nomad-server to issue client-command like log-scraping (see: https://www.nomadproject.io/api/client.html#stream-logs).\r\n>Since Nomad 0.8.0, both a client and server can handle client endpoints. This is particularly useful for when a direct connection to a client is not possible due to the network configuration. "}}
{"actor":{"display_login":"ThomasObenaus"}}