{"action":"created","issue":{"url":"https://api.github.com/repos/ClusterHQ/flocker/issues/2901","repository_url":"https://api.github.com/repos/ClusterHQ/flocker","labels_url":"https://api.github.com/repos/ClusterHQ/flocker/issues/2901/labels{/name}","comments_url":"https://api.github.com/repos/ClusterHQ/flocker/issues/2901/comments","events_url":"https://api.github.com/repos/ClusterHQ/flocker/issues/2901/events","html_url":"https://github.com/ClusterHQ/flocker/pull/2901","id":176659837,"number":2901,"title":"[FLOC-2966] Use OpenStack metadata service or configdrive to get instance ID","user":{"login":"wallrj","id":978965,"avatar_url":"https://avatars.githubusercontent.com/u/978965?v=3","gravatar_id":"","url":"https://api.github.com/users/wallrj","html_url":"https://github.com/wallrj","followers_url":"https://api.github.com/users/wallrj/followers","following_url":"https://api.github.com/users/wallrj/following{/other_user}","gists_url":"https://api.github.com/users/wallrj/gists{/gist_id}","starred_url":"https://api.github.com/users/wallrj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallrj/subscriptions","organizations_url":"https://api.github.com/users/wallrj/orgs","repos_url":"https://api.github.com/users/wallrj/repos","events_url":"https://api.github.com/users/wallrj/events{/privacy}","received_events_url":"https://api.github.com/users/wallrj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-13T14:43:26Z","updated_at":"2016-09-20T13:16:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ClusterHQ/flocker/pulls/2901","html_url":"https://github.com/ClusterHQ/flocker/pull/2901","diff_url":"https://github.com/ClusterHQ/flocker/pull/2901.diff","patch_url":"https://github.com/ClusterHQ/flocker/pull/2901.patch"},"body":"Fixes: https://clusterhq.atlassian.net/browse/FLOC-2966\r\n\r\nBuilds upon and replaces: https://github.com/ClusterHQ/flocker/pull/2479\r\n\r\nI've made it so that the Cinder driver will now attempt to lookup the instance ID from:\r\n1. configdrive (if there is one and it can be mounted)\r\n2. metadata service (if it is accessible)\r\n3. IP address matching (intersection rather than subset)\r\n\r\nThe configdrive mechanism works on Rackspace.\r\nConfigdrive also works on devstack mitaka (although it's an optional parameter of the `nova boot` command, so isn't always going to be available)\r\nMetadataservice works on devstack mitaka but not on Rackspace (who seem to block  / drop packets to the service IP)\r\nThe IP address matching mechanism may not be necessary and we should discuss whether to drop it. "},"comment":{"url":"https://api.github.com/repos/ClusterHQ/flocker/issues/comments/248298064","html_url":"https://github.com/ClusterHQ/flocker/pull/2901#issuecomment-248298064","issue_url":"https://api.github.com/repos/ClusterHQ/flocker/issues/2901","id":248298064,"user":{"login":"wallnerryan","id":1072151,"avatar_url":"https://avatars.githubusercontent.com/u/1072151?v=3","gravatar_id":"","url":"https://api.github.com/users/wallnerryan","html_url":"https://github.com/wallnerryan","followers_url":"https://api.github.com/users/wallnerryan/followers","following_url":"https://api.github.com/users/wallnerryan/following{/other_user}","gists_url":"https://api.github.com/users/wallnerryan/gists{/gist_id}","starred_url":"https://api.github.com/users/wallnerryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallnerryan/subscriptions","organizations_url":"https://api.github.com/users/wallnerryan/orgs","repos_url":"https://api.github.com/users/wallnerryan/repos","events_url":"https://api.github.com/users/wallnerryan/events{/privacy}","received_events_url":"https://api.github.com/users/wallnerryan/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T13:16:32Z","updated_at":"2016-09-20T13:16:32Z","body":"Possible to create a fake configdrive or mock the metadata url response to tests?"}}
{"actor":{"display_login":"wallnerryan"}}