{"action":"created","issue":{"url":"https://api.github.com/repos/dbroeglin/windows-lab/issues/1","repository_url":"https://api.github.com/repos/dbroeglin/windows-lab","labels_url":"https://api.github.com/repos/dbroeglin/windows-lab/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dbroeglin/windows-lab/issues/1/comments","events_url":"https://api.github.com/repos/dbroeglin/windows-lab/issues/1/events","html_url":"https://github.com/dbroeglin/windows-lab/issues/1","id":163632517,"number":1,"title":"Failed winRM after install forest on domain controller","user":{"login":"stootles","id":8992773,"avatar_url":"https://avatars.githubusercontent.com/u/8992773?v=3","gravatar_id":"","url":"https://api.github.com/users/stootles","html_url":"https://github.com/stootles","followers_url":"https://api.github.com/users/stootles/followers","following_url":"https://api.github.com/users/stootles/following{/other_user}","gists_url":"https://api.github.com/users/stootles/gists{/gist_id}","starred_url":"https://api.github.com/users/stootles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stootles/subscriptions","organizations_url":"https://api.github.com/users/stootles/orgs","repos_url":"https://api.github.com/users/stootles/repos","events_url":"https://api.github.com/users/stootles/events{/privacy}","received_events_url":"https://api.github.com/users/stootles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-04T09:00:19Z","updated_at":"2016-09-20T20:27:14Z","closed_at":null,"body":"Hi,\r\n\r\nJust wondering if anyone has had an issue with the provision failing due to winrm errors after the install forest script is executed. I am thinking it is just a matter of the winrm service needing to be told to be more patient while waiting for the reboot after this step, maybe something in my ~/.vagrant.d/Vagrantfile is needed?\r\n\r\nRunning with --debug doesnt give much detail but pasting the lines just before the error occurs in case they are useful.\r\n\r\nCheers,\r\n\r\nStewart \r\n\r\n```\r\n\r\n==> dc: -------             -------                  --------------              ------\r\n==> dc: Operation comple... DCPromo.General.1                 False             Success\r\n==> dc: Message             Context                  RebootRequired              Status\r\n==> dc: -------             -------                  --------------              ------\r\n==> dc: Operation comple... DCPromo.General.1                 False             Success\r\nERROR warden: Error occurred: An authorization error occurred while connecting to WinRM.\r\n\r\nUser: vagrant\r\nEndpoint: http://127.0.0.1:5985/wsman\r\nMessage: WinRM::WinRMAuthorizationError\r\n INFO warden: Beginning recovery process...\r\n INFO warden: Recovery complete.\r\nERROR warden: Error occurred: An authorization error occurred while connecting to WinRM.\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/dbroeglin/windows-lab/issues/comments/248423677","html_url":"https://github.com/dbroeglin/windows-lab/issues/1#issuecomment-248423677","issue_url":"https://api.github.com/repos/dbroeglin/windows-lab/issues/1","id":248423677,"user":{"login":"dbroeglin","id":243852,"avatar_url":"https://avatars.githubusercontent.com/u/243852?v=3","gravatar_id":"","url":"https://api.github.com/users/dbroeglin","html_url":"https://github.com/dbroeglin","followers_url":"https://api.github.com/users/dbroeglin/followers","following_url":"https://api.github.com/users/dbroeglin/following{/other_user}","gists_url":"https://api.github.com/users/dbroeglin/gists{/gist_id}","starred_url":"https://api.github.com/users/dbroeglin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbroeglin/subscriptions","organizations_url":"https://api.github.com/users/dbroeglin/orgs","repos_url":"https://api.github.com/users/dbroeglin/repos","events_url":"https://api.github.com/users/dbroeglin/events{/privacy}","received_events_url":"https://api.github.com/users/dbroeglin/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T20:27:14Z","updated_at":"2016-09-20T20:27:14Z","body":"That is strange, vagrant uses a local user with credentials vagrant/vagrant to connect to the guest. It should not be affected by the DC promotion part. \r\n\r\nI'm assuming you are using the master branch. I did not use that branch for a few months so I just retested. The only change I had to do is that I do no longer have a \"ssh\" version so I used this base image:\r\nhttps://dl.dropboxusercontent.com/u/937870/VMs/eval-win2012r2-standard-nocm-1.0.4.box\r\n\r\nThe result looks OK:\r\n\r\n    ==> dc: Message             Context                  RebootRequired              Status\r\n    ==> dc: Message             Context                  RebootRequired              Status\r\n    ==> dc: -------             -------                  --------------              ------\r\n    ==> dc: Operation comple... DCPromo.General.1                 False             Success\r\n    ==> dc: Running provisioner: shell...\r\n        dc: Running: provision/03_install_adfs.ps1 as c:\\tmp\\vagrant-shell.ps1\r\n    ==> dc:     Directory: C:\\\r\n    ==> dc:\r\n    ==> dc:\r\n\r\nThere is an error later on with the ADFS cert but that is expected. Did you try one of the other branches ? The one I worked most with is `lab/iis-kerberos-authentication` did you try it ? If the issue persists could you give me some details about your environment, pls ?"}}
{"actor":{"display_login":"dbroeglin"}}