{"action":"created","issue":{"url":"https://api.github.com/repos/a10networks/a10-neutron-lbaas/issues/161","labels_url":"https://api.github.com/repos/a10networks/a10-neutron-lbaas/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/a10networks/a10-neutron-lbaas/issues/161/comments","events_url":"https://api.github.com/repos/a10networks/a10-neutron-lbaas/issues/161/events","html_url":"https://github.com/a10networks/a10-neutron-lbaas/pull/161","id":123342432,"number":161,"title":"Populate a10_tenant_appliance for established tenants","user":{"login":"Cedev","id":1644042,"avatar_url":"https://avatars.githubusercontent.com/u/1644042?v=3","gravatar_id":"","url":"https://api.github.com/users/Cedev","html_url":"https://github.com/Cedev","followers_url":"https://api.github.com/users/Cedev/followers","following_url":"https://api.github.com/users/Cedev/following{/other_user}","gists_url":"https://api.github.com/users/Cedev/gists{/gist_id}","starred_url":"https://api.github.com/users/Cedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cedev/subscriptions","organizations_url":"https://api.github.com/users/Cedev/orgs","repos_url":"https://api.github.com/users/Cedev/repos","events_url":"https://api.github.com/users/Cedev/events{/privacy}","received_events_url":"https://api.github.com/users/Cedev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/a10networks/a10-neutron-lbaas/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-21T19:28:30Z","updated_at":"2016-01-06T17:50:52Z","closed_at":"2016-01-06T17:50:49Z","pull_request":{"url":"https://api.github.com/repos/a10networks/a10-neutron-lbaas/pulls/161","html_url":"https://github.com/a10networks/a10-neutron-lbaas/pull/161","diff_url":"https://github.com/a10networks/a10-neutron-lbaas/pull/161.diff","patch_url":"https://github.com/a10networks/a10-neutron-lbaas/pull/161.patch"},"body":"Story #145\r\n\r\nPopulates a10_tenant_appliance when populating vip and loadbalancer appliances. Fixes an issue where, if the db migrations are run and a new appliance is added before a tenant is assigned to an aplliance, the tenant might be assigned to a different appliance than their existing lbaas objects.\r\n\r\n----\r\n\r\n * Test for, migrations populate a10_tenant_appliance\r\n * Migration populations happen later in the migration process. The existing migration steps are now stubs that exist just for versioning compatibility.\r\n * Migration cli upgrade uses the fixed _install method, since the alembic upgrade method is broken (https://bitbucket.org/zzzeek/alembic/issues/336) when using branches. This fixes the order-of-upgrade tests that assumed upgrade would actually work."},"comment":{"url":"https://api.github.com/repos/a10networks/a10-neutron-lbaas/issues/comments/169402365","html_url":"https://github.com/a10networks/a10-neutron-lbaas/pull/161#issuecomment-169402365","issue_url":"https://api.github.com/repos/a10networks/a10-neutron-lbaas/issues/161","id":169402365,"user":{"login":"mdurrant-b3","id":10053740,"avatar_url":"https://avatars.githubusercontent.com/u/10053740?v=3","gravatar_id":"","url":"https://api.github.com/users/mdurrant-b3","html_url":"https://github.com/mdurrant-b3","followers_url":"https://api.github.com/users/mdurrant-b3/followers","following_url":"https://api.github.com/users/mdurrant-b3/following{/other_user}","gists_url":"https://api.github.com/users/mdurrant-b3/gists{/gist_id}","starred_url":"https://api.github.com/users/mdurrant-b3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdurrant-b3/subscriptions","organizations_url":"https://api.github.com/users/mdurrant-b3/orgs","repos_url":"https://api.github.com/users/mdurrant-b3/repos","events_url":"https://api.github.com/users/mdurrant-b3/events{/privacy}","received_events_url":"https://api.github.com/users/mdurrant-b3/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T17:50:52Z","updated_at":"2016-01-06T17:50:52Z","body":"LGTM.  Merged."}}