Hi,
I have created ssh-keygen -t rsa, like suggested but that did not help.
Code:
root@xPC:~# ls -al /root/.ssh/
total 16
drwx------ 2 root root 4096 Dez 6 16:25 .
drwx------ 11 root root 4096 Dez 6 16:08 ..
-rw------- 1 root root 1679 Dez 6 16:25 id_rsa
-rw-r--r-- 1 root root 390 Dez 6 16:25 id_rsa.pub
Code:
root@xPC:/lab/vagrant-openstack# vagrant ssh-config
WARNING: Vagrant has detected the `vagrant-triggers` plugin. This plugin conflicts
with the internal triggers implementation. Please uninstall the `vagrant-triggers`
plugin and run the command again if you wish to use the core trigger feature. To
uninstall the plugin, run the command shown below:
vagrant plugin uninstall vagrant-triggers
Note that the community plugin `vagrant-triggers` and the core trigger feature
in Vagrant do not have compatible syntax.
To disable this warning, set the environment variable `VAGRANT_USE_VAGRANT_TRIGGERS`.
Host compute-01
HostName 127.0.0.1
User vagrant
Port 2222
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
PasswordAuthentication no
IdentityFile /root/.vagrant.d/insecure_private_key
IdentitiesOnly yes
LogLevel FATAL
The provider for this Vagrant-managed machine is reporting that it
is not yet ready for SSH. Depending on your provider this can carry
different meanings. Make sure your machine is created and running and
try again. Additionally, check the output of `vagrant status` to verify
that the machine is in the state that you expect. If you continue to
get this error message, please view the documentation for the provider
you're using.
It is not only created but also running...
Code:
root@xPC:/lab/vagrant-openstack# vagrant status
WARNING: Vagrant has detected the `vagrant-triggers` plugin. This plugin conflicts
with the internal triggers implementation. Please uninstall the `vagrant-triggers`
plugin and run the command again if you wish to use the core trigger feature. To
uninstall the plugin, run the command shown below:
vagrant plugin uninstall vagrant-triggers
Note that the community plugin `vagrant-triggers` and the core trigger feature
in Vagrant do not have compatible syntax.
To disable this warning, set the environment variable `VAGRANT_USE_VAGRANT_TRIGGERS`.
Current machine states:
compute-01 running (virtualbox)
controller-01 not created (virtualbox)
openstack-client not created (virtualbox)
This environment represents multiple VMs. The VMs are all listed
above with their current state. For more information about a specific
VM, run `vagrant status NAME`.
Note, there is no option: config.ssh.private_key_path in Vagrant file.
However by looking at: playbooks/deploy-ssh-keys.yml it seems like it wants to create its own id_rsa and id_rsa.pub and distribute it to root and vagrant users...
Not clear though if this is executed on HOST or VM...
If on HOST then I never created vagrant user.