{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/2107","repository_url":"https://api.github.com/repos/lxc/lxd","labels_url":"https://api.github.com/repos/lxc/lxd/issues/2107/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/2107/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/2107/events","html_url":"https://github.com/lxc/lxd/issues/2107","id":159809110,"number":2107,"title":"Make LXD update openvswitch aware.","user":{"login":"severnt","id":1727196,"avatar_url":"https://avatars.githubusercontent.com/u/1727196?v=3","gravatar_id":"","url":"https://api.github.com/users/severnt","html_url":"https://github.com/severnt","followers_url":"https://api.github.com/users/severnt/followers","following_url":"https://api.github.com/users/severnt/following{/other_user}","gists_url":"https://api.github.com/users/severnt/gists{/gist_id}","starred_url":"https://api.github.com/users/severnt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/severnt/subscriptions","organizations_url":"https://api.github.com/users/severnt/orgs","repos_url":"https://api.github.com/users/severnt/repos","events_url":"https://api.github.com/users/severnt/events{/privacy}","received_events_url":"https://api.github.com/users/severnt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-12T05:36:30Z","updated_at":"2016-06-12T05:41:21Z","closed_at":"2016-06-12T05:41:18Z","body":"Currently, modifying a container configuration (e.g. lxc config edit MYLXC) to add a NIC to an openvswitch bridge only works when the container is stopped. It will fail with \"Failed to add interface to bridge\" if the container is running.\r\n\r\nThis is because LXD is not openvswitch aware and tries to use iproute2 instead of ovs-vsctl commands to add the NIC to the bridge. On startup, LXC correctly interprets the config file that LXD generates and uses ovs-vsctl commands to add the interface to the OVS bridge.\r\n\r\nPerhaps LXD can do what LXC does to detect and add a NIC to an OVS bridge?\r\n\r\ne.g. functions \"attach_to_ovs_bridge\" and \"is_ovs_bridge\" in https://github.com/lxc/lxc/blob/e2a348395ad9743427f7fcf2d9282506a903d390/src/lxc/network.c\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lxc/lxd/issues/comments/225411221","html_url":"https://github.com/lxc/lxd/issues/2107#issuecomment-225411221","issue_url":"https://api.github.com/repos/lxc/lxd/issues/2107","id":225411221,"user":{"login":"severnt","id":1727196,"avatar_url":"https://avatars.githubusercontent.com/u/1727196?v=3","gravatar_id":"","url":"https://api.github.com/users/severnt","html_url":"https://github.com/severnt","followers_url":"https://api.github.com/users/severnt/followers","following_url":"https://api.github.com/users/severnt/following{/other_user}","gists_url":"https://api.github.com/users/severnt/gists{/gist_id}","starred_url":"https://api.github.com/users/severnt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/severnt/subscriptions","organizations_url":"https://api.github.com/users/severnt/orgs","repos_url":"https://api.github.com/users/severnt/repos","events_url":"https://api.github.com/users/severnt/events{/privacy}","received_events_url":"https://api.github.com/users/severnt/received_events","type":"User","site_admin":false},"created_at":"2016-06-12T05:41:17Z","updated_at":"2016-06-12T05:41:17Z","body":"Github was having issues, dupe of #2106 "}}
{"actor":{"display_login":"severnt"}}