{"action":"created","issue":{"url":"https://api.github.com/repos/autotest/autotest/issues/518","repository_url":"https://api.github.com/repos/autotest/autotest","labels_url":"https://api.github.com/repos/autotest/autotest/issues/518/labels{/name}","comments_url":"https://api.github.com/repos/autotest/autotest/issues/518/comments","events_url":"https://api.github.com/repos/autotest/autotest/issues/518/events","html_url":"https://github.com/autotest/autotest/issues/518","id":6259287,"node_id":"MDU6SXNzdWU2MjU5Mjg3","number":518,"title":"Windows guest fail to receive IP address from dhcp","user":{"login":"ldoktor","id":1074021,"node_id":"MDQ6VXNlcjEwNzQwMjE=","avatar_url":"https://avatars3.githubusercontent.com/u/1074021?v=4","gravatar_id":"","url":"https://api.github.com/users/ldoktor","html_url":"https://github.com/ldoktor","followers_url":"https://api.github.com/users/ldoktor/followers","following_url":"https://api.github.com/users/ldoktor/following{/other_user}","gists_url":"https://api.github.com/users/ldoktor/gists{/gist_id}","starred_url":"https://api.github.com/users/ldoktor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldoktor/subscriptions","organizations_url":"https://api.github.com/users/ldoktor/orgs","repos_url":"https://api.github.com/users/ldoktor/repos","events_url":"https://api.github.com/users/ldoktor/events{/privacy}","received_events_url":"https://api.github.com/users/ldoktor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2012-08-16T08:33:14Z","updated_at":"2018-07-12T05:45:53Z","closed_at":"2018-07-12T05:45:53Z","author_association":"MEMBER","body":"Hi guys,\n\nwhen developing a Windows test I got a lot of `No DHCP lease for MAC 9a:2b:2c:2d:2e:2f` or `...can't verify address...` messages. Followed by can't connect to guest test failures.\n\nThe problem is 100% reproducible (on my laptop):\n1) Execute any test on Windows XP\n2) killall qemu-kvm, rm -f env, rm -f /tmp/address_poll*\n3) Execute any test on Windows XP\n\nThere is a simple fix, login to the machine (`vnc` or `nc` with the old IP address) and run `\"ipconfig /renew\"`. It returns error:\n`An error occurred while renewing interface Local Area Connection 5 : Access is denied.` or\n`An error occurred while renewing interface Local Area Connection 5 : Unable to contact your DHCP server. Request has timed out.`\nbut the IP address changes successfully and is recognized by autotest.\n\nFunny was that by using GUI `Control Panel -> Network Connections -> Local Area ... -> Support -> Repair` didn't work, but cmd `ipconfig /renew` did.\n\nMy idea is that windows won't send dhcp request on boot when the old (previous run) address is still valid. But don't take me seriously, I don't understand Windows...\n\nMy laptop: Fedora 17, qemu-kvm-1.0.1-1.fc17.x86_64, current autotest git-next\nGuest: Windows XP SP3\n\nPS: I sometimes encounter broken bridge which requires to stop and start bridge (in  virt-manager) and then everything works fine. **This is not the case** and **bridge restart doesn't help**.\n"},"comment":{"url":"https://api.github.com/repos/autotest/autotest/issues/comments/404396395","html_url":"https://github.com/autotest/autotest/issues/518#issuecomment-404396395","issue_url":"https://api.github.com/repos/autotest/autotest/issues/518","id":404396395,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDM5NjM5NQ==","user":{"login":"ldoktor","id":1074021,"node_id":"MDQ6VXNlcjEwNzQwMjE=","avatar_url":"https://avatars3.githubusercontent.com/u/1074021?v=4","gravatar_id":"","url":"https://api.github.com/users/ldoktor","html_url":"https://github.com/ldoktor","followers_url":"https://api.github.com/users/ldoktor/followers","following_url":"https://api.github.com/users/ldoktor/following{/other_user}","gists_url":"https://api.github.com/users/ldoktor/gists{/gist_id}","starred_url":"https://api.github.com/users/ldoktor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldoktor/subscriptions","organizations_url":"https://api.github.com/users/ldoktor/orgs","repos_url":"https://api.github.com/users/ldoktor/repos","events_url":"https://api.github.com/users/ldoktor/events{/privacy}","received_events_url":"https://api.github.com/users/ldoktor/received_events","type":"User","site_admin":false},"created_at":"2018-07-12T05:45:53Z","updated_at":"2018-07-12T05:45:53Z","author_association":"MEMBER","body":"I don't really remember what this was about and I don't have this issue anymore..."}}
{"actor":{"display_login":"ldoktor"}}