{"action":"created","issue":{"url":"https://api.github.com/repos/deis/deis/issues/4181","labels_url":"https://api.github.com/repos/deis/deis/issues/4181/labels{/name}","comments_url":"https://api.github.com/repos/deis/deis/issues/4181/comments","events_url":"https://api.github.com/repos/deis/deis/issues/4181/events","html_url":"https://github.com/deis/deis/issues/4181","id":98747187,"number":4181,"title":"deis logs not showing application logs when use of Dockerfile","user":{"login":"LoicMahieu","id":900947,"avatar_url":"https://avatars.githubusercontent.com/u/900947?v=3","gravatar_id":"","url":"https://api.github.com/users/LoicMahieu","html_url":"https://github.com/LoicMahieu","followers_url":"https://api.github.com/users/LoicMahieu/followers","following_url":"https://api.github.com/users/LoicMahieu/following{/other_user}","gists_url":"https://api.github.com/users/LoicMahieu/gists{/gist_id}","starred_url":"https://api.github.com/users/LoicMahieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoicMahieu/subscriptions","organizations_url":"https://api.github.com/users/LoicMahieu/orgs","repos_url":"https://api.github.com/users/LoicMahieu/repos","events_url":"https://api.github.com/users/LoicMahieu/events{/privacy}","received_events_url":"https://api.github.com/users/LoicMahieu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-03T13:48:50Z","updated_at":"2015-08-06T15:45:05Z","closed_at":null,"body":"From https://github.com/deis/deis/issues/3633#issuecomment-127050698\r\n\r\n`deis@1.7.3`\r\nApp: https://github.com/LoicMahieu/deis-test-nodejs#master\r\n\r\nWhen deploying application (https://github.com/LoicMahieu/deis-test-nodejs#master) with a Dockerfile instead of Procfile, `deis logs` shows only logs from controller.\r\n\r\ndeis logs:\r\n```\r\n$ deis logs\r\n2015-08-02T17:42:22UTC deis[api]: loic created initial release\r\n2015-08-02T17:42:48UTC deis[api]: loic deployed cbb1838\r\n2015-08-02T17:42:48UTC deis[api]: loic scaled containers cmd=1\r\n```\r\n\r\ndocker logs:\r\n```\r\n$ docker logs igloo-deis-nodejs-sample_v2.cmd.1\r\n\r\n> igloo-deis-nodejs-sample@1.0.0 start /app\r\n> node index.js\r\n\r\nListen to http://localhost:3000\r\n10.10.0.235 - - [02/Aug/2015:17:43:28 +0000] \"GET / HTTP/1.1\" 200 11 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.107 Safari/537.36\"\r\n10.10.0.235 - - [02/Aug/2015:17:43:29 +0000] \"GET / HTTP/1.1\" 304 - \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.107 Safari/537.36\"\r\n```\r\n\r\nI tried to destroy/re-create the app, scale up or down and always no logs.\r\n\r\n---\r\n\r\nSame application but using buildback (Procfile) (https://github.com/LoicMahieu/deis-test-nodejs/tree/procfile) works correctly."},"comment":{"url":"https://api.github.com/repos/deis/deis/issues/comments/128415138","html_url":"https://github.com/deis/deis/issues/4181#issuecomment-128415138","issue_url":"https://api.github.com/repos/deis/deis/issues/4181","id":128415138,"user":{"login":"LoicMahieu","id":900947,"avatar_url":"https://avatars.githubusercontent.com/u/900947?v=3","gravatar_id":"","url":"https://api.github.com/users/LoicMahieu","html_url":"https://github.com/LoicMahieu","followers_url":"https://api.github.com/users/LoicMahieu/followers","following_url":"https://api.github.com/users/LoicMahieu/following{/other_user}","gists_url":"https://api.github.com/users/LoicMahieu/gists{/gist_id}","starred_url":"https://api.github.com/users/LoicMahieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoicMahieu/subscriptions","organizations_url":"https://api.github.com/users/LoicMahieu/orgs","repos_url":"https://api.github.com/users/LoicMahieu/repos","events_url":"https://api.github.com/users/LoicMahieu/events{/privacy}","received_events_url":"https://api.github.com/users/LoicMahieu/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T15:45:05Z","updated_at":"2015-08-06T15:45:05Z","body":"Got it.\r\nI run `ssh -A core@10.10.8.10 -i ./deis_key` and I got: \r\n`Error running remote command: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain`\r\n\r\n`deis_key` is the private key whose the public has been copied in `ssh_authorized_keys` during installation.\r\n\r\n---\r\n\r\nFor allowing us to going forward I ssh into each nodes.\r\n- [journalctl -r -u deis-logger.service](https://gist.github.com/LoicMahieu/c57cc83175602248ed01#file-journalctl-r-u-deis-logger-service)\r\n- [journalctl -r -u deis-logspout.service - node-1](https://gist.github.com/LoicMahieu/c57cc83175602248ed01#file-journalctl-r-u-deis-logspout-service-1)\r\n- [journalctl -r -u deis-logspout.service - node-2](https://gist.github.com/LoicMahieu/c57cc83175602248ed01#file-journalctl-r-u-deis-logspout-service-2)\r\n- [journalctl -r -u deis-logspout.service - node-3](https://gist.github.com/LoicMahieu/c57cc83175602248ed01#file-journalctl-r-u-deis-logspout-service-3)\r\n- fleetctl list-units\r\n```\r\n$ fleetctl list-units\r\nUNIT\t\t\t\t\t\tMACHINE\t\t\tACTIVE\tSUB\r\ndeis-builder.service\t\t\t\t633cbd72.../10.10.8.11\tactive\trunning\r\ndeis-controller.service\t\t\t\t4b9deb2d.../10.10.8.10\tactive\trunning\r\ndeis-database.service\t\t\t\t633cbd72.../10.10.8.11\tactive\trunning\r\ndeis-logger.service\t\t\t\t633cbd72.../10.10.8.11\tactive\trunning\r\ndeis-logspout.service\t\t\t\t4b9deb2d.../10.10.8.10\tactive\trunning\r\ndeis-logspout.service\t\t\t\t633cbd72.../10.10.8.11\tactive\trunning\r\ndeis-logspout.service\t\t\t\t7e1438d1.../10.10.8.12\tactive\trunning\r\ndeis-publisher.service\t\t\t\t4b9deb2d.../10.10.8.10\tactive\trunning\r\ndeis-publisher.service\t\t\t\t633cbd72.../10.10.8.11\tactive\trunning\r\ndeis-publisher.service\t\t\t\t7e1438d1.../10.10.8.12\tactive\trunning\r\ndeis-registry@1.service\t\t\t\t4b9deb2d.../10.10.8.10\tactive\trunning\r\ndeis-router@1.service\t\t\t\t633cbd72.../10.10.8.11\tactive\trunning\r\ndeis-router@2.service\t\t\t\t4b9deb2d.../10.10.8.10\tactive\trunning\r\ndeis-router@3.service\t\t\t\t7e1438d1.../10.10.8.12\tactive\trunning\r\ndeis-store-daemon.service\t\t\t4b9deb2d.../10.10.8.10\tactive\trunning\r\ndeis-store-daemon.service\t\t\t633cbd72.../10.10.8.11\tactive\trunning\r\ndeis-store-daemon.service\t\t\t7e1438d1.../10.10.8.12\tactive\trunning\r\ndeis-store-gateway@1.service\t\t\t4b9deb2d.../10.10.8.10\tactive\trunning\r\ndeis-store-metadata.service\t\t\t4b9deb2d.../10.10.8.10\tactive\trunning\r\ndeis-store-metadata.service\t\t\t633cbd72.../10.10.8.11\tactive\trunning\r\ndeis-store-metadata.service\t\t\t7e1438d1.../10.10.8.12\tactive\trunning\r\ndeis-store-monitor.service\t\t\t4b9deb2d.../10.10.8.10\tactive\trunning\r\ndeis-store-monitor.service\t\t\t633cbd72.../10.10.8.11\tactive\trunning\r\ndeis-store-monitor.service\t\t\t7e1438d1.../10.10.8.12\tactive\trunning\r\ndeis-store-volume.service\t\t\t4b9deb2d.../10.10.8.10\tactive\trunning\r\ndeis-store-volume.service\t\t\t633cbd72.../10.10.8.11\tactive\trunning\r\ndeis-store-volume.service\t\t\t7e1438d1.../10.10.8.12\tactive\trunning\r\nigloo-deis-nodejs-sample_v2.cmd.1.service\t7e1438d1.../10.10.8.12\tactive\trunning\r\n```"}}