Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

knife ec2 server create should bootstrap windows node or produce an error if we are not providing --connection-protocol winrm #627

Closed
kapilchouhan99 opened this issue Dec 19, 2019 · 0 comments · Fixed by #630
Assignees
Labels
Status: Untriaged An issue that has yet to be triaged.

Comments

@kapilchouhan99
Copy link

Version:

knife-ec2 1.0.17

Environment:

Windows 2012 r2

Scenario:

When running ec2 server create command, after creating an EC2 instance, its giving ssh timed out for windows node, if we don't provide --connection-protocol winrm

Steps to Reproduce:

Just run this command:

knife ec2 server create -N chef-node-name -I ami-0d639a48468c98db8 -f t2.micro -x '.\kpl-w' -P 'Ec2user@123' --winrm-ssl --winrm-no-verify-cert --security-group-id sg-001bbf0c658b11a3b -VV -c /.chef/knife.rb

Actual Result:

Waiting for sshd access to become available
SSH Target Address: ec2-34-219-155-161.us-west-2.compute.amazonaws.com(public_dns_name)
 DEBUG: ssh timed out: ec2-34-219-155-161.us-west-2.compute.amazonaws.com
.
SSH Target Address: ec2-34-219-155-161.us-west-2.compute.amazonaws.com(public_dns_name)
DEBUG: ssh timed out: ec2-34-219-155-161.us-west-2.compute.amazonaws.com
.
SSH Target Address: ec2-34-219-155-161.us-west-2.compute.amazonaws.com(public_dns_name)
DEBUG: ssh timed out: ec2-34-219-155-161.us-west-2.compute.amazonaws.com
.
SSH Target Address: ec2-34-219-155-161.us-west-2.compute.amazonaws.com(public_dns_name)
DEBUG: ssh timed out: ec2-34-219-155-161.us-west-2.compute.amazonaws.com
.
SSH Target Address: ec2-34-219-155-161.us-west-2.compute.amazonaws.com(public_dns_name)
DEBUG: ssh timed out: ec2-34-219-155-161.us-west-2.compute.amazonaws.com

@kapilchouhan99 kapilchouhan99 added the Status: Untriaged An issue that has yet to be triaged. label Dec 19, 2019
@kapilchouhan99 kapilchouhan99 changed the title knife ec2 server create hangs on bootstraping windows node. knife ec2 server create should bootstrap windows node or produce an error if we are not providing --connection-protocol winrm Dec 19, 2019
@kapilchouhan99 kapilchouhan99 self-assigned this Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged An issue that has yet to be triaged.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant