{"action":"created","issue":{"url":"https://api.github.com/repos/rhinstaller/anaconda/issues/163","labels_url":"https://api.github.com/repos/rhinstaller/anaconda/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/rhinstaller/anaconda/issues/163/comments","events_url":"https://api.github.com/repos/rhinstaller/anaconda/issues/163/events","html_url":"https://github.com/rhinstaller/anaconda/issues/163","id":91103548,"number":163,"title":"Odd name resolution problems","user":{"login":"jasontibbitts","id":10857207,"avatar_url":"https://avatars.githubusercontent.com/u/10857207?v=3","gravatar_id":"","url":"https://api.github.com/users/jasontibbitts","html_url":"https://github.com/jasontibbitts","followers_url":"https://api.github.com/users/jasontibbitts/followers","following_url":"https://api.github.com/users/jasontibbitts/following{/other_user}","gists_url":"https://api.github.com/users/jasontibbitts/gists{/gist_id}","starred_url":"https://api.github.com/users/jasontibbitts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasontibbitts/subscriptions","organizations_url":"https://api.github.com/users/jasontibbitts/orgs","repos_url":"https://api.github.com/users/jasontibbitts/repos","events_url":"https://api.github.com/users/jasontibbitts/events{/privacy}","received_events_url":"https://api.github.com/users/jasontibbitts/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-25T23:31:54Z","updated_at":"2015-10-23T13:46:03Z","closed_at":"2015-10-23T13:46:03Z","body":"This is probably very specific to my setup and there's a quite trivial workaround but I might as well file this just in case there's an easy fix.\r\n\r\nI generally install by booting the PXE images off of a USB stick, and specifying the URL of a kickstart file on the command line.  Dracut does DHCP and downloads the kickstart and *.img files.  The kickstart file has a network line specifying a static network configuration, so anaconda changes the net config and makes a VNC connection.  This all works great.\r\n\r\nThe problem is this: anaconda will fail to set up the repositories properly if, in the repository definitions, I use an unqualified hostname.  If I use the IP of the server (which breaks virtual hosting) or the FQDN then everything's OK.  Or, if I just click on the error and then click 'done' everything is fine.  If I ssh in I can resolve hostnames just fine.  There's only a short window when it appears not to be able to resolve hostnames.\r\n\r\nI suspect some sort of race with networkmanager; in my experience it can take a little while to actually write out resolv.conf.  I could drop in a sleep somewhere but I'm having trouble figuring out exactly where in the source to do that."},"comment":{"url":"https://api.github.com/repos/rhinstaller/anaconda/issues/comments/150577600","html_url":"https://github.com/rhinstaller/anaconda/issues/163#issuecomment-150577600","issue_url":"https://api.github.com/repos/rhinstaller/anaconda/issues/163","id":150577600,"user":{"login":"dashea","id":4419868,"avatar_url":"https://avatars.githubusercontent.com/u/4419868?v=3","gravatar_id":"","url":"https://api.github.com/users/dashea","html_url":"https://github.com/dashea","followers_url":"https://api.github.com/users/dashea/followers","following_url":"https://api.github.com/users/dashea/following{/other_user}","gists_url":"https://api.github.com/users/dashea/gists{/gist_id}","starred_url":"https://api.github.com/users/dashea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashea/subscriptions","organizations_url":"https://api.github.com/users/dashea/orgs","repos_url":"https://api.github.com/users/dashea/repos","events_url":"https://api.github.com/users/dashea/events{/privacy}","received_events_url":"https://api.github.com/users/dashea/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T13:46:03Z","updated_at":"2015-10-23T13:46:03Z","body":"This sounds like a NetworkManager problem. anaconda waits for NetworkManager to report a state of (usually) CONNECTED_GLOBAL, and it ought to be done writing /etc/resolv.conf if it's reporting that it's connected. Adding sleeps in anaconda to work around that just sounds like trouble."}}