You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working with a custom Windows AMI and since it is failing to get the admin password, I created a static password for the Administrator account and added it to the kitchen.yml instance.transport control. This results in the function fetch_windows_admin_password never getting called. Looking through the code, I can't see instances outside of that function where state[:password] gets populated. The problem this presents is that the line instance.transport.connection(state).wait_until_ready doesn't exit because no password was provided so it keeps waiting for the connection to be ready.
I see a few things needing to be done.
state[:password] should be populated when instance.transport[:password] is not nil.
A break should occur if instance.transport.connection(state).wait_until_ready exceeds a certain length of time.
A validation check put in place to ensure all required values are populated before requesting a connection.
The text was updated successfully, but these errors were encountered:
I am working with a custom Windows AMI and since it is failing to get the admin password, I created a static password for the Administrator account and added it to the kitchen.yml instance.transport control. This results in the function fetch_windows_admin_password never getting called. Looking through the code, I can't see instances outside of that function where state[:password] gets populated. The problem this presents is that the line instance.transport.connection(state).wait_until_ready doesn't exit because no password was provided so it keeps waiting for the connection to be ready.
I see a few things needing to be done.
The text was updated successfully, but these errors were encountered: