{"action":"created","issue":{"url":"https://api.github.com/repos/libre-server/rolekit/issues/64","repository_url":"https://api.github.com/repos/libre-server/rolekit","labels_url":"https://api.github.com/repos/libre-server/rolekit/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/libre-server/rolekit/issues/64/comments","events_url":"https://api.github.com/repos/libre-server/rolekit/issues/64/events","html_url":"https://github.com/libre-server/rolekit/issues/64","id":158292653,"number":64,"title":"domain controller role: cannot specify only ipv4 or ipv6 forwarders","user":{"login":"AdamWill","id":916551,"avatar_url":"https://avatars.githubusercontent.com/u/916551?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamWill","html_url":"https://github.com/AdamWill","followers_url":"https://api.github.com/users/AdamWill/followers","following_url":"https://api.github.com/users/AdamWill/following{/other_user}","gists_url":"https://api.github.com/users/AdamWill/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamWill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamWill/subscriptions","organizations_url":"https://api.github.com/users/AdamWill/orgs","repos_url":"https://api.github.com/users/AdamWill/repos","events_url":"https://api.github.com/users/AdamWill/events{/privacy}","received_events_url":"https://api.github.com/users/AdamWill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"sgallagher","id":739555,"avatar_url":"https://avatars.githubusercontent.com/u/739555?v=3","gravatar_id":"","url":"https://api.github.com/users/sgallagher","html_url":"https://github.com/sgallagher","followers_url":"https://api.github.com/users/sgallagher/followers","following_url":"https://api.github.com/users/sgallagher/following{/other_user}","gists_url":"https://api.github.com/users/sgallagher/gists{/gist_id}","starred_url":"https://api.github.com/users/sgallagher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgallagher/subscriptions","organizations_url":"https://api.github.com/users/sgallagher/orgs","repos_url":"https://api.github.com/users/sgallagher/repos","events_url":"https://api.github.com/users/sgallagher/events{/privacy}","received_events_url":"https://api.github.com/users/sgallagher/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-06-03T05:16:23Z","updated_at":"2016-06-03T14:50:41Z","closed_at":null,"body":"I have a situation where I want to specify the DNS forwarders for the domain controller role, but only IPv4 forwarders (there is no IPv6 connectivity).\r\n\r\nrolekit will refuse point blank to accept a `dns_forwarders` dict with no `ipv6` key.\r\n\r\nrolekit will accept a `dns_forwarders` dict with an `ipv6` list containing valid IPv6 servers, but the deployment will fail because none of them can be contacted.\r\n\r\nrolekit will accept a `dns_forwarders` dict with an empty `ipv6` list, and *sometimes* this even works, but quite often it fails with an error message \"Unable to guess signature from an empty list\", which appears to be a ValueError that can be raised by python-dbus in some circumstances.\r\n\r\nFortunately I found a loophole: rolekit does not actually check that the values in the `ipv4` list are IPv4 addresses and the values in the `ipv6` list are IPv6 addresses. In fact it doesn't check anything about them other than that they're strings. It just turns the items in both lists into `--forwarder` args for `ipa-server-install` (which leads me to wonder why there are two separate lists in the first place). So I can work around this by just sticking IPv4 servers in the `ipv6` list. But it certainly seems to be a bug, there is no reason to require both lists to be present and non-empty."},"comment":{"url":"https://api.github.com/repos/libre-server/rolekit/issues/comments/223600275","html_url":"https://github.com/libre-server/rolekit/issues/64#issuecomment-223600275","issue_url":"https://api.github.com/repos/libre-server/rolekit/issues/64","id":223600275,"user":{"login":"sgallagher","id":739555,"avatar_url":"https://avatars.githubusercontent.com/u/739555?v=3","gravatar_id":"","url":"https://api.github.com/users/sgallagher","html_url":"https://github.com/sgallagher","followers_url":"https://api.github.com/users/sgallagher/followers","following_url":"https://api.github.com/users/sgallagher/following{/other_user}","gists_url":"https://api.github.com/users/sgallagher/gists{/gist_id}","starred_url":"https://api.github.com/users/sgallagher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgallagher/subscriptions","organizations_url":"https://api.github.com/users/sgallagher/orgs","repos_url":"https://api.github.com/users/sgallagher/repos","events_url":"https://api.github.com/users/sgallagher/events{/privacy}","received_events_url":"https://api.github.com/users/sgallagher/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T14:50:41Z","updated_at":"2016-06-03T14:50:41Z","body":"Yeah, the D-BUS thing is actually a limitation of python-dbus and a real pain in the neck. I'm not sure where exactly it needs to be fixed (in rolectl or in python-dbus). But for now, I'm going to ignore it."}}
{"actor":{"display_login":"sgallagher"}}