There are two interesting things here:  1.      We havenât validated running on the non-gui version in CI â I canât think of a reason it wouldnât work. Are you doing this via a stock image with a cloud provider â if so, which one? This would help us in doing an exact repro. 2.      You have a strange ânotepad++â line in the error output â are you using a custom bootstrap template? Is notepad++ installed on the system in some way? This shouldnât cause a problem, but Iâd like to understand what might be unique about the remote system.  Thanks.  -Adam  Since I got no response, I assume that this is an honest-to-goodness bug, and that bootstrap was never tested on a Windows Server 2012 R2 Core?  The step that fails mentions ânotepad++â but of course notepad++ cannot run on a non-GUI OS?  Chris   Note that Windows Server 2012 R2 Core is the ânon-GUIâ version of Windows Server 2012 R2 Standard. It runs a Windows command prompt when one logs into the console, thatâs it.  Iâm able to do this, so I know I set up winrm correctly. Node name, password and port# have been changed.  ~]# knife winrm "Mynode.domain.com" "dir" -m -x domain\\Administrator -P Password -p 1234 Mynode.domain.com Volume in drive C has no label. Mynode.domain.com Volume Volume Serial Number is EE8C-90E1 Mynode.domain.com Volume Directory of C:\Users\Administrator Mynode.domain.com Volume Mynode.domain.com Volume 03/03/2014 04:52 PM   <DIR>         . Mynode.domain.com Volume 03/03/2014 04:52 PM   <DIR>         .. Mynode.domain.com Volume 09/18/2014 04:05 PM   <DIR>         Contacts Mynode.domain.com Volume 09/18/2014 04:05 PM   <DIR>         Desktop Mynode.domain.com Volume 09/18/2014 04:05 PM   <DIR>         Documents Mynode.domain.com Volume 09/18/2014 04:05 PM   <DIR>         Downloads Mynode.domain.com Volume 09/18/2014 04:05 PM   <DIR>         Favorites Mynode.domain.com Volume 09/18/2014 04:05 PM   <DIR>         Links Mynode.domain.com Volume 09/18/2014 04:05 PM   <DIR>         Music Mynode.domain.com Volume 09/18/2014 04:05 PM   <DIR>         Pictures Mynode.domain.com Volume 09/18/2014 04:05 PM   <DIR>         Saved Games Mynode.domain.com Volume 09/18/2014 04:05 PM   <DIR>         Searches Mynode.domain.com Volume 09/18/2014 04:05 PM   <DIR>         Videos Mynode.domain.com Volume                  0 File(s)             0 bytes Mynode.domain.com Volume                  13 Dir(s) 51,591,532,544 bytes free  I get this during bootstrap.  ~]# knife bootstrap windows winrm "Mynode.domain.com" -N "london-db1" -x domain\\Administrator -P Password -p 1234  Waiting for remote response before bootstrap. Mynode.domain.com. Mynode.domain.com Response received. Remote node responded after 0.0 minutes. Bootstrapping Chef on london-db1.davis.sensus.lab Mynode.domain.com "Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat" chunk 1" Mynode.domain.com "Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat" chunk 2" Mynode.domain.com "Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat" chunk 3" Mynode.domain.com "Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat" chunk 4" Mynode.domain.com "Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat" chunk 5" Mynode.domain.com "Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat" chunk 6" Mynode.domain.com "Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat" chunk 7" Mynode.domain.com "Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat" chunk 8" Mynode.domain.com "Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat" chunk 9" Mynode.domain.com "Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat" chunk 10" Mynode.domain.com "Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat" chunk 11" Mynode.domain.com "Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat" chunk 12" Mynode.domain.com "Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat" chunk 13" Mynode.domain.com "Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-5743-1417546598.bat" chunk 14" Mynode.domain.com \notepad++\";"c:\Users\Administrator\Desktop\Change was unexpected at this time. ERROR: Failed to execute command on Mynode.domain.com return code 1  Where can I get a more verbose message that I can share?  Chris |
Archive powered by MHonArc 2.6.16.