[chef] RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)


Chronological Thread 
  • From: "Fouts, Chris" < >
  • To: " " < >
  • Subject: [chef] RE: Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)
  • Date: Tue, 2 Dec 2014 19:32:04 +0000
  • Accept-language: en-US

Chef-client 11.2.8

Chef-server 11.* (latest v11 – how do I get this?)

 

Chris

 

From: Fouts, Chris [mailto:
Sent: Tuesday, December 02, 2014 2:18 PM
To:
Subject: [chef] Please help bootstrapping Windows Server 2012 R2 Core (non-GUI version of Window Server 2012 R2 Standard)

 

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.

§