{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/cf-registrar/issues/4","labels_url":"https://api.github.com/repos/cloudfoundry/cf-registrar/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/cf-registrar/issues/4/comments","events_url":"https://api.github.com/repos/cloudfoundry/cf-registrar/issues/4/events","html_url":"https://github.com/cloudfoundry/cf-registrar/issues/4","id":72107297,"number":4,"title":"Reading local IP from config property breaks CF login when resurrected","user":{"login":"voelzmo","id":2256887,"avatar_url":"https://avatars.githubusercontent.com/u/2256887?v=3","gravatar_id":"","url":"https://api.github.com/users/voelzmo","html_url":"https://github.com/voelzmo","followers_url":"https://api.github.com/users/voelzmo/followers","following_url":"https://api.github.com/users/voelzmo/following{/other_user}","gists_url":"https://api.github.com/users/voelzmo/gists{/gist_id}","starred_url":"https://api.github.com/users/voelzmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voelzmo/subscriptions","organizations_url":"https://api.github.com/users/voelzmo/orgs","repos_url":"https://api.github.com/users/voelzmo/repos","events_url":"https://api.github.com/users/voelzmo/events{/privacy}","received_events_url":"https://api.github.com/users/voelzmo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-30T09:15:39Z","updated_at":"2015-04-30T09:15:42Z","closed_at":null,"body":"The cf-registrar gets the local IP used to register at the router from its config. The IP is determined when the [configuration template](https://github.com/cloudfoundry/cf-release/blob/master/jobs/uaa/templates/cf-registrar.config.yml.erb#L14) is rendered by erb. \r\n\r\nThis is a problem when the UAA gets resurrected by the BOSH Healthmonitor. Rendered configuration templates are cached in the BOSH director's blobstore. These template are used when resurrecting the VM, although it might get a different IP address. The UAA will then register with a wrong IP at the router and you cannot log into CF anymore.\r\n\r\nAll other CF components should not be affected as they don't use the cf-registrar.\r\n\r\nAs a solution, the cf-registrar could make sure to get the actual IP when started and not from a config property."},"comment":{"url":"https://api.github.com/repos/cloudfoundry/cf-registrar/issues/comments/97716159","html_url":"https://github.com/cloudfoundry/cf-registrar/issues/4#issuecomment-97716159","issue_url":"https://api.github.com/repos/cloudfoundry/cf-registrar/issues/4","id":97716159,"user":{"login":"cf-gitbot","id":5589368,"avatar_url":"https://avatars.githubusercontent.com/u/5589368?v=3","gravatar_id":"","url":"https://api.github.com/users/cf-gitbot","html_url":"https://github.com/cf-gitbot","followers_url":"https://api.github.com/users/cf-gitbot/followers","following_url":"https://api.github.com/users/cf-gitbot/following{/other_user}","gists_url":"https://api.github.com/users/cf-gitbot/gists{/gist_id}","starred_url":"https://api.github.com/users/cf-gitbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cf-gitbot/subscriptions","organizations_url":"https://api.github.com/users/cf-gitbot/orgs","repos_url":"https://api.github.com/users/cf-gitbot/repos","events_url":"https://api.github.com/users/cf-gitbot/events{/privacy}","received_events_url":"https://api.github.com/users/cf-gitbot/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T09:15:42Z","updated_at":"2015-04-30T09:15:42Z","body":"We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/93608448."}}