{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph-container/issues/1158","repository_url":"https://api.github.com/repos/ceph/ceph-container","labels_url":"https://api.github.com/repos/ceph/ceph-container/issues/1158/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph-container/issues/1158/comments","events_url":"https://api.github.com/repos/ceph/ceph-container/issues/1158/events","html_url":"https://github.com/ceph/ceph-container/issues/1158","id":350499648,"node_id":"MDU6SXNzdWUzNTA0OTk2NDg=","number":1158,"title":"output from  `ceph mgr services` is empty if run in started demo container","user":{"login":"level420","id":210674,"node_id":"MDQ6VXNlcjIxMDY3NA==","avatar_url":"https://avatars3.githubusercontent.com/u/210674?v=4","gravatar_id":"","url":"https://api.github.com/users/level420","html_url":"https://github.com/level420","followers_url":"https://api.github.com/users/level420/followers","following_url":"https://api.github.com/users/level420/following{/other_user}","gists_url":"https://api.github.com/users/level420/gists{/gist_id}","starred_url":"https://api.github.com/users/level420/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/level420/subscriptions","organizations_url":"https://api.github.com/users/level420/orgs","repos_url":"https://api.github.com/users/level420/repos","events_url":"https://api.github.com/users/level420/events{/privacy}","received_events_url":"https://api.github.com/users/level420/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-14T16:16:51Z","updated_at":"2018-10-30T10:08:55Z","closed_at":"2018-10-30T10:08:55Z","author_association":"NONE","body":"<!-- **Are you in the right place?**\r\n1. For issues or feature requests, please create an issue in this repository.\r\n2. Did you already search the existing open issues for anything similar? -->\r\n\r\nIs this a bug report or feature request?\r\n* Bug Report\r\n\r\n**Bug Report**\r\n\r\nWhat happened:\r\n\r\nwhen inspecting ceph manager services in a running demo container via\r\n```\r\ndocker exec -ti demo ceph mgr services\r\n```\r\nresults in the output `{}` e.g. there are no services listed.\r\n\r\nWhat you expected to happen:\r\n\r\n`docker exec -ti demo ceph mgr services` should list the dashboard URL.\r\nAdditionally the dashboard is unreachable at `http://192.168.0.160:7000/` or whatever URL would normally be displayed.\r\n\r\nHow to reproduce it (minimal and precise):\r\n\r\n1. pull ceph/daemon:latest image (Tue Aug 14 18:20:11 CEST 2018) from docker hub via \r\n```\r\ndocker pull ceph/daemon\r\n```\r\n2. Start a simple container via\r\n```\r\ndocker run -d \\\r\n--name demo \\\r\n-e MON_IP=192.168.0.160 \\\r\n-e CEPH_PUBLIC_NETWORK=192.168.0.0/24 \\\r\n--net=host \\\r\n-v /var/lib/ceph:/var/lib/ceph \\\r\n-v /etc/ceph:/etc/ceph \\\r\n-e CEPH_DEMO_UID=qqq \\\r\n-e CEPH_DEMO_ACCESS_KEY=qqq \\\r\n-e CEPH_DEMO_SECRET_KEY=qqq \\\r\n-e CEPH_DEMO_BUCKET=qqq \\\r\nceph/daemon \\\r\ndemo\r\n```\r\n3. display running services via \r\n```\r\ndocker exec -ti demo ceph mgr services\r\n```\r\n4. see the empty output\r\n```\r\n{}\r\n```\r\n\r\n**Environment**:\r\n\r\n* OS (e.g. from /etc/os-release):\r\nCentOS Linux release 7.5.1804 (Core) \r\n* Kernel (e.g. `uname -a`):\r\nLinux sphen 3.10.0-862.9.1.el7.x86_64 #1 SMP Mon Jul 16 16:29:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux\r\n* Docker version (e.g. `docker version`):\r\nPackage version: docker-1.13.1-68.gitdded712.el7.centos.x86_64\r\n* Ceph version (e.g. `ceph -v`):\r\nceph version 13.2.1 (5533ecdc0fda920179d7ad84e0aa65a127b20d77) mimic (stable)"},"comment":{"url":"https://api.github.com/repos/ceph/ceph-container/issues/comments/434241949","html_url":"https://github.com/ceph/ceph-container/issues/1158#issuecomment-434241949","issue_url":"https://api.github.com/repos/ceph/ceph-container/issues/1158","id":434241949,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDI0MTk0OQ==","user":{"login":"leseb","id":912735,"node_id":"MDQ6VXNlcjkxMjczNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/912735?v=4","gravatar_id":"","url":"https://api.github.com/users/leseb","html_url":"https://github.com/leseb","followers_url":"https://api.github.com/users/leseb/followers","following_url":"https://api.github.com/users/leseb/following{/other_user}","gists_url":"https://api.github.com/users/leseb/gists{/gist_id}","starred_url":"https://api.github.com/users/leseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leseb/subscriptions","organizations_url":"https://api.github.com/users/leseb/orgs","repos_url":"https://api.github.com/users/leseb/repos","events_url":"https://api.github.com/users/leseb/events{/privacy}","received_events_url":"https://api.github.com/users/leseb/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T10:08:55Z","updated_at":"2018-10-30T10:08:55Z","author_association":"CONTRIBUTOR","body":"I'm closing this as the issue appears resolved. Feel free to re-open if you have any more concerns, thanks."}}
{"actor":{"display_login":"leseb"}}