{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/bosh-openstack-cpi-release/issues/174","repository_url":"https://api.github.com/repos/cloudfoundry/bosh-openstack-cpi-release","labels_url":"https://api.github.com/repos/cloudfoundry/bosh-openstack-cpi-release/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/bosh-openstack-cpi-release/issues/174/comments","events_url":"https://api.github.com/repos/cloudfoundry/bosh-openstack-cpi-release/issues/174/events","html_url":"https://github.com/cloudfoundry/bosh-openstack-cpi-release/pull/174","id":382219962,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxOTc3MDQx","number":174,"title":"Filter for OpenStack project","user":{"login":"tpatzig","id":1179216,"node_id":"MDQ6VXNlcjExNzkyMTY=","avatar_url":"https://avatars3.githubusercontent.com/u/1179216?v=4","gravatar_id":"","url":"https://api.github.com/users/tpatzig","html_url":"https://github.com/tpatzig","followers_url":"https://api.github.com/users/tpatzig/followers","following_url":"https://api.github.com/users/tpatzig/following{/other_user}","gists_url":"https://api.github.com/users/tpatzig/gists{/gist_id}","starred_url":"https://api.github.com/users/tpatzig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpatzig/subscriptions","organizations_url":"https://api.github.com/users/tpatzig/orgs","repos_url":"https://api.github.com/users/tpatzig/repos","events_url":"https://api.github.com/users/tpatzig/events{/privacy}","received_events_url":"https://api.github.com/users/tpatzig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-19T13:41:52Z","updated_at":"2018-11-19T13:41:53Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/cloudfoundry/bosh-openstack-cpi-release/pulls/174","html_url":"https://github.com/cloudfoundry/bosh-openstack-cpi-release/pull/174","diff_url":"https://github.com/cloudfoundry/bosh-openstack-cpi-release/pull/174.diff","patch_url":"https://github.com/cloudfoundry/bosh-openstack-cpi-release/pull/174.patch"},"body":"If the user running the CFOV has an admin role on the project\r\nthe validator runs in, the cleanup script will find all glance\r\nimages and all neutron ports.\r\nThe list commands filters by default on the project for servers, volumes\r\nand snapshot.\r\nThis patch adds the project filter explicitely for images and ports.\r\nIf we cannot retrieve the OpenStack project ID, we exit. Because we\r\nwould delete to many ports, if run as admin user.\r\n\r\nAdditionally we filter the neutron port list for DVR ports.\r\n(Maybe a whitelist for device_owner=compute:* is better here?)"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/bosh-openstack-cpi-release/issues/comments/439896297","html_url":"https://github.com/cloudfoundry/bosh-openstack-cpi-release/pull/174#issuecomment-439896297","issue_url":"https://api.github.com/repos/cloudfoundry/bosh-openstack-cpi-release/issues/174","id":439896297,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTg5NjI5Nw==","user":{"login":"cf-gitbot","id":5589368,"node_id":"MDQ6VXNlcjU1ODkzNjg=","avatar_url":"https://avatars3.githubusercontent.com/u/5589368?v=4","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":"2018-11-19T13:41:53Z","updated_at":"2018-11-19T13:41:53Z","author_association":"COLLABORATOR","body":"We have created an issue in Pivotal Tracker to manage this: \n\nhttps://www.pivotaltracker.com/story/show/162052154 \n\nThe labels on this github issue will be updated when the story is started."}}
{"actor":{"display_login":"cf-gitbot"}}