{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxd/issues/4788","repository_url":"https://api.github.com/repos/lxc/lxd","labels_url":"https://api.github.com/repos/lxc/lxd/issues/4788/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/4788/comments","events_url":"https://api.github.com/repos/lxc/lxd/issues/4788/events","html_url":"https://github.com/lxc/lxd/issues/4788","id":341241349,"node_id":"MDU6SXNzdWUzNDEyNDEzNDk=","number":4788,"title":"Get same DNS view for FAN on LXD cluster","user":{"login":"ncpe20012003","id":34515681,"node_id":"MDQ6VXNlcjM0NTE1Njgx","avatar_url":"https://avatars2.githubusercontent.com/u/34515681?v=4","gravatar_id":"","url":"https://api.github.com/users/ncpe20012003","html_url":"https://github.com/ncpe20012003","followers_url":"https://api.github.com/users/ncpe20012003/followers","following_url":"https://api.github.com/users/ncpe20012003/following{/other_user}","gists_url":"https://api.github.com/users/ncpe20012003/gists{/gist_id}","starred_url":"https://api.github.com/users/ncpe20012003/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncpe20012003/subscriptions","organizations_url":"https://api.github.com/users/ncpe20012003/orgs","repos_url":"https://api.github.com/users/ncpe20012003/repos","events_url":"https://api.github.com/users/ncpe20012003/events{/privacy}","received_events_url":"https://api.github.com/users/ncpe20012003/received_events","type":"User","site_admin":false},"labels":[{"id":144672269,"node_id":"MDU6TGFiZWwxNDQ2NzIyNjk=","url":"https://api.github.com/repos/lxc/lxd/labels/Feature","name":"Feature","color":"84b6eb","default":false}],"state":"closed","locked":false,"assignee":{"login":"stgraber","id":2230599,"node_id":"MDQ6VXNlcjIyMzA1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/2230599?v=4","gravatar_id":"","url":"https://api.github.com/users/stgraber","html_url":"https://github.com/stgraber","followers_url":"https://api.github.com/users/stgraber/followers","following_url":"https://api.github.com/users/stgraber/following{/other_user}","gists_url":"https://api.github.com/users/stgraber/gists{/gist_id}","starred_url":"https://api.github.com/users/stgraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stgraber/subscriptions","organizations_url":"https://api.github.com/users/stgraber/orgs","repos_url":"https://api.github.com/users/stgraber/repos","events_url":"https://api.github.com/users/stgraber/events{/privacy}","received_events_url":"https://api.github.com/users/stgraber/received_events","type":"User","site_admin":false},"assignees":[{"login":"stgraber","id":2230599,"node_id":"MDQ6VXNlcjIyMzA1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/2230599?v=4","gravatar_id":"","url":"https://api.github.com/users/stgraber","html_url":"https://github.com/stgraber","followers_url":"https://api.github.com/users/stgraber/followers","following_url":"https://api.github.com/users/stgraber/following{/other_user}","gists_url":"https://api.github.com/users/stgraber/gists{/gist_id}","starred_url":"https://api.github.com/users/stgraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stgraber/subscriptions","organizations_url":"https://api.github.com/users/stgraber/orgs","repos_url":"https://api.github.com/users/stgraber/repos","events_url":"https://api.github.com/users/stgraber/events{/privacy}","received_events_url":"https://api.github.com/users/stgraber/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/lxc/lxd/milestones/71","html_url":"https://github.com/lxc/lxd/milestone/71","labels_url":"https://api.github.com/repos/lxc/lxd/milestones/71/labels","id":3339211,"node_id":"MDk6TWlsZXN0b25lMzMzOTIxMQ==","number":71,"title":"lxd-3.4","description":"","creator":{"login":"stgraber","id":2230599,"node_id":"MDQ6VXNlcjIyMzA1OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/2230599?v=4","gravatar_id":"","url":"https://api.github.com/users/stgraber","html_url":"https://github.com/stgraber","followers_url":"https://api.github.com/users/stgraber/followers","following_url":"https://api.github.com/users/stgraber/following{/other_user}","gists_url":"https://api.github.com/users/stgraber/gists{/gist_id}","starred_url":"https://api.github.com/users/stgraber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stgraber/subscriptions","organizations_url":"https://api.github.com/users/stgraber/orgs","repos_url":"https://api.github.com/users/stgraber/repos","events_url":"https://api.github.com/users/stgraber/events{/privacy}","received_events_url":"https://api.github.com/users/stgraber/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":20,"state":"closed","created_at":"2018-05-11T13:58:52Z","updated_at":"2018-08-14T19:49:16Z","due_on":"2018-08-14T07:00:00Z","closed_at":"2018-08-14T19:49:16Z"},"comments":10,"created_at":"2018-07-14T14:45:18Z","updated_at":"2018-09-06T19:57:18Z","closed_at":"2018-08-11T00:57:41Z","author_association":"NONE","body":"Looking for guidance on how to configure DNS for 3 node LXD cluster on Ubuntu 16.04 server using fan networking. I have a container launched on each node, first, second, and third.  Here is lxc network show for the first node:\r\n$> lxc network show lxdfan0\r\nconfig:\r\n  bridge.mode: fan\r\n  dns.domain: lxd\r\n  dns.mode: managed\r\n  fan.underlay_subnet: 172.31.100.0/24\r\ndescription: \"\"\r\nname: lxdfan0\r\ntype: bridge\r\nused_by:\r\n- /1.0/containers/first\r\n- /1.0/containers/second\r\n- /1.0/containers/third\r\nmanaged: true\r\nstatus: Created\r\nlocations:\r\n- prod-b1\r\n- prod-b2\r\n- prod-b3\r\n\r\nI have dnsmasq install and running using the lxdfan0 interface IP as the server:\r\n# Tell any system-wide dnsmasq instance to make sure to bind to interfaces\r\n# instead of listening on 0.0.0.0\r\n# WARNING: changes to this file will get lost if lxd is removed.\r\nserver=/lxd/240.192.0.1\r\nbind-interfaces\r\nexcept-interface=lxdfan0\r\n\r\nIt will resolve any containers running on node 1 like first.xd, but not able to resolve any other containers from the other nodes on the same fan network. I have configured dnsmasq on node 2 in the same manner I did on node 1 and can resolve containers on node 2, but can't resolve anything from node 1. Any guidance?"},"comment":{"url":"https://api.github.com/repos/lxc/lxd/issues/comments/419221452","html_url":"https://github.com/lxc/lxd/issues/4788#issuecomment-419221452","issue_url":"https://api.github.com/repos/lxc/lxd/issues/4788","id":419221452,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTIyMTQ1Mg==","user":{"login":"jonnykdesigns","id":31934231,"node_id":"MDQ6VXNlcjMxOTM0MjMx","avatar_url":"https://avatars2.githubusercontent.com/u/31934231?v=4","gravatar_id":"","url":"https://api.github.com/users/jonnykdesigns","html_url":"https://github.com/jonnykdesigns","followers_url":"https://api.github.com/users/jonnykdesigns/followers","following_url":"https://api.github.com/users/jonnykdesigns/following{/other_user}","gists_url":"https://api.github.com/users/jonnykdesigns/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnykdesigns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnykdesigns/subscriptions","organizations_url":"https://api.github.com/users/jonnykdesigns/orgs","repos_url":"https://api.github.com/users/jonnykdesigns/repos","events_url":"https://api.github.com/users/jonnykdesigns/events{/privacy}","received_events_url":"https://api.github.com/users/jonnykdesigns/received_events","type":"User","site_admin":false},"created_at":"2018-09-06T19:57:18Z","updated_at":"2018-09-06T19:57:18Z","author_association":"NONE","body":"I tried it now:\r\n###Master Node\r\n$>ps aux | grep forkproxy\r\nroot     10510  0.0  0.1  12944  1080 pts/1    S+   19:52   0:00 grep --color=auto forkproxy\r\n###Slave 01\r\n$>ps aux | grep forkproxy\r\nroot     13301  0.0  0.0  12944   984 pts/1    S+   19:53   0:00 grep --color=auto forkproxy\r\n###Slave 02\r\n$>ps aux | grep forkproxy\r\nroot      4296  0.0  0.0  12944  1008 pts/1    S+   19:54   0:00 grep --color=auto forkproxy\r\nand i anyhow tried `systemctl reload snap.lxd.daemon` on every node, the ip addresses of the containers got refreshed, but when i try to ping the containers it still doesn't work.\r\n\r\nBtw, i setup the fan network from the master nodes lxd init and references to it from the others, and i'm using a private network for the fan underlay subnet 10.138.0.0/16, because i'm using digitalocean. Maybe there's a better way to do this, please let me know, thanks."}}
{"actor":{"display_login":"jonnykdesigns"}}