-
Notifications
You must be signed in to change notification settings - Fork 202
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
hostname missing when waiting for ssh service in create action #122
Comments
@litjoco ...
platforms:
- name: centos-6.3
driver_plugin: ec2
transport:
username: test
ssh_key: <%= ENV['AWS_SSH_KEY']%>
... It works correctly for me. |
If the hostname is not set, we are having an issue where it attempts to converge on localhost. This is very bad. This also looks to be largely a problem around not specifying an 'interface' |
I'm having the same problem, I noticed the .kitchen/default- is missing the hostname field, no matter if I specify the lines suggested by @dsavinkov, also tried specifying interface: to dns, internal or public with the same results last_action: destroy
server_id: i-5ec8f688
hostname: '' |
Thanks for the suggestion @dsavinkov. This makes me think that my config is correct |
merge request #123 should resolve this issue, by returning private_ip_address by default and wiring up an interface variable in the config to specify dns, private, or public. |
During the
create
action the instance is created and logged asready
. Following this the ssh connection is being checked. The connection is always fails made and eventually times out. I am able to manually connect during this time using same keypair. From the log it looks like the hostname is not getting set.I have tried explicitly setting the
interface_type
and leaving it as default with same result.fyi: After the time out the state file is created with the instance id but hostname is empty
The text was updated successfully, but these errors were encountered: