[chef] RE: Re: Newbie needs help creating AWS EC2 Windows instance


Chronological Thread 
  • From: Alex Neihaus < >
  • To: " " < >
  • Subject: [chef] RE: Re: Newbie needs help creating AWS EC2 Windows instance
  • Date: Fri, 25 Sep 2015 13:45:01 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:23

Thanks to everyone who has responded. I am almost there.

I have knife ec2 standing up a Windows Server 2008 R2 instance and, 
apparently, connecting to it via winrm. However, after accessing winrm and 
during what I think is the attempt to bootstrap the instance to Chef, I 
receive an OpenSSL “padding check failed” error. 

If anyone has any clues, I’d appreciate your help. Here's the error and the 
knife ec2 command I am using (with the sensitive parts removed):

Waiting for EC2 to create the instance......
Subnet ID: subnet-<removed>
Tenancy: default
Private IP Address: <removed>
Waiting for winrm access to become available.....done
Waiting for Windows Admin password to be available............
ERROR: OpenSSL::PKey::RSAError: padding check failed

knife ec2 server create --flavor m4.xlarge --associate-public-ip 
--bootstrap-protocol winrm -N WinServerTestNodeCanBeDeleted --region 
us-east-1 --availability-zone us-east-1d --security-group-ids sg-NNNNN -T 
name=WinServerTestNodeCanBeDeleted -I ami-YYYYY --user-data 
/path-to-user-text/usertext.txt -A <removed> -K <removed> --ssh-key <AWS key 
name> --subnet subnet-XXXXXXX   --identity-file 
/pathtochefrepo/.chef/<removed>.pem -VV

Alex



Archive powered by MHonArc 2.6.16.

§