{"action":"created","issue":{"url":"https://api.github.com/repos/apache/brooklyn-server/issues/355","repository_url":"https://api.github.com/repos/apache/brooklyn-server","labels_url":"https://api.github.com/repos/apache/brooklyn-server/issues/355/labels{/name}","comments_url":"https://api.github.com/repos/apache/brooklyn-server/issues/355/comments","events_url":"https://api.github.com/repos/apache/brooklyn-server/issues/355/events","html_url":"https://github.com/apache/brooklyn-server/pull/355","id":179617014,"number":355,"title":"Public Hostname is first public address or first reachable private","user":{"login":"bostko","id":1595054,"avatar_url":"https://avatars.githubusercontent.com/u/1595054?v=3","gravatar_id":"","url":"https://api.github.com/users/bostko","html_url":"https://github.com/bostko","followers_url":"https://api.github.com/users/bostko/followers","following_url":"https://api.github.com/users/bostko/following{/other_user}","gists_url":"https://api.github.com/users/bostko/gists{/gist_id}","starred_url":"https://api.github.com/users/bostko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bostko/subscriptions","organizations_url":"https://api.github.com/users/bostko/orgs","repos_url":"https://api.github.com/users/bostko/repos","events_url":"https://api.github.com/users/bostko/events{/privacy}","received_events_url":"https://api.github.com/users/bostko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-27T21:19:36Z","updated_at":"2016-09-28T10:57:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/brooklyn-server/pulls/355","html_url":"https://github.com/apache/brooklyn-server/pull/355","diff_url":"https://github.com/apache/brooklyn-server/pull/355.diff","patch_url":"https://github.com/apache/brooklyn-server/pull/355.patch"},"body":"Public Hostname to be first public address or first reachable private address"},"comment":{"url":"https://api.github.com/repos/apache/brooklyn-server/issues/comments/250135683","html_url":"https://github.com/apache/brooklyn-server/pull/355#issuecomment-250135683","issue_url":"https://api.github.com/repos/apache/brooklyn-server/issues/355","id":250135683,"user":{"login":"aledsage","id":593113,"avatar_url":"https://avatars.githubusercontent.com/u/593113?v=3","gravatar_id":"","url":"https://api.github.com/users/aledsage","html_url":"https://github.com/aledsage","followers_url":"https://api.github.com/users/aledsage/followers","following_url":"https://api.github.com/users/aledsage/following{/other_user}","gists_url":"https://api.github.com/users/aledsage/gists{/gist_id}","starred_url":"https://api.github.com/users/aledsage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aledsage/subscriptions","organizations_url":"https://api.github.com/users/aledsage/orgs","repos_url":"https://api.github.com/users/aledsage/repos","events_url":"https://api.github.com/users/aledsage/events{/privacy}","received_events_url":"https://api.github.com/users/aledsage/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T10:57:40Z","updated_at":"2016-09-28T10:57:40Z","body":"I presume that the problem you're hitting is that there is a VM being provisioned that gets multiple (private) IPs, but that the corresponding entity advertises its sensor for \"host.name\" with the wrong IP.\r\n\r\nI think we should look more at the call-chain for where we're calling `getPublicHostname()` from, and figure out if there is a better way of doing this. For example, if we're already checked reachability to decide on an IP then we could prefer that (rather than repeating the check).\r\n\r\nAlso, the semantics of subnet hostname and public hostname are unclear when dealing with private networks: it's unclear whether the IP should be the one reachable from Brooklyn. I guess if we're talking \"public\" then that's probably as good an indication as any."}}
{"actor":{"display_login":"aledsage"}}