{"action":"created","issue":{"url":"https://api.github.com/repos/sequenceiq/docker-ambari/issues/106","labels_url":"https://api.github.com/repos/sequenceiq/docker-ambari/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/sequenceiq/docker-ambari/issues/106/comments","events_url":"https://api.github.com/repos/sequenceiq/docker-ambari/issues/106/events","html_url":"https://github.com/sequenceiq/docker-ambari/issues/106","id":128113758,"number":106,"title":"can't work correctly in cloudbreak","user":{"login":"ylvmw","id":14070374,"avatar_url":"https://avatars.githubusercontent.com/u/14070374?v=3","gravatar_id":"","url":"https://api.github.com/users/ylvmw","html_url":"https://github.com/ylvmw","followers_url":"https://api.github.com/users/ylvmw/followers","following_url":"https://api.github.com/users/ylvmw/following{/other_user}","gists_url":"https://api.github.com/users/ylvmw/gists{/gist_id}","starred_url":"https://api.github.com/users/ylvmw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ylvmw/subscriptions","organizations_url":"https://api.github.com/users/ylvmw/orgs","repos_url":"https://api.github.com/users/ylvmw/repos","events_url":"https://api.github.com/users/ylvmw/events{/privacy}","received_events_url":"https://api.github.com/users/ylvmw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-22T09:09:36Z","updated_at":"2016-01-26T11:15:31Z","closed_at":null,"body":"Hi,\r\n\r\nWhen we created the cluster with cloudbreak, the ambari can't work correclty. Could you give some hints on how to fix it? Do we need to configure something for docker engine or OS?\r\n\r\ndocker inspect:\r\n```\r\n[\r\n{\r\n    \"Id\": \"df8926b8290e80645b01fe92c434ef78e59419fd35080c6f995e3b4aaef86947\",\r\n    \"Created\": \"2016-01-21T08:14:57.258655233Z\",\r\n    \"Path\": \"/start-server\",\r\n    \"Args\": [],\r\n    \"State\": {\r\n        \"Status\": \"running\",\r\n        \"Running\": true,\r\n        \"Paused\": false,\r\n        \"Restarting\": false,\r\n        \"OOMKilled\": false,\r\n        \"Dead\": false,\r\n        \"Pid\": 3141,\r\n        \"ExitCode\": 0,\r\n        \"Error\": \"\",\r\n        \"StartedAt\": \"2016-01-21T08:15:03.51735823Z\",\r\n        \"FinishedAt\": \"0001-01-01T00:00:00Z\"\r\n    },\r\n    \"Image\": \"70f5dbe71f4a2baaffd67f1d44b562b317cf272382a1a88740f98a1f57c3c15a\",\r\n    \"ResolvConfPath\": \"/var/lib/docker/containers/df8926b8290e80645b01fe92c434ef78e59419fd35080c6f995e3b4aaef86947/resolv.conf\",\r\n    \"HostnamePath\": \"/var/lib/docker/containers/df8926b8290e80645b01fe92c434ef78e59419fd35080c6f995e3b4aaef86947/hostname\",\r\n    \"HostsPath\": \"/var/lib/docker/containers/df8926b8290e80645b01fe92c434ef78e59419fd35080c6f995e3b4aaef86947/hosts\",\r\n    \"LogPath\": \"/var/lib/docker/containers/df8926b8290e80645b01fe92c434ef78e59419fd35080c6f995e3b4aaef86947/df8926b8290e80645b01fe92c434ef78e59419fd35080c6f995e3b4aaef86947-json.log\",\r\n    \"Name\": \"/ambari-server\",\r\n    \"RestartCount\": 0,\r\n    \"Driver\": \"devicemapper\",\r\n    \"ExecDriver\": \"native-0.2\",\r\n    \"MountLabel\": \"\",\r\n    \"ProcessLabel\": \"\",\r\n    \"AppArmorProfile\": \"\",\r\n    \"ExecIDs\": null,\r\n    \"HostConfig\": {\r\n        \"Binds\": [\r\n            \"/hadoopfs/fs1/logs:/var/log:rw\",\r\n            \"/etc/krb5.conf:/etc/krb5.conf:rw\"\r\n        ],\r\n        \"ContainerIDFile\": \"\",\r\n        \"LxcConf\": null,\r\n        \"Memory\": 0,\r\n        \"MemoryReservation\": 0,\r\n        \"MemorySwap\": 0,\r\n        \"KernelMemory\": 0,\r\n        \"CpuShares\": 0,\r\n        \"CpuPeriod\": 0,\r\n        \"CpusetCpus\": \"\",\r\n        \"CpusetMems\": \"\",\r\n        \"CpuQuota\": 0,\r\n        \"BlkioWeight\": 0,\r\n        \"OomKillDisable\": false,\r\n        \"MemorySwappiness\": null,\r\n        \"Privileged\": true,\r\n        \"PortBindings\": {\r\n            \"8080/tcp\": [\r\n                {\r\n                    \"HostIp\": \"\",\r\n                    \"HostPort\": \"8080\"\r\n                }\r\n            ]\r\n        },\r\n        \"Links\": null,\r\n        \"PublishAllPorts\": false,\r\n        \"Dns\": null,\r\n        \"DnsOptions\": null,\r\n        \"DnsSearch\": null,\r\n        \"ExtraHosts\": null,\r\n        \"VolumesFrom\": null,\r\n        \"Devices\": null,\r\n        \"NetworkMode\": \"host\",\r\n        \"IpcMode\": \"\",\r\n        \"PidMode\": \"\",\r\n        \"UTSMode\": \"\",\r\n        \"CapAdd\": null,\r\n        \"CapDrop\": null,\r\n        \"GroupAdd\": null,\r\n        \"RestartPolicy\": {\r\n            \"Name\": \"always\",\r\n            \"MaximumRetryCount\": 0\r\n        },\r\n        \"SecurityOpt\": null,\r\n        \"ReadonlyRootfs\": false,\r\n        \"Ulimits\": null,\r\n        \"LogConfig\": {\r\n            \"Type\": \"json-file\",\r\n            \"Config\": {}\r\n        },\r\n        \"CgroupParent\": \"\",\r\n        \"ConsoleSize\": [\r\n            0,\r\n            0\r\n        ],\r\n        \"VolumeDriver\": \"\"\r\n    },\r\n    \"GraphDriver\": {\r\n        \"Name\": \"devicemapper\",\r\n        \"Data\": {\r\n            \"DeviceId\": \"271\",\r\n            \"DeviceName\": \"docker-253:0-17855111-df8926b8290e80645b01fe92c434ef78e59419fd35080c6f995e3b4aaef86947\",\r\n            \"DeviceSize\": \"107374182400\"\r\n        }\r\n    },\r\n    \"Mounts\": [\r\n        {\r\n            \"Source\": \"/hadoopfs/fs1/logs\",\r\n            \"Destination\": \"/var/log\",\r\n            \"Mode\": \"rw\",\r\n            \"RW\": true\r\n        },\r\n        {\r\n            \"Source\": \"/etc/krb5.conf\",\r\n            \"Destination\": \"/etc/krb5.conf\",\r\n            \"Mode\": \"rw\",\r\n            \"RW\": true\r\n        }\r\n    ],\r\n    \"Config\": {\r\n        \"Hostname\": \"***\",\r\n        \"Domainname\": \"abc.com\",\r\n        \"User\": \"\",\r\n        \"AttachStdin\": false,\r\n        \"AttachStdout\": false,\r\n        \"AttachStderr\": false,\r\n        \"ExposedPorts\": {\r\n            \"8080/tcp\": {}\r\n        },\r\n        \"Tty\": false,\r\n        \"OpenStdin\": false,\r\n        \"StdinOnce\": false,\r\n        \"Env\": [\r\n            \"POSTGRES_DB=localhost\",\r\n            \"CLOUD_PLATFORM=***\",\r\n            \"SERVICE_NAME=ambari-8080\",\r\n            \"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/jdk64/jdk1.7.0_67/bin:/usr/local/maven/bin\",\r\n            \"JAVA_HOME=/usr/jdk64/jdk1.7.0_67\",\r\n            \"AMBARI_JVM_ARGS=-XX:MaxPermSize=512m\",\r\n            \"PLUGIN_PATH=/plugins\",\r\n            \"HADOOP_CLASSPATH=/usr/lib/hadoop/lib/*\",\r\n            \"M2_HOME=/usr/local/maven\",\r\n            \"PS1=[\\\\u@docker-ambari \\\\W]# \"\r\n        ],\r\n        \"Cmd\": [\r\n            \"/start-server\"\r\n        ],\r\n        \"Image\": \"sequenceiq/ambari:2.1.2-v8\",\r\n        \"Volumes\": {\r\n            \"/var/log\": {}\r\n        },\r\n        \"WorkingDir\": \"/tmp\",\r\n        \"Entrypoint\": null,\r\n        \"OnBuild\": null,\r\n        \"Labels\": {\r\n            \"com.docker.swarm.constraints\": \"[\\\"node==wdc-vhadp-pub1-dhcp44.eng.vmware.com\\\"]\",\r\n            \"com.docker.swarm.id\": \"d756b74215f5ee2df3f15bb8fcf71db43f19ca41c07169f8fb309a8220c6405a\"\r\n        }\r\n    },\r\n    \"NetworkSettings\": {\r\n        \"Bridge\": \"\",\r\n        \"SandboxID\": \"1b4d3e7601208df75c8306abc74e6a476d3f63c7d2510b7ae97d40e68e871cfa\",\r\n        \"HairpinMode\": false,\r\n        \"LinkLocalIPv6Address\": \"\",\r\n        \"LinkLocalIPv6PrefixLen\": 0,\r\n        \"Ports\": {},\r\n        \"SandboxKey\": \"/var/run/docker/netns/default\",\r\n        \"SecondaryIPAddresses\": null,\r\n        \"SecondaryIPv6Addresses\": null,\r\n        \"EndpointID\": \"\",\r\n        \"Gateway\": \"\",\r\n        \"GlobalIPv6Address\": \"\",\r\n        \"GlobalIPv6PrefixLen\": 0,\r\n        \"IPAddress\": \"\",\r\n        \"IPPrefixLen\": 0,\r\n        \"IPv6Gateway\": \"\",\r\n        \"MacAddress\": \"\",\r\n        \"Networks\": {\r\n            \"host\": {\r\n                \"EndpointID\": \"b577381157d2ef3375a48ebbdd365561bb8e3b79b6fd5c9b493dca27db67b622\",\r\n                \"Gateway\": \"\",\r\n                \"IPAddress\": \"\",\r\n                \"IPPrefixLen\": 0,\r\n                \"IPv6Gateway\": \"\",\r\n                \"GlobalIPv6Address\": \"\",\r\n                \"GlobalIPv6PrefixLen\": 0,\r\n                \"MacAddress\": \"\"\r\n            }\r\n        }\r\n    }\r\n}\r\n]\r\n```\r\ndocker logs:\r\n```\r\nsing python  /usr/bin/python2.6\r\nStarting ambari-server\r\nWARNING: The hostname was not found in the reverse DNS lookup. This may result in incorrect behavior. Please check the DNS setup and fix the issue.\r\nAmbari Server running with administrator privileges.\r\nOrganizing resource files at /var/lib/ambari-server/resources...\r\nServer PID at: /var/run/ambari-server/ambari-server.pid\r\nServer out at: /var/log/ambari-server/ambari-server.out\r\nServer log at: /var/log/ambari-server/ambari-server.log\r\nWaiting for server start.........\r\nERROR: Exiting with exit code -1.\r\nREASON: Ambari Server java process died with exitcode 1. Check /var/log/ambari-server/ambari-server.out for more information.\r\nUsing python  /usr/bin/python2.6\r\nStarting ambari-server\r\nWARNING: The hostname was not found in the reverse DNS lookup. This may result in incorrect behavior. Please check the DNS setup and fix the issue.\r\nAmbari Server running with administrator privileges.\r\nOrganizing resource files at /var/lib/ambari-server/resources...\r\nServer PID at: /var/run/ambari-server/ambari-server.pid\r\nServer out at: /var/log/ambari-server/ambari-server.out\r\nServer log at: /var/log/ambari-server/ambari-server.log\r\nWaiting for server start...................\r\nAmbari Server 'start' completed successfully.\r\nUsing python  /usr/bin/python2.6\r\nStarting ambari-server\r\nERROR: Exiting with exit code 1.\r\nREASON: Ambari Server is already running.\r\n```"},"comment":{"url":"https://api.github.com/repos/sequenceiq/docker-ambari/issues/comments/174960432","html_url":"https://github.com/sequenceiq/docker-ambari/issues/106#issuecomment-174960432","issue_url":"https://api.github.com/repos/sequenceiq/docker-ambari/issues/106","id":174960432,"user":{"login":"keyki","id":2330520,"avatar_url":"https://avatars.githubusercontent.com/u/2330520?v=3","gravatar_id":"","url":"https://api.github.com/users/keyki","html_url":"https://github.com/keyki","followers_url":"https://api.github.com/users/keyki/followers","following_url":"https://api.github.com/users/keyki/following{/other_user}","gists_url":"https://api.github.com/users/keyki/gists{/gist_id}","starred_url":"https://api.github.com/users/keyki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keyki/subscriptions","organizations_url":"https://api.github.com/users/keyki/orgs","repos_url":"https://api.github.com/users/keyki/repos","events_url":"https://api.github.com/users/keyki/events{/privacy}","received_events_url":"https://api.github.com/users/keyki/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T11:15:31Z","updated_at":"2016-01-26T11:15:31Z","body":"It seems that those addresses are not resolvable. Is it a custom HDP repo?"}}