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

server create timeout #50

Open
lmilbaum opened this issue Oct 27, 2016 · 1 comment
Open

server create timeout #50

lmilbaum opened this issue Oct 27, 2016 · 1 comment

Comments

@lmilbaum
Copy link

This is my command:
knife softlayer server create
-H test -D sookka.co.il
--flavor m1.tiny
--os-code UBUNTU_14_64
--datacenter ams01
--node-name server1
--ssh-user ubuntu
--ssh-keys 713361
-i ~/.ssh/sl_rsa.pem
--new-global-ip v4
--config config.rb

This is my config.rb file

log_level :info
log_location STDOUT
client_key "#{current_dir}/keys/liora.pem"
chef_server_url "https://api.opscode.com/organizations/lmb"
cookbook_path ["#{current_dir}/chef-repo/cookbooks/"]
role_path ["#{current_dir}/chef-repo/roles/"]
node_name "liora"

knife[:softlayer_username] = ENV['SOFTLAYER_USERNAME']
knife[:softlayer_api_key] = ENV['SOFTLAYER_API_KEY']

The command timeouts after 600 seconds and the ssh command using the sl_rsa key is not working. It requires ubuntu's password.

What have I done wrong?

@lmilbaum
Copy link
Author

During the knife run, I hit the next error multiple times:
[email protected]'s password: stty: stdin isn't a terminal
stty: stdin isn't a terminal
...............stty: stdin isn't a terminal

The plugin ignores the ssh-user flag.
I can ssh to the new created server with the command: ssh -i ~/.ssh/sl_rsa.pem root@

Why root and not ubuntu?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant